Skip to content
Merged
Show file tree
Hide file tree
Changes from 49 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
121441f
prep scripts
vcua-mobify May 23, 2025
95744ba
Add support for downloading OAS files via raml-toolkit
vcua-mobify May 23, 2025
1a6be2a
Update api families
vcua-mobify May 28, 2025
1bae476
Download cdn-api
vcua-mobify May 28, 2025
35c2828
Generate SDK from OAS
vcua-mobify May 29, 2025
a7a44cb
Include types and index
vcua-mobify Jun 2, 2025
c3b4c85
Fix tests and lint
vcua-mobify Jun 3, 2025
91b1886
Update anypoint exchange search parameters
vcua-mobify Jun 4, 2025
2da8879
Download all OAS specs
vcua-mobify Jun 4, 2025
52ed46c
Bump typescript and ts-node version
vcua-mobify Jun 4, 2025
e100d66
Move types.ts
vcua-mobify Jun 4, 2025
3e0dc5f
Fix oneOf issue in generated files missing imports
vcua-mobify Jun 5, 2025
9cc409a
Set name for SlasAdmin api
vcua-mobify Jun 5, 2025
fbc131e
allow delete to be used as function name by openapi generator
vcua-mobify Jun 5, 2025
3ad83a5
Update commands and typedoc dependencies
vcua-mobify Jun 6, 2025
65ec2fc
Remove raml generator files
vcua-mobify Jun 6, 2025
6815191
Merge branch 'oas-support' of https://github.com/vcua-mobify/commerce…
vcua-mobify Jun 6, 2025
94d281d
Cleanup fork
vcua-mobify Jun 6, 2025
3c7141f
More cleanup
vcua-mobify Jun 6, 2025
23aa529
More cleanup
vcua-mobify Jun 6, 2025
c84aba2
Update .nycrc.json
vcua-mobify Jun 6, 2025
4a69e2f
bump typescript version
vcua-mobify Jun 6, 2025
91f40e2
Add missing shopper apis
vcua-mobify Jun 6, 2025
9f2fe25
Camel case and handle baskets v2
vcua-mobify Jun 6, 2025
0e6ffe3
Sync mustache templates with isomorphic versions
vcua-mobify Jun 6, 2025
2bb86af
Lint and fix template
vcua-mobify Jun 6, 2025
10fbc49
Fix tests
vcua-mobify Jun 6, 2025
bbbc94f
Remove tsdoc and adjust eslint
vcua-mobify Jun 9, 2025
7901157
Update templates to resolve name collisions
vcua-mobify Jun 9, 2025
3fcf952
Cleanup
vcua-mobify Jun 9, 2025
99340e1
Update package.json scripts
vcua-mobify Jun 9, 2025
ecb7ec6
Revert typedoc version bump
vcua-mobify Jun 10, 2025
ddcb8f9
Update templates and omit some files
vcua-mobify Jun 10, 2025
4168bee
Remove older versions of node
vcua-mobify Jun 10, 2025
0252bda
Delete openapitools.json
vcua-mobify Jun 10, 2025
e9e9d62
Remove unused handlebars templates
vcua-mobify Jun 10, 2025
a0b2735
Update comments for api family
vcua-mobify Jun 10, 2025
3541481
Remove unused asset object map
vcua-mobify Jun 10, 2025
fd3aa05
Remove skipLibCheck
vcua-mobify Jun 10, 2025
1821845
Add more api name workarounds
vcua-mobify Jun 10, 2025
48f70bf
Pin nested dependency version to resolve ts lib check errors
vcua-mobify Jun 10, 2025
cc4a92d
Return only directories with exchange.json
vcua-mobify Jun 11, 2025
ddc3789
Dynamic version for user agent
vcua-mobify Jun 11, 2025
ba7f016
Fix tests and helpers
vcua-mobify Jun 13, 2025
18a9bf1
Use npm instead of yarn
vcua-mobify Jun 13, 2025
5ea68fe
Re-add depcheck and change catalog name
vcua-mobify Jun 13, 2025
e482d92
Add new dependency required to run tests in npm
vcua-mobify Jun 13, 2025
5e14dc0
Fix depcheck and renderTemplates
vcua-mobify Jun 16, 2025
33a8049
More test adjustments
vcua-mobify Jun 16, 2025
935d536
Remove staging api from config
vcua-mobify Jun 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .depcheckrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ ignores:
- node-fetch # We only use @types/node-fetch, not node-fetch itself
- retry # Use OperationOptions from retry in templates but not recognized by depcheck
- '@types/retry' # Corresponds to retry
- '@openapitools/openapi-generator-cli' # Used by openapi-generator-cli in `npm run renderTemplates`
8 changes: 3 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"plugins": [
"@typescript-eslint",
"@typescript-eslint/eslint-plugin",
"tsdoc",
"header",
"jsdoc"
],
Expand All @@ -32,7 +31,7 @@
"selector": "interface",
"format": ["PascalCase"],
"custom": {
"regex": "^I[A-Z]",
"regex": "^[A-Z]",
"match": true
}
}
Expand All @@ -53,7 +52,7 @@
]
],
"jsdoc/require-description": [
"error",
"warn",
{
"checkConstructors": false
}
Expand All @@ -76,8 +75,7 @@
"jsdoc/require-param-type": "off",
"jsdoc/require-returns-check": "error",
"jsdoc/require-returns-description": "error",
"jsdoc/require-returns-type": "off",
"tsdoc/syntax": "error"
"jsdoc/require-returns-type": "off"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing tsdoc because it is not compatible with how we have elected to define object properties (ie. @param options.someProperty is valid jsdoc but invalid tsdoc) and tsdoc currently has no straightforward mechanism for toggling applied rules.

},
"overrides": [
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
linux-tests:
strategy:
matrix:
node: [16, 18, 20, 22]
node: [20, 22]
fail-fast: false
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ dist

.idea

# Openapi-generator generates this when running renderTemplates
openapitools.json

# Release folders
renderedTemplates
.vscode
Expand Down
6 changes: 4 additions & 2 deletions .nycrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
"branches": 80,
"check-coverage": true,
"exclude": [
"src/generate.ts",
"src/updateApis.ts",
"src/lib/config.ts"
"src/lib/config.ts",
"src/generate-oas.ts",
"src/static/helpers/index.ts",
"src/lib/utils.ts"
],
"extends": "@istanbuljs/nyc-config-typescript",
"extension": [
Expand Down
Loading