Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
bump versions (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
pahud authored May 22, 2021
1 parent 9b44eaf commit 3710952
Show file tree
Hide file tree
Showing 13 changed files with 1,342 additions and 190 deletions.
34 changes: 16 additions & 18 deletions .gitattributes

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

19 changes: 0 additions & 19 deletions .github/workflows/autoapprove.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/automerge.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/projenyarnupgrade.yml

This file was deleted.

14 changes: 10 additions & 4 deletions .github/workflows/release.yml

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

100 changes: 100 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.

4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ yarn-error.log*
!/.eslintrc.json
!/.gitattributes
!/.github/pull_request_template.md
!/.github/workflows/autoapprove.yml
!/.github/workflows/automerge.yml
!/.github/workflows/build.yml
!/.github/workflows/projenyarnupgrade.yml
!/.github/workflows/release.yml
!/.github/workflows/upgrade-dependencies.yml
!/.mergify.yml
!/.npmignore
!/.projen/deps.json
Expand Down
20 changes: 11 additions & 9 deletions .projen/deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,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.92",
"version": "^0.18.5",
"type": "build"
},
{
Expand All @@ -85,10 +95,6 @@
"name": "typescript",
"type": "build"
},
{
"name": "projen-automate-it",
"type": "bundled"
},
{
"name": "@aws-cdk/aws-ec2",
"version": "^1.78.0",
Expand Down Expand Up @@ -183,10 +189,6 @@
"name": "@aws-cdk/core",
"version": "^1.78.0",
"type": "runtime"
},
{
"name": "projen-automate-it",
"type": "runtime"
}
],
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
Expand Down
33 changes: 27 additions & 6 deletions .projen/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,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
15 changes: 0 additions & 15 deletions .projenrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
const { AwsCdkConstructLibrary } = require('projen');
const { Automation } = require('projen-automate-it');


const AWS_CDK_LATEST_RELEASE = '1.78.0';
const PROJECT_NAME = 'cdk-fargate-fastautoscaler';
Expand All @@ -21,12 +19,6 @@ const project = new AwsCdkConstructLibrary({
'fargate',
'autoscaler',
],
deps: [
'projen-automate-it',
],
bundledDeps: [
'projen-automate-it',
],
catalog: {
twitter: 'pahudnet',
announce: false,
Expand All @@ -51,13 +43,6 @@ const project = new AwsCdkConstructLibrary({
},
});

const automation = new Automation(project, {
automationToken: AUTOMATION_TOKEN,
});
automation.autoApprove();
automation.autoMerge();
automation.projenYarnUpgrade();

const common_exclude = ['cdk.out', 'cdk.context.json', 'docker-compose.yml', 'images', 'yarn-error.log'];
project.npmignore.exclude(...common_exclude, '/codebase');
project.gitignore.exclude(...common_exclude);
Expand Down
Loading

0 comments on commit 3710952

Please sign in to comment.