Skip to content

Commit

Permalink
refactor: refactor add request body input typings
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed May 15, 2024
1 parent ff9207e commit 205f33b
Show file tree
Hide file tree
Showing 50 changed files with 2,093 additions and 210 deletions.
6 changes: 6 additions & 0 deletions .changeset/ten-beds-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"paypal-checkout-sdk-samples": patch
"@hyperse-io/paypal-node-sdk": patch
---

refactor add request body input typings
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
tsconfigRootDir: __dirname,
project: 'tsconfig.json',
},
ignorePatterns: [...getDefaultIgnorePatterns()],
ignorePatterns: [...getDefaultIgnorePatterns(), 'docs'],
extends: [
'@armit/eslint-config-bases/typescript',
'@armit/eslint-config-bases/sonar',
Expand Down
9 changes: 5 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,16 @@ type(scope): Message in present tense

`scope` indicates the package affected by the commit:

- common
- core
- create
- orders
- payments
- customers
- etc.

If a commit affects more than one package, separate them with a comma:

```
fix(core,common): Fix the thing
fix(core,orders): Fix the thing
```

If a commit applies to no particular package (e.g. a tooling change in the root package.json), the scope can be omitted.
Expand All @@ -97,4 +98,4 @@ Commit messages are linted on commit, so you'll know if your message is not quit

## Setting up the dev environment

After cloning the artmit repo, please follow the [Development guide](https://gitlab.itcjf.com/flatjs-next/bridge/blob/main/README.md#development) in the README for instructions on how to get up and running locally.
After cloning the repo, please follow the [Development guide](https://github.com/hyperse-io/paypal-node-sdk/blob/main/README.md#development) in the README for instructions on how to get up and running locally.
2 changes: 1 addition & 1 deletion cache.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const globalCachePath = resolve(`${__dirname}/.cache`);
* @returns string
*/
function sanitize(packageName) {
return packageName.replace('/', '.').replace(/[^a-z0-9.@_-]+/gi, '-');
return packageName.replace('/', '.').replace(/[^\w.@-]+/g, '-');
}

/**
Expand Down
44 changes: 0 additions & 44 deletions codegen.cjs

This file was deleted.

Loading

0 comments on commit 205f33b

Please sign in to comment.