Skip to content

Commit

Permalink
BREAKING CHANGE(all): [v16] Bump dependency package versions (#926)
Browse files Browse the repository at this point in the history
* bumping oclif packages

* bump more packages

* upgrade Yeoman enviornment to latest v3

* dotenv added a package.json

* more package upgrades

* use promises instead of callback

* revert jsonschema upgrade as it breaks a test

* bump

* upgrade Lerna to v8

* upgrade prettier to latest v3

* run prettier with trailingComma: es5

* upgrade husky

* husky followups

* Revert "upgrade prettier to latest v3"

This reverts commit 840d0ae.

* Revert "run prettier with trailingComma: es5"

This reverts commit df8a16f.

* bump mocha, dotenv and oclif core patch

* undo convert changes
  • Loading branch information
rnegron authored Dec 4, 2024
1 parent 31e8c01 commit adb1bd9
Show file tree
Hide file tree
Showing 9 changed files with 1,647 additions and 1,483 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lerna run --stream precommit && yarn generate-types && yarn lint-staged
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ package.json
package-lock.json
packages/cli/src/generators/templates/
.yarn

/.nx/workspace-data
4 changes: 2 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"npmClient": "yarn",
"version": "independant",
"useWorkspaces": true,
"command": {
"run": {
"npmClient": "yarn"
}
}
},
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
"husky": "^7.0.4",
"husky": "^9.1.7",
"inquirer": "^8.0.0",
"lerna": "^6.4.1",
"lerna": "^8.0.2",
"lint-staged": "^11.2.6",
"mocha": "^10.2.0",
"mocha": "^11.0.1",
"prettier": "^2.8.3",
"semver": "^7.3.8",
"should": "^13"
Expand All @@ -33,7 +33,7 @@
"lint-examples": "eslint examples",
"validate": "lerna run validate",
"bump": "./scripts/bump.js",
"prepare": "husky install",
"prepare": "husky",
"generate-types": "cd schema-to-ts && yarn generate-types:build"
},
"husky": {
Expand Down
58 changes: 31 additions & 27 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,20 @@
"validate": "yarn test && yarn smoke-test && yarn lint"
},
"dependencies": {
"@oclif/core": "4.0.28",
"@oclif/plugin-autocomplete": "3.2.6",
"@oclif/plugin-help": "6.2.15",
"@oclif/plugin-not-found": "3.2.22",
"@oclif/plugin-version": "2.2.15",
"adm-zip": "0.5.10",
"archiver": "5.3.1",
"browserify": "17.0.0",
"@oclif/core": "4.0.34",
"@oclif/plugin-autocomplete": "3.2.11",
"@oclif/plugin-help": "6.2.18",
"@oclif/plugin-not-found": "3.2.29",
"@oclif/plugin-version": "2.2.16",
"adm-zip": "0.5.16",
"archiver": "7.0.1",
"browserify": "17.0.1",
"chrono-node": "2.7.7",
"cli-table3": "0.6.3",
"cli-table3": "0.6.5",
"colors": "1.4.0",
"debug": "4.3.4",
"dotenv": "16.4.5",
"fs-extra": "11.1.1",
"debug": "4.3.7",
"dotenv": "16.4.6",
"fs-extra": "11.2.0",
"gulp-filter": "7.0.0",
"gulp-prettier": "4.0.0",
"ignore": "5.2.4",
Expand All @@ -62,22 +62,22 @@
"klaw": "4.1.0",
"lodash": "4.17.21",
"luxon": "3.5.0",
"marked": "4.2.12",
"marked-terminal": "5.2.0",
"marked": "14.1.4",
"marked-terminal": "7.2.1",
"minimatch": "9.0.3",
"node-fetch": "2.6.7",
"node-fetch": "2.7.0",
"open": "10.1.0",
"ora": "5.4.0",
"parse-gitignore": "0.5.1",
"prettier": "2.8.8",
"read": "2.1.0",
"semver": "7.5.2",
"read": "4.0.0",
"semver": "7.6.3",
"string-length": "4.0.2",
"through2": "4.0.2",
"tmp": "0.2.1",
"traverse": "0.6.7",
"tmp": "0.2.3",
"traverse": "0.6.10",
"update-notifier": "5.1.0",
"yeoman-environment": "3.3.0",
"yeoman-environment": "3.19.3",
"yeoman-generator": "5.9.0"
},
"devDependencies": {
Expand All @@ -88,7 +88,7 @@
"decompress": "4.2.1",
"mock-fs": "^5.2.0",
"nock": "^13.3.1",
"oclif": "^4.15.1",
"oclif": "^4.15.30",
"typescript": "^5.6.3",
"yamljs": "0.3.0"
},
Expand All @@ -97,15 +97,19 @@
},
"oclif": {
"commands": "src/oclif/commands",
"additionalHelpFlags": ["-h"],
"additionalVersionFlags": ["-v"],
"additionalHelpFlags": [
"-h"
],
"additionalVersionFlags": [
"-v"
],
"bin": "zapier",
"dirname": "zapier",
"plugins": [
"@oclif/plugin-autocomplete",
"@oclif/plugin-help",
"@oclif/plugin-not-found",
"@oclif/plugin-version"
"@oclif/plugin-autocomplete",
"@oclif/plugin-help",
"@oclif/plugin-not-found",
"@oclif/plugin-version"
],
"hooks": {
"init": [
Expand Down
10 changes: 5 additions & 5 deletions packages/cli/src/oclif/commands/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ class InitCommand extends BaseCommand {
const env = yeoman.createEnv();
env.registerStub(ProjectGenerator, 'zapier:integration');

env.run('zapier:integration', { path, template }, () => {
this.log();
this.log(`A new integration has been created in directory "${path}".`);
this.log(`Read all about it in "${join(path, 'README.md')}".`);
});
await env.run('zapier:integration', { path, template });

this.log();
this.log(`A new integration has been created in directory "${path}".`);
this.log(`Read all about it in "${join(path, 'README.md')}".`);
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/tests/utils/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe('build (runs slowly)', function () {
smartPaths.filter((p) => p.endsWith('.ts')).length.should.equal(0);
smartPaths.should.not.containEql('tsconfig.json');

smartPaths.length.should.be.within(200, 300);
smartPaths.length.should.be.within(200, 301);
});

it('should list all the files', () => {
Expand Down
10 changes: 5 additions & 5 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@
"@zapier/secret-scrubber": "^1.1.1",
"bluebird": "3.7.2",
"content-disposition": "0.5.4",
"dotenv": "12.0.4 ",
"form-data": "4.0.0",
"dotenv": "16.4.6",
"form-data": "4.0.1",
"lodash": "4.17.21",
"mime-types": "2.1.35",
"node-abort-controller": "3.1.1",
"node-fetch": "2.6.7",
"node-fetch": "2.7.0",
"oauth-sign": "0.9.0",
"semver": "7.5.2",
"semver": "7.6.3",
"zapier-platform-schema": "15.19.0"
},
"devDependencies": {
"@types/node-fetch": "^2.6.11",
"adm-zip": "0.5.10",
"adm-zip": "0.5.16",
"aws-sdk": "^2.1397.0",
"dicer": "^0.3.1",
"fs-extra": "^11.1.1",
Expand Down
Loading

0 comments on commit adb1bd9

Please sign in to comment.