Skip to content

Commit

Permalink
fix: update clean script for examples to be compatible with `lb4 exam…
Browse files Browse the repository at this point in the history
…ple`

Fixes #4545

Please note that `lb4 example` rename `tsconfig.build.json` to
`tsconfig.json`. As a result, the build cache file is `tsconfig.tsbuildinfo`.
  • Loading branch information
raymondfeng committed Jan 31, 2020
1 parent f112d14 commit d9f5741
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion examples/context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean *example-context*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean *example-context*.tgz dist *.tsbuildinfo package",
"verify": "npm pack && tar xf *example-context*.tgz && tree package && npm run clean",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
Expand Down
2 changes: 1 addition & 1 deletion examples/express-composition/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean *example-express-composition*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean *example-express-composition*.tgz dist *.tsbuildinfo package",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"prettier:cli": "lb-prettier \"**/*.ts\" \"**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion examples/greeter-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean *example-greeter-extension-*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean *example-greeter-extension-*.tgz dist *.tsbuildinfo package",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"prettier:cli": "lb-prettier \"**/*.ts\" \"**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion examples/greeting-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean *example-greeting-app-*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean *example-greeting-app-*.tgz dist *.tsbuildinfo package",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"prettier:cli": "lb-prettier \"**/*.ts\" \"**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion examples/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean *example-hello-world*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean *example-hello-world*.tgz dist *.tsbuildinfo package",
"verify": "npm pack && tar xf *example-hello-world*.tgz && tree package && npm run clean",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
Expand Down
2 changes: 1 addition & 1 deletion examples/lb3-application/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"scripts": {
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean *example-lb3-application*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean *example-lb3-application*.tgz dist *.tsbuildinfo package",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"prettier:cli": "lb-prettier \"**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion examples/log-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"scripts": {
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean *example-log-extension-*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean *example-log-extension-*.tgz dist *.tsbuildinfo package",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"prettier:cli": "lb-prettier \"**/*.ts\" \"**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion examples/metrics-prometheus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean *example-metrics-prometheus*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean *example-metrics-prometheus*.tgz dist *.tsbuildinfo package",
"verify": "npm pack && tar xf *example-metrics-prometheus*.tgz && tree package && npm run clean",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
Expand Down
2 changes: 1 addition & 1 deletion examples/rpc-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scripts": {
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean *example-rpc-server-*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean *example-rpc-server-*.tgz dist *.tsbuildinfo package",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"prettier:cli": "lb-prettier \"**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion examples/soap-calculator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"scripts": {
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean *example-soap*.tgz dist package api-docs dist tsconfig.build.tsbuildinfo",
"clean": "lb-clean *example-soap*.tgz dist package api-docs dist *.tsbuildinfo",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"prettier:cli": "lb-prettier \"**/*.ts\" \"**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion examples/todo-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"scripts": {
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean *example-todo-list*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean *example-todo-list*.tgz dist *.tsbuildinfo package",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"prettier:cli": "lb-prettier \"**/*.ts\"",
Expand Down
2 changes: 1 addition & 1 deletion examples/todo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"scripts": {
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean *example-todo*.tgz dist tsconfig.build.tsbuildinfo package",
"clean": "lb-clean *example-todo*.tgz dist *.tsbuildinfo package",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"prettier:cli": "lb-prettier \"**/*.ts\"",
Expand Down

0 comments on commit d9f5741

Please sign in to comment.