cdk8s-cli 2.1.136 → 2.1.138

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/.projenrc.ts +7 -31
  2. package/package.json +16 -13
package/.projenrc.ts CHANGED
@@ -1,18 +1,12 @@
1
- import { Cdk8sCommon } from '@cdk8s/projen-common';
2
- import { github, typescript, JsonFile, DependencyType } from 'projen';
1
+ import { Cdk8sTeamTypeScriptProject } from '@cdk8s/projen-common';
2
+ import { github, JsonFile, DependencyType } from 'projen';
3
3
  import { addIntegTests } from './projenrc/integ';
4
4
 
5
- const project = new typescript.TypeScriptProject({
6
- ...Cdk8sCommon.props,
7
-
5
+ const project = new Cdk8sTeamTypeScriptProject({
8
6
  projenrcTs: true,
7
+ release: true,
9
8
  name: 'cdk8s-cli',
10
9
  description: 'This is the command line tool for Cloud Development Kit (CDK) for Kubernetes (cdk8s).',
11
- repositoryUrl: 'https://github.com/cdk8s-team/cdk8s-cli.git',
12
- projenUpgradeSecret: 'PROJEN_GITHUB_TOKEN',
13
- authorName: 'Amazon Web Services',
14
- authorUrl: 'https://aws.amazon.com',
15
- minNodeVersion: '14.17.0',
16
10
 
17
11
  // no need, we are configuring explicit exports.
18
12
  entrypoint: '',
@@ -26,9 +20,7 @@ const project = new typescript.TypeScriptProject({
26
20
  'automation',
27
21
  'containers',
28
22
  ],
29
-
30
23
  workflowBootstrapSteps: [{ run: 'pip3 install pipenv' }],
31
-
32
24
  defaultReleaseBranch: '2.x',
33
25
  majorVersion: 2,
34
26
  releaseBranches: {
@@ -37,8 +29,6 @@ const project = new typescript.TypeScriptProject({
37
29
  npmDistTag: 'latest-1',
38
30
  },
39
31
  },
40
-
41
- releaseToNpm: true,
42
32
  bin: {
43
33
  cdk8s: 'bin/cdk8s',
44
34
  },
@@ -69,23 +59,11 @@ const project = new typescript.TypeScriptProject({
69
59
  'typescript-json-schema',
70
60
  ],
71
61
 
72
- tsconfig: {
73
- include: ['src/schemas/*.json'],
74
- },
75
-
76
- // run upgrade-dependencies workflow at a different hour than other cdk8s
77
- // repos to decrease flakiness of integration tests caused by new versions of
78
- // cdk8s and cdk8s+ being published to different languages at the same time
79
- depsUpgradeOptions: {
80
- // the latest versions of yaml require node > 12, which
81
- // is a change we are still not willing to make.
82
- exclude: ['yaml'],
83
- workflowOptions: {
84
- schedule: Cdk8sCommon.upgradeScheduleFor('cdk8s-cli'),
85
- },
86
- },
87
62
  });
88
63
 
64
+ project.tsconfig?.addInclude('src/schemas/*.json');
65
+ project.tsconfigDev.addInclude('src/schemas/*.json');
66
+
89
67
  //
90
68
  // see https://nodejs.org/api/packages.html#exports
91
69
  project.addFields({
@@ -101,8 +79,6 @@ project.jest?.addIgnorePattern('/test/integ/');
101
79
 
102
80
  project.gitignore.exclude('.vscode/');
103
81
 
104
- new Cdk8sCommon(project);
105
-
106
82
  // add @types/node as a regular dependency since it's needed to during "import"
107
83
  // to compile the generated jsii code.
108
84
  project.deps.removeDependency('@types/node', DependencyType.BUILD);
package/package.json CHANGED
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "name": "cdk8s-cli",
3
3
  "description": "This is the command line tool for Cloud Development Kit (CDK) for Kubernetes (cdk8s).",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/cdk8s-team/cdk8s-cli.git"
7
+ },
4
8
  "bin": {
5
9
  "cdk8s": "bin/cdk8s"
6
10
  },
@@ -36,14 +40,13 @@
36
40
  },
37
41
  "author": {
38
42
  "name": "Amazon Web Services",
39
- "url": "https://aws.amazon.com",
40
43
  "organization": false
41
44
  },
42
45
  "devDependencies": {
43
- "@cdk8s/projen-common": "^0.0.237",
46
+ "@cdk8s/projen-common": "^0.0.252",
44
47
  "@types/fs-extra": "^8",
45
48
  "@types/glob": "^7.2.0",
46
- "@types/jest": "^26.0.24",
49
+ "@types/jest": "^27",
47
50
  "@types/json-schema": "^7.0.11",
48
51
  "@types/semver": "^7.3.13",
49
52
  "@typescript-eslint/eslint-plugin": "^5",
@@ -56,7 +59,7 @@
56
59
  "jest": "^27",
57
60
  "jest-junit": "^13",
58
61
  "npm-check-updates": "^16",
59
- "projen": "^0.67.50",
62
+ "projen": "^0.67.60",
60
63
  "standard-version": "^9",
61
64
  "ts-jest": "^27",
62
65
  "ts-node": "^10.9.1",
@@ -66,19 +69,19 @@
66
69
  "dependencies": {
67
70
  "@types/node": "^14",
68
71
  "ajv": "^8.12.0",
69
- "cdk8s": "^2.6.48",
70
- "cdk8s-plus-25": "^2.4.19",
71
- "codemaker": "^1.74.0",
72
+ "cdk8s": "^2.7.5",
73
+ "cdk8s-plus-25": "^2.4.26",
74
+ "codemaker": "^1.75.0",
72
75
  "colors": "1.4.0",
73
- "constructs": "^10.1.249",
76
+ "constructs": "^10.1.255",
74
77
  "fs-extra": "^8",
75
- "jsii-pacmak": "^1.74.0",
76
- "jsii-srcmak": "^0.1.823",
77
- "json2jsii": "^0.3.274",
78
+ "jsii-pacmak": "^1.75.0",
79
+ "jsii-srcmak": "^0.1.830",
80
+ "json2jsii": "^0.3.281",
78
81
  "semver": "^7.3.8",
79
82
  "sscaff": "^1.2.274",
80
83
  "table": "^6.8.1",
81
- "yaml": "2.0.0-11",
84
+ "yaml": "2.2.1",
82
85
  "yargs": "^15"
83
86
  },
84
87
  "keywords": [
@@ -94,7 +97,7 @@
94
97
  "node": ">= 14.17.0"
95
98
  },
96
99
  "license": "Apache-2.0",
97
- "version": "2.1.136",
100
+ "version": "2.1.138",
98
101
  "jest": {
99
102
  "testMatch": [
100
103
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",