Skip to content

Commit 46ea6df

Browse files
committed
Update build:clean and types:clean script to include missing paths and add solid-js to devDependencies
1 parent 0af2c2b commit 46ea6df

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.changeset/rude-cups-wink.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"solid-js": patch
3+
---
4+
5+
Update `build:clean` and `types:clean` script to include missing paths and add `solid-js` to devDependencies

packages/solid/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,10 @@
206206
},
207207
"scripts": {
208208
"build": "npm-run-all -nl build:*",
209-
"build:clean": "rimraf dist/ coverage/ store/dist/ web/dist/ h/dist/ h/jsx-runtime/dist html/dist/",
209+
"build:clean": "rimraf dist/ coverage/ store/dist/ web/dist/ web/storage/dist h/dist/ h/jsx-runtime/dist html/dist/ universal/dist/",
210210
"build:js": "rollup -c",
211211
"types": "npm-run-all -nl types:*",
212-
"types:clean": "rimraf types/ store/types/ web/types/ h/types/ h/jsx-runtime/types html/types/",
212+
"types:clean": "rimraf types/ store/types/ web/types/ web/storage/types/ h/types/ h/jsx-runtime/types html/types/ universal/types/ src/jsx.d.ts h/jsx-runtime/src/jsx.d.ts",
213213
"types:copy": "ncp ../../node_modules/dom-expressions/src/jsx.d.ts ./src/jsx.d.ts && ncp ../../node_modules/dom-expressions/src/jsx-h.d.ts ./h/jsx-runtime/src/jsx.d.ts",
214214
"types:src": "tsc --project ./tsconfig.build.json && ncp ../../node_modules/dom-expressions/src/jsx.d.ts ./types/jsx.d.ts",
215215
"types:web": "tsc --project ./web/tsconfig.build.json",
@@ -239,5 +239,8 @@
239239
"csstype": "^3.1.0",
240240
"seroval": "~1.3.0",
241241
"seroval-plugins": "~1.3.0"
242+
},
243+
"devDependencies": {
244+
"solid-js": "workspace:*"
242245
}
243246
}

0 commit comments

Comments
 (0)