Skip to content

Commit 9ca7f4b

Browse files
committedMar 9, 2025··
fix: resolve publint issues
1 parent 61c03e5 commit 9ca7f4b

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed
 

Diff for: ‎packages/babel-helper-vue-transform-on/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "@vue/babel-helper-vue-transform-on",
33
"version": "1.3.0",
4+
"type": "commonjs",
45
"description": "to help transform on",
56
"author": "Amour1688 <lcz_1996@foxmail.com>",
67
"license": "MIT",
78
"main": "index.js",
89
"types": "index.d.ts",
910
"repository": {
1011
"type": "git",
11-
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
12+
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
1213
}
1314
}

Diff for: ‎packages/babel-plugin-jsx/package.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,20 @@
55
"author": "Amour1688 <lcz_1996@foxmail.com>",
66
"homepage": "https://github.com/vuejs/babel-plugin-jsx/tree/dev/packages/babel-plugin-jsx#readme",
77
"license": "MIT",
8+
"type": "commonjs",
89
"main": "dist/index.js",
910
"module": "dist/index.mjs",
1011
"types": "dist/index.d.ts",
12+
"exports": {
13+
".": {
14+
"import": "./dist/index.mjs",
15+
"require": "./dist/index.js"
16+
},
17+
"./*": "./*"
18+
},
1119
"repository": {
1220
"type": "git",
13-
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
21+
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
1422
},
1523
"scripts": {
1624
"build": "tsup",

Diff for: ‎packages/babel-plugin-resolve-type/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"funding": "https://github.com/sponsors/sxzz",
77
"homepage": "https://github.com/vuejs/babel-plugin-jsx/tree/dev/packages/babel-plugin-resolve-type#readme",
88
"license": "MIT",
9+
"type": "commonjs",
910
"main": "dist/index.js",
1011
"module": "dist/index.mjs",
1112
"types": "dist/index.d.ts",
@@ -19,7 +20,7 @@
1920
},
2021
"repository": {
2122
"type": "git",
22-
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
23+
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
2324
},
2425
"publishConfig": {
2526
"exports": {

Diff for: ‎packages/jsx-explorer/vite.config.ts

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export default defineConfig({
1515
VueJSX(),
1616
Replace({
1717
values: {
18+
'process.env': '{}',
19+
'process.env.NODE_DEBUG': 'false',
1820
'process.env.BABEL_TYPES_8_BREAKING': 'false',
1921
},
2022
}),

0 commit comments

Comments
 (0)
Please sign in to comment.