Skip to content

Commit

Permalink
chore: upgrade projen (#328)
Browse files Browse the repository at this point in the history
Co-authored-by: eladb <eladb@users.noreply.github.com>
  • Loading branch information
aws-cdk-automation and eladb authored May 19, 2021
1 parent 1b77d28 commit 57a69b0
Show file tree
Hide file tree
Showing 13 changed files with 1,490 additions and 122 deletions.
36 changes: 18 additions & 18 deletions .gitattributes

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

11 changes: 0 additions & 11 deletions .github/dependabot.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .github/workflows/build.yml

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

26 changes: 0 additions & 26 deletions .github/workflows/projenupgrade.yml

This file was deleted.

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

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

85 changes: 85 additions & 0 deletions .github/workflows/upgrade-dependencies.yml

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

85 changes: 85 additions & 0 deletions .github/workflows/upgrade-projen.yml

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

4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ yarn-debug.log*
yarn-error.log*
!/.eslintrc.json
!/.gitattributes
!/.github/dependabot.yml
!/.github/pull_request_template.md
!/.github/workflows/build.yml
!/.github/workflows/projenupgrade.yml
!/.github/workflows/release.yml
!/.github/workflows/upgrade-dependencies.yml
!/.github/workflows/upgrade-projen.yml
!/.mergify.yml
!/.npmignore
!/.projen/deps.json
Expand Down
10 changes: 0 additions & 10 deletions .mergify.yml

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

12 changes: 11 additions & 1 deletion .projen/deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,19 @@
"name": "json-schema",
"type": "build"
},
{
"name": "npm-check-updates",
"version": "^11",
"type": "build"
},
{
"name": "npm-check-updates",
"version": "^11",
"type": "build"
},
{
"name": "projen",
"version": "^0.17.91",
"version": "^0.18.1",
"type": "build"
},
{
Expand Down
33 changes: 27 additions & 6 deletions .projen/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,37 @@
}
]
},
"projen:upgrade": {
"name": "projen:upgrade",
"category": "30.maintain",
"description": "upgrades projen to the latest version",
"upgrade-dependencies": {
"name": "upgrade-dependencies",
"env": {
"CI": "0"
},
"steps": [
{
"exec": "npm-check-updates --upgrade --target=minor --reject='projen'"
},
{
"exec": "yarn install --check-files"
},
{
"exec": "npx projen"
}
]
},
"upgrade-projen": {
"name": "upgrade-projen",
"env": {
"CI": "0"
},
"steps": [
{
"exec": "yarn upgrade -L projen"
"exec": "npm-check-updates --upgrade --target=minor --filter='projen'"
},
{
"exec": "yarn install --check-files"
},
{
"exec": "CI=\"\" yarn projen"
"exec": "npx projen"
}
]
},
Expand Down
Loading

0 comments on commit 57a69b0

Please sign in to comment.