Skip to content

Commit 6c0f2c3

Browse files
committed
fix: make publish work in windows
1 parent cbca76a commit 6c0f2c3

2 files changed

Lines changed: 24 additions & 8 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"license": "MIT",
1111
"name": "tw-react",
12-
"version": "0.6.1",
12+
"version": "0.6.2",
1313
"url": "https://github.com/tiddly-gittly/tw-react",
1414
"author": "Lin Onetwo",
1515
"types": "dist/lib/index.d.ts",
@@ -23,7 +23,7 @@
2323
"make": "pnpm run clean && pnpm run build",
2424
"dev-demo": "pnpm run dev && zx ./scripts/build-demo-html.mjs && cd ./dist/output && serve .",
2525
"dev": "pnpm run make && pnpm run download-react && pnpm run run-action && zx ./scripts/mv-dev.mjs",
26-
"clean": "rm -rf ./dist",
26+
"clean": "rimraf ./dist",
2727
"build": "zx esbuild.config.mjs && zx scripts/after-build.mjs && zx esbuild.react_jsx-runtime.config.mjs",
2828
"build:type": "tsc --emitDeclarationOnly --declaration && zx scripts/after-build-type.mjs",
2929
"run-action": "zx scripts/run-action.mjs",
@@ -48,6 +48,7 @@
4848
"fs-extra": "11.1.1",
4949
"github-action-ts-run-api": "3.0.3",
5050
"react": "^18.2.0",
51+
"rimraf": "^5.0.1",
5152
"serve": "14.2.0",
5253
"tiddlywiki": "5.3.0",
5354
"tslib": "2.6.1",

pnpm-lock.yaml

Lines changed: 21 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)