projen 0.52.21 → 0.52.25

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 (235) hide show
  1. package/.jsii +139 -107
  2. package/changelog.md +3 -3
  3. package/docs/api/API.md +42 -39
  4. package/lib/awscdk/auto-discover.d.ts +14 -46
  5. package/lib/awscdk/auto-discover.js +8 -22
  6. package/lib/awscdk/awscdk-app-java.d.ts +10 -32
  7. package/lib/awscdk/awscdk-app-java.js +5 -9
  8. package/lib/awscdk/awscdk-app-ts.d.ts +15 -35
  9. package/lib/awscdk/awscdk-app-ts.js +6 -14
  10. package/lib/awscdk/awscdk-construct.d.ts +14 -28
  11. package/lib/awscdk/awscdk-construct.js +8 -16
  12. package/lib/awscdk/awscdk-deps-java.d.ts +1 -8
  13. package/lib/awscdk/awscdk-deps-java.js +3 -10
  14. package/lib/awscdk/awscdk-deps-js.d.ts +1 -8
  15. package/lib/awscdk/awscdk-deps-js.js +3 -10
  16. package/lib/awscdk/awscdk-deps.d.ts +28 -67
  17. package/lib/awscdk/awscdk-deps.js +5 -12
  18. package/lib/awscdk/cdk-config.d.ts +19 -51
  19. package/lib/awscdk/cdk-config.js +13 -11
  20. package/lib/awscdk/cdk-tasks.d.ts +7 -24
  21. package/lib/awscdk/cdk-tasks.js +3 -8
  22. package/lib/awscdk/integration-test.d.ts +7 -29
  23. package/lib/awscdk/integration-test.js +3 -8
  24. package/lib/awscdk/lambda-function.d.ts +22 -50
  25. package/lib/awscdk/lambda-function.js +11 -24
  26. package/lib/build/build-workflow.d.ts +33 -78
  27. package/lib/build/build-workflow.js +15 -25
  28. package/lib/cdk/auto-discover-base.d.ts +11 -34
  29. package/lib/cdk/auto-discover-base.js +5 -15
  30. package/lib/cdk/construct-lib.d.ts +8 -22
  31. package/lib/cdk/construct-lib.js +3 -8
  32. package/lib/cdk/integration-test-base.d.ts +12 -38
  33. package/lib/cdk/integration-test-base.js +2 -8
  34. package/lib/cdk/jsii-docgen.d.ts +6 -12
  35. package/lib/cdk/jsii-docgen.js +6 -8
  36. package/lib/cdk/jsii-project.d.ts +16 -95
  37. package/lib/cdk/jsii-project.js +3 -10
  38. package/lib/cdk8s/auto-discover.d.ts +6 -23
  39. package/lib/cdk8s/auto-discover.js +6 -15
  40. package/lib/cdk8s/cdk8s-app-ts.d.ts +21 -43
  41. package/lib/cdk8s/cdk8s-app-ts.js +4 -7
  42. package/lib/cdk8s/cdk8s-construct.d.ts +12 -27
  43. package/lib/cdk8s/cdk8s-construct.js +3 -7
  44. package/lib/cdk8s/integration-test.d.ts +2 -9
  45. package/lib/cdk8s/integration-test.js +3 -8
  46. package/lib/cdktf/cdktf-construct.d.ts +3 -12
  47. package/lib/cdktf/cdktf-construct.js +3 -7
  48. package/lib/component.d.ts +4 -17
  49. package/lib/component.js +6 -19
  50. package/lib/dependencies.d.ts +44 -77
  51. package/lib/dependencies.js +50 -38
  52. package/lib/dev-env.d.ts +26 -53
  53. package/lib/dev-env.js +9 -19
  54. package/lib/docker-compose.d.ts +83 -209
  55. package/lib/docker-compose.js +38 -61
  56. package/lib/file.d.ts +24 -71
  57. package/lib/file.js +4 -16
  58. package/lib/gitattributes.d.ts +3 -14
  59. package/lib/gitattributes.js +5 -16
  60. package/lib/github/auto-approve.d.ts +7 -23
  61. package/lib/github/auto-approve.js +3 -8
  62. package/lib/github/auto-merge.d.ts +7 -29
  63. package/lib/github/auto-merge.js +7 -16
  64. package/lib/github/dependabot.d.ts +54 -147
  65. package/lib/github/dependabot.js +81 -22
  66. package/lib/github/github-project.d.ts +26 -70
  67. package/lib/github/github-project.js +5 -10
  68. package/lib/github/github.d.ts +19 -58
  69. package/lib/github/github.js +9 -30
  70. package/lib/github/mergify.d.ts +9 -54
  71. package/lib/github/mergify.js +2 -14
  72. package/lib/github/pr-template.d.ts +3 -13
  73. package/lib/github/pr-template.js +3 -8
  74. package/lib/github/pull-request-lint.d.ts +8 -28
  75. package/lib/github/pull-request-lint.js +3 -9
  76. package/lib/github/stale.d.ts +17 -47
  77. package/lib/github/stale.js +6 -10
  78. package/lib/github/task-workflow.d.ts +21 -63
  79. package/lib/github/task-workflow.js +3 -8
  80. package/lib/github/workflows-model.d.ts +199 -582
  81. package/lib/github/workflows-model.js +5 -4
  82. package/lib/github/workflows.d.ts +14 -41
  83. package/lib/github/workflows.js +8 -16
  84. package/lib/gitlab/configuration-model.d.ts +145 -947
  85. package/lib/gitlab/configuration-model.js +11 -28
  86. package/lib/gitlab/configuration.d.ts +31 -121
  87. package/lib/gitlab/configuration.js +14 -49
  88. package/lib/gitlab/gitlab-configuration.d.ts +2 -13
  89. package/lib/gitlab/gitlab-configuration.js +4 -15
  90. package/lib/gitlab/nested-configuration.d.ts +1 -9
  91. package/lib/gitlab/nested-configuration.js +3 -8
  92. package/lib/gitpod.d.ts +71 -167
  93. package/lib/gitpod.js +75 -42
  94. package/lib/ignore-file.d.ts +4 -23
  95. package/lib/ignore-file.js +6 -25
  96. package/lib/ini.d.ts +2 -14
  97. package/lib/ini.js +3 -13
  98. package/lib/java/java-project.d.ts +29 -70
  99. package/lib/java/java-project.js +10 -17
  100. package/lib/java/junit.d.ts +5 -17
  101. package/lib/java/junit.js +3 -8
  102. package/lib/java/maven-compile.d.ts +4 -13
  103. package/lib/java/maven-compile.js +3 -8
  104. package/lib/java/maven-packaging.d.ts +6 -21
  105. package/lib/java/maven-packaging.js +3 -8
  106. package/lib/java/maven-sample.d.ts +2 -12
  107. package/lib/java/maven-sample.js +3 -8
  108. package/lib/java/pom.d.ts +38 -100
  109. package/lib/java/pom.js +13 -25
  110. package/lib/java/projenrc.d.ts +7 -22
  111. package/lib/java/projenrc.js +3 -8
  112. package/lib/javascript/bundler.d.ts +30 -72
  113. package/lib/javascript/bundler.js +13 -21
  114. package/lib/javascript/eslint.d.ts +27 -84
  115. package/lib/javascript/eslint.js +11 -30
  116. package/lib/javascript/jest.d.ts +91 -344
  117. package/lib/javascript/jest.js +6 -23
  118. package/lib/javascript/node-package.d.ts +111 -259
  119. package/lib/javascript/node-package.js +64 -81
  120. package/lib/javascript/node-project.d.ts +112 -220
  121. package/lib/javascript/node-project.js +54 -73
  122. package/lib/javascript/npm-config.d.ts +9 -19
  123. package/lib/javascript/npm-config.js +9 -16
  124. package/lib/javascript/prettier.d.ts +65 -196
  125. package/lib/javascript/prettier.js +70 -46
  126. package/lib/javascript/projenrc.d.ts +2 -12
  127. package/lib/javascript/projenrc.js +3 -8
  128. package/lib/javascript/typescript-config.d.ts +62 -158
  129. package/lib/javascript/typescript-config.js +31 -18
  130. package/lib/javascript/upgrade-dependencies.d.ts +35 -94
  131. package/lib/javascript/upgrade-dependencies.js +21 -51
  132. package/lib/json.d.ts +3 -17
  133. package/lib/json.js +3 -13
  134. package/lib/license.d.ts +3 -20
  135. package/lib/license.js +2 -13
  136. package/lib/logger.d.ts +18 -62
  137. package/lib/logger.js +17 -37
  138. package/lib/makefile.d.ts +14 -45
  139. package/lib/makefile.js +7 -25
  140. package/lib/object-file.d.ts +19 -39
  141. package/lib/object-file.js +17 -28
  142. package/lib/option-hints.d.ts +4 -13
  143. package/lib/option-hints.js +11 -5
  144. package/lib/project-build.d.ts +7 -26
  145. package/lib/project-build.js +3 -8
  146. package/lib/project.d.ts +64 -186
  147. package/lib/project.js +43 -91
  148. package/lib/projects.d.ts +11 -32
  149. package/lib/projects.js +4 -8
  150. package/lib/projenrc-json.d.ts +2 -12
  151. package/lib/projenrc-json.js +3 -8
  152. package/lib/python/pip.d.ts +7 -23
  153. package/lib/python/pip.js +8 -17
  154. package/lib/python/poetry.d.ts +36 -121
  155. package/lib/python/poetry.js +12 -26
  156. package/lib/python/projenrc.d.ts +4 -15
  157. package/lib/python/projenrc.js +3 -8
  158. package/lib/python/pytest.d.ts +3 -16
  159. package/lib/python/pytest.js +2 -8
  160. package/lib/python/python-deps.d.ts +7 -21
  161. package/lib/python/python-deps.js +1 -1
  162. package/lib/python/python-env.d.ts +1 -6
  163. package/lib/python/python-env.js +1 -1
  164. package/lib/python/python-packaging.d.ts +12 -34
  165. package/lib/python/python-packaging.js +1 -1
  166. package/lib/python/python-project.d.ts +34 -79
  167. package/lib/python/python-project.js +7 -20
  168. package/lib/python/python-sample.d.ts +2 -9
  169. package/lib/python/python-sample.js +3 -8
  170. package/lib/python/requirements-file.d.ts +4 -19
  171. package/lib/python/requirements-file.js +5 -15
  172. package/lib/python/setuppy.d.ts +11 -39
  173. package/lib/python/setuppy.js +3 -13
  174. package/lib/python/setuptools.d.ts +2 -14
  175. package/lib/python/setuptools.js +3 -8
  176. package/lib/python/venv.d.ts +4 -14
  177. package/lib/python/venv.js +4 -11
  178. package/lib/readme.d.ts +7 -16
  179. package/lib/readme.js +5 -7
  180. package/lib/release/publisher.d.ts +103 -206
  181. package/lib/release/publisher.js +47 -59
  182. package/lib/release/release-trigger.d.ts +16 -48
  183. package/lib/release/release-trigger.js +8 -18
  184. package/lib/release/release.d.ts +50 -110
  185. package/lib/release/release.js +9 -24
  186. package/lib/run-task.js +1820 -0
  187. package/lib/sample-file.d.ts +14 -47
  188. package/lib/sample-file.js +9 -30
  189. package/lib/semver.d.ts +4 -21
  190. package/lib/semver.js +6 -20
  191. package/lib/source-code.d.ts +7 -23
  192. package/lib/source-code.js +7 -19
  193. package/lib/task-model.d.ts +21 -61
  194. package/lib/task-model.js +1 -1
  195. package/lib/task-runtime.d.ts +7 -24
  196. package/lib/task-runtime.js +7 -20
  197. package/lib/task.d.ts +29 -73
  198. package/lib/task.js +28 -61
  199. package/lib/tasks.d.ts +12 -34
  200. package/lib/tasks.js +14 -36
  201. package/lib/testing.d.ts +6 -10
  202. package/lib/testing.js +8 -12
  203. package/lib/textfile.d.ts +9 -24
  204. package/lib/textfile.js +9 -19
  205. package/lib/toml.d.ts +2 -14
  206. package/lib/toml.js +3 -13
  207. package/lib/typescript/projenrc.d.ts +4 -14
  208. package/lib/typescript/projenrc.js +3 -8
  209. package/lib/typescript/typescript-typedoc.d.ts +1 -6
  210. package/lib/typescript/typescript-typedoc.js +3 -8
  211. package/lib/typescript/typescript.d.ts +24 -82
  212. package/lib/typescript/typescript.js +6 -15
  213. package/lib/version.d.ts +9 -38
  214. package/lib/version.js +2 -11
  215. package/lib/vscode/devcontainer.d.ts +10 -30
  216. package/lib/vscode/devcontainer.js +10 -26
  217. package/lib/vscode/launch-config.d.ts +18 -97
  218. package/lib/vscode/launch-config.js +9 -15
  219. package/lib/vscode/vscode.d.ts +0 -9
  220. package/lib/vscode/vscode.js +2 -11
  221. package/lib/web/next.d.ts +19 -60
  222. package/lib/web/next.js +6 -20
  223. package/lib/web/postcss.d.ts +3 -24
  224. package/lib/web/postcss.js +3 -8
  225. package/lib/web/react.d.ts +13 -60
  226. package/lib/web/react.js +7 -32
  227. package/lib/web/tailwind.d.ts +1 -15
  228. package/lib/web/tailwind.js +3 -7
  229. package/lib/xmlfile.d.ts +2 -14
  230. package/lib/xmlfile.js +3 -13
  231. package/lib/yaml.d.ts +4 -19
  232. package/lib/yaml.js +3 -13
  233. package/package.json +5 -5
  234. package/releasetag.txt +1 -1
  235. package/version.txt +1 -1
@@ -3,110 +3,85 @@ import { Job, JobStep, Tools } from "../github/workflows-model";
3
3
  import { Project } from "../project";
4
4
  import { BranchOptions } from "./release";
5
5
  /**
6
- * (experimental) Options for `Publisher`.
7
- *
8
- * @experimental
6
+ * Options for `Publisher`.
9
7
  */
10
8
  export interface PublisherOptions {
11
9
  /**
12
- * (experimental) The job ID that produces the build artifacts.
13
- *
14
- * All publish jobs will take a dependency on this job.
15
- *
16
- * @experimental
10
+ * The job ID that produces the build artifacts. All publish jobs will take a dependency on this job.
17
11
  */
18
12
  readonly buildJobId: string;
19
13
  /**
20
- * (experimental) A GitHub workflow expression used as a condition for publishers.
14
+ * A GitHub workflow expression used as a condition for publishers.
21
15
  *
22
16
  * @default - no condition
23
- * @experimental
24
17
  */
25
18
  readonly condition?: string;
26
19
  /**
27
- * (experimental) The name of the artifact to download (e.g. `dist`).
20
+ * The name of the artifact to download (e.g. `dist`).
28
21
  *
29
22
  * The artifact is expected to include a subdirectory for each release target:
30
23
  * `go` (GitHub), `dotnet` (NuGet), `java` (Maven), `js` (npm), `python`
31
24
  * (PyPI).
32
25
  *
33
- * @see https://github.com/aws/jsii-release
34
- * @experimental
26
+ * @see https://github.com/aws/publib
35
27
  */
36
28
  readonly artifactName: string;
37
29
  /**
38
- * (experimental) Version requirement for `jsii-release`.
30
+ * @deprecated use `publibVersion` instead
31
+ */
32
+ readonly jsiiReleaseVersion?: string;
33
+ /**
34
+ * Version requirement for `publib`.
39
35
  *
40
36
  * @default "latest"
41
- * @experimental
42
37
  */
43
- readonly jsiiReleaseVersion?: string;
38
+ readonly publibVersion?: string;
44
39
  /**
45
- * (experimental) Create an issue when a publish task fails.
40
+ * Create an issue when a publish task fails.
46
41
  *
47
42
  * @default false
48
- * @experimental
49
43
  */
50
44
  readonly failureIssue?: boolean;
51
45
  /**
52
- * (experimental) The label to apply to the issue marking failed publish tasks.
53
- *
46
+ * The label to apply to the issue marking failed publish tasks.
54
47
  * Only applies if `failureIssue` is true.
55
48
  *
56
49
  * @default "failed-release"
57
- * @experimental
58
50
  */
59
51
  readonly failureIssueLabel?: string;
60
52
  /**
61
- * (experimental) Github Runner selection labels.
62
- *
53
+ * Github Runner selection labels
63
54
  * @default ["ubuntu-latest"]
64
- * @experimental
65
55
  */
66
56
  readonly workflowRunsOn?: string[];
67
57
  /**
68
- * (experimental) Define publishing tasks that can be executed manually as well as workflows.
58
+ * Define publishing tasks that can be executed manually as well as workflows.
69
59
  *
70
60
  * Normally, publishing only happens within automated workflows. Enable this
71
61
  * in order to create a publishing task for each publishing activity.
72
62
  *
73
63
  * @default false
74
- * @experimental
75
64
  */
76
65
  readonly publishTasks?: boolean;
77
66
  /**
78
- * (experimental) Do not actually publish, only print the commands that would be executed instead.
67
+ * Do not actually publish, only print the commands that would be executed instead.
79
68
  *
80
69
  * Useful if you wish to block all publishing from a single option.
81
- *
82
- * @experimental
83
70
  */
84
71
  readonly dryRun?: boolean;
85
72
  }
86
73
  /**
87
- * (experimental) Implements GitHub jobs for publishing modules to package managers.
88
- *
89
- * Under the hood, it uses https://github.com/aws/jsii-release
74
+ * Implements GitHub jobs for publishing modules to package managers.
90
75
  *
91
- * @experimental
76
+ * Under the hood, it uses https://github.com/aws/publib
92
77
  */
93
78
  export declare class Publisher extends Component {
94
- /**
95
- * @experimental
96
- */
97
79
  readonly buildJobId: string;
98
- /**
99
- * @experimental
100
- */
101
80
  readonly artifactName: string;
102
- /**
103
- * @experimental
104
- */
105
- readonly jsiiReleaseVersion: string;
106
- /**
107
- * @experimental
108
- */
81
+ readonly publibVersion: string;
109
82
  readonly condition?: string;
83
+ /** @deprecated use `publibVersion` */
84
+ readonly jsiiReleaseVersion: string;
110
85
  private readonly failureIssue;
111
86
  private readonly failureIssueLabel;
112
87
  private readonly runsOn;
@@ -114,9 +89,6 @@ export declare class Publisher extends Component {
114
89
  private readonly _jobFactories;
115
90
  private readonly _gitHubPrePublishing;
116
91
  private readonly dryRun;
117
- /**
118
- * @experimental
119
- */
120
92
  constructor(project: Project, options: PublisherOptions);
121
93
  /**
122
94
  * Called by `Release` to add the publishing jobs to a release workflow
@@ -128,88 +100,69 @@ export declare class Publisher extends Component {
128
100
  */
129
101
  _renderJobsForBranch(branch: string, options: Partial<BranchOptions>): Record<string, Job>;
130
102
  /**
131
- * (experimental) Adds pre publishing steps for the GitHub release job.
103
+ * Adds pre publishing steps for the GitHub release job.
132
104
  *
133
105
  * @param steps The steps.
134
- * @experimental
135
106
  */
136
107
  addGitHubPrePublishingSteps(...steps: JobStep[]): void;
137
108
  /**
138
- * (experimental) Publish to git.
109
+ * Publish to git.
139
110
  *
140
111
  * This includes generating a project-level changelog and release tags.
141
112
  *
142
- * @param options Options.
143
- * @experimental
113
+ * @param options Options
144
114
  */
145
115
  publishToGit(options: GitPublishOptions): import("..").Task;
146
116
  /**
147
- * (experimental) Creates a GitHub Release.
148
- *
149
- * @param options Options.
150
- * @experimental
117
+ * Creates a GitHub Release.
118
+ * @param options Options
151
119
  */
152
120
  publishToGitHubReleases(options: GitHubReleasesPublishOptions): void;
153
121
  /**
154
- * (experimental) Publishes artifacts from `js/**` to npm.
155
- *
156
- * @param options Options.
157
- * @experimental
122
+ * Publishes artifacts from `js/**` to npm.
123
+ * @param options Options
158
124
  */
159
125
  publishToNpm(options?: NpmPublishOptions): void;
160
126
  /**
161
- * (experimental) Publishes artifacts from `dotnet/**` to NuGet Gallery.
162
- *
163
- * @param options Options.
164
- * @experimental
127
+ * Publishes artifacts from `dotnet/**` to NuGet Gallery.
128
+ * @param options Options
165
129
  */
166
130
  publishToNuget(options?: NugetPublishOptions): void;
167
131
  /**
168
- * (experimental) Publishes artifacts from `java/**` to Maven.
169
- *
170
- * @param options Options.
171
- * @experimental
132
+ * Publishes artifacts from `java/**` to Maven.
133
+ * @param options Options
172
134
  */
173
135
  publishToMaven(options?: MavenPublishOptions): void;
174
136
  /**
175
- * (experimental) Publishes wheel artifacts from `python` to PyPI.
176
- *
177
- * @param options Options.
178
- * @experimental
137
+ * Publishes wheel artifacts from `python` to PyPI.
138
+ * @param options Options
179
139
  */
180
140
  publishToPyPi(options?: PyPiPublishOptions): void;
181
141
  /**
182
- * (experimental) Adds a go publishing job.
183
- *
184
- * @param options Options.
185
- * @experimental
142
+ * Adds a go publishing job.
143
+ * @param options Options
186
144
  */
187
145
  publishToGo(options?: GoPublishOptions): void;
188
146
  private addPublishJob;
189
- private jsiiReleaseCommand;
147
+ private publibCommand;
190
148
  }
191
149
  /**
192
- * (experimental) Common publishing options.
193
- *
194
- * @experimental
150
+ * Common publishing options
195
151
  */
196
152
  export interface CommonPublishOptions {
197
153
  /**
198
- * (experimental) Steps to execute before executing the publishing command. These can be used to prepare the artifact for publishing if neede.
154
+ * Steps to execute before executing the publishing command. These can be used
155
+ * to prepare the artifact for publishing if neede.
199
156
  *
200
157
  * These steps are executed after `dist/` has been populated with the build
201
158
  * output.
202
159
  *
203
160
  * Note that when using this in `publishToGitHubReleases` this will override steps added via `addGitHubPrePublishingSteps`.
204
- *
205
- * @experimental
206
161
  */
207
162
  readonly prePublishSteps?: JobStep[];
208
163
  /**
209
- * (experimental) Additional tools to install in the publishing job.
210
- *
164
+ * Additional tools to install in the publishing job.
211
165
  * @default - no additional tools are installed
212
- * @experimental
213
166
  */
214
167
  readonly publishTools?: Tools;
215
168
  }
@@ -219,13 +172,11 @@ export interface CommonPublishOptions {
219
172
  export interface JsiiReleaseNpm extends NpmPublishOptions {
220
173
  }
221
174
  /**
222
- * (experimental) Options for npm release.
223
- *
224
- * @experimental
175
+ * Options for npm release
225
176
  */
226
177
  export interface NpmPublishOptions extends CommonPublishOptions {
227
178
  /**
228
- * (deprecated) Tags can be used to provide an alias instead of version numbers.
179
+ * Tags can be used to provide an alias instead of version numbers.
229
180
  *
230
181
  * For example, a project might choose to have multiple streams of development
231
182
  * and use a different tag for each stream, e.g., stable, beta, dev, canary.
@@ -243,7 +194,7 @@ export interface NpmPublishOptions extends CommonPublishOptions {
243
194
  */
244
195
  readonly distTag?: string;
245
196
  /**
246
- * (experimental) The domain name of the npm package registry.
197
+ * The domain name of the npm package registry.
247
198
  *
248
199
  * To publish to GitHub Packages, set this value to `"npm.pkg.github.com"`. In
249
200
  * this if `npmTokenSecret` is not specified, it will default to
@@ -252,54 +203,41 @@ export interface NpmPublishOptions extends CommonPublishOptions {
252
203
  * correctly defined.
253
204
  *
254
205
  * @default "registry.npmjs.org"
255
- * @experimental
256
- * @example
257
- *
258
- * "npm.pkg.github.com"
206
+ * @example "npm.pkg.github.com"
259
207
  */
260
208
  readonly registry?: string;
261
209
  /**
262
- * (experimental) GitHub secret which contains the NPM token to use when publishing packages.
263
- *
210
+ * GitHub secret which contains the NPM token to use when publishing packages.
264
211
  * @default - "NPM_TOKEN" or "GITHUB_TOKEN" if `registry` is set to `npm.pkg.github.com`.
265
- * @experimental
266
212
  */
267
213
  readonly npmTokenSecret?: string;
268
214
  /**
269
- * (experimental) Options for publishing npm package to AWS CodeArtifact.
215
+ * Options for publishing npm package to AWS CodeArtifact.
270
216
  *
271
217
  * @default - undefined
272
- * @experimental
273
218
  */
274
219
  readonly codeArtifactOptions?: CodeArtifactOptions;
275
220
  }
276
- /**
277
- * @experimental
278
- */
279
221
  export interface CodeArtifactOptions {
280
222
  /**
281
- * (experimental) GitHub secret which contains the AWS access key ID to use when publishing packages to AWS CodeArtifact.
282
- *
223
+ * GitHub secret which contains the AWS access key ID to use when publishing packages to AWS CodeArtifact.
283
224
  * This property must be specified only when publishing to AWS CodeArtifact (`registry` contains AWS CodeArtifact URL).
284
225
  *
285
226
  * @default "AWS_ACCESS_KEY_ID"
286
- * @experimental
287
227
  */
288
228
  readonly accessKeyIdSecret?: string;
289
229
  /**
290
- * (experimental) GitHub secret which contains the AWS secret access key to use when publishing packages to AWS CodeArtifact.
291
- *
230
+ * GitHub secret which contains the AWS secret access key to use when publishing packages to AWS CodeArtifact.
292
231
  * This property must be specified only when publishing to AWS CodeArtifact (`registry` contains AWS CodeArtifact URL).
293
232
  *
294
233
  * @default "AWS_SECRET_ACCESS_KEY"
295
- * @experimental
296
234
  */
297
235
  readonly secretAccessKeySecret?: string;
298
236
  /**
299
- * (experimental) ARN of AWS role to be assumed prior to get authorization token from AWS CodeArtifact This property must be specified only when publishing to AWS CodeArtifact (`registry` contains AWS CodeArtifact URL).
237
+ * ARN of AWS role to be assumed prior to get authorization token from AWS CodeArtifact
238
+ * This property must be specified only when publishing to AWS CodeArtifact (`registry` contains AWS CodeArtifact URL).
300
239
  *
301
240
  * @default undefined
302
- * @experimental
303
241
  */
304
242
  readonly roleToAssume?: string;
305
243
  }
@@ -309,30 +247,23 @@ export interface CodeArtifactOptions {
309
247
  export interface JsiiReleasePyPi extends PyPiPublishOptions {
310
248
  }
311
249
  /**
312
- * (experimental) Options for PyPI release.
313
- *
314
- * @experimental
250
+ * Options for PyPI release
315
251
  */
316
252
  export interface PyPiPublishOptions extends CommonPublishOptions {
317
253
  /**
318
- * (experimental) The registry url to use when releasing packages.
254
+ * The registry url to use when releasing packages.
319
255
  *
320
256
  * @default - twine default
321
- * @experimental
322
257
  */
323
258
  readonly twineRegistryUrl?: string;
324
259
  /**
325
- * (experimental) The GitHub secret which contains PyPI user name.
326
- *
260
+ * The GitHub secret which contains PyPI user name.
327
261
  * @default "TWINE_USERNAME"
328
- * @experimental
329
262
  */
330
263
  readonly twineUsernameSecret?: string;
331
264
  /**
332
- * (experimental) The GitHub secret which contains PyPI password.
333
- *
265
+ * The GitHub secret which contains PyPI password.
334
266
  * @default "TWINE_PASSWORD"
335
- * @experimental
336
267
  */
337
268
  readonly twinePasswordSecret?: string;
338
269
  }
@@ -342,16 +273,13 @@ export interface PyPiPublishOptions extends CommonPublishOptions {
342
273
  export interface JsiiReleaseNuget extends NugetPublishOptions {
343
274
  }
344
275
  /**
345
- * (experimental) Options for NuGet releases.
346
- *
347
- * @experimental
276
+ * Options for NuGet releases
348
277
  */
349
278
  export interface NugetPublishOptions extends CommonPublishOptions {
350
279
  /**
351
- * (experimental) GitHub secret which contains the API key for NuGet.
280
+ * GitHub secret which contains the API key for NuGet.
352
281
  *
353
282
  * @default "NUGET_API_KEY"
354
- * @experimental
355
283
  */
356
284
  readonly nugetApiKeySecret?: string;
357
285
  }
@@ -361,162 +289,140 @@ export interface NugetPublishOptions extends CommonPublishOptions {
361
289
  export interface JsiiReleaseMaven extends MavenPublishOptions {
362
290
  }
363
291
  /**
364
- * (experimental) Options for Maven releases.
365
- *
366
- * @experimental
292
+ * Options for Maven releases
367
293
  */
368
294
  export interface MavenPublishOptions extends CommonPublishOptions {
369
295
  /**
370
- * (experimental) URL of Nexus repository.
371
- *
372
- * if not set, defaults to https://oss.sonatype.org
296
+ * URL of Nexus repository. if not set, defaults to https://oss.sonatype.org
373
297
  *
374
298
  * @default "https://oss.sonatype.org"
375
- * @experimental
376
299
  */
377
300
  readonly mavenEndpoint?: string;
378
301
  /**
379
- * (experimental) Used in maven settings for credential lookup (e.g. use github when publishing to GitHub).
302
+ * Used in maven settings for credential lookup (e.g. use github when publishing to GitHub).
380
303
  *
381
304
  * @default "ossrh" (Maven Central) or "github" when using GitHub Packages
382
- * @experimental
383
305
  */
384
306
  readonly mavenServerId?: string;
385
307
  /**
386
- * (experimental) Deployment repository when not deploying to Maven Central.
308
+ * Deployment repository when not deploying to Maven Central
387
309
  *
388
310
  * @default - not set
389
- * @experimental
390
311
  */
391
312
  readonly mavenRepositoryUrl?: string;
392
313
  /**
393
- * (experimental) GitHub secret name which contains the GPG private key or file that includes it.
394
- *
395
- * This is used to sign your Maven
314
+ * GitHub secret name which contains the GPG private key or file that includes
315
+ * it. This is used to sign your Maven
396
316
  * packages. See instructions.
397
317
  *
318
+ * @see https://github.com/aws/publib#maven
398
319
  * @default "MAVEN_GPG_PRIVATE_KEY" or not set when using GitHub Packages
399
- * @see https://github.com/aws/jsii-release#maven
400
- * @experimental
401
320
  */
402
321
  readonly mavenGpgPrivateKeySecret?: string;
403
322
  /**
404
- * (experimental) GitHub secret name which contains the GPG private key or file that includes it.
405
- *
406
- * This is used to sign your Maven packages. See instructions.
323
+ * GitHub secret name which contains the GPG private key or file that includes
324
+ * it. This is used to sign your Maven packages. See instructions.
407
325
  *
326
+ * @see https://github.com/aws/publib#maven
408
327
  * @default "MAVEN_GPG_PRIVATE_KEY_PASSPHRASE" or not set when using GitHub Packages
409
- * @see https://github.com/aws/jsii-release#maven
410
- * @experimental
411
328
  */
412
329
  readonly mavenGpgPrivateKeyPassphrase?: string;
413
330
  /**
414
- * (experimental) GitHub secret name which contains the Username for maven repository.
331
+ * GitHub secret name which contains the Username for maven repository.
415
332
  *
416
333
  * For Maven Central, you will need to Create JIRA account and then request a
417
334
  * new project (see links).
418
335
  *
419
- * @default "MAVEN_USERNAME" or the GitHub Actor when using GitHub Packages
336
+ * @see https://issues.sonatype.org/secure/Signup
420
337
  * @see https://issues.sonatype.org/secure/CreateIssue.jspa?issuetype=21&pid=10134
421
- * @experimental
338
+ *
339
+ * @default "MAVEN_USERNAME" or the GitHub Actor when using GitHub Packages
422
340
  */
423
341
  readonly mavenUsername?: string;
424
342
  /**
425
- * (experimental) GitHub secret name which contains the Password for maven repository.
343
+ * GitHub secret name which contains the Password for maven repository.
426
344
  *
427
345
  * For Maven Central, you will need to Create JIRA account and then request a
428
346
  * new project (see links).
429
347
  *
430
- * @default "MAVEN_PASSWORD" or "GITHUB_TOKEN" when using GitHub Packages
348
+ * @see https://issues.sonatype.org/secure/Signup
431
349
  * @see https://issues.sonatype.org/secure/CreateIssue.jspa?issuetype=21&pid=10134
432
- * @experimental
350
+ *
351
+ * @default "MAVEN_PASSWORD" or "GITHUB_TOKEN" when using GitHub Packages
433
352
  */
434
353
  readonly mavenPassword?: string;
435
354
  /**
436
- * (experimental) GitHub secret name which contains the Maven Central (sonatype) staging profile ID (e.g. 68a05363083174). Staging profile ID can be found in the URL of the "Releases" staging profile under "Staging Profiles" in https://oss.sonatype.org (e.g. https://oss.sonatype.org/#stagingProfiles;11a33451234521).
437
- *
355
+ * GitHub secret name which contains the Maven Central (sonatype) staging
356
+ * profile ID (e.g. 68a05363083174). Staging profile ID can be found in the
357
+ * URL of the "Releases" staging profile under "Staging Profiles" in
358
+ * https://oss.sonatype.org (e.g.
359
+ * https://oss.sonatype.org/#stagingProfiles;11a33451234521)
360
+
438
361
  * @default "MAVEN_STAGING_PROFILE_ID" or not set when using GitHub Packages
439
- * @experimental
440
362
  */
441
363
  readonly mavenStagingProfileId?: string;
442
364
  }
443
365
  /**
444
366
  * @deprecated Use `GoPublishOptions` instead.
445
- * export interface JsiiReleaseGo extends GoPublishOptions { }
446
- * /**
367
+ export interface JsiiReleaseGo extends GoPublishOptions { }
368
+
369
+ /**
447
370
  * Options for Go releases.
448
371
  */
449
372
  export interface GoPublishOptions extends CommonPublishOptions {
450
373
  /**
451
- * (deprecated) The name of the secret that includes a personal GitHub access token used to push to the GitHub repository.
374
+ * The name of the secret that includes a personal GitHub access token used to
375
+ * push to the GitHub repository.
452
376
  *
453
377
  * @default "GO_GITHUB_TOKEN"
454
- * @deprecated
455
378
  */
456
379
  readonly githubTokenSecret?: string;
457
380
  /**
458
- * (deprecated) GitHub repository to push to.
381
+ * GitHub repository to push to.
459
382
  *
460
383
  * @default - derived from `moduleName`
461
- * @deprecated
462
384
  */
463
385
  readonly githubRepo?: string;
464
386
  /**
465
- * (deprecated) Branch to push to.
387
+ * Branch to push to.
466
388
  *
467
389
  * @default "main"
468
- * @deprecated
469
390
  */
470
391
  readonly gitBranch?: string;
471
392
  /**
472
- * (deprecated) The user name to use for the release git commit.
473
- *
393
+ * The user name to use for the release git commit.
474
394
  * @default "github-actions"
475
- * @deprecated
476
395
  */
477
396
  readonly gitUserName?: string;
478
397
  /**
479
- * (deprecated) The email to use in the release git commit.
480
- *
481
- * @default "github-actions
482
- * @deprecated
483
- * @github .com"
398
+ * The email to use in the release git commit.
399
+ * @default "github-actions@github.com"
484
400
  */
485
401
  readonly gitUserEmail?: string;
486
402
  /**
487
- * (deprecated) The commit message.
403
+ * The commit message.
488
404
  *
489
405
  * @default "chore(release): $VERSION"
490
- * @deprecated
491
406
  */
492
407
  readonly gitCommitMessage?: string;
493
408
  }
494
409
  interface VersionArtifactOptions {
495
410
  /**
496
- * (experimental) The location of a text file (relative to `dist/`) that contains the version number.
497
- *
498
- * @experimental
499
- * @example
411
+ * The location of a text file (relative to `dist/`) that contains the version number.
500
412
  *
501
- * version.txt
413
+ * @example version.txt
502
414
  */
503
415
  readonly versionFile: string;
504
416
  /**
505
- * (experimental) The location of a text file (relative to `dist/`) that contains the release tag.
417
+ * The location of a text file (relative to `dist/`) that contains the release tag.
506
418
  *
507
- * @experimental
508
- * @example
509
- *
510
- * releasetag.txt
419
+ * @example releasetag.txt
511
420
  */
512
421
  readonly releaseTagFile: string;
513
422
  /**
514
- * (experimental) The location of an .md file (relative to `dist/`) that includes the changelog for the release.
515
- *
516
- * @experimental
517
- * @example
423
+ * The location of an .md file (relative to `dist/`) that includes the changelog for the release.
518
424
  *
519
- * changelog.md
425
+ * @example changelog.md
520
426
  */
521
427
  readonly changelogFile: string;
522
428
  }
@@ -527,37 +433,28 @@ interface VersionArtifactOptions {
527
433
  */
528
434
  export declare function isAwsCodeArtifactRegistry(registryUrl: string | undefined): boolean | "" | undefined;
529
435
  /**
530
- * (experimental) Publishing options for GitHub releases.
531
- *
532
- * @experimental
436
+ * Publishing options for GitHub releases.
533
437
  */
534
438
  export interface GitHubReleasesPublishOptions extends VersionArtifactOptions, CommonPublishOptions {
535
439
  }
536
440
  /**
537
- * (experimental) Publishing options for Git releases.
538
- *
539
- * @experimental
441
+ * Publishing options for Git releases
540
442
  */
541
443
  export interface GitPublishOptions extends VersionArtifactOptions {
542
444
  /**
543
- * (experimental) The location of an .md file that includes the project-level changelog.
544
- *
545
- * @experimental
445
+ * The location of an .md file that includes the project-level changelog.
546
446
  */
547
447
  readonly projectChangelogFile?: string;
548
448
  /**
549
- * (experimental) Branch to push to.
449
+ * Branch to push to.
550
450
  *
551
451
  * @default "main"
552
- * @experimental
553
452
  */
554
453
  readonly gitBranch?: string;
555
454
  /**
556
- * (experimental) Override git-push command.
455
+ * Override git-push command.
557
456
  *
558
457
  * Set to an empty string to disable pushing.
559
- *
560
- * @experimental
561
458
  */
562
459
  readonly gitPushCommand?: string;
563
460
  }