File tree Expand file tree Collapse file tree 9 files changed +18
-17
lines changed Expand file tree Collapse file tree 9 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 3636 "storybook:dev" : " npm run build:compile && npm run storybook:bundle && wca analyze packages --format json --outFile custom-elements.json" ,
3737 "storybook:build" : " npm run storybook:dev && build-storybook -s assets && cpx .storybook/CNAME storybook-static" ,
3838 "storybook:deploy" : " npm run storybook:build && storybook-to-ghpages -e storybook-static" ,
39- "storybook:bundle" : " rollup -c ./.storybook/rollup.config.js"
39+ "storybook:bundle" : " rollup -c ./.storybook/rollup.config.js" ,
40+ "publish:next" : " lerna run publish:next --scope @microsoft/*"
4041 },
4142 "storybook-deployer" : {
4243 "gitUsername" : " @microsoft/mgt" ,
Original file line number Diff line number Diff line change 3131 "compile" : " tsc -b" ,
3232 "compile:watch" : " tsc -w" ,
3333 "lint" : " tslint -c ../../tslint.json 'src/**/*.ts'" ,
34- "prepack" : " shx rm -rf *.tgz && npm run build" ,
3534 "postpack" : " cpx *.tgz ../../artifacts" ,
3635 "sass" : " gulp sass --cwd ." ,
3736 "sass:watch" : " gulp watchSass --cwd ." ,
38- "setLicense" : " gulp setLicense --cwd ."
37+ "setLicense" : " gulp setLicense --cwd ." ,
38+ "publish:next" : " npm publish --tag next"
3939 },
4040 "dependencies" : {
4141 "@microsoft/microsoft-graph-types" : " ^1.22.0" ,
Original file line number Diff line number Diff line change 2020 " src"
2121 ],
2222 "scripts" : {
23- "build" : " npm run clean && npm run build:compile" ,
23+ "build" : " npm run setVersion && npm run clean && npm run build:compile" ,
2424 "build:compile" : " npm run compile" ,
2525 "build:watch" : " npm run compile:watch" ,
2626 "clean" : " shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo" ,
3030 "setVersion" : " gulp setVersion --cwd ." ,
3131 "setLicense" : " gulp setLicense --cwd ." ,
3232 "postpack" : " cpx *.tgz ../../artifacts" ,
33- "prepack " : " shx rm -rf *.tgz && npm run setVersion && npm run build "
33+ "publish:next " : " npm publish --tag next "
3434 },
3535 "dependencies" : {
3636 "@microsoft/microsoft-graph-client" : " ^2.0.0" ,
Original file line number Diff line number Diff line change 2727 "scripts" : {
2828 "build" : " npm run clean && npm run generate && tsc" ,
2929 "clean" : " node ./scripts/clean.js" ,
30- "prepack" : " shx rm -rf *.tgz && npm run build" ,
3130 "postpack" : " cpx *.tgz ../../artifacts" ,
32- "generate" : " wca analyze ../mgt-components/src --format json --outFile temp/web-components.json && node ./scripts/generate.js"
31+ "generate" : " wca analyze ../mgt-components/src --format json --outFile temp/web-components.json && node ./scripts/generate.js" ,
32+ "publish:next" : " npm publish --tag next"
3333 },
3434 "dependencies" : {
3535 "@microsoft/mgt" : " *" ,
Original file line number Diff line number Diff line change 3535 "copy:loader" : " cpx src/bundle/mgt-loader.js dist/bundle" ,
3636 "copy:wc" : " cpx ../../node_modules/@webcomponents/webcomponentsjs/bundles/**/* dist/bundle/wc/bundles && cpx ../../node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js dist/bundle/wc" ,
3737 "lint" : " tslint -c ../../tslint.json 'src/**/*.ts'" ,
38- "prepack" : " shx rm -rf *.tgz && npm run build" ,
3938 "postpack" : " cpx *.tgz ../../artifacts" ,
4039 "rollup" : " rollup -c" ,
4140 "sass" : " gulp sass --cwd ." ,
4241 "sass:watch" : " gulp watchSass --cwd ." ,
4342 "setLicense" : " gulp setLicense --cwd ." ,
4443 "test" : " jest" ,
45- "test:watch" : " jest --watch"
44+ "test:watch" : " jest --watch" ,
45+ "publish:next" : " npm publish --tag next"
4646 },
4747 "dependencies" : {
4848 "@microsoft/mgt-element" : " *" ,
Original file line number Diff line number Diff line change 3636 "compile:watch" : " tsc -w" ,
3737 "lint" : " tslint -c ../../../tslint.json 'src/**/*.ts'" ,
3838 "setLicense" : " gulp setLicense --cwd ." ,
39- "prepack " : " shx rm -rf *.tgz && npm run build " ,
40- "postpack " : " cpx *.tgz ../../../artifacts "
39+ "postpack " : " cpx *.tgz ../../../artifacts " ,
40+ "publish:next " : " npm publish --tag next "
4141 },
4242 "dependencies" : {
4343 "@microsoft/mgt-element" : " *" ,
Original file line number Diff line number Diff line change 3535 "compile:watch" : " tsc -w" ,
3636 "lint" : " tslint -c ../../../tslint.json 'src/**/*.ts'" ,
3737 "setLicense" : " gulp setLicense --cwd ." ,
38- "prepack " : " shx rm -rf *.tgz && npm run build " ,
39- "postpack " : " cpx *.tgz ../../../artifacts "
38+ "postpack " : " cpx *.tgz ../../../artifacts " ,
39+ "publish:next " : " npm publish --tag next "
4040 },
4141 "dependencies" : {
4242 "@microsoft/mgt-element" : " *"
Original file line number Diff line number Diff line change 3737 "compile:watch" : " tsc -w" ,
3838 "lint" : " tslint -c ../../../tslint.json 'src/**/*.ts'" ,
3939 "setLicense" : " gulp setLicense --cwd ." ,
40- "prepack " : " shx rm -rf *.tgz && npm run build " ,
41- "postpack " : " cpx *.tgz ../../../artifacts "
40+ "postpack " : " cpx *.tgz ../../../artifacts " ,
41+ "publish:next " : " npm publish --tag next "
4242 },
4343 "dependencies" : {
4444 "@microsoft/mgt-element" : " *"
Original file line number Diff line number Diff line change 3838 "compile:watch" : " tsc -w" ,
3939 "lint" : " tslint -c ../../../tslint.json 'src/**/*.ts'" ,
4040 "setLicense" : " gulp setLicense --cwd ." ,
41- "prepack " : " shx rm -rf *.tgz && npm run build " ,
42- "postpack " : " cpx *.tgz ../../../artifacts "
41+ "postpack " : " cpx *.tgz ../../../artifacts " ,
42+ "publish:next " : " npm publish --tag next "
4343 },
4444 "dependencies" : {
4545 "@microsoft/mgt-element" : " *" ,
You can’t perform that action at this time.
0 commit comments