Remove feature config from repo and add it to the gitignore
This commit is contained in:
parent
fdf88c0d94
commit
f82d3b7301
|
@ -60,6 +60,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
npm install -g pnpm
|
npm install -g pnpm
|
||||||
pnpm install
|
pnpm install
|
||||||
|
pnpm nx build:feature-config woocommerce-admin
|
||||||
pnpm nx composer-install woocommerce
|
pnpm nx composer-install woocommerce
|
||||||
|
|
||||||
- name: Add PHP8 Compatibility.
|
- name: Add PHP8 Compatibility.
|
||||||
|
|
|
@ -74,3 +74,6 @@ nbproject/private/
|
||||||
|
|
||||||
# Test Results
|
# Test Results
|
||||||
test-results.json
|
test-results.json
|
||||||
|
|
||||||
|
# Admin Feature config
|
||||||
|
plugins/woocommerce/includes/react-admin/feature-config.php
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
<?php
|
|
||||||
// WARNING: Do not directly edit this file.
|
|
||||||
// This file is auto-generated as part of the build process and things may break.
|
|
||||||
if ( ! function_exists( 'wc_admin_get_feature_config' ) ) {
|
|
||||||
function wc_admin_get_feature_config() {
|
|
||||||
return array(
|
|
||||||
'activity-panels' => true,
|
|
||||||
'analytics' => true,
|
|
||||||
'coupons' => true,
|
|
||||||
'customer-effort-score-tracks' => true,
|
|
||||||
'homescreen' => true,
|
|
||||||
'marketing' => true,
|
|
||||||
'minified-js' => true,
|
|
||||||
'mobile-app-banner' => true,
|
|
||||||
'navigation' => true,
|
|
||||||
'onboarding' => true,
|
|
||||||
'onboarding-tasks' => true,
|
|
||||||
'remote-inbox-notifications' => true,
|
|
||||||
'remote-free-extensions' => true,
|
|
||||||
'payment-gateway-suggestions' => true,
|
|
||||||
'settings' => false,
|
|
||||||
'shipping-label-banner' => true,
|
|
||||||
'subscriptions' => true,
|
|
||||||
'store-alerts' => true,
|
|
||||||
'transient-notices' => true,
|
|
||||||
'wc-pay-promotion' => true,
|
|
||||||
'wc-pay-welcome-page' => true,
|
|
||||||
'tasklist-setup-experiment-1' => false,
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue