Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
chore: bump projen and version to 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zxkane committed Oct 28, 2021
1 parent 0b94049 commit 1747d7a
Show file tree
Hide file tree
Showing 20 changed files with 251 additions and 195 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json

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

3 changes: 1 addition & 2 deletions .gitattributes

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

13 changes: 11 additions & 2 deletions .github/workflows/upgrade.yml

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

5 changes: 2 additions & 3 deletions .gitignore

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

3 changes: 1 addition & 2 deletions .npmignore

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

2 changes: 1 addition & 1 deletion .projen/deps.json

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

87 changes: 33 additions & 54 deletions .projen/tasks.json

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

13 changes: 9 additions & 4 deletions .projenrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { AwsCdkTypeScriptApp, DependenciesUpgradeMechanism, web } = require('projen');
const { AwsCdkTypeScriptApp, web } = require('projen');

const tsExcludeConfig = {
compilerOptions: {
Expand Down Expand Up @@ -179,12 +179,13 @@ const project = new AwsCdkTypeScriptApp({
// sampleCode: true, /* Generate one-time sample in `src/` and `test/` if there are no files there. */
tsconfig: tsExcludeConfig /* Custom TSConfig. */,
// typescriptVersion: '^3.9.5', /* TypeScript version to use. */
depsUpgrade: DependenciesUpgradeMechanism.githubWorkflow({
depsUpgradeOptions: {
ignoreProjen: false,
workflowOptions: {
labels: ['auto-approve', 'auto-merge'],
secret: 'PROJEN_GITHUB_TOKEN',
},
}),
},
});

project.addTask('deploy-to-default-vpc', {
Expand All @@ -201,9 +202,11 @@ project.package.addField('resolutions', {
'trim-newlines': '^3.0.1',
'pac-resolver': '^5.0.0',
'set-value': '^4.0.1',
'ansi-regex': '^5.0.1',

});
project.addFields({
version: '2.0.0-mainline',
version: '2.0.1-mainline',
});

const tsReactConfig = {
Expand Down Expand Up @@ -281,6 +284,8 @@ reactPrj.package.addField('resolutions', {
'immer': '^9.0.6',
'axios': '^0.21.4',
'set-value': '^4.0.1',
'ansi-regex': '^5.0.1',
'nth-check': '^2.0.1',
});

project.synth();
15 changes: 7 additions & 8 deletions package.json

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

1 change: 1 addition & 0 deletions src/frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ src/aws-exports.js
!/.projenrc.js
!/test/
!/tsconfig.json
!/tsconfig.dev.json
!/src/
/lib
/dist/
Expand Down
1 change: 1 addition & 0 deletions src/frontend/.npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
/.projen/
/test/
/tsconfig.dev.json
/src/
!/lib/
!/lib/**/*.js
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/.projen/deps.json

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

Loading

0 comments on commit 1747d7a

Please sign in to comment.