Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dev-script): added npm run dev:win for Windows #6729

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"scripts": {
"start": "pnpm run dev",
"dev": "pnpm run clean && pnpm run gen-version && pnpm run gen-volar-dts && NODE_ENV=development vite",
"dev:win": "pnpm run clean && pnpm run gen-version && pnpm run gen-volar-dts && set NODE_ENV=development&& vite",
"build:package": "pnpm run gen-version && pnpm run clean && pnpm run gen-volar-dts && tsc -b --force tsconfig.esm.json && node scripts/pre-build/pre-cjs-build.js && tsc -b --force tsconfig.cjs.json && rollup -c && pnpm run test:umd && pnpm run test:esm && node scripts/post-build && rimraf {es,lib}/*.tsbuildinfo",
"build:site": "bash ./scripts/pre-build-site/pre-build-site.sh && NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && bash ./scripts/post-build-site/post-build-site.sh",
"clean": "rimraf site lib es dist node_modules/naive-ui themes/tusimple/es themes/tusimple/lib",
Expand Down Expand Up @@ -175,4 +176,4 @@
"eslint --fix"
]
}
}
}
4 changes: 2 additions & 2 deletions volar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ declare module 'vue' {
NH4: (typeof import('naive-ui'))['NH4']
NH5: (typeof import('naive-ui'))['NH5']
NH6: (typeof import('naive-ui'))['NH6']
NHighlight: (typeof import('naive-ui'))['NHighlight']
NHr: (typeof import('naive-ui'))['NHr']
NIcon: (typeof import('naive-ui'))['NIcon']
NIconWrapper: (typeof import('naive-ui'))['NIconWrapper']
Expand All @@ -89,6 +90,7 @@ declare module 'vue' {
NListItem: (typeof import('naive-ui'))['NListItem']
NLoadingBarProvider: (typeof import('naive-ui'))['NLoadingBarProvider']
NLog: (typeof import('naive-ui'))['NLog']
NMarquee: (typeof import('naive-ui'))['NMarquee']
NMention: (typeof import('naive-ui'))['NMention']
NMenu: (typeof import('naive-ui'))['NMenu']
NMessageProvider: (typeof import('naive-ui'))['NMessageProvider']
Expand Down Expand Up @@ -150,8 +152,6 @@ declare module 'vue' {
NUploadTrigger: (typeof import('naive-ui'))['NUploadTrigger']
NVirtualList: (typeof import('naive-ui'))['NVirtualList']
NWatermark: (typeof import('naive-ui'))['NWatermark']
NHighlight: (typeof import('naive-ui'))['NHighlight']
NMarquee: (typeof import('naive-ui'))['NMarquee']
}
}
export {}