Skip to content

Commit

Permalink
fix: resolve publint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Mar 9, 2025
1 parent 61c03e5 commit 9ca7f4b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/babel-helper-vue-transform-on/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "@vue/babel-helper-vue-transform-on",
"version": "1.3.0",
"type": "commonjs",
"description": "to help transform on",
"author": "Amour1688 <[email protected]>",
"license": "MIT",
"main": "index.js",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
}
}
10 changes: 9 additions & 1 deletion packages/babel-plugin-jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,20 @@
"author": "Amour1688 <[email protected]>",
"homepage": "https://github.com/vuejs/babel-plugin-jsx/tree/dev/packages/babel-plugin-jsx#readme",
"license": "MIT",
"type": "commonjs",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./*": "./*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
},
"scripts": {
"build": "tsup",
Expand Down
3 changes: 2 additions & 1 deletion packages/babel-plugin-resolve-type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"funding": "https://github.com/sponsors/sxzz",
"homepage": "https://github.com/vuejs/babel-plugin-jsx/tree/dev/packages/babel-plugin-resolve-type#readme",
"license": "MIT",
"type": "commonjs",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
Expand All @@ -19,7 +20,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
},
"publishConfig": {
"exports": {
Expand Down
2 changes: 2 additions & 0 deletions packages/jsx-explorer/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export default defineConfig({
VueJSX(),
Replace({
values: {
'process.env': '{}',
'process.env.NODE_DEBUG': 'false',
'process.env.BABEL_TYPES_8_BREAKING': 'false',
},
}),
Expand Down

0 comments on commit 9ca7f4b

Please sign in to comment.