Skip to content

Commit

Permalink
build(playground): optimize dev run scripts (#7302)
Browse files Browse the repository at this point in the history
* build(playground): optimize dev run scripts

* chore: git keep the empty storybook-pages directory
  • Loading branch information
dobrinyonkov authored Jul 11, 2023
1 parent a7d8c4b commit bf1e10e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ packages/playground/_stories/**/*/argTypes.ts
packages/playground/.storybook/custom-elements.json
packages/playground/docs/storybook/**/*
packages/playground/docs/storybook-pages/**/*
!packages/playground/docs/storybook-pages/.gitkeep

packages/main/test/pages/fix.js
packages/fiori/test/pages/fix.js
Expand Down
Empty file.
8 changes: 4 additions & 4 deletions packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@
"copy:assets:resources": "copy-and-watch \"../fiori/dist/resources/*\" \"./assets/js/ui5-webcomponents\"",
"copy:assets:main": "copy-and-watch \"../main/dist/assets/**/*\" \"./assets/\"",
"copy:assets:fiori": "copy-and-watch \"../fiori/dist/assets/**/*\" \"./assets/\"",
"prepare:bundle": "npm run build:bundle",
"prepare:build:bundle": "npm run build:bundle",
"prepare:build:nojekyll": "copy-and-watch \"./.nojekyll\" \"./dist\"",
"prepare:build:pages": "npm run clean:pages && vite-node ./build-scripts-storybook/pages-prepare.ts",
"prepare:assets": "npm run clean:assets && npm run copy:assets",
"prepare:nojekyll": "copy-and-watch \"./.nojekyll\" \"./dist\"",
"prepare:samples": "node ./build-scripts-storybook/samples-prepare.js",
"prepare:manifest": "node ./build-scripts-storybook/parse-manifest.js",
"prepare:pages": "npm run clean:pages && vite-node ./build-scripts-storybook/pages-prepare.ts",
"prepare:documentation": "vite-node ./build-scripts-storybook/documentation-prepare.ts",
"storybook": "npm-run-all --parallel prepare:* && storybook dev -p 6006",
"build-storybook": "npm-run-all --parallel prepare:* && tsc && storybook build -o ./dist/playground"
"build-storybook": "npm-run-all --parallel prepare:build:* prepare:* && tsc && storybook build -o ./dist/playground"
}
}

0 comments on commit bf1e10e

Please sign in to comment.