Skip to content

Commit

Permalink
Bump deps (#919)
Browse files Browse the repository at this point in the history
* chore: upgrade minor dependencies

* fix: express version test

* chore: bump deps
  • Loading branch information
agerard-godaddy authored Sep 23, 2024
1 parent 1bd95ec commit 3d80f9f
Show file tree
Hide file tree
Showing 17 changed files with 949 additions and 806 deletions.
1,699 changes: 924 additions & 775 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/gasket-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"mkdirp": "^1.0.4",
"ora": "^3.4.0",
"pump": "^3.0.0",
"semver": "^7.5.4",
"semver": "^7.6.3",
"tar-fs": "^2.0.0",
"untildify": "^4.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/gasket-helper-intl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"posttest": "npm run lint && npm run typecheck",
"disabled_prepack": "npm run docs",
"disabled_docs": "jsdoc2md --plugin @godaddy/dmd --files lib/index.js > docs/api.md",
"disabled_prepack": "npm run docs",
"typecheck": "tsc",
"typecheck:watch": "tsc --watch"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/gasket-plugin-command/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"posttest": "npm run lint",
"disabled_prepack": "npm run docs",
"disabled_docs": "jsdoc2md --plugin @godaddy/dmd --files lib/*.js > docs/api.md"
"disabled_docs": "jsdoc2md --plugin @godaddy/dmd --files lib/*.js > docs/api.md",
"disabled_prepack": "npm run docs"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/gasket-plugin-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"posttest": "npm run lint && npm run typecheck",
"disabled_prepack": "npm run docs",
"disabled_docs": "jsdoc2md --plugin @godaddy/dmd --files lib/*.js > docs/api.md",
"disabled_prepack": "npm run docs",
"typecheck": "tsc",
"typecheck:watch": "tsc --watch"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/gasket-plugin-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@
"eslint-plugin-jest": "^27.6.3",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-unicorn": "^44.0.0",
"express": "^4.18.2",
"express": "^4.21.0",
"jest": "^29.7.0",
"typescript": "^5.4.5"
},
"peerDependencies": {
"express": "^4.16.3"
"express": "^4.21.0"
},
"eslintConfig": {
"extends": [
Expand Down
3 changes: 2 additions & 1 deletion packages/gasket-plugin-express/test/plugin.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const path = require('path');
const { setTimeout } = require('timers/promises');
const GasketEngine = require('@gasket/engine');
const { devDependencies } = require('../package.json');
const app = { use: jest.fn(), post: jest.fn(), set: jest.fn() };
const mockExpress = jest.fn().mockReturnValue(app);
const bridgedApp = { use: jest.fn() };
Expand Down Expand Up @@ -364,7 +365,7 @@ describe('create', () => {
'adds appropriate dependencies',
expectCreatedWith(({ pkg }) => {
expect(pkg.add).toHaveBeenCalledWith('dependencies', {
express: '^4.18.2'
express: devDependencies.express
});
})
);
Expand Down
6 changes: 3 additions & 3 deletions packages/gasket-plugin-intl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"intl": "^1.2.5",
"loader-utils": "^3.2.1",
"lodash.merge": "^4.6.2",
"semver": "^7.5.4",
"serve-static": "^1.15.0",
"semver": "^7.6.3",
"serve-static": "^1.16.2",
"url-join": "^4.0.0"
},
"devDependencies": {
Expand All @@ -65,7 +65,7 @@
"jest": "^29.7.0",
"react-intl": "^6.0.0",
"typescript": "^5.4.5",
"webpack": "^5.89.0"
"webpack": "^5.94.0"
},
"peerDependencies": {
"@gasket/plugin-log": "^6.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/gasket-plugin-lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"homepage": "https://github.com/godaddy/gasket/tree/main/packages/gasket-plugin-lint",
"dependencies": {
"@gasket/resolve": "^6.47.1",
"semver": "^7.5.4"
"semver": "^7.6.3"
},
"devDependencies": {
"cross-env": "^7.0.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/gasket-plugin-metadata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"posttest": "npm run lint",
"disabled_prepack": "npm run docs",
"disabled_docs": "jsdoc2md --plugin @godaddy/dmd --files lib/*.js > docs/api.md"
"disabled_docs": "jsdoc2md --plugin @godaddy/dmd --files lib/*.js > docs/api.md",
"disabled_prepack": "npm run docs"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/gasket-plugin-morgan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"peerDependencies": {
"@gasket/plugin-log": "^6.45.0",
"express": "^4.16.3"
"express": "^4.21.0"
},
"eslintConfig": {
"extends": [
Expand Down
2 changes: 1 addition & 1 deletion packages/gasket-plugin-redux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"react-redux": "^8.0.0",
"redux": "^4.0.5",
"typescript": "^5.4.5",
"webpack": "^5.89.0"
"webpack": "^5.94.0"
},
"peerDependencies": {
"@gasket/plugin-log": "^6.45.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/gasket-plugin-swagger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"dependencies": {
"@fastify/swagger": "^6.0.0",
"@types/swagger-ui-express": "^4.1.6",
"express": "^4.18.2",
"express": "^4.21.0",
"swagger-jsdoc": "^4.0.0",
"swagger-ui-express": "^4.1.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/gasket-plugin-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"jest": "^29.7.0",
"mock-require": "^3.0.3",
"typescript": "^5.4.5",
"webpack": "^5.89.0"
"webpack": "^5.94.0"
},
"eslintConfig": {
"extends": [
Expand Down
2 changes: 1 addition & 1 deletion packages/gasket-plugin-workbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"dependencies": {
"@types/workbox-build": "^5.0.1",
"deepmerge": "^4.3.1",
"serve-static": "^1.15.0",
"serve-static": "^1.16.2",
"workbox-build": "^4.1.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gasket-resolve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"dependencies": {
"diagnostics": "^2.0.2",
"lodash.defaultsdeep": "^4.6.1",
"semver": "^7.5.4"
"semver": "^7.6.3"
},
"devDependencies": {
"@gasket/engine": "^6.47.1",
Expand Down
15 changes: 4 additions & 11 deletions scripts/align-packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ const depVersions = {
'@babel/preset-env': '^7.23.8',
'@babel/preset-react': '^7.23.3',

'assume': '^2.3.0',
'sinon': '^14.0.0',
'assume-sinon': '^1.1.0',
'mocha': '^10.2.0',
'chai': '^4.2.0',
'nyc': '^15.1.0',
'proxyquire': '^2.1.3',

'jest': '^29.7.0',

'react': '^18.2.0',
Expand All @@ -56,11 +48,12 @@ const depVersions = {
'handlebars': '^4.7.8',
'rimraf': '^3.0.2',
'glob': '^8.1.0',
'semver': '^7.5.4',
'semver': '^7.6.3',
'lodash.defaultsdeep': '^4.6.1',
'webpack': '^5.89.0',
'serve-static': '^1.15.0',
'webpack': '^5.94.0',
'serve-static': '^1.16.2',
'cross-env': '^7.0.3',
'express': '^4.21.0',

'typescript': '^5.4.5'
};
Expand Down

0 comments on commit 3d80f9f

Please sign in to comment.