Skip to content

Commit 405a809

Browse files
authored
fix: cannot find package '@babel/core' (#9)
1 parent 95b85a1 commit 405a809

File tree

9 files changed

+27
-78
lines changed

9 files changed

+27
-78
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# unplugin-vue-source
22

3+
[![CI](https://github.com/zjxxxxxxxxx/unplugin-vue-source/actions/workflows/ci.yml/badge.svg)](https://github.com/zjxxxxxxxxx/unplugin-vue-source/actions/workflows/ci.yml)
4+
[![NPM version](https://img.shields.io/npm/v/unplugin-vue-source?color=)](https://www.npmjs.com/package/unplugin-vue-source)
5+
[![MIT](https://img.shields.io/github/license/zjxxxxxxxxx/unplugin-vue-source)](https://opensource.org/licenses/MIT)
6+
37
Add a \_\_source prop to all Elements.
48

59
- 🌈 Supports `Vue2` and `Vue3`.

examples/rollup/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"rollup-plugin-svg": "^2.0.0",
2323
"typescript": "^2.2.0",
2424
"unplugin-vue-jsx": "^0.2.2",
25-
"unplugin-vue-source": "workspace:*",
25+
"unplugin-vue-source": "latest",
2626
"unplugin-vue2": "^0.1.1"
2727
}
2828
}

examples/vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@vitejs/plugin-vue": "^4.2.3",
1515
"typescript": "^5.0.2",
1616
"unplugin-vue-jsx": "^0.2.2",
17-
"unplugin-vue-source": "workspace:*",
17+
"unplugin-vue-source": "latest",
1818
"vite": "^4.4.5"
1919
}
2020
}

examples/webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"@vue/cli-service": "~5.0.0",
1616
"typescript": "~4.5.5",
1717
"unplugin-vue-jsx": "^0.2.2",
18-
"unplugin-vue-source": "workspace:*"
18+
"unplugin-vue-source": "latest"
1919
}
2020
}

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,17 +91,17 @@
9191
"release": "bumpp && npm publish"
9292
},
9393
"dependencies": {
94-
"magic-string": "^0.30.3",
95-
"unplugin": "^1.4.0"
96-
},
97-
"devDependencies": {
9894
"@babel/core": "^7.22.10",
9995
"@babel/parser": "^7.22.16",
10096
"@babel/plugin-syntax-jsx": "^7.22.5",
10197
"@babel/plugin-syntax-typescript": "^7.22.5",
98+
"@vue/compiler-dom": "^3.3.4",
99+
"magic-string": "^0.30.3",
100+
"unplugin": "^1.4.0"
101+
},
102+
"devDependencies": {
102103
"@types/babel__core": "^7.20.2",
103104
"@types/node": "^20.6.0",
104-
"@vue/compiler-dom": "^3.3.4",
105105
"bumpp": "^9.2.0",
106106
"changelogithub": "^0.13.0",
107107
"prettier": "^3.0.3",

0 commit comments

Comments
 (0)