This commit is contained in:
熊潇 2025-05-10 00:18:43 +08:00
parent c4e0ec2a53
commit 7b7a647612
3 changed files with 24 additions and 9 deletions

View File

@ -8,5 +8,6 @@
}, },
"keywords": [], "keywords": [],
"author": "", "author": "",
"license": "ISC" "license": "ISC",
"packageManager": "pnpm@10.10.0"
} }

View File

@ -1,9 +1,9 @@
{ {
"name": "@kevisual/codemirror", "name": "@kevisual/codemirror",
"version": "0.0.2", "version": "0.0.3",
"description": "", "description": "",
"main": "dist/editor.js", "main": "dist/editor.js",
"privite": false, "private": false,
"scripts": { "scripts": {
"build": "rimraf -rf dist && rollup -c" "build": "rimraf -rf dist && rollup -c"
}, },
@ -19,16 +19,26 @@
"dependencies": {}, "dependencies": {},
"devDependencies": { "devDependencies": {
"codemirror": "^6.0.1", "codemirror": "^6.0.1",
"@codemirror/lang-javascript": "^6.2.2", "@codemirror/lang-javascript": "^6.2.3",
"@codemirror/lang-json": "^6.0.1", "@codemirror/lang-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^11.1.6", "@rollup/plugin-typescript": "^12.1.2",
"rollup": "^4.22.2", "rollup": "^4.40.2",
"tslib": "^2.7.0", "tslib": "^2.8.1",
"typescript": "^5.6.2" "typescript": "^5.8.3"
}, },
"publishConfig": { "publishConfig": {
"registry": "https://registry.npmjs.org/", "registry": "https://registry.npmjs.org/",
"access": "public" "access": "public"
},
"exports": {
".": {
"import": "./dist/editor.js",
"types": "./dist/editor.d.ts"
},
"./json": {
"import": "./dist/editor.json.js",
"types": "./dist/editor.json.d.ts"
}
} }
} }

4
pnpm-lock.yaml generated
View File

@ -35,6 +35,10 @@ importers:
specifier: ^5.6.2 specifier: ^5.6.2
version: 5.6.2 version: 5.6.2
packages/react: {}
packages/tailwind: {}
packages/theme-preview: packages/theme-preview:
dependencies: dependencies:
'@abearxiong/ui': '@abearxiong/ui':