Merge pull request #32820 from woocommerce/fix/fix-ts-build-errors
Fix TS build errors in admin
This commit is contained in:
commit
938cd88ff6
|
@ -155,4 +155,5 @@ export type Extension = {
|
||||||
manage_url: string;
|
manage_url: string;
|
||||||
name: string;
|
name: string;
|
||||||
is_built_by_wc: boolean;
|
is_built_by_wc: boolean;
|
||||||
|
is_visible: boolean;
|
||||||
};
|
};
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"analyze": "cross-env NODE_ENV=production ANALYZE=true webpack",
|
"analyze": "cross-env NODE_ENV=production ANALYZE=true webpack",
|
||||||
"prebuild": "pnpm run install-if-deps-outdated",
|
"prebuild": "pnpm run install-if-deps-outdated",
|
||||||
"build": "WC_ADMIN_PHASE=core pnpm run build:feature-config && cross-env NODE_ENV=production WC_ADMIN_PHASE=core webpack",
|
"build": "pnpm run clean && WC_ADMIN_PHASE=core pnpm run build:packages && WC_ADMIN_PHASE=core pnpm run build:feature-config && cross-env NODE_ENV=production WC_ADMIN_PHASE=core webpack",
|
||||||
"build:feature-config": "php ../woocommerce/bin/generate-feature-config.php",
|
"build:feature-config": "php ../woocommerce/bin/generate-feature-config.php",
|
||||||
"build:packages": "cross-env NODE_ENV=production pnpm run:packages -- build",
|
"build:packages": "cross-env NODE_ENV=production pnpm run:packages -- build",
|
||||||
"clean": "rimraf ../woocommerce/assets/client/admin/* && pnpm run:packages -- clean --parallel",
|
"clean": "rimraf ../woocommerce/assets/client/admin/* && pnpm run:packages -- clean --parallel",
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
"executor": "@nrwl/workspace:run-commands",
|
"executor": "@nrwl/workspace:run-commands",
|
||||||
"options": {
|
"options": {
|
||||||
"commands": [
|
"commands": [
|
||||||
|
"WC_ADMIN_PHASE=development pnpm nx clean woocommerce-admin",
|
||||||
"WC_ADMIN_PHASE=development pnpm nx dev woocommerce-admin",
|
"WC_ADMIN_PHASE=development pnpm nx dev woocommerce-admin",
|
||||||
"pnpm nx watch woocommerce-admin"
|
"pnpm nx watch woocommerce-admin"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue