Skip to content

Commit 99fed75

Browse files
thepassledaKmoR
authored andcommitted
fix: dont analyze dist
1 parent 378ae98 commit 99fed75

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/generators/building-rollup-ts/templates/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"scripts": {
3-
"build": "rimraf dist && tsc && rollup -c rollup.config.js && <%= scriptRunCommand %> analyze",
3+
"build": "rimraf dist && tsc && rollup -c rollup.config.js && <%= scriptRunCommand %> analyze --exclude dist",
44
"start:build": "web-dev-server --root-dir dist --app-index index.html --open"
55
},
66
"devDependencies": {

src/generators/building-rollup/templates/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"scripts": {
3-
"build": "rimraf dist && rollup -c rollup.config.js && <%= scriptRunCommand %> analyze",
3+
"build": "rimraf dist && rollup -c rollup.config.js && <%= scriptRunCommand %> analyze --exclude dist",
44
"start:build": "web-dev-server --root-dir dist --app-index index.html --open"
55
},
66
"devDependencies": {

src/generators/demoing-storybook-ts/templates/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"scripts": {
3-
"storybook": "tsc && <%= scriptRunCommand %> analyze && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds -c .storybook/server.mjs\"",
4-
"storybook:build": "tsc && <%= scriptRunCommand %> analyze && build-storybook"
3+
"storybook": "tsc && <%= scriptRunCommand %> analyze --exclude dist && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds -c .storybook/server.mjs\"",
4+
"storybook:build": "tsc && <%= scriptRunCommand %> analyze --exclude dist && build-storybook"
55
},
66
"devDependencies": {
77
"@web/dev-server-storybook": "next"

src/generators/demoing-storybook/templates/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"scripts": {
3-
"storybook": "<%= scriptRunCommand %> analyze && web-dev-server -c .storybook/server.mjs",
4-
"storybook:build": "<%= scriptRunCommand %> analyze && build-storybook"
3+
"storybook": "<%= scriptRunCommand %> analyze --exclude dist && web-dev-server -c .storybook/server.mjs",
4+
"storybook:build": "<%= scriptRunCommand %> analyze --exclude dist && build-storybook"
55
},
66
"devDependencies": {
77
"@web/dev-server-storybook": "next"

src/generators/wc-lit-element-ts/templates/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
},
88
"scripts": {
99
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
10-
"build": "tsc && <%= scriptRunCommand %> analyze",
11-
"prepublish": "tsc && <%= scriptRunCommand %> analyze"
10+
"build": "tsc && <%= scriptRunCommand %> analyze --exclude dist",
11+
"prepublish": "tsc && <%= scriptRunCommand %> analyze --exclude dist"
1212
},
1313
"dependencies": {
1414
"lit": "^2.0.0-rc.3"

0 commit comments

Comments
 (0)