Remove feature config from repo and add it to the gitignore

This commit is contained in:
Lourens Schep 2022-03-21 14:49:44 -03:00
parent fdf88c0d94
commit f82d3b7301
3 changed files with 4 additions and 31 deletions

View File

@ -60,6 +60,7 @@ jobs:
run: |
npm install -g pnpm
pnpm install
pnpm nx build:feature-config woocommerce-admin
pnpm nx composer-install woocommerce
- name: Add PHP8 Compatibility.

3
.gitignore vendored
View File

@ -74,3 +74,6 @@ nbproject/private/
# Test Results
test-results.json
# Admin Feature config
plugins/woocommerce/includes/react-admin/feature-config.php

View File

@ -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,
);
}
}