Skip to content

Commit

Permalink
feat(deps): upgrade dependencies (#1393)
Browse files Browse the repository at this point in the history
Upgrades project dependencies. See details in [workflow run].

[Workflow Run]:
https://github.com/cdklabs/construct-hub/actions/runs/10551183054

------

*Automatically created by projen via the "upgrade-dev-deps-main"
workflow*

---------

Signed-off-by: github-actions <[email protected]>
Co-authored-by: github-actions <[email protected]>
Co-authored-by: Momo Kornher <[email protected]>
  • Loading branch information
3 people authored Aug 26, 2024
1 parent a86b359 commit 9933341
Show file tree
Hide file tree
Showing 30 changed files with 4,941 additions and 12,714 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions .github/workflows/release.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/upgrade-dev-deps-main.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/upgrade-main.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .npmignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 22 additions & 28 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 14 additions & 7 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 17 additions & 10 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@ import { discoverLambdas } from './projenrc/magic-lambda';
import { generateSpdxLicenseEnum } from './projenrc/spdx-licenses';
import { addVpcAllowListManagement } from './projenrc/vps-allow-list';

const cdkVersion = '2.120.0';
const peerDeps = [
'@aws-cdk/aws-servicecatalogappregistry-alpha@2.84.0-alpha.0',
'aws-cdk-lib@^2.84.0',
`@aws-cdk/aws-servicecatalogappregistry-alpha@${cdkVersion}-alpha.0`,
`aws-cdk-lib@^${cdkVersion}`,
'cdk-watchful',
'constructs',
];

const cdkCli = 'aws-cdk@^2';

const project = new CdklabsConstructLibrary({
cdkVersion: '2.84.0',
cdkVersion,
setNodeEngineVersion: false,
private: false,
name: 'construct-hub',
Expand Down Expand Up @@ -71,16 +72,18 @@ const project = new CdklabsConstructLibrary({
'@octokit/rest',
'markdown-it',
'markdown-it-emoji',
'changelog-filename-regex',
'@types/markdown-it',
'@types/markdown-it-emoji',
'@types/changelog-filename-regex',
],

peerDeps,

minNodeVersion: '16.16.0',
jsiiVersion: '5.2.x',
jsiiVersion: '5.4.x',
typescriptVersion: '5.4.x',
rosettaOptions: {
version: '5.4.x',
},

pullRequestTemplateContents: [
'',
Expand Down Expand Up @@ -199,10 +202,6 @@ project.addTask('bundle', {
description: 'Bundle all lambda and ECS functions',
});

// I have to put this here, otherwise projen overrides this with a `jsii-docgen`
// dependency without a version. I don't know where or why.
project.addDevDeps('jsii-docgen@^10.2.0');

// extract the "build/" directory from "construct-hub-webapp" into "./website"
// and bundle it with this library. this way, we are only taking a
// dev-dependency on the webapp instead of a normal/bundled dependency.
Expand All @@ -226,6 +225,14 @@ discoverLambdas(project);
discoverEcsTasks(project);
discoverIntegrationTests(project);

// use custom version number of integ-runner
project.deps.removeDependency('@aws-cdk/integ-runner');
project.deps.removeDependency('@aws-cdk/integ-tests-alpha');
project.addDevDeps(
`@aws-cdk/integ-runner@${cdkVersion}-alpha.0`,
`@aws-cdk/integ-tests-alpha@${cdkVersion}-alpha.0`
);

// see https://github.com/aws/jsii/issues/3311
const bundleWorkerPool = [
'ts-node',
Expand Down
Loading

0 comments on commit 9933341

Please sign in to comment.