Skip to content

Commit

Permalink
Merge pull request #141 from chrisvdm/ts-refactor-api-web
Browse files Browse the repository at this point in the history
Typescript refactor
  • Loading branch information
chrisvdm authored Jul 17, 2024
2 parents bc8a94e + 6e9c9bb commit 79dfa33
Show file tree
Hide file tree
Showing 80 changed files with 14,978 additions and 2,828 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ jobs:
# it literally doesn't even have the code in this repo yet.
- uses: actions/checkout@v3

- run: corepack enable

# It doesn't have Node.js either; we have to set it up before we can do Node.js things.
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18

- run: yarn install
shell: bash
Expand Down
26 changes: 23 additions & 3 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,37 @@
"description": "API-side code for RedwoodJS-Stripe projects",
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"redwoodjs-stripe:development": "./dist/esm/index.js",
"default": "./dist/cjs/index.js"
},
"./testing": {
"types": "./dist/esm/lib/testing.d.ts",
"redwoodjs-stripe:development": "./dist/esm/lib/testing.js",
"default": "./dist/cjs/lib/testing.js"
}
},
"keywords": ["stripe", "redwoodjs", "payments", "commerce"],
"keywords": [
"stripe",
"redwoodjs",
"payments",
"commerce"
],
"license": "MIT",
"author": "chrisvdm",
"main": "./dist/cjs/index.js",
"files": ["dist"],
"files": [
"dist"
],
"dependencies": {
"@redwoodjs/testing": "^7.7.2",
"stripe": ">=11.18.0"
},
"gitHead": "dc236d24165114a18811fe36e62482ff4ae75d36"
"gitHead": "dc236d24165114a18811fe36e62482ff4ae75d36",
"peerDependencies": {
"@redwoodjs/api": ">=7.7.2"
},
"devDependencies": {
"@redwoodjs/api": "^7.7.2"
}
}
Loading

0 comments on commit 79dfa33

Please sign in to comment.