@cdk8s/projen-common 0.0.236 → 0.0.238
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/.jsii +167 -71
- package/.projenrc.ts +17 -0
- package/API.md +6745 -54
- package/git-hooks/prepare-commit-msg +0 -0
- package/git-hooks/setup.sh +0 -0
- package/lib/index.d.ts +1 -37
- package/lib/index.js +12 -86
- package/lib/projects/index.d.ts +2 -0
- package/lib/projects/index.js +7 -0
- package/lib/projects/jsii.d.ts +48 -0
- package/lib/projects/jsii.js +71 -0
- package/lib/projects/typescript.d.ts +34 -0
- package/lib/projects/typescript.js +89 -0
- package/node_modules/codemaker/LICENSE +202 -0
- package/node_modules/codemaker/NOTICE +2 -0
- package/node_modules/codemaker/README.md +120 -0
- package/node_modules/codemaker/jest.config.mjs +3 -0
- package/node_modules/codemaker/lib/case-utils.d.ts +4 -0
- package/node_modules/codemaker/lib/case-utils.js +29 -0
- package/node_modules/codemaker/lib/codemaker.d.ts +107 -0
- package/node_modules/codemaker/lib/codemaker.js +164 -0
- package/node_modules/codemaker/lib/filebuff.d.ts +11 -0
- package/node_modules/codemaker/lib/filebuff.js +26 -0
- package/node_modules/codemaker/lib/index.d.ts +3 -0
- package/node_modules/codemaker/lib/index.js +19 -0
- package/node_modules/codemaker/node_modules/camelcase/index.d.ts +103 -0
- package/node_modules/codemaker/node_modules/camelcase/index.js +113 -0
- package/node_modules/codemaker/node_modules/camelcase/license +9 -0
- package/node_modules/codemaker/node_modules/camelcase/package.json +44 -0
- package/node_modules/codemaker/node_modules/camelcase/readme.md +144 -0
- package/node_modules/codemaker/package.json +41 -0
- package/node_modules/decamelize/index.d.ts +59 -0
- package/node_modules/decamelize/index.js +65 -0
- package/node_modules/decamelize/license +9 -0
- package/node_modules/decamelize/package.json +40 -0
- package/node_modules/decamelize/readme.md +92 -0
- package/node_modules/fs-extra/LICENSE +15 -0
- package/node_modules/fs-extra/README.md +262 -0
- package/node_modules/fs-extra/lib/copy/copy-sync.js +169 -0
- package/node_modules/fs-extra/lib/copy/copy.js +235 -0
- package/node_modules/fs-extra/lib/copy/index.js +7 -0
- package/node_modules/fs-extra/lib/empty/index.js +39 -0
- package/node_modules/fs-extra/lib/ensure/file.js +69 -0
- package/node_modules/fs-extra/lib/ensure/index.js +23 -0
- package/node_modules/fs-extra/lib/ensure/link.js +64 -0
- package/node_modules/fs-extra/lib/ensure/symlink-paths.js +99 -0
- package/node_modules/fs-extra/lib/ensure/symlink-type.js +31 -0
- package/node_modules/fs-extra/lib/ensure/symlink.js +82 -0
- package/node_modules/fs-extra/lib/fs/index.js +128 -0
- package/node_modules/fs-extra/lib/index.js +16 -0
- package/node_modules/fs-extra/lib/json/index.js +16 -0
- package/node_modules/fs-extra/lib/json/jsonfile.js +11 -0
- package/node_modules/fs-extra/lib/json/output-json-sync.js +12 -0
- package/node_modules/fs-extra/lib/json/output-json.js +12 -0
- package/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
- package/node_modules/fs-extra/lib/mkdirs/make-dir.js +27 -0
- package/node_modules/fs-extra/lib/mkdirs/utils.js +21 -0
- package/node_modules/fs-extra/lib/move/index.js +7 -0
- package/node_modules/fs-extra/lib/move/move-sync.js +54 -0
- package/node_modules/fs-extra/lib/move/move.js +75 -0
- package/node_modules/fs-extra/lib/output-file/index.js +40 -0
- package/node_modules/fs-extra/lib/path-exists/index.js +12 -0
- package/node_modules/fs-extra/lib/remove/index.js +22 -0
- package/node_modules/fs-extra/lib/remove/rimraf.js +302 -0
- package/node_modules/fs-extra/lib/util/stat.js +154 -0
- package/node_modules/fs-extra/lib/util/utimes.js +26 -0
- package/node_modules/fs-extra/package.json +67 -0
- package/node_modules/graceful-fs/LICENSE +15 -0
- package/node_modules/graceful-fs/README.md +143 -0
- package/node_modules/graceful-fs/clone.js +23 -0
- package/node_modules/graceful-fs/graceful-fs.js +448 -0
- package/node_modules/graceful-fs/legacy-streams.js +118 -0
- package/node_modules/graceful-fs/package.json +50 -0
- package/node_modules/graceful-fs/polyfills.js +355 -0
- package/node_modules/jsonfile/CHANGELOG.md +171 -0
- package/node_modules/jsonfile/LICENSE +15 -0
- package/node_modules/jsonfile/README.md +230 -0
- package/node_modules/jsonfile/index.js +88 -0
- package/node_modules/jsonfile/package.json +40 -0
- package/node_modules/jsonfile/utils.js +14 -0
- package/node_modules/universalify/LICENSE +20 -0
- package/node_modules/universalify/README.md +76 -0
- package/node_modules/universalify/index.js +24 -0
- package/node_modules/universalify/package.json +34 -0
- package/package.json +19 -11
package/.jsii
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": {
|
|
3
|
-
"email": "
|
|
4
|
-
"name": "
|
|
3
|
+
"email": "https://aws.amazon.com",
|
|
4
|
+
"name": "Amazon Web Services",
|
|
5
5
|
"roles": [
|
|
6
6
|
"author"
|
|
7
|
-
]
|
|
7
|
+
],
|
|
8
|
+
"url": "https://aws.amazon.com"
|
|
9
|
+
},
|
|
10
|
+
"bundled": {
|
|
11
|
+
"codemaker": "^1.74.0"
|
|
8
12
|
},
|
|
9
13
|
"dependencies": {
|
|
10
|
-
"projen": "^0.67.
|
|
14
|
+
"projen": "^0.67.50"
|
|
11
15
|
},
|
|
12
16
|
"dependencyClosure": {
|
|
13
17
|
"projen": {
|
|
@@ -50,11 +54,11 @@
|
|
|
50
54
|
}
|
|
51
55
|
}
|
|
52
56
|
},
|
|
53
|
-
"description": "Common projen configuration shared between cdk8s org projects.",
|
|
57
|
+
"description": "Common projen configuration shared between cdk8s-team org projects.",
|
|
54
58
|
"docs": {
|
|
55
59
|
"stability": "stable"
|
|
56
60
|
},
|
|
57
|
-
"homepage": "https://github.com/
|
|
61
|
+
"homepage": "https://github.com/cdk8s-team/cdk8s-projen-common",
|
|
58
62
|
"jsiiVersion": "1.74.0 (build 6d08790)",
|
|
59
63
|
"license": "Apache-2.0",
|
|
60
64
|
"metadata": {
|
|
@@ -71,7 +75,7 @@
|
|
|
71
75
|
},
|
|
72
76
|
"repository": {
|
|
73
77
|
"type": "git",
|
|
74
|
-
"url": "https://github.com/
|
|
78
|
+
"url": "https://github.com/cdk8s-team/cdk8s-projen-common"
|
|
75
79
|
},
|
|
76
80
|
"schema": "jsii/0.10.0",
|
|
77
81
|
"targets": {
|
|
@@ -80,116 +84,208 @@
|
|
|
80
84
|
}
|
|
81
85
|
},
|
|
82
86
|
"types": {
|
|
83
|
-
"@cdk8s/projen-common.
|
|
87
|
+
"@cdk8s/projen-common.Cdk8sTeamJsiiProject": {
|
|
84
88
|
"assembly": "@cdk8s/projen-common",
|
|
85
|
-
"base": "projen.
|
|
89
|
+
"base": "projen.cdk.JsiiProject",
|
|
86
90
|
"docs": {
|
|
91
|
+
"custom": {
|
|
92
|
+
"pjid": "cdk8s-team-jsii-project"
|
|
93
|
+
},
|
|
87
94
|
"stability": "stable"
|
|
88
95
|
},
|
|
89
|
-
"fqn": "@cdk8s/projen-common.
|
|
96
|
+
"fqn": "@cdk8s/projen-common.Cdk8sTeamJsiiProject",
|
|
90
97
|
"initializer": {
|
|
91
98
|
"docs": {
|
|
92
99
|
"stability": "stable"
|
|
93
100
|
},
|
|
94
101
|
"locationInModule": {
|
|
95
|
-
"filename": "src/
|
|
96
|
-
"line":
|
|
102
|
+
"filename": "src/projects/jsii.ts",
|
|
103
|
+
"line": 64
|
|
97
104
|
},
|
|
98
105
|
"parameters": [
|
|
99
106
|
{
|
|
100
|
-
"name": "
|
|
107
|
+
"name": "options",
|
|
101
108
|
"type": {
|
|
102
|
-
"fqn": "projen.
|
|
109
|
+
"fqn": "@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions"
|
|
103
110
|
}
|
|
104
111
|
}
|
|
105
112
|
]
|
|
106
113
|
},
|
|
107
114
|
"kind": "class",
|
|
108
115
|
"locationInModule": {
|
|
109
|
-
"filename": "src/
|
|
110
|
-
"line":
|
|
116
|
+
"filename": "src/projects/jsii.ts",
|
|
117
|
+
"line": 62
|
|
118
|
+
},
|
|
119
|
+
"name": "Cdk8sTeamJsiiProject",
|
|
120
|
+
"symbolId": "src/projects/jsii:Cdk8sTeamJsiiProject"
|
|
121
|
+
},
|
|
122
|
+
"@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions": {
|
|
123
|
+
"assembly": "@cdk8s/projen-common",
|
|
124
|
+
"datatype": true,
|
|
125
|
+
"docs": {
|
|
126
|
+
"remarks": "Note that this extends `typescript.TypeScriptProjectOptions` and not `cdk.JsiiProjectOptions`\nbecause `cdk.JsiiProjectOptions` has required properties (namely 'author' and 'authorAddress')\nthat we want to hardcode and disallow customization of. This means that any jsii specific feature\ncannot be customized on the project level. This is ok because we don't expect much deviation\nwith those features between projects. If this turns out to not be the case, we will change appropriately.",
|
|
127
|
+
"stability": "stable",
|
|
128
|
+
"summary": "Options for `Cdk8sTeamJsiiProject`."
|
|
129
|
+
},
|
|
130
|
+
"fqn": "@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions",
|
|
131
|
+
"interfaces": [
|
|
132
|
+
"projen.typescript.TypeScriptProjectOptions"
|
|
133
|
+
],
|
|
134
|
+
"kind": "interface",
|
|
135
|
+
"locationInModule": {
|
|
136
|
+
"filename": "src/projects/jsii.ts",
|
|
137
|
+
"line": 21
|
|
111
138
|
},
|
|
112
|
-
"
|
|
139
|
+
"name": "Cdk8sTeamJsiiProjectOptions",
|
|
140
|
+
"properties": [
|
|
113
141
|
{
|
|
142
|
+
"abstract": true,
|
|
114
143
|
"docs": {
|
|
115
|
-
"
|
|
144
|
+
"default": "true",
|
|
116
145
|
"stability": "stable",
|
|
117
|
-
"summary": "
|
|
146
|
+
"summary": "Publish Golang bindings to GitHub."
|
|
118
147
|
},
|
|
148
|
+
"immutable": true,
|
|
119
149
|
"locationInModule": {
|
|
120
|
-
"filename": "src/
|
|
121
|
-
"line":
|
|
150
|
+
"filename": "src/projects/jsii.ts",
|
|
151
|
+
"line": 28
|
|
122
152
|
},
|
|
123
|
-
"name": "
|
|
124
|
-
"
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
"
|
|
134
|
-
|
|
135
|
-
}
|
|
153
|
+
"name": "golang",
|
|
154
|
+
"optional": true,
|
|
155
|
+
"type": {
|
|
156
|
+
"primitive": "boolean"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"abstract": true,
|
|
161
|
+
"docs": {
|
|
162
|
+
"default": "'main'",
|
|
163
|
+
"stability": "stable",
|
|
164
|
+
"summary": "Name of the branch in the golang repository to publish to."
|
|
136
165
|
},
|
|
137
|
-
"
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
166
|
+
"immutable": true,
|
|
167
|
+
"locationInModule": {
|
|
168
|
+
"filename": "src/projects/jsii.ts",
|
|
169
|
+
"line": 35
|
|
170
|
+
},
|
|
171
|
+
"name": "golangBranch",
|
|
172
|
+
"optional": true,
|
|
173
|
+
"type": {
|
|
174
|
+
"primitive": "string"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
142
177
|
{
|
|
178
|
+
"abstract": true,
|
|
143
179
|
"docs": {
|
|
144
|
-
"
|
|
180
|
+
"default": "true",
|
|
181
|
+
"stability": "stable",
|
|
182
|
+
"summary": "Publish Java bindings to Maven."
|
|
145
183
|
},
|
|
146
184
|
"immutable": true,
|
|
147
185
|
"locationInModule": {
|
|
148
|
-
"filename": "src/
|
|
149
|
-
"line":
|
|
186
|
+
"filename": "src/projects/jsii.ts",
|
|
187
|
+
"line": 49
|
|
150
188
|
},
|
|
151
|
-
"name": "
|
|
152
|
-
"
|
|
189
|
+
"name": "maven",
|
|
190
|
+
"optional": true,
|
|
153
191
|
"type": {
|
|
154
|
-
"primitive": "
|
|
192
|
+
"primitive": "boolean"
|
|
155
193
|
}
|
|
156
|
-
}
|
|
157
|
-
],
|
|
158
|
-
"symbolId": "src/index:Cdk8sCommon"
|
|
159
|
-
},
|
|
160
|
-
"@cdk8s/projen-common.Cdk8sCommonPropsOptions": {
|
|
161
|
-
"assembly": "@cdk8s/projen-common",
|
|
162
|
-
"datatype": true,
|
|
163
|
-
"docs": {
|
|
164
|
-
"stability": "stable"
|
|
165
|
-
},
|
|
166
|
-
"fqn": "@cdk8s/projen-common.Cdk8sCommonPropsOptions",
|
|
167
|
-
"kind": "interface",
|
|
168
|
-
"locationInModule": {
|
|
169
|
-
"filename": "src/index.ts",
|
|
170
|
-
"line": 54
|
|
171
|
-
},
|
|
172
|
-
"name": "Cdk8sCommonPropsOptions",
|
|
173
|
-
"properties": [
|
|
194
|
+
},
|
|
174
195
|
{
|
|
175
196
|
"abstract": true,
|
|
176
197
|
"docs": {
|
|
177
|
-
"
|
|
198
|
+
"default": "true",
|
|
199
|
+
"stability": "stable",
|
|
200
|
+
"summary": "Publish Dotnet bindings to Nuget."
|
|
178
201
|
},
|
|
179
202
|
"immutable": true,
|
|
180
203
|
"locationInModule": {
|
|
181
|
-
"filename": "src/
|
|
182
|
-
"line":
|
|
204
|
+
"filename": "src/projects/jsii.ts",
|
|
205
|
+
"line": 56
|
|
183
206
|
},
|
|
184
|
-
"name": "
|
|
207
|
+
"name": "nuget",
|
|
208
|
+
"optional": true,
|
|
185
209
|
"type": {
|
|
186
|
-
"primitive": "
|
|
210
|
+
"primitive": "boolean"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"abstract": true,
|
|
215
|
+
"docs": {
|
|
216
|
+
"default": "true",
|
|
217
|
+
"stability": "stable",
|
|
218
|
+
"summary": "Publish Python bindings to PyPI."
|
|
219
|
+
},
|
|
220
|
+
"immutable": true,
|
|
221
|
+
"locationInModule": {
|
|
222
|
+
"filename": "src/projects/jsii.ts",
|
|
223
|
+
"line": 42
|
|
224
|
+
},
|
|
225
|
+
"name": "pypi",
|
|
226
|
+
"optional": true,
|
|
227
|
+
"type": {
|
|
228
|
+
"primitive": "boolean"
|
|
187
229
|
}
|
|
188
230
|
}
|
|
189
231
|
],
|
|
190
|
-
"symbolId": "src/
|
|
232
|
+
"symbolId": "src/projects/jsii:Cdk8sTeamJsiiProjectOptions"
|
|
233
|
+
},
|
|
234
|
+
"@cdk8s/projen-common.Cdk8sTeamTypeScriptProject": {
|
|
235
|
+
"assembly": "@cdk8s/projen-common",
|
|
236
|
+
"base": "projen.typescript.TypeScriptProject",
|
|
237
|
+
"docs": {
|
|
238
|
+
"custom": {
|
|
239
|
+
"pjid": "cdk8s-team-typescript-project"
|
|
240
|
+
},
|
|
241
|
+
"stability": "stable"
|
|
242
|
+
},
|
|
243
|
+
"fqn": "@cdk8s/projen-common.Cdk8sTeamTypeScriptProject",
|
|
244
|
+
"initializer": {
|
|
245
|
+
"docs": {
|
|
246
|
+
"stability": "stable"
|
|
247
|
+
},
|
|
248
|
+
"locationInModule": {
|
|
249
|
+
"filename": "src/projects/typescript.ts",
|
|
250
|
+
"line": 52
|
|
251
|
+
},
|
|
252
|
+
"parameters": [
|
|
253
|
+
{
|
|
254
|
+
"name": "options",
|
|
255
|
+
"type": {
|
|
256
|
+
"fqn": "@cdk8s/projen-common.Cdk8sTeamTypescriptProjectOptions"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
"kind": "class",
|
|
262
|
+
"locationInModule": {
|
|
263
|
+
"filename": "src/projects/typescript.ts",
|
|
264
|
+
"line": 50
|
|
265
|
+
},
|
|
266
|
+
"name": "Cdk8sTeamTypeScriptProject",
|
|
267
|
+
"symbolId": "src/projects/typescript:Cdk8sTeamTypeScriptProject"
|
|
268
|
+
},
|
|
269
|
+
"@cdk8s/projen-common.Cdk8sTeamTypescriptProjectOptions": {
|
|
270
|
+
"assembly": "@cdk8s/projen-common",
|
|
271
|
+
"datatype": true,
|
|
272
|
+
"docs": {
|
|
273
|
+
"stability": "stable",
|
|
274
|
+
"summary": "Options for `Cdk8sTeamTypescriptProject`."
|
|
275
|
+
},
|
|
276
|
+
"fqn": "@cdk8s/projen-common.Cdk8sTeamTypescriptProjectOptions",
|
|
277
|
+
"interfaces": [
|
|
278
|
+
"projen.typescript.TypeScriptProjectOptions"
|
|
279
|
+
],
|
|
280
|
+
"kind": "interface",
|
|
281
|
+
"locationInModule": {
|
|
282
|
+
"filename": "src/projects/typescript.ts",
|
|
283
|
+
"line": 45
|
|
284
|
+
},
|
|
285
|
+
"name": "Cdk8sTeamTypescriptProjectOptions",
|
|
286
|
+
"symbolId": "src/projects/typescript:Cdk8sTeamTypescriptProjectOptions"
|
|
191
287
|
}
|
|
192
288
|
},
|
|
193
|
-
"version": "0.0.
|
|
194
|
-
"fingerprint": "
|
|
289
|
+
"version": "0.0.238",
|
|
290
|
+
"fingerprint": "1ZDHTn31iHBtAPHYOBnmu1FdQXBN0RIlLA13qlx/vAw="
|
|
195
291
|
}
|
package/.projenrc.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as src from './src';
|
|
2
|
+
|
|
3
|
+
const project = new src.Cdk8sTeamJsiiProject({
|
|
4
|
+
name: '@cdk8s/projen-common',
|
|
5
|
+
description: 'Common projen configuration shared between cdk8s-team org projects.',
|
|
6
|
+
peerDeps: ['projen'],
|
|
7
|
+
deps: ['codemaker'],
|
|
8
|
+
bundledDeps: ['codemaker'],
|
|
9
|
+
projenrcTs: true,
|
|
10
|
+
defaultReleaseBranch: 'main',
|
|
11
|
+
pypi: false,
|
|
12
|
+
maven: false,
|
|
13
|
+
nuget: false,
|
|
14
|
+
golang: false,
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
project.synth();
|