@pinyin-pro/data
Advanced tools
Comparing version 1.2.0-beta.2 to 1.2.0-beta.3
{ | ||
"name": "@pinyin-pro/data", | ||
"version": "1.2.0-beta.2", | ||
"version": "1.2.0-beta.3", | ||
"description": "The data directory for pinyin-pro", | ||
@@ -15,21 +15,11 @@ "main": "index.js", | ||
"exports": { | ||
"./complete.json": "./json/complete.json", | ||
"./modern.json": "./json/modern.json", | ||
"./package.json": "./json/package.json", | ||
".": { | ||
"import": { | ||
"types": "./types/index.d.ts", | ||
"default": "./dist/dict/index.mjs" | ||
}, | ||
"require": { | ||
"types": "./types/index.d.ts", | ||
"default": "./dist/dict/index.js" | ||
} | ||
}, | ||
"./*.json": "./json/*.json", | ||
"./*": { | ||
"import": { | ||
"default": "./dist/dict/*.mjs" | ||
"types": "./types/*.d.ts", | ||
"default": "./dist/*.mjs" | ||
}, | ||
"require": { | ||
"default": "./dist/dict/*.js" | ||
"types": "./types/*.d.ts", | ||
"default": "./dist/*.js" | ||
} | ||
@@ -36,0 +26,0 @@ } |
@@ -20,6 +20,7 @@ { | ||
"skipLibCheck": true, | ||
"resolveJsonModule": true | ||
"resolveJsonModule": true, | ||
"rootDir": "./src" | ||
}, | ||
"include": ["dict/**/*.ts"], | ||
"include": ["src/**/*.ts"], | ||
"references": [{ "path": "./tsconfig.node.json" }] | ||
} |
@@ -7,12 +7,6 @@ import { defineConfig } from 'vite'; | ||
lib: { | ||
entry: ['dict/index.ts'], | ||
entry: ['src/chars.ts', 'src/modern.ts', 'src/complete.ts'], | ||
formats: ['es', 'cjs'], | ||
fileName: '[name]', | ||
}, | ||
rollupOptions: { | ||
output: { | ||
preserveModules: true, | ||
preserveModulesRoot: './', | ||
}, | ||
}, | ||
minify: true, | ||
@@ -19,0 +13,0 @@ emptyOutDir: true, |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
59505661
21
364126
1