chore: change how the package is built
parent
10b684832d
commit
f98f504534
|
@ -8,8 +8,8 @@
|
|||
"scripts": {
|
||||
"build": "nest build",
|
||||
"dev": "pnpm run start:dev",
|
||||
"start:dev": "cross-env NODE_ENV=development DEBUG=true nest start --watch",
|
||||
"start": "cross-env NODE_ENV=development node dist/main",
|
||||
"start:dev": "cross-env NODE_ENV=development DEBUG=true nest start --watch",
|
||||
"start:prod": "nest build && cross-env NODE_ENV=production node dist/main"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
# @vben/antd-view
|
||||
|
||||
## 5.0.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- chore: test
|
||||
|
||||
- Updated dependencies []:
|
||||
- @vben-core/helpers@5.0.1
|
||||
- @vben-core/preferences@5.0.1
|
||||
- @vben-core/request@5.0.1
|
||||
- @vben-core/stores@5.0.1
|
||||
- @vben/layouts@5.0.1
|
||||
- @vben/widgets@5.0.1
|
||||
- @vben/constants@5.0.1
|
||||
- @vben/hooks@5.0.1
|
||||
- @vben/icons@5.0.1
|
||||
- #/locales@5.0.1
|
||||
- @vben/styles@5.0.1
|
||||
- @vben/types@5.0.1
|
||||
- @vben/utils@5.0.1
|
|
@ -28,7 +28,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@intlify/unplugin-vue-i18n": "^4.0.0",
|
||||
"@jspm/generator": "^2.1.1",
|
||||
"@jspm/generator": "^2.1.2",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"html-minifier-terser": "^7.2.0",
|
||||
"resolve.exports": "^2.0.2",
|
||||
|
@ -45,8 +45,8 @@
|
|||
"dotenv": "^16.4.5",
|
||||
"rollup": "^4.18.1",
|
||||
"rollup-plugin-visualizer": "^5.12.0",
|
||||
"sass": "^1.77.7",
|
||||
"unplugin-turbo-console": "^1.9.2",
|
||||
"sass": "^1.77.8",
|
||||
"unplugin-turbo-console": "^1.9.3",
|
||||
"vite": "^5.3.3",
|
||||
"vite-plugin-compression": "^0.5.1",
|
||||
"vite-plugin-dts": "^3.9.1",
|
||||
|
|
|
@ -29,12 +29,12 @@
|
|||
"changeset": "pnpm exec changeset",
|
||||
"check": "pnpm run check:dep && pnpm run check:circular && pnpm run check:type && pnpm run check:cspell",
|
||||
"check:circular": "vsh check-circular",
|
||||
"check:dep": "vsh check-dep",
|
||||
"check:cspell": "cspell lint \"**/*.ts\" \"**/README.md\" \".changeset/*.md\" --no-progress",
|
||||
"check:dep": "vsh check-dep",
|
||||
"check:type": "turbo run typecheck",
|
||||
"clean": "vsh clean",
|
||||
"commit": "czg",
|
||||
"dev": "cross-env TURBO_UI=1 turbo run dev --parallel",
|
||||
"dev": "cross-env TURBO_UI=1 turbo run dev",
|
||||
"docs:dev": "pnpm -F @vben/website run docs:dev",
|
||||
"format": "vsh lint --format",
|
||||
"lint": "vsh lint",
|
||||
|
@ -44,8 +44,8 @@
|
|||
"publint": "vsh publint",
|
||||
"reinstall": "pnpm clean --del-lock && pnpm bootstrap",
|
||||
"test": "vitest",
|
||||
"version": "pnpm exec changeset version && pnpm install --no-frozen-lockfile",
|
||||
"update:deps": " pnpm update --latest --recursive"
|
||||
"update:deps": " pnpm update --latest --recursive",
|
||||
"version": "pnpm exec changeset version && pnpm install --no-frozen-lockfile"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@changesets/changelog-github": "^0.5.0",
|
||||
|
|
|
@ -318,10 +318,13 @@ const useCoreTabbarStore = defineStore('core-tabbar', {
|
|||
return [...affixTabs, ...normalTabs];
|
||||
},
|
||||
},
|
||||
persist: {
|
||||
// 持久化
|
||||
paths: ['tabs'],
|
||||
},
|
||||
persist: [
|
||||
// tabs不需要保存在localStorage
|
||||
{
|
||||
paths: ['tabs'],
|
||||
storage: sessionStorage,
|
||||
},
|
||||
],
|
||||
state: (): TabsState => ({
|
||||
cachedTabs: new Set(),
|
||||
excludeCachedTabs: new Set(),
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
import { defineBuildConfig } from 'unbuild';
|
||||
|
||||
export default defineBuildConfig({
|
||||
clean: true,
|
||||
declaration: true,
|
||||
entries: [
|
||||
{
|
||||
builder: 'mkdist',
|
||||
input: './src',
|
||||
loaders: ['vue'],
|
||||
pattern: ['**/*.vue'],
|
||||
},
|
||||
{
|
||||
builder: 'mkdist',
|
||||
format: 'esm',
|
||||
input: './src',
|
||||
loaders: ['js'],
|
||||
pattern: ['**/*.ts'],
|
||||
},
|
||||
],
|
||||
});
|
|
@ -11,7 +11,7 @@
|
|||
"license": "MIT",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "pnpm vite build",
|
||||
"build": "pnpm unbuild",
|
||||
"prepublishOnly": "npm run build"
|
||||
},
|
||||
"files": [
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
import { defineConfig } from '@vben/vite-config';
|
||||
|
||||
export default defineConfig();
|
|
@ -49,8 +49,8 @@
|
|||
"@vben-core/typings": "workspace:*",
|
||||
"@vueuse/core": "^10.11.0",
|
||||
"class-variance-authority": "^0.7.0",
|
||||
"lucide-vue-next": "^0.407.0",
|
||||
"radix-vue": "^1.9.0",
|
||||
"lucide-vue-next": "^0.408.0",
|
||||
"radix-vue": "^1.9.1",
|
||||
"vue": "^3.4.31"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
import { defineBuildConfig } from 'unbuild';
|
||||
|
||||
export default defineBuildConfig({
|
||||
clean: true,
|
||||
declaration: true,
|
||||
entries: [
|
||||
{
|
||||
builder: 'mkdist',
|
||||
input: './src',
|
||||
loaders: ['vue'],
|
||||
pattern: ['**/*.vue'],
|
||||
},
|
||||
{
|
||||
builder: 'mkdist',
|
||||
format: 'esm',
|
||||
input: './src',
|
||||
loaders: ['js'],
|
||||
pattern: ['**/*.ts'],
|
||||
},
|
||||
],
|
||||
});
|
|
@ -11,7 +11,7 @@
|
|||
"license": "MIT",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "pnpm vite build",
|
||||
"build": "pnpm unbuild",
|
||||
"prepublishOnly": "npm run build"
|
||||
},
|
||||
"files": [
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
import { defineConfig } from '@vben/vite-config';
|
||||
|
||||
export default defineConfig();
|
|
@ -0,0 +1,21 @@
|
|||
import { defineBuildConfig } from 'unbuild';
|
||||
|
||||
export default defineBuildConfig({
|
||||
clean: true,
|
||||
declaration: true,
|
||||
entries: [
|
||||
{
|
||||
builder: 'mkdist',
|
||||
input: './src',
|
||||
loaders: ['vue'],
|
||||
pattern: ['**/*.vue'],
|
||||
},
|
||||
{
|
||||
builder: 'mkdist',
|
||||
format: 'esm',
|
||||
input: './src',
|
||||
loaders: ['js'],
|
||||
pattern: ['**/*.ts'],
|
||||
},
|
||||
],
|
||||
});
|
|
@ -11,7 +11,7 @@
|
|||
"license": "MIT",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "pnpm vite build",
|
||||
"build": "pnpm unbuild",
|
||||
"prepublishOnly": "npm run build"
|
||||
},
|
||||
"files": [
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
import { defineConfig } from '@vben/vite-config';
|
||||
|
||||
export default defineConfig();
|
|
@ -0,0 +1,21 @@
|
|||
import { defineBuildConfig } from 'unbuild';
|
||||
|
||||
export default defineBuildConfig({
|
||||
clean: true,
|
||||
declaration: true,
|
||||
entries: [
|
||||
{
|
||||
builder: 'mkdist',
|
||||
input: './src',
|
||||
loaders: ['vue'],
|
||||
pattern: ['**/*.vue'],
|
||||
},
|
||||
{
|
||||
builder: 'mkdist',
|
||||
format: 'esm',
|
||||
input: './src',
|
||||
loaders: ['js'],
|
||||
pattern: ['**/*.ts'],
|
||||
},
|
||||
],
|
||||
});
|
|
@ -11,7 +11,7 @@
|
|||
"license": "MIT",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "pnpm vite build",
|
||||
"build": "pnpm unbuild",
|
||||
"prepublishOnly": "npm run build"
|
||||
},
|
||||
"files": [
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
import { defineConfig } from '@vben/vite-config';
|
||||
|
||||
export default defineConfig();
|
|
@ -0,0 +1,21 @@
|
|||
import { defineBuildConfig } from 'unbuild';
|
||||
|
||||
export default defineBuildConfig({
|
||||
clean: true,
|
||||
declaration: true,
|
||||
entries: [
|
||||
{
|
||||
builder: 'mkdist',
|
||||
input: './src',
|
||||
loaders: ['vue'],
|
||||
pattern: ['**/*.vue'],
|
||||
},
|
||||
{
|
||||
builder: 'mkdist',
|
||||
format: 'esm',
|
||||
input: './src',
|
||||
loaders: ['js'],
|
||||
pattern: ['**/*.ts'],
|
||||
},
|
||||
],
|
||||
});
|
|
@ -11,7 +11,7 @@
|
|||
"license": "MIT",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "pnpm vite build",
|
||||
"build": "pnpm unbuild",
|
||||
"prepublishOnly": "npm run build"
|
||||
},
|
||||
"files": [
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
import { defineConfig } from '@vben/vite-config';
|
||||
|
||||
export default defineConfig();
|
1354
pnpm-lock.yaml
1354
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -20,7 +20,7 @@
|
|||
},
|
||||
"stub": {},
|
||||
"dev": {
|
||||
"dependsOn": ["^build"],
|
||||
"dependsOn": [],
|
||||
"outputs": [],
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
"version": "5.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"docs:dev": "vitepress dev",
|
||||
"docs:build": "vitepress build",
|
||||
"docs:dev": "vitepress dev",
|
||||
"docs:preview": "vitepress preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
Loading…
Reference in New Issue