Skip to content

chore: upgrade deps #300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/.cache_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6
6.0.1
Copy link
Collaborator

Choose a reason for hiding this comment

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

lol semantic versioning on the cache

Copy link
Member Author

Choose a reason for hiding this comment

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

🤷🏼

18 changes: 9 additions & 9 deletions .github/actions/cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ runs:

# Restore bundled specs: used during 'client' generation or pushing the 'codegen'
- name: Restore built abtesting spec
if: ${{ inputs.job == 'client' || inputs.job == 'codegen' }}
if: ${{ inputs.job == 'cts' || inputs.job == 'client' || inputs.job == 'codegen' }}
uses: actions/cache@v2
with:
path: specs/bundled/abtesting.yml
Expand All @@ -49,7 +49,7 @@ runs:
)}}

- name: Restore built analytics spec
if: ${{ inputs.job == 'client' || inputs.job == 'codegen' }}
if: ${{ inputs.job == 'cts' || inputs.job == 'client' || inputs.job == 'codegen' }}
uses: actions/cache@v2
with:
path: specs/bundled/analytics.yml
Expand All @@ -61,7 +61,7 @@ runs:
)}}

- name: Restore built insights spec
if: ${{ inputs.job == 'client' || inputs.job == 'codegen' }}
if: ${{ inputs.job == 'cts' || inputs.job == 'client' || inputs.job == 'codegen' }}
uses: actions/cache@v2
with:
path: specs/bundled/insights.yml
Expand All @@ -73,7 +73,7 @@ runs:
)}}

- name: Restore built personalization spec
if: ${{ inputs.job == 'client' || inputs.job == 'codegen' }}
if: ${{ inputs.job == 'cts' || inputs.job == 'client' || inputs.job == 'codegen' }}
uses: actions/cache@v2
with:
path: specs/bundled/personalization.yml
Expand All @@ -85,7 +85,7 @@ runs:
)}}

- name: Restore built predict spec
if: ${{ inputs.job == 'client' || inputs.job == 'codegen' }}
if: ${{ inputs.job == 'cts' || inputs.job == 'client' || inputs.job == 'codegen' }}
uses: actions/cache@v2
with:
path: specs/bundled/predict.yml
Expand All @@ -97,7 +97,7 @@ runs:
)}}

- name: Restore built query-suggestions spec
if: ${{ inputs.job == 'client' || inputs.job == 'codegen' }}
if: ${{ inputs.job == 'cts' || inputs.job == 'client' || inputs.job == 'codegen' }}
uses: actions/cache@v2
with:
path: specs/bundled/query-suggestions.yml
Expand All @@ -109,7 +109,7 @@ runs:
)}}

- name: Restore built recommend spec
if: ${{ inputs.job == 'client' || inputs.job == 'codegen' }}
if: ${{ inputs.job == 'cts' || inputs.job == 'client' || inputs.job == 'codegen' }}
uses: actions/cache@v2
with:
path: specs/bundled/recommend.yml
Expand All @@ -121,7 +121,7 @@ runs:
)}}

- name: Restore built search spec
if: ${{ inputs.job == 'client' || inputs.job == 'codegen' }}
if: ${{ inputs.job == 'cts' || inputs.job == 'client' || inputs.job == 'codegen' }}
uses: actions/cache@v2
with:
path: specs/bundled/search.yml
Expand All @@ -133,7 +133,7 @@ runs:
)}}

- name: Restore built sources spec
if: ${{ inputs.job == 'client' || inputs.job == 'codegen' }}
if: ${{ inputs.job == 'cts' || inputs.job == 'client' || inputs.job == 'codegen' }}
uses: actions/cache@v2
with:
path: specs/bundled/sources.yml
Expand Down
2 changes: 1 addition & 1 deletion .redocly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ lint:
no-ambiguous-paths: off # this is out of our scope.
no-enum-type-mismatch: warn # keeping the warning since it only occur on one edge case

no-identical-paths: error
tag-description: error
parameter-description: error
operation-description: error
operation-parameters-unique: error
tags-alphabetical: error
363 changes: 363 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
Copy link
Collaborator

Choose a reason for hiding this comment

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

yarn already includes a tool to upgrade deps, yarn up "*" -iE, are you sure this plugin is necessary ?

Copy link
Member Author

Choose a reason for hiding this comment

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

ah good to know, I'll check if it's the same, I like this one

Copy link
Member Author

Choose a reason for hiding this comment

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

I like the plugin better, you can check from this PR the difference

Copy link
Collaborator

Choose a reason for hiding this comment

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

I agree the plugins looks better

spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.1.1.cjs
8 changes: 4 additions & 4 deletions clients/algoliasearch-client-javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"release:publish": "ts-node scripts/publish.ts"
},
"devDependencies": {
"@babel/core": "7.17.2",
"@babel/core": "7.17.8",
"@babel/plugin-proposal-class-properties": "7.16.7",
"@babel/plugin-transform-runtime": "7.17.0",
"@babel/preset-env": "7.16.11",
"@babel/runtime": "7.17.2",
"@rollup/plugin-babel": "5.3.0",
"@babel/runtime": "7.17.8",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-node-resolve": "13.1.3",
"@types/rollup-plugin-node-globals": "1.4.1",
"bundlesize2": "0.0.31",
Expand All @@ -35,7 +35,7 @@
"rollup-plugin-typescript2": "0.31.2",
"semver": "7.3.5",
"ts-node": "10.7.0",
"typescript": "4.5.4"
"typescript": "4.6.3"
},
"engines": {
"node": ">= 14.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@experimental-api-clients-automation/requester-node-http": "0.0.5"
},
"devDependencies": {
"@types/node": "16.11.11",
"typescript": "4.5.4"
"@types/node": "16.11.26",
"typescript": "4.6.3"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
},
"devDependencies": {
"@types/jest": "27.4.1",
"@types/node": "16.11.11",
"jest": "27.4.7",
"typescript": "4.5.4"
"@types/node": "16.11.26",
"jest": "27.5.1",
"typescript": "4.6.3"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@experimental-api-clients-automation/client-common": "0.0.5"
},
"devDependencies": {
"@types/node": "16.11.11",
"typescript": "4.5.4"
"@types/node": "16.11.26",
"typescript": "4.6.3"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@experimental-api-clients-automation/client-common": "0.0.5"
},
"devDependencies": {
"@types/node": "16.11.11",
"typescript": "4.5.4"
"@types/node": "16.11.26",
"typescript": "4.6.3"
}
}
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,32 @@
"release": "yarn workspace scripts createReleaseIssue",
"scripts:lint": "eslint --ext=ts scripts/",
"scripts:test": "yarn workspace scripts test",
"specs:fix": "eslint --ext=yml specs/ --fix",
"specs:fix": "eslint --ext=yml specs/$0 --fix",
"specs:lint": "eslint --ext=yml specs/$0",
"website:build": "yarn workspace website build",
"website": "yarn workspace website start --host 0.0.0.0"
},
"devDependencies": {
"@experimental-api-clients-automation/openapi-generator-cli": "0.0.1",
"@redocly/openapi-cli": "1.0.0-beta.79",
"@redocly/openapi-cli": "1.0.0-beta.90",
"@typescript-eslint/eslint-plugin": "5.5.0",
"@typescript-eslint/parser": "5.5.0",
"babel-eslint": "10.1.0",
"eslint": "8.6.0",
"eslint": "8.12.0",
"eslint-config-algolia": "20.0.0",
"eslint-config-prettier": "8.3.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-algolia": "2.0.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jsdoc": "37.5.1",
"eslint-plugin-jsdoc": "37.9.7",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-unused-imports": "2.0.0",
"eslint-plugin-yml": "0.12.0",
"eslint-plugin-yml": "0.14.0",
"json": "11.0.0",
"mustache": "4.2.0",
"prettier": "2.5.1",
"prettier-plugin-java": "1.6.0",
"typescript": "4.5.4"
"prettier": "2.6.1",
"prettier-plugin-java": "1.6.1",
"typescript": "4.6.3"
},
"engines": {
"node": "^16.0.0",
Expand Down
4 changes: 2 additions & 2 deletions playground/javascript/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@experimental-api-clients-automation/requester-browser-xhr": "0.0.5"
},
"devDependencies": {
"parcel": "2.3.1",
"typescript": "4.5.4"
"parcel": "2.4.0",
"typescript": "4.6.3"
}
}
4 changes: 2 additions & 2 deletions playground/javascript/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
},
"devDependencies": {
"dotenv": "10.0.0",
"ts-node": "10.5.0",
"typescript": "4.5.4"
"ts-node": "10.7.0",
"typescript": "4.6.3"
},
"engines": {
"node": "^16.0.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/buildSpecs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async function buildSpec(
});

spinner.text = `linting '${client}' bundled spec`;
await run(`yarn specs:lint bundled/${client}.${outputFormat}`, { verbose });
await run(`yarn specs:fix bundled/${client}.${outputFormat}`, { verbose });

if (hash) {
spinner.text = `storing ${client} spec cache`;
Expand Down
18 changes: 9 additions & 9 deletions scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@
"@octokit/rest": "18.12.0",
"@types/folder-hash": "4.0.1",
"@types/inquirer": "8.2.0",
"@types/jest": "27.4.0",
"@types/jest": "27.4.1",
"@types/js-yaml": "4.0.5",
"@types/mustache": "4.1.2",
"@types/node": "16.11.11",
"@types/node": "16.11.26",
"@types/semver": "7.3.9",
"commander": "9.0.0",
"commander": "9.1.0",
"dotenv": "16.0.0",
"eslint": "8.6.0",
"eslint": "8.12.0",
"execa": "5.1.1",
"folder-hash": "4.0.2",
"inquirer": "8.2.0",
"jest": "27.4.7",
"inquirer": "8.2.2",
"jest": "27.5.1",
"js-yaml": "4.1.0",
"mustache": "4.2.0",
"openapi-types": "10.0.0",
"ora-classic": "5.4.2",
"semver": "7.3.5",
"ts-jest": "27.1.3",
"ts-node": "10.5.0",
"typescript": "4.5.4"
"ts-jest": "27.1.4",
"ts-node": "10.7.0",
"typescript": "4.6.3"
}
}
4 changes: 2 additions & 2 deletions templates/javascript/package.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"@experimental-api-clients-automation/requester-node-http": "0.0.5"
},
"devDependencies": {
"@types/node": "16.11.11",
"typescript": "4.5.4"
"@types/node": "16.11.26",
"typescript": "4.6.3"
}{{#npmRepository}},
"publishConfig": {
"registry": "{{npmRepository}}"
Expand Down
12 changes: 6 additions & 6 deletions tests/output/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"@experimental-api-clients-automation/requester-node-http": "0.0.5"
},
"devDependencies": {
"@types/jest": "27.0.3",
"@types/node": "16.11.11",
"jest": "27.4.7",
"ts-jest": "27.1.2",
"ts-node": "10.5.0",
"typescript": "4.5.4"
"@types/jest": "27.4.1",
"@types/node": "16.11.26",
"jest": "27.5.1",
"ts-jest": "27.1.4",
"ts-node": "10.7.0",
"typescript": "4.6.3"
}
}
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function getSpecsForPlugin() {
return {
id: specFile.fileName,
spec: specFile.path,
routePath: `/specs/${specFile.fileName}`,
route: `/specs/${specFile.fileName}`,
};
});
}
Expand Down
8 changes: 4 additions & 4 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "2.0.0-beta.16",
"@docusaurus/preset-classic": "2.0.0-beta.16",
"@docusaurus/types": "2.0.0-beta.16",
"@docusaurus/core": "2.0.0-beta.18",
"@docusaurus/preset-classic": "2.0.0-beta.18",
"@docusaurus/types": "2.0.0-beta.18",
"@mdx-js/react": "^1.6.21",
"clsx": "^1.1.1",
"prism-react-renderer": "^1.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"redocusaurus": "0.6.0"
"redocusaurus": "1.0.1"
},
"browserslist": {
"production": [
Expand Down
Loading