@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.
Files changed (55) hide show
  1. package/.cz-config.js +66 -49
  2. package/.czrc +1 -1
  3. package/.jsii +1896 -45
  4. package/API.md +12568 -2672
  5. package/README.md +4 -1
  6. package/docs/components/commitzent.md +261 -0
  7. package/docs/components/k3d.md +456 -0
  8. package/docs/index.md +4 -1
  9. package/lib/cdk/cdk-app-project.d.ts +5 -2
  10. package/lib/cdk/cdk-app-project.js +4 -3
  11. package/lib/cdk/cdk-library-project.d.ts +5 -2
  12. package/lib/cdk/cdk-library-project.js +4 -3
  13. package/lib/cdk/cdk8s-app-project.d.ts +3 -1
  14. package/lib/cdk/cdk8s-app-project.js +7 -3
  15. package/lib/cdk/cdk8s-library-project.d.ts +3 -1
  16. package/lib/cdk/cdk8s-library-project.js +4 -3
  17. package/lib/cdk/index.d.ts +1 -0
  18. package/lib/cdk/index.js +2 -1
  19. package/lib/cdk/interfaces/cdk-app-options.d.ts +7 -0
  20. package/lib/cdk/interfaces/cdk-app-options.js +3 -0
  21. package/lib/cdk/interfaces/cdk-library-options.d.ts +7 -0
  22. package/lib/cdk/interfaces/cdk-library-options.js +3 -0
  23. package/lib/cdk/interfaces/cdk8s-app-options.d.ts +18 -0
  24. package/lib/cdk/interfaces/cdk8s-app-options.js +3 -0
  25. package/lib/cdk/interfaces/cdk8s-library-options.d.ts +8 -0
  26. package/lib/cdk/interfaces/cdk8s-library-options.js +3 -0
  27. package/lib/cdk/interfaces/index.d.ts +5 -0
  28. package/lib/cdk/interfaces/index.js +22 -0
  29. package/lib/cdk/interfaces/project-global-options.d.ts +10 -0
  30. package/lib/cdk/interfaces/project-global-options.js +3 -0
  31. package/lib/common/common-options.d.ts +12 -1
  32. package/lib/common/common-options.js +13 -1
  33. package/lib/components/cdk8s/cdk8s.js +3 -2
  34. package/lib/components/cdk8s/interfaces/Cdk8s.d.ts +0 -6
  35. package/lib/components/cdk8s/interfaces/Cdk8s.js +1 -1
  36. package/lib/components/commitzent/commitzent.d.ts +8 -0
  37. package/lib/components/commitzent/commitzent.js +100 -0
  38. package/lib/components/commitzent/index.d.ts +2 -0
  39. package/lib/components/commitzent/index.js +19 -0
  40. package/lib/components/commitzent/interfaces/Icommitzent.d.ts +34 -0
  41. package/lib/components/commitzent/interfaces/Icommitzent.js +3 -0
  42. package/lib/components/index.d.ts +2 -0
  43. package/lib/components/index.js +3 -1
  44. package/lib/components/k3d/index.d.ts +3 -0
  45. package/lib/components/k3d/index.js +20 -0
  46. package/lib/components/k3d/k3d.d.ts +33 -0
  47. package/lib/components/k3d/k3d.js +109 -0
  48. package/lib/components/k3d/k3dBase.d.ts +4 -0
  49. package/lib/components/k3d/k3dBase.js +23 -0
  50. package/lib/components/k3d/types.d.ts +64 -0
  51. package/lib/components/k3d/types.js +8 -0
  52. package/lib/index.d.ts +1 -0
  53. package/lib/index.js +2 -1
  54. package/mkdocs.yml +2 -0
  55. package/package.json +1 -1
package/.cz-config.js CHANGED
@@ -1,79 +1,96 @@
1
1
  module.exports = {
2
2
  types: [
3
- { value: 'feat', name: 'feat: A new feature' },
4
- { value: 'fix', name: 'fix: A bug fix' },
5
- { value: 'docs', name: 'docs: Documentation only changes' },
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 (white-space, formatting, missing semi-colons, etc)',
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 and libraries such as documentation generation',
34
+ name: 'chore: Changes to the build process or auxiliary tools\n' +
35
+ ' and libraries such as documentation generation'
22
36
  },
23
- { value: 'revert', name: 'revert: Revert to a commit' },
24
- { value: 'WIP', name: 'WIP: Work in progress' },
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
- { name: 'projen' },
29
- { name: 'docs' },
30
- { name: 'cdk-library' },
31
- { name: 'cdk-app' },
32
- { name: 'cdk8s-component' },
33
- { name: 'cdk8s-library' },
34
- { name: 'cdk8s-app' },
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
- 'List any ISSUES CLOSED by this change (optional). E.g.: #31, #34:\n',
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: ['feat', 'fix'],
71
- // skip any questions you want
72
- // skipQuestions: ['scope', 'body'],
73
-
74
- // limit subject length
75
- subjectLimit: 100,
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
@@ -1,3 +1,3 @@
1
1
  {
2
2
  "path": "node_modules/cz-customizable"
3
- }
3
+ }