Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make prepack scripts more consistent #1020

Merged
merged 2 commits into from
Oct 15, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/command/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"main": "lib/index.js",
"repository": "https://github.com/microsoft/botframework-cli",
"scripts": {
"prepack": "",
"postpack": "",
"prepack": "npm run clean && npm run build",
"posttest": "",
"build": "tsc -b",
"clean": "rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo",
Expand Down
1 change: 1 addition & 0 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"repository": "https://github.com/microsoft/botframework-cli/tree/master/packages/config",
"scripts": {
"postpack": "rimraf oclif.manifest.json",
"prepack": "npm run clean && npm run build && npm run doc:readme",
"posttest": "tslint -p test -t stylish",
"build": "tsc -b",
"clean": "rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo",
Expand Down
1 change: 1 addition & 0 deletions packages/dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"repository": "https://github.com/microsoft/botframework-cli/tree/master/packages/dialog",
"scripts": {
"postpack": "rimraf oclif.manifest.json",
"prepack": "npm run clean && npm run build && npm run doc:readme",
"posttest": "tslint -p test -t stylish",
"build": "tsc -b",
"clean": "rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo",
Expand Down
2 changes: 1 addition & 1 deletion packages/lg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"scripts": {
"unittest": "rush test -t @microsoft/bf-lg-cli",
"posttest": "eslint . --ext .ts --config .eslintrc",
"prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
"prepack": "npm run clean && npm run build && npm run doc:readme",
"postpack": "rimraf oclif.manifest.json",
"build": "tsc -b",
"clean": "rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo",
Expand Down
2 changes: 1 addition & 1 deletion packages/lu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"license": "MIT",
"repository": "https://github.com/microsoft/botframework-cli/tree/master/packages/lu",
"scripts": {
"postpack": "",
"prepack": "npm run clean && npm run build",
"posttest": "tslint -p test -t stylish",
"build": "tsc -b",
"clean": "rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo",
Expand Down
1 change: 1 addition & 0 deletions packages/luis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"repository": "https://github.com/microsoft/botframework-cli/tree/master/packages/luis",
"scripts": {
"postpack": "rimraf oclif.manifest.json",
"prepack": "npm run clean && npm run build && npm run doc:readme",
"posttest": "tslint -p test -t stylish",
"build": "tsc -b",
"clean": "rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"scripts": {
"postpack": "rimraf oclif.manifest.json",
"posttest": "eslint . --ext .ts --config .eslintrc",
"prepack": "rimraf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
"prepack": "npm run clean && npm run build && oclif-dev manifest && oclif-dev readme",
"build": "tsc -b",
"clean": "rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo",
"test": "mocha",
Expand Down
1 change: 1 addition & 0 deletions packages/qnamaker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"repository": "https://github.com/microsoft/botframework-cli/tree/master/packages/qnamaker",
"scripts": {
"postpack": "rimraf oclif.manifest.json",
"prepack": "npm run clean && npm run build && npm run doc:readme",
"posttest": "",
"build": "tsc -b",
"clean": "rimraf ./.nyc_output ./lib ./package-lock.json ./tsconfig.tsbuildinfo",
Expand Down