From 8dffb5fc3bcd8b6ea2f13a1c2b63ec627567bb56 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 2 Nov 2023 17:20:47 -0400 Subject: [PATCH 1/2] refactor(angular, angular-server): add watch commands --- packages/angular-server/package.json | 1 + packages/angular/package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/angular-server/package.json b/packages/angular-server/package.json index a650894740..a50594830c 100644 --- a/packages/angular-server/package.json +++ b/packages/angular-server/package.json @@ -27,6 +27,7 @@ "test": "echo 'angular no tests yet'", "build": "ng-packagr -p ng-package.json -c tsconfig.json", "build.prod": "npm run clean && npm run build", + "build.watch": "npm run build -- --watch", "clean": "rm -rf ./dist", "lint": "eslint . --ext .ts && npm run prettier", "lint.fix": "eslint . --ext .ts --fix && npm run prettier.fix", diff --git a/packages/angular/package.json b/packages/angular/package.json index 7c728e18c0..ec109de875 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -28,6 +28,7 @@ "build.core": "node scripts/build-core.js", "build.link": "npm run build && node scripts/link-copy.js", "build.ng": "ng-packagr -p ng-package.json -c tsconfig.json", + "build.watch": "npm run build.ng -- --watch", "clean": "node scripts/clean.js", "clean-generated": "node ./scripts/clean-generated.js", "lint": "npm run eslint && npm run prettier -- --write --cache", From 4492d985f574178d42db307e3e2454376644a151 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 2 Nov 2023 17:21:23 -0400 Subject: [PATCH 2/2] clean up commands --- packages/react-router/package.json | 2 +- packages/react/package.json | 2 +- packages/vue-router/package.json | 2 +- packages/vue/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/react-router/package.json b/packages/react-router/package.json index 8557f68e28..493dd66c26 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -21,7 +21,7 @@ }, "scripts": { "build": "npm run clean && npm run compile", - "build.watch": "npm run build && npm run compile -- --watch", + "build.watch": "npm run compile -- --watch", "clean": "rimraf dist", "compile": "rollup -c", "eslint": "eslint src", diff --git a/packages/react/package.json b/packages/react/package.json index bbe6f2475a..500acdbca5 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -21,7 +21,7 @@ }, "scripts": { "build": "npm run clean && npm run copy && npm run compile", - "build.watch": "npm run build && npm run compile -- --watch", + "build.watch": "npm run compile -- --watch", "clean": "rimraf dist && rimraf routing", "compile": "rollup -c", "eslint": "eslint src", diff --git a/packages/vue-router/package.json b/packages/vue-router/package.json index 4a866dd110..e6b65d890f 100644 --- a/packages/vue-router/package.json +++ b/packages/vue-router/package.json @@ -10,7 +10,7 @@ "lint.fix": "npm run eslint -- --fix && npm run prettier -- --write --cache", "bundle": "rollup --config rollup.config.js", "build": "npm run clean && npm run bundle", - "build.watch": "npm run build && npm run bundle -- --watch", + "build.watch": "npm run bundle -- --watch", "clean": "rimraf dist", "sync": "sh ./scripts/sync.sh" }, diff --git a/packages/vue/package.json b/packages/vue/package.json index e74f0e3852..6810e39b73 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -9,7 +9,7 @@ "lint.fix": "npm run eslint -- --fix && npm run prettier -- --write --cache", "test": "jest", "build": "npm run clean && npm run copy && npm run copy.overlays && npm run bundle && npm run build.vetur && npm run build.web-types", - "build.watch": "npm run build && npm run bundle -- --watch", + "build.watch": "npm run bundle -- --watch", "bundle": "rollup --config rollup.config.js", "clean": "rimraf dist", "build.web-types": "node ./scripts/build-web-types.js",