Merge pull request #32304 from woocommerce/fix/add_feature_config_to_gitignore
Remove feature config from repo and add it to the gitignore
This commit is contained in:
commit
b27618e51d
|
@ -53,6 +53,11 @@ jobs:
|
|||
- name: Setup and install composer
|
||||
run: pnpm nx composer-install woocommerce
|
||||
|
||||
- name: Build Admin feature config
|
||||
working-directory: ./
|
||||
run: |
|
||||
pnpm nx build:feature-config woocommerce-admin
|
||||
|
||||
- name: Init DB and WP
|
||||
run: pnpm nx install-unit-test-db woocommerce
|
||||
|
||||
|
|
|
@ -61,6 +61,10 @@ jobs:
|
|||
npm install -g pnpm
|
||||
pnpm install
|
||||
pnpm nx composer-install woocommerce
|
||||
- name: Build Admin feature config
|
||||
working-directory: ./
|
||||
run: |
|
||||
pnpm nx build:feature-config woocommerce-admin
|
||||
|
||||
- name: Add PHP8 Compatibility.
|
||||
run: |
|
||||
|
|
|
@ -74,3 +74,6 @@ nbproject/private/
|
|||
|
||||
# Test Results
|
||||
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