fix: resolve publint issues

This commit is contained in:
三咲智子 Kevin Deng 2025-03-10 02:09:16 +08:00
parent 61c03e59a1
commit 9ca7f4b7fe
No known key found for this signature in database
4 changed files with 15 additions and 3 deletions

View File

@ -1,6 +1,7 @@
{ {
"name": "@vue/babel-helper-vue-transform-on", "name": "@vue/babel-helper-vue-transform-on",
"version": "1.3.0", "version": "1.3.0",
"type": "commonjs",
"description": "to help transform on", "description": "to help transform on",
"author": "Amour1688 <lcz_1996@foxmail.com>", "author": "Amour1688 <lcz_1996@foxmail.com>",
"license": "MIT", "license": "MIT",
@ -8,6 +9,6 @@
"types": "index.d.ts", "types": "index.d.ts",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/vuejs/babel-plugin-jsx" "url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
} }
} }

View File

@ -5,12 +5,20 @@
"author": "Amour1688 <lcz_1996@foxmail.com>", "author": "Amour1688 <lcz_1996@foxmail.com>",
"homepage": "https://github.com/vuejs/babel-plugin-jsx/tree/dev/packages/babel-plugin-jsx#readme", "homepage": "https://github.com/vuejs/babel-plugin-jsx/tree/dev/packages/babel-plugin-jsx#readme",
"license": "MIT", "license": "MIT",
"type": "commonjs",
"main": "dist/index.js", "main": "dist/index.js",
"module": "dist/index.mjs", "module": "dist/index.mjs",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./*": "./*"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/vuejs/babel-plugin-jsx" "url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
}, },
"scripts": { "scripts": {
"build": "tsup", "build": "tsup",

View File

@ -6,6 +6,7 @@
"funding": "https://github.com/sponsors/sxzz", "funding": "https://github.com/sponsors/sxzz",
"homepage": "https://github.com/vuejs/babel-plugin-jsx/tree/dev/packages/babel-plugin-resolve-type#readme", "homepage": "https://github.com/vuejs/babel-plugin-jsx/tree/dev/packages/babel-plugin-resolve-type#readme",
"license": "MIT", "license": "MIT",
"type": "commonjs",
"main": "dist/index.js", "main": "dist/index.js",
"module": "dist/index.mjs", "module": "dist/index.mjs",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
@ -19,7 +20,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/vuejs/babel-plugin-jsx" "url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
}, },
"publishConfig": { "publishConfig": {
"exports": { "exports": {

View File

@ -15,6 +15,8 @@ export default defineConfig({
VueJSX(), VueJSX(),
Replace({ Replace({
values: { values: {
'process.env': '{}',
'process.env.NODE_DEBUG': 'false',
'process.env.BABEL_TYPES_8_BREAKING': 'false', 'process.env.BABEL_TYPES_8_BREAKING': 'false',
}, },
}), }),