From d1c8e3e56499f6709a0ef1e3f12353ab47918c1c Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Fri, 21 Jun 2024 21:05:23 +0100 Subject: [PATCH] chore(build): Cleanup npm scripts, tsc includes (#8226) * chores(build): Remove old scripts aliases Remove deprecated script aliases. * chore(build): Remove obsolete paths from tsconfig include --- package.json | 5 ----- tsconfig.json | 7 +------ 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/package.json b/package.json index 26de8913086..7826c53ef43 100644 --- a/package.json +++ b/package.json @@ -22,17 +22,12 @@ "build-debug-log": "npm run build:debug > build-debug.log 2>&1 && tail -3 build-debug.log", "build-strict": "gulp build --verbose --strict", "build-strict-log": "npm run build:strict > build-debug.log 2>&1 && tail -3 build-debug.log", - "build:compiled": "exit 1 # Deprecated; use \"npm run minify\" instead.", - "build:compressed": "exit 1 # Deprecated; use \"npm run minify\" instead.", - "build:js": "exit 1 # Deprecated; use \"npm run tsc\" instead.", - "build:langfiles": "exit 1 # Deprecated; use \"npm run langfiles\" instead.", "clean": "gulp clean", "deployDemos": "npm ci && gulp deployDemos", "deployDemos:beta": "npm ci && gulp deployDemosBeta", "docs": "gulp docs", "format": "prettier --write .", "format:check": "prettier --check .", - "generate:langfiles": "exit 1 # Deprecated; use \"npm run messages\" instead.", "messages": "gulp messages", "lint": "eslint .", "lint:fix": "eslint . --fix", diff --git a/tsconfig.json b/tsconfig.json index ed091b05b40..f7b61f0a381 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,10 +1,5 @@ { - "include": [ - "core/**/*", // N.B.: also pulls in closure/goog/goog.js if needed. - "closure/goog/*", // For base.js and base_minimal.js. - "blocks/**/*", - "generators/**/*" - ], + "include": ["core/**/*", "blocks/**/*", "generators/**/*"], "compilerOptions": { // Tells TypeScript to read JS files, as // normally they are ignored as source files