Skip to content

Commit 5ee6ad3

Browse files
committed
fix: install stripe-js as dependency
1 parent dd9da73 commit 5ee6ad3

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-stripe-js",
33
"version": "2.0.0",
4-
"description": "Vue 3 components for Stripe.js: Elements & Checkout",
4+
"description": "Vue 3 components for Stripe.js",
55
"type": "module",
66
"main": "./dist/vue-stripe.js",
77
"exports": {
@@ -15,7 +15,7 @@
1515
"dev": "vite",
1616
"build": "vue-tsc -b && vite build",
1717
"check:types": "publint && attw --pack . --ignore-rules=cjs-resolves-to-esm",
18-
"ci": "pnpm run build && pnpm run check:types"
18+
"ci": "biome check && pnpm run build && pnpm run check:types"
1919
},
2020
"files": ["dist"],
2121
"repository": {
@@ -29,10 +29,12 @@
2929
"bugs": {
3030
"url": "https://github.com/ectoflow/vue-stripe-js/issues"
3131
},
32+
"dependencies": {
33+
"@stripe/stripe-js": "^5.5.0"
34+
},
3235
"devDependencies": {
3336
"@arethetypeswrong/cli": "^0.17.2",
3437
"@biomejs/biome": "1.9.4",
35-
"@stripe/stripe-js": "^5.5.0",
3638
"@tailwindcss/vite": "4.0.0-beta.8",
3739
"@vitejs/plugin-vue": "^5.2.1",
3840
"@vue/tsconfig": "0.7.0",

pnpm-lock.yaml

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default defineConfig({
1414
rollupOptions: {
1515
// make sure to externalize deps that shouldn't be bundled
1616
// into your library
17-
external: ["vue"],
17+
external: ["vue", "@stripe/stripe-js"],
1818
output: {
1919
// Provide global variables to use in the UMD build
2020
// for externalized deps

0 commit comments

Comments
 (0)