Skip to content

Commit

Permalink
feat(stripe)!: major version about for stripe (#39)
Browse files Browse the repository at this point in the history
Co-authored-by: giraud florent <[email protected]>
  • Loading branch information
flozero and giraud florent authored Oct 8, 2024
1 parent 074fb93 commit 818e4af
Show file tree
Hide file tree
Showing 7 changed files with 3,322 additions and 13,097 deletions.
10 changes: 4 additions & 6 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
// @ts-check
import { createConfigForNuxt } from '@nuxt/eslint-config/flat'
import { createConfigForNuxt } from "@nuxt/eslint-config/flat";

export default createConfigForNuxt({
features: {
tooling: true,
stylistic: true,
// stylistic: true,
},
dirs: {
src: [
'./playground',
],
src: ["./playground"],
},
})
});
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,25 @@
},
"dependencies": {
"@jest/globals": "^29.7.0",
"@nuxt/kit": "^3.11.2",
"@stripe/stripe-js": "^3.3.0",
"@nuxt/kit": "^3.13.2",
"@stripe/stripe-js": "^4.7.0",
"defu": "^6.1.2",
"stripe": "^15.1.0"
"stripe": "^17.1.0"
},
"devDependencies": {
"@commitlint/cli": "^19.2.2",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/prompt-cli": "^19.2.2",
"@nuxt/eslint-config": "^0.3.10",
"@nuxt/module-builder": "^0.5.5",
"@nuxt/eslint-config": "^0.5.7",
"@nuxt/module-builder": "^0.8.4",
"@nuxt/schema": "^3.11.2",
"@nuxt/test-utils": "^3.12.0",
"@types/node": "^20.12.7",
"@types/node": "^22.7.5",
"changelogen": "^0.5.5",
"eslint": "^9.1.1",
"husky": "^9.0.11",
"nuxt": "^3.11.2",
"nuxt": "^3.13.2",
"typescript": "^5.4.5",
"vitest": "^1.5.0"
"vitest": "^2.1.2"
}
}
Empty file added playground/.env.example
Empty file.
10 changes: 6 additions & 4 deletions playground/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
export default defineNuxtConfig({
modules: ['../src/module'],
modules: ["../src/module"],

stripe: {
client: {
key: 'pk_test_123',
key: process.env.STRIPE_PUBLIC_KEY,
},
server: {
key: 'sk_test_123',
key: process.env.STRIPE_SECRET_KEY,
},
},
})
compatibilityDate: "2024-10-07",
});
13 changes: 0 additions & 13 deletions playground/package.json

This file was deleted.

Loading

0 comments on commit 818e4af

Please sign in to comment.