Skip to content

Commit 0402b31

Browse files
authored
chore: update projen project type (#5)
Part of cdk8s-team/cdk8s#1185
1 parent cbba9aa commit 0402b31

File tree

4 files changed

+32
-13
lines changed

4 files changed

+32
-13
lines changed

.projen/deps.json

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.js

+7-12
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
const { typescript } = require('projen');
2-
const project = new typescript.TypeScriptProject({
1+
const { Cdk8sTeamTypeScriptProject } = require('@cdk8s/projen-common');
2+
3+
const project = new Cdk8sTeamTypeScriptProject({
34
defaultReleaseBranch: 'main',
45
name: 'cdk8s-validation-plugin-example',
6+
minNodeVersion: '14.18.0',
57

6-
repositoryUrl: 'https://github.com/cdk8s-team/cdk8s-validation-plugin-example.git',
78
description: 'This is an example project for implementing cdk8s validation plugins',
8-
authorName: 'Amazon Web Services',
9-
authorUrl: 'https://aws.amazon.com',
10-
minNodeVersion: '14.18.0',
119

1210
devDeps: [
1311

@@ -25,6 +23,9 @@ const project = new typescript.TypeScriptProject({
2523
// just utility stuff for tests
2624
'fs-extra',
2725
'@types/fs-extra',
26+
27+
// projen utilities
28+
'@cdk8s/projen-common',
2829
],
2930

3031
deps: [
@@ -33,12 +34,6 @@ const project = new typescript.TypeScriptProject({
3334
'yaml',
3435
],
3536

36-
autoApproveOptions: {
37-
allowedUsernames: ['cdk8s-automation'],
38-
secret: 'GITHUB_TOKEN',
39-
},
40-
autoApproveUpgrades: true,
41-
4237
});
4338

4439
// the cdk8s-cli uses the "exports" directive in package.json

package.json

+5-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yarn.lock

+16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)