@jttc/projen-project-types 1.0.0-beta.6 → 1.0.0-beta.7
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/.cz-config.js +66 -49
- package/.czrc +1 -1
- package/.jsii +1896 -45
- package/API.md +12568 -2672
- package/README.md +4 -1
- package/docs/components/commitzent.md +261 -0
- package/docs/components/k3d.md +456 -0
- package/docs/index.md +4 -1
- package/lib/cdk/cdk-app-project.d.ts +5 -2
- package/lib/cdk/cdk-app-project.js +4 -3
- package/lib/cdk/cdk-library-project.d.ts +5 -2
- package/lib/cdk/cdk-library-project.js +4 -3
- package/lib/cdk/cdk8s-app-project.d.ts +3 -1
- package/lib/cdk/cdk8s-app-project.js +7 -3
- package/lib/cdk/cdk8s-library-project.d.ts +3 -1
- package/lib/cdk/cdk8s-library-project.js +4 -3
- package/lib/cdk/index.d.ts +1 -0
- package/lib/cdk/index.js +2 -1
- package/lib/cdk/interfaces/cdk-app-options.d.ts +7 -0
- package/lib/cdk/interfaces/cdk-app-options.js +3 -0
- package/lib/cdk/interfaces/cdk-library-options.d.ts +7 -0
- package/lib/cdk/interfaces/cdk-library-options.js +3 -0
- package/lib/cdk/interfaces/cdk8s-app-options.d.ts +18 -0
- package/lib/cdk/interfaces/cdk8s-app-options.js +3 -0
- package/lib/cdk/interfaces/cdk8s-library-options.d.ts +8 -0
- package/lib/cdk/interfaces/cdk8s-library-options.js +3 -0
- package/lib/cdk/interfaces/index.d.ts +5 -0
- package/lib/cdk/interfaces/index.js +22 -0
- package/lib/cdk/interfaces/project-global-options.d.ts +10 -0
- package/lib/cdk/interfaces/project-global-options.js +3 -0
- package/lib/common/common-options.d.ts +12 -1
- package/lib/common/common-options.js +13 -1
- package/lib/components/cdk8s/cdk8s.js +3 -2
- package/lib/components/cdk8s/interfaces/Cdk8s.d.ts +0 -6
- package/lib/components/cdk8s/interfaces/Cdk8s.js +1 -1
- package/lib/components/commitzent/commitzent.d.ts +8 -0
- package/lib/components/commitzent/commitzent.js +100 -0
- package/lib/components/commitzent/index.d.ts +2 -0
- package/lib/components/commitzent/index.js +19 -0
- package/lib/components/commitzent/interfaces/Icommitzent.d.ts +34 -0
- package/lib/components/commitzent/interfaces/Icommitzent.js +3 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.js +3 -1
- package/lib/components/k3d/index.d.ts +3 -0
- package/lib/components/k3d/index.js +20 -0
- package/lib/components/k3d/k3d.d.ts +33 -0
- package/lib/components/k3d/k3d.js +109 -0
- package/lib/components/k3d/k3dBase.d.ts +4 -0
- package/lib/components/k3d/k3dBase.js +23 -0
- package/lib/components/k3d/types.d.ts +64 -0
- package/lib/components/k3d/types.js +8 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/mkdocs.yml +2 -0
- package/package.json +1 -1
package/.cz-config.js
CHANGED
|
@@ -1,79 +1,96 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
types: [
|
|
3
|
-
{
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
{
|
|
4
|
+
value: 'feat',
|
|
5
|
+
name: 'feat: A new feature'
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
value: 'fix',
|
|
9
|
+
name: 'fix: A bug fix'
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
value: 'docs',
|
|
13
|
+
name: 'docs: Documentation only changes'
|
|
14
|
+
},
|
|
6
15
|
{
|
|
7
16
|
value: 'style',
|
|
8
|
-
name: 'style: Changes that do not affect the meaning of the code\n
|
|
17
|
+
name: 'style: Changes that do not affect the meaning of the code\n' +
|
|
18
|
+
' (white-space, formatting, missing semi-colons, etc)'
|
|
9
19
|
},
|
|
10
20
|
{
|
|
11
21
|
value: 'refactor',
|
|
12
|
-
name: 'refactor: A code change that neither fixes a bug nor adds a feature'
|
|
22
|
+
name: 'refactor: A code change that neither fixes a bug nor adds a feature'
|
|
13
23
|
},
|
|
14
24
|
{
|
|
15
25
|
value: 'perf',
|
|
16
|
-
name: 'perf: A code change that improves performance'
|
|
26
|
+
name: 'perf: A code change that improves performance'
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
value: 'test',
|
|
30
|
+
name: 'test: Adding missing tests'
|
|
17
31
|
},
|
|
18
|
-
{ value: 'test', name: 'test: Adding missing tests' },
|
|
19
32
|
{
|
|
20
33
|
value: 'chore',
|
|
21
|
-
name: 'chore: Changes to the build process or auxiliary tools\n
|
|
34
|
+
name: 'chore: Changes to the build process or auxiliary tools\n' +
|
|
35
|
+
' and libraries such as documentation generation'
|
|
22
36
|
},
|
|
23
|
-
{
|
|
24
|
-
|
|
37
|
+
{
|
|
38
|
+
value: 'revert',
|
|
39
|
+
name: 'revert: Revert to a commit'
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
value: 'WIP',
|
|
43
|
+
name: 'WIP: Work in progress'
|
|
44
|
+
}
|
|
25
45
|
],
|
|
26
|
-
|
|
27
46
|
scopes: [
|
|
28
|
-
{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
{
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
{
|
|
47
|
+
{
|
|
48
|
+
name: 'projen'
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'docs'
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'cdk-library'
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'cdk-app'
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: 'cdk8s-library'
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: 'cdk8s-app'
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'cdk8s-component'
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: 'commitzent-component'
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'k3d-component'
|
|
73
|
+
}
|
|
35
74
|
],
|
|
36
|
-
|
|
37
|
-
usePreparedCommit: true, // to re-use commit from ./.git/COMMIT_EDITMSG
|
|
75
|
+
usePreparedCommit: true,
|
|
38
76
|
allowTicketNumber: false,
|
|
39
77
|
isTicketNumberRequired: false,
|
|
40
78
|
ticketNumberPrefix: 'TICKET-',
|
|
41
79
|
ticketNumberRegExp: '\\d{1,5}',
|
|
42
|
-
|
|
43
|
-
// it needs to match the value for field type. Eg.: 'fix'
|
|
44
|
-
/*
|
|
45
|
-
scopeOverrides: {
|
|
46
|
-
fix: [
|
|
47
|
-
|
|
48
|
-
{name: 'merge'},
|
|
49
|
-
{name: 'style'},
|
|
50
|
-
{name: 'e2eTest'},
|
|
51
|
-
{name: 'unitTest'}
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
*/
|
|
55
|
-
// override the messages, defaults are as follows
|
|
56
80
|
messages: {
|
|
57
81
|
type: "Select the type of change that you're committing:",
|
|
58
82
|
scope: '\nDenote the SCOPE of this change (optional):',
|
|
59
|
-
// used if allowCustomScopes is true
|
|
60
83
|
customScope: 'Denote the SCOPE of this change:',
|
|
61
84
|
subject: 'Write a SHORT, IMPERATIVE tense description of the change:\n',
|
|
62
85
|
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
|
|
63
86
|
breaking: 'List any BREAKING CHANGES (optional):\n',
|
|
64
|
-
footer:
|
|
65
|
-
|
|
66
|
-
confirmCommit: 'Are you sure you want to proceed with the commit above?',
|
|
87
|
+
footer: 'List any ISSUES CLOSED by this change (optional). E.g.: #31, #34:\n',
|
|
88
|
+
confirmCommit: 'Are you sure you want to proceed with the commit above?'
|
|
67
89
|
},
|
|
68
|
-
|
|
69
90
|
allowCustomScopes: true,
|
|
70
|
-
allowBreakingChanges: [
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
// breaklineChar: '|', // It is supported for fields body and footer.
|
|
77
|
-
// footerPrefix : 'ISSUES CLOSED:'
|
|
78
|
-
// askForBreakingChangeFirst : true, // default is false
|
|
79
|
-
};
|
|
91
|
+
allowBreakingChanges: [
|
|
92
|
+
'feat',
|
|
93
|
+
'fix'
|
|
94
|
+
],
|
|
95
|
+
subjectLimit: 100
|
|
96
|
+
}
|
package/.czrc
CHANGED