fix: Removing the invalid resource path enables `pnpm dev` to succeed. (#109)

* fix: 在`@opentiny/vue`package.json增加入口使 pnpm dev 能成功。

* fix: 根据review意见修改编译脚本。
This commit is contained in:
ygj6 2023-04-07 18:54:27 +08:00 committed by GitHub
parent 8334249122
commit 8a941f3711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View File

@ -75,4 +75,4 @@ If you don't know how to start, please read our [contributing guide](CONTRIBUTIN
## License ## License
[MIT](LICENSE) [MIT](LICENSE)

View File

@ -35,9 +35,9 @@
"preinstall": "npx only-allow pnpm", "preinstall": "npx only-allow pnpm",
"postinstall": "pnpm build:internals", "postinstall": "pnpm build:internals",
"bootstrap": "pnpm --filter=\"!./packages/dist/**\" install", "bootstrap": "pnpm --filter=\"!./packages/dist/**\" install",
"dev": "pnpm -C examples/vue3 dev", "dev": "pnpm build:entry && pnpm -C examples/vue3 dev",
"dev:vue2": "pnpm -C examples/vue2 dev", "dev:vue2": "pnpm build:entry && pnpm -C examples/vue2 dev",
"dev:vue2.7": "pnpm -C examples/vue2.7 dev", "dev:vue2.7": "pnpm build:entry && pnpm -C examples/vue2.7 dev",
"dev:docs": "pnpm -C examples/docs docs:dev", "dev:docs": "pnpm -C examples/docs docs:dev",
"build:entry": "pnpm -C internals/cli build:entry", "build:entry": "pnpm -C internals/cli build:entry",
"create:ui": "pnpm -C internals/cli create:ui", "create:ui": "pnpm -C internals/cli create:ui",
@ -215,4 +215,4 @@
"> 1%", "> 1%",
"last 2 versions" "last 2 versions"
] ]
} }

View File

@ -4,6 +4,7 @@
"version": "3.7.0", "version": "3.7.0",
"description": "opentiny vue components", "description": "opentiny vue components",
"type": "module", "type": "module",
"main": "index.ts",
"sideEffects": false, "sideEffects": false,
"dependencies": { "dependencies": {
"@opentiny/vue-action-menu": "workspace:~", "@opentiny/vue-action-menu": "workspace:~",
@ -191,4 +192,4 @@
"build": "pnpm -w build:ui", "build": "pnpm -w build:ui",
"postversion": "pnpm build" "postversion": "pnpm build"
} }
} }