@jttc/projen-project-types 1.0.0-beta.0 → 1.0.0-beta.10

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 (113) hide show
  1. package/.cz-config.js +83 -43
  2. package/.czrc +1 -1
  3. package/.jsii +4637 -14
  4. package/AGENTS.md +132 -0
  5. package/API.md +31146 -7
  6. package/README.md +197 -29
  7. package/docs/components/cdk8s.md +724 -0
  8. package/docs/components/commitzent.md +261 -0
  9. package/docs/components/k3d.md +456 -0
  10. package/docs/default-configurations.md +267 -0
  11. package/docs/index.md +86 -1
  12. package/docs/project-types/cdk-app.md +481 -0
  13. package/docs/project-types/cdk-library.md +321 -0
  14. package/docs/project-types/cdk8s-app.md +353 -0
  15. package/docs/project-types/cdk8s-library.md +442 -0
  16. package/docs/project-types/nx-monorepo.md +382 -0
  17. package/lib/cdk/cdk-app-project.d.ts +12 -0
  18. package/lib/cdk/cdk-app-project.js +28 -0
  19. package/lib/cdk/cdk-library-project.d.ts +12 -0
  20. package/lib/cdk/cdk-library-project.js +28 -0
  21. package/lib/cdk/cdk8s-app-project.d.ts +14 -0
  22. package/lib/cdk/cdk8s-app-project.js +54 -0
  23. package/lib/cdk/cdk8s-library-project.d.ts +14 -0
  24. package/lib/cdk/cdk8s-library-project.js +50 -0
  25. package/lib/cdk/index.d.ts +5 -0
  26. package/lib/cdk/index.js +22 -0
  27. package/lib/cdk/interfaces/cdk-app-options.d.ts +7 -0
  28. package/lib/cdk/interfaces/cdk-app-options.js +3 -0
  29. package/lib/cdk/interfaces/cdk-library-options.d.ts +7 -0
  30. package/lib/cdk/interfaces/cdk-library-options.js +3 -0
  31. package/lib/cdk/interfaces/cdk8s-app-options.d.ts +18 -0
  32. package/lib/cdk/interfaces/cdk8s-app-options.js +3 -0
  33. package/lib/cdk/interfaces/cdk8s-library-options.d.ts +8 -0
  34. package/lib/cdk/interfaces/cdk8s-library-options.js +3 -0
  35. package/lib/cdk/interfaces/index.d.ts +5 -0
  36. package/lib/cdk/interfaces/index.js +22 -0
  37. package/lib/cdk/interfaces/jsii-options.d.ts +7 -0
  38. package/lib/cdk/interfaces/jsii-options.js +3 -0
  39. package/lib/cdk/interfaces/project-global-options.d.ts +15 -0
  40. package/lib/cdk/interfaces/project-global-options.js +3 -0
  41. package/lib/cdk/jsii-project.d.ts +12 -0
  42. package/lib/cdk/jsii-project.js +24 -0
  43. package/lib/common/common-options.d.ts +40 -0
  44. package/lib/common/common-options.js +110 -0
  45. package/lib/components/agents/agents.d.ts +21 -0
  46. package/lib/components/agents/agents.js +476 -0
  47. package/lib/components/agents/index.d.ts +1 -0
  48. package/lib/components/agents/index.js +18 -0
  49. package/lib/components/cdk8s/cdk8s.d.ts +11 -0
  50. package/lib/components/cdk8s/cdk8s.js +124 -0
  51. package/lib/components/cdk8s/index.d.ts +2 -0
  52. package/lib/components/cdk8s/index.js +19 -0
  53. package/lib/components/cdk8s/interfaces/Cdk8s.d.ts +34 -0
  54. package/lib/components/cdk8s/interfaces/Cdk8s.js +12 -0
  55. package/lib/components/cdk8s/main-library.ts.template +35 -0
  56. package/lib/components/cdk8s/main.test.ts.template +3 -0
  57. package/lib/components/cdk8s/main.ts.template +38 -0
  58. package/lib/components/commitzent/commitzent.d.ts +8 -0
  59. package/lib/components/commitzent/commitzent.js +100 -0
  60. package/lib/components/commitzent/index.d.ts +2 -0
  61. package/lib/components/commitzent/index.js +19 -0
  62. package/lib/components/commitzent/interfaces/Icommitzent.d.ts +34 -0
  63. package/lib/components/commitzent/interfaces/Icommitzent.js +3 -0
  64. package/lib/components/index.d.ts +4 -0
  65. package/lib/components/index.js +21 -0
  66. package/lib/components/k3d/index.d.ts +3 -0
  67. package/lib/components/k3d/index.js +20 -0
  68. package/lib/components/k3d/k3d.d.ts +33 -0
  69. package/lib/components/k3d/k3d.js +109 -0
  70. package/lib/components/k3d/k3dBase.d.ts +4 -0
  71. package/lib/components/k3d/k3dBase.js +23 -0
  72. package/lib/components/k3d/types.d.ts +64 -0
  73. package/lib/components/k3d/types.js +8 -0
  74. package/lib/index.d.ts +5 -3
  75. package/lib/index.js +20 -12
  76. package/lib/monorepo/components/NxConfiguration.d.ts +17 -0
  77. package/lib/monorepo/components/NxConfiguration.js +105 -0
  78. package/lib/monorepo/components/index.d.ts +2 -0
  79. package/lib/monorepo/components/index.js +19 -0
  80. package/lib/monorepo/components/publish-release.d.ts +5 -0
  81. package/lib/monorepo/components/publish-release.js +80 -0
  82. package/lib/monorepo/index.d.ts +3 -0
  83. package/lib/monorepo/index.js +20 -0
  84. package/lib/monorepo/interfaces/Nx.d.ts +130 -0
  85. package/lib/monorepo/interfaces/Nx.js +3 -0
  86. package/lib/monorepo/interfaces/NxMonorepo.d.ts +3 -0
  87. package/lib/monorepo/interfaces/NxMonorepo.js +3 -0
  88. package/lib/monorepo/interfaces/index.d.ts +2 -0
  89. package/lib/monorepo/interfaces/index.js +19 -0
  90. package/lib/monorepo/monorepo.d.ts +16 -0
  91. package/lib/monorepo/monorepo.js +131 -0
  92. package/lib/terraform/components/index.d.ts +2 -0
  93. package/lib/terraform/components/index.js +19 -0
  94. package/lib/terraform/components/terraform-deploy-github-workflow.d.ts +26 -0
  95. package/lib/terraform/components/terraform-deploy-github-workflow.js +92 -0
  96. package/lib/terraform/components/terraform-plan-github-workflow.d.ts +31 -0
  97. package/lib/terraform/components/terraform-plan-github-workflow.js +155 -0
  98. package/lib/terraform/index.d.ts +5 -0
  99. package/lib/terraform/index.js +22 -0
  100. package/lib/terraform/providers/hetzner-provider.d.ts +105 -0
  101. package/lib/terraform/providers/hetzner-provider.js +83 -0
  102. package/lib/terraform/providers/index.d.ts +2 -0
  103. package/lib/terraform/providers/index.js +19 -0
  104. package/lib/terraform/providers/provider-strategy.d.ts +44 -0
  105. package/lib/terraform/providers/provider-strategy.js +38 -0
  106. package/lib/terraform/terraform-base-project.d.ts +38 -0
  107. package/lib/terraform/terraform-base-project.js +97 -0
  108. package/lib/terraform/terraform-module-project.d.ts +24 -0
  109. package/lib/terraform/terraform-module-project.js +77 -0
  110. package/lib/terraform/terraform-stack-project.d.ts +28 -0
  111. package/lib/terraform/terraform-stack-project.js +83 -0
  112. package/mkdocs.yml +12 -0
  113. package/package.json +14 -7
package/.cz-config.js CHANGED
@@ -1,71 +1,111 @@
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
- scopes: [{ name: 'projen' }, { name: 'docs' }],
28
-
29
- usePreparedCommit: true, // to re-use commit from ./.git/COMMIT_EDITMSG
46
+ scopes: [
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: 'jsii-project'
67
+ },
68
+ {
69
+ name: 'monorepo'
70
+ },
71
+ {
72
+ name: 'terraform-stack'
73
+ },
74
+ {
75
+ name: 'terraform-module'
76
+ },
77
+ {
78
+ name: 'cdk8s-component'
79
+ },
80
+ {
81
+ name: 'commitzent-component'
82
+ },
83
+ {
84
+ name: 'k3d-component'
85
+ },
86
+ {
87
+ name: 'agents-component'
88
+ }
89
+ ],
90
+ usePreparedCommit: true,
30
91
  allowTicketNumber: false,
31
92
  isTicketNumberRequired: false,
32
93
  ticketNumberPrefix: 'TICKET-',
33
94
  ticketNumberRegExp: '\\d{1,5}',
34
-
35
- // it needs to match the value for field type. Eg.: 'fix'
36
- /*
37
- scopeOverrides: {
38
- fix: [
39
-
40
- {name: 'merge'},
41
- {name: 'style'},
42
- {name: 'e2eTest'},
43
- {name: 'unitTest'}
44
- ]
45
- },
46
- */
47
- // override the messages, defaults are as follows
48
95
  messages: {
49
96
  type: "Select the type of change that you're committing:",
50
97
  scope: '\nDenote the SCOPE of this change (optional):',
51
- // used if allowCustomScopes is true
52
98
  customScope: 'Denote the SCOPE of this change:',
53
99
  subject: 'Write a SHORT, IMPERATIVE tense description of the change:\n',
54
100
  body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
55
101
  breaking: 'List any BREAKING CHANGES (optional):\n',
56
- footer:
57
- 'List any ISSUES CLOSED by this change (optional). E.g.: #31, #34:\n',
58
- confirmCommit: 'Are you sure you want to proceed with the commit above?',
102
+ footer: 'List any ISSUES CLOSED by this change (optional). E.g.: #31, #34:\n',
103
+ confirmCommit: 'Are you sure you want to proceed with the commit above?'
59
104
  },
60
-
61
105
  allowCustomScopes: true,
62
- allowBreakingChanges: ['feat', 'fix'],
63
- // skip any questions you want
64
- // skipQuestions: ['scope', 'body'],
65
-
66
- // limit subject length
67
- subjectLimit: 100,
68
- // breaklineChar: '|', // It is supported for fields body and footer.
69
- // footerPrefix : 'ISSUES CLOSED:'
70
- // askForBreakingChangeFirst : true, // default is false
71
- };
106
+ allowBreakingChanges: [
107
+ 'feat',
108
+ 'fix'
109
+ ],
110
+ subjectLimit: 100
111
+ }
package/.czrc CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
2
  "path": "node_modules/cz-customizable"
3
- }
3
+ }