chore(tsdown): remove unbuild leftovers
parent
d72f872369
commit
c9f7154524
|
|
@ -18,7 +18,6 @@ export async function node(): Promise<Linter.Config[]> {
|
||||||
{
|
{
|
||||||
allowModules: [
|
allowModules: [
|
||||||
'tsdown',
|
'tsdown',
|
||||||
'unbuild',
|
|
||||||
'@vben/vite-config',
|
'@vben/vite-config',
|
||||||
'vitest',
|
'vitest',
|
||||||
'vite',
|
'vite',
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,7 @@
|
||||||
"@changesets/changelog-github": "catalog:",
|
"@changesets/changelog-github": "catalog:",
|
||||||
"@changesets/cli": "catalog:",
|
"@changesets/cli": "catalog:",
|
||||||
"@playwright/test": "catalog:",
|
"@playwright/test": "catalog:",
|
||||||
|
"@tsdown/css": "catalog:",
|
||||||
"@types/node": "catalog:",
|
"@types/node": "catalog:",
|
||||||
"@vben/commitlint-config": "workspace:*",
|
"@vben/commitlint-config": "workspace:*",
|
||||||
"@vben/eslint-config": "workspace:*",
|
"@vben/eslint-config": "workspace:*",
|
||||||
|
|
@ -95,7 +96,6 @@
|
||||||
"tsdown": "catalog:",
|
"tsdown": "catalog:",
|
||||||
"turbo": "catalog:",
|
"turbo": "catalog:",
|
||||||
"typescript": "catalog:",
|
"typescript": "catalog:",
|
||||||
"unbuild": "catalog:",
|
|
||||||
"unplugin-vue": "catalog:",
|
"unplugin-vue": "catalog:",
|
||||||
"vite": "catalog:",
|
"vite": "catalog:",
|
||||||
"vitest": "catalog:",
|
"vitest": "catalog:",
|
||||||
|
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
import { defineBuildConfig } from 'unbuild';
|
|
||||||
|
|
||||||
export default defineBuildConfig({
|
|
||||||
clean: true,
|
|
||||||
declaration: true,
|
|
||||||
entries: [
|
|
||||||
{
|
|
||||||
builder: 'mkdist',
|
|
||||||
input: './src',
|
|
||||||
|
|
||||||
pattern: ['**/*'],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
builder: 'mkdist',
|
|
||||||
input: './src',
|
|
||||||
loaders: ['vue'],
|
|
||||||
pattern: ['**/*.vue'],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
builder: 'mkdist',
|
|
||||||
format: 'esm',
|
|
||||||
input: './src',
|
|
||||||
loaders: ['js'],
|
|
||||||
pattern: ['**/*.ts'],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
});
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@vben-core/shadcn-ui",
|
"name": "@vben-core/shadcn-ui",
|
||||||
"version": "5.7.0",
|
"version": "5.7.0",
|
||||||
"#main": "./dist/index.mjs",
|
|
||||||
"#module": "./dist/index.mjs",
|
|
||||||
"homepage": "https://github.com/vbenjs/vue-vben-admin",
|
"homepage": "https://github.com/vbenjs/vue-vben-admin",
|
||||||
"bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
|
"bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
@ -12,29 +10,28 @@
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
|
||||||
"#build": "pnpm unbuild",
|
|
||||||
"#prepublishOnly": "npm run build"
|
|
||||||
},
|
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"components.json",
|
||||||
|
"src"
|
||||||
],
|
],
|
||||||
"sideEffects": [
|
"sideEffects": [
|
||||||
"**/*.css"
|
"**/*.css"
|
||||||
],
|
],
|
||||||
"main": "./src/index.ts",
|
"main": "./src/index.ts",
|
||||||
"module": "./src/index.ts",
|
"module": "./src/index.ts",
|
||||||
|
"types": "./src/index.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"types": "./src/index.ts",
|
"types": "./src/index.ts",
|
||||||
"development": "./src/index.ts",
|
"development": "./src/index.ts",
|
||||||
"default": "./src/index.ts",
|
"default": "./src/index.ts"
|
||||||
"//default": "./dist/index.mjs"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
|
"types": "./src/index.ts",
|
||||||
|
"development": "./src/index.ts",
|
||||||
"default": "./src/index.ts"
|
"default": "./src/index.ts"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
748
pnpm-lock.yaml
748
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
|
@ -46,6 +46,7 @@ catalog:
|
||||||
'@tailwindcss/vite': ^4.2.1
|
'@tailwindcss/vite': ^4.2.1
|
||||||
'@tanstack/vue-query': ^5.92.9
|
'@tanstack/vue-query': ^5.92.9
|
||||||
'@tanstack/vue-store': ^0.9.2
|
'@tanstack/vue-store': ^0.9.2
|
||||||
|
'@tsdown/css': ^0.21.3
|
||||||
'@types/archiver': ^7.0.0
|
'@types/archiver': ^7.0.0
|
||||||
'@types/html-minifier-terser': ^7.0.2
|
'@types/html-minifier-terser': ^7.0.2
|
||||||
'@types/json-bigint': ^1.0.4
|
'@types/json-bigint': ^1.0.4
|
||||||
|
|
@ -158,7 +159,6 @@ catalog:
|
||||||
turbo: ^2.8.17
|
turbo: ^2.8.17
|
||||||
tw-animate-css: ^1.4.0
|
tw-animate-css: ^1.4.0
|
||||||
typescript: ^5.9.3
|
typescript: ^5.9.3
|
||||||
unbuild: ^3.6.1
|
|
||||||
unplugin-dts: ^1.0.0-beta.6
|
unplugin-dts: ^1.0.0-beta.6
|
||||||
unplugin-element-plus: ^0.11.2
|
unplugin-element-plus: ^0.11.2
|
||||||
unplugin-vue: ^7.1.1
|
unplugin-vue: ^7.1.1
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ const DEFAULT_CONFIG = {
|
||||||
'vite',
|
'vite',
|
||||||
'vitest',
|
'vitest',
|
||||||
'tsdown',
|
'tsdown',
|
||||||
'unbuild',
|
|
||||||
'@vben/tsconfig',
|
'@vben/tsconfig',
|
||||||
'@vben/vite-config',
|
'@vben/vite-config',
|
||||||
'@types/*',
|
'@types/*',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue