cdk-import 0.2.516 → 0.2.517
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.
- package/.gitattributes +3 -2
- package/.projenrc.ts +56 -0
- package/package.json +14 -6
package/.gitattributes
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
# ~~ Generated by projen. To modify, edit .projenrc.
|
|
1
|
+
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
|
|
2
2
|
|
|
3
3
|
*.snap linguist-generated
|
|
4
4
|
/.eslintrc.json linguist-generated
|
|
5
5
|
/.gitattributes linguist-generated
|
|
6
6
|
/.github/pull_request_template.md linguist-generated
|
|
7
7
|
/.github/workflows/auto-approve.yml linguist-generated
|
|
8
|
+
/.github/workflows/auto-merge.yml linguist-generated
|
|
8
9
|
/.github/workflows/build.yml linguist-generated
|
|
9
10
|
/.github/workflows/pull-request-lint.yml linguist-generated
|
|
10
11
|
/.github/workflows/release.yml linguist-generated
|
|
12
|
+
/.github/workflows/upgrade-cdklabs-projen-project-types-main.yml linguist-generated
|
|
11
13
|
/.github/workflows/upgrade-main.yml linguist-generated
|
|
12
14
|
/.gitignore linguist-generated
|
|
13
|
-
/.mergify.yml linguist-generated
|
|
14
15
|
/.npmignore linguist-generated
|
|
15
16
|
/.npmrc linguist-generated
|
|
16
17
|
/.projen/** linguist-generated
|
package/.projenrc.ts
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { CdklabsTypeScriptProject } from 'cdklabs-projen-project-types';
|
|
2
|
+
|
|
3
|
+
const project = new CdklabsTypeScriptProject({
|
|
4
|
+
name: 'cdk-import',
|
|
5
|
+
projenrcTs: true,
|
|
6
|
+
private: false,
|
|
7
|
+
enablePRAutoMerge: true,
|
|
8
|
+
description: 'Toolkit to import CFN resource types and generate L1 constructs',
|
|
9
|
+
defaultReleaseBranch: 'main',
|
|
10
|
+
deps: [
|
|
11
|
+
'json2jsii',
|
|
12
|
+
'aws-cdk-lib',
|
|
13
|
+
'aws-sdk',
|
|
14
|
+
'constructs@^10',
|
|
15
|
+
'minimist',
|
|
16
|
+
'minimist-subcommand',
|
|
17
|
+
'proxy-agent',
|
|
18
|
+
'case',
|
|
19
|
+
'jsii-srcmak',
|
|
20
|
+
],
|
|
21
|
+
devDeps: [
|
|
22
|
+
'jsii',
|
|
23
|
+
'ts-node',
|
|
24
|
+
'aws-cdk-lib',
|
|
25
|
+
'constructs@^10',
|
|
26
|
+
'cdklabs-projen-project-types',
|
|
27
|
+
],
|
|
28
|
+
bin: {
|
|
29
|
+
'cdk-import': 'lib/cli.js',
|
|
30
|
+
},
|
|
31
|
+
tsconfig: {
|
|
32
|
+
compilerOptions: {
|
|
33
|
+
skipLibCheck: true,
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
releaseToNpm: true,
|
|
37
|
+
|
|
38
|
+
workflowNodeVersion: '16.x',
|
|
39
|
+
minNodeVersion: '16.0.0',
|
|
40
|
+
|
|
41
|
+
autoApproveUpgrades: true,
|
|
42
|
+
autoApproveOptions: { allowedUsernames: ['cdklabs-automation'], secret: 'GITHUB_TOKEN' },
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
project.addGitIgnore('/.tmp/');
|
|
46
|
+
project.addPackageIgnore('/.tmp/');
|
|
47
|
+
|
|
48
|
+
// we use jsii for testing, and the current jsii
|
|
49
|
+
// compiles projects with typescript < 4.0
|
|
50
|
+
// need to pin some @types packages to older versions
|
|
51
|
+
project.package.addPackageResolutions(
|
|
52
|
+
'@types/prettier@2.6.0',
|
|
53
|
+
'@types/babel__traverse@7.18.2',
|
|
54
|
+
);
|
|
55
|
+
|
|
56
|
+
project.synth();
|
package/package.json
CHANGED
|
@@ -18,18 +18,26 @@
|
|
|
18
18
|
"pre-compile": "npx projen pre-compile",
|
|
19
19
|
"release": "npx projen release",
|
|
20
20
|
"test": "npx projen test",
|
|
21
|
+
"test:update": "npx projen test:update",
|
|
21
22
|
"test:watch": "npx projen test:watch",
|
|
22
23
|
"unbump": "npx projen unbump",
|
|
23
24
|
"upgrade": "npx projen upgrade",
|
|
25
|
+
"upgrade-cdklabs-projen-project-types": "npx projen upgrade-cdklabs-projen-project-types",
|
|
24
26
|
"watch": "npx projen watch",
|
|
25
27
|
"projen": "npx projen"
|
|
26
28
|
},
|
|
29
|
+
"author": {
|
|
30
|
+
"name": "Amazon Web Services",
|
|
31
|
+
"email": "aws-cdk-dev@amazon.com",
|
|
32
|
+
"organization": true
|
|
33
|
+
},
|
|
27
34
|
"devDependencies": {
|
|
28
35
|
"@types/jest": "^26.0.24",
|
|
29
|
-
"@types/node": "^
|
|
36
|
+
"@types/node": "^16",
|
|
30
37
|
"@typescript-eslint/eslint-plugin": "^5",
|
|
31
38
|
"@typescript-eslint/parser": "^5",
|
|
32
39
|
"aws-cdk-lib": "^2.79.1",
|
|
40
|
+
"cdklabs-projen-project-types": "^0.1.106",
|
|
33
41
|
"constructs": "^10",
|
|
34
42
|
"eslint": "^8",
|
|
35
43
|
"eslint-import-resolver-node": "^0.3.7",
|
|
@@ -57,15 +65,15 @@
|
|
|
57
65
|
"proxy-agent": "^5.0.0"
|
|
58
66
|
},
|
|
59
67
|
"resolutions": {
|
|
60
|
-
"@types/
|
|
61
|
-
"@types/
|
|
68
|
+
"@types/babel__traverse": "7.18.2",
|
|
69
|
+
"@types/prettier": "2.6.0"
|
|
62
70
|
},
|
|
63
71
|
"engines": {
|
|
64
|
-
"node": ">=
|
|
72
|
+
"node": ">= 16.0.0"
|
|
65
73
|
},
|
|
66
74
|
"main": "lib/index.js",
|
|
67
75
|
"license": "Apache-2.0",
|
|
68
|
-
"version": "0.2.
|
|
76
|
+
"version": "0.2.517",
|
|
69
77
|
"jest": {
|
|
70
78
|
"testMatch": [
|
|
71
79
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
|
@@ -107,5 +115,5 @@
|
|
|
107
115
|
}
|
|
108
116
|
},
|
|
109
117
|
"types": "lib/index.d.ts",
|
|
110
|
-
"//": "~~ Generated by projen. To modify, edit .projenrc.
|
|
118
|
+
"//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"."
|
|
111
119
|
}
|