projen 0.71.13 → 0.71.15

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 (319) hide show
  1. package/.jsii +3 -3
  2. package/lib/awscdk/auto-discover.js +5 -5
  3. package/lib/awscdk/awscdk-app-java.js +1 -1
  4. package/lib/awscdk/awscdk-app-py.js +1 -1
  5. package/lib/awscdk/awscdk-app-ts.js +1 -1
  6. package/lib/awscdk/awscdk-construct.js +2 -2
  7. package/lib/awscdk/awscdk-deps-java.js +1 -1
  8. package/lib/awscdk/awscdk-deps-js.js +1 -1
  9. package/lib/awscdk/awscdk-deps-py.js +1 -1
  10. package/lib/awscdk/awscdk-deps.js +1 -1
  11. package/lib/awscdk/cdk-config.js +1 -1
  12. package/lib/awscdk/cdk-tasks.js +1 -1
  13. package/lib/awscdk/integration-test.js +1 -1
  14. package/lib/awscdk/lambda-extension.js +1 -1
  15. package/lib/awscdk/lambda-function.js +2 -2
  16. package/lib/build/build-workflow.js +1 -1
  17. package/lib/cdk/auto-discover-base.js +2 -2
  18. package/lib/cdk/construct-lib.js +1 -1
  19. package/lib/cdk/integration-test-base.js +1 -1
  20. package/lib/cdk/jsii-docgen.js +1 -1
  21. package/lib/cdk/jsii-project.js +1 -1
  22. package/lib/cdk8s/auto-discover.js +2 -2
  23. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  24. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  25. package/lib/cdk8s/cdk8s-construct.js +1 -1
  26. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  27. package/lib/cdk8s/cdk8s-deps.js +1 -1
  28. package/lib/cdk8s/integration-test.js +1 -1
  29. package/lib/cdktf/cdktf-construct.js +1 -1
  30. package/lib/circleci/circleci.js +1 -1
  31. package/lib/component.js +1 -1
  32. package/lib/dependencies.js +1 -1
  33. package/lib/dev-env.js +1 -1
  34. package/lib/docker-compose/docker-compose-service.js +1 -1
  35. package/lib/docker-compose/docker-compose.js +1 -1
  36. package/lib/file.js +1 -1
  37. package/lib/gitattributes.js +1 -1
  38. package/lib/github/actions-provider.js +1 -1
  39. package/lib/github/auto-approve.js +1 -1
  40. package/lib/github/auto-merge.js +1 -1
  41. package/lib/github/dependabot.js +1 -1
  42. package/lib/github/github-credentials.js +1 -1
  43. package/lib/github/github-project.js +1 -1
  44. package/lib/github/github.js +1 -1
  45. package/lib/github/mergify.js +1 -1
  46. package/lib/github/pr-template.js +1 -1
  47. package/lib/github/pull-request-lint.js +1 -1
  48. package/lib/github/stale.js +1 -1
  49. package/lib/github/task-workflow.js +1 -1
  50. package/lib/github/workflow-actions.js +1 -1
  51. package/lib/github/workflow-jobs.js +1 -1
  52. package/lib/github/workflows.js +1 -1
  53. package/lib/gitlab/configuration.js +1 -1
  54. package/lib/gitlab/gitlab-configuration.js +1 -1
  55. package/lib/gitlab/nested-configuration.js +1 -1
  56. package/lib/gitpod.js +1 -1
  57. package/lib/ignore-file.js +1 -1
  58. package/lib/ini.js +1 -1
  59. package/lib/java/java-project.js +1 -1
  60. package/lib/java/junit.js +1 -1
  61. package/lib/java/maven-compile.js +1 -1
  62. package/lib/java/maven-packaging.js +1 -1
  63. package/lib/java/maven-sample.js +1 -1
  64. package/lib/java/pom.js +1 -1
  65. package/lib/java/projenrc.js +1 -1
  66. package/lib/javascript/bundler.js +1 -1
  67. package/lib/javascript/eslint.js +1 -1
  68. package/lib/javascript/jest.js +4 -4
  69. package/lib/javascript/node-package.js +1 -1
  70. package/lib/javascript/node-project.js +1 -1
  71. package/lib/javascript/npm-config.js +1 -1
  72. package/lib/javascript/prettier.js +1 -1
  73. package/lib/javascript/projenrc.js +1 -1
  74. package/lib/javascript/typescript-config.js +1 -1
  75. package/lib/javascript/upgrade-dependencies.js +2 -2
  76. package/lib/json-patch.js +1 -1
  77. package/lib/json.js +1 -1
  78. package/lib/license.js +1 -1
  79. package/lib/logger.js +1 -1
  80. package/lib/makefile.js +1 -1
  81. package/lib/object-file.js +1 -1
  82. package/lib/project-build.js +1 -1
  83. package/lib/project.js +1 -1
  84. package/lib/projects.js +1 -1
  85. package/lib/projenrc-json.js +2 -2
  86. package/lib/projenrc.js +1 -1
  87. package/lib/python/pip.js +1 -1
  88. package/lib/python/poetry.js +2 -2
  89. package/lib/python/projenrc.js +1 -1
  90. package/lib/python/pytest-sample.js +1 -1
  91. package/lib/python/pytest.js +1 -1
  92. package/lib/python/python-project.js +1 -1
  93. package/lib/python/python-sample.js +1 -1
  94. package/lib/python/requirements-file.js +1 -1
  95. package/lib/python/setuppy.js +1 -1
  96. package/lib/python/setuptools.js +1 -1
  97. package/lib/python/venv.js +1 -1
  98. package/lib/readme.js +1 -1
  99. package/lib/release/publisher.js +1 -1
  100. package/lib/release/release-trigger.js +1 -1
  101. package/lib/release/release.js +1 -1
  102. package/lib/renovatebot.js +1 -1
  103. package/lib/sample-file.js +2 -2
  104. package/lib/semver.js +1 -1
  105. package/lib/source-code.js +1 -1
  106. package/lib/task-runtime.js +1 -1
  107. package/lib/task.js +1 -1
  108. package/lib/tasks.js +1 -1
  109. package/lib/testing.js +1 -1
  110. package/lib/textfile.js +1 -1
  111. package/lib/toml.js +1 -1
  112. package/lib/typescript/projenrc-ts.js +1 -1
  113. package/lib/typescript/projenrc.js +1 -1
  114. package/lib/typescript/typescript-typedoc.js +1 -1
  115. package/lib/typescript/typescript.js +3 -3
  116. package/lib/version.js +1 -1
  117. package/lib/vscode/devcontainer.js +1 -1
  118. package/lib/vscode/extensions.js +1 -1
  119. package/lib/vscode/launch-config.js +1 -1
  120. package/lib/vscode/settings.js +1 -1
  121. package/lib/vscode/vscode.js +1 -1
  122. package/lib/web/next.js +3 -3
  123. package/lib/web/postcss.js +1 -1
  124. package/lib/web/react.js +4 -4
  125. package/lib/web/tailwind.js +1 -1
  126. package/lib/xmlfile.js +1 -1
  127. package/lib/yaml.js +1 -1
  128. package/package.json +3 -11
  129. package/lib/.types-compat/ts3.9/lib/_resolve.d.ts +0 -2
  130. package/lib/.types-compat/ts3.9/lib/awscdk/auto-discover.d.ts +0 -129
  131. package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-app-java.d.ts +0 -53
  132. package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-app-py.d.ts +0 -49
  133. package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-app-ts.d.ts +0 -81
  134. package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-construct.d.ts +0 -89
  135. package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-deps-java.d.ts +0 -7
  136. package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-deps-js.d.ts +0 -7
  137. package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-deps-py.d.ts +0 -7
  138. package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-deps.d.ts +0 -168
  139. package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-pytest-sample.d.ts +0 -5
  140. package/lib/.types-compat/ts3.9/lib/awscdk/cdk-config.d.ts +0 -122
  141. package/lib/.types-compat/ts3.9/lib/awscdk/cdk-tasks.d.ts +0 -33
  142. package/lib/.types-compat/ts3.9/lib/awscdk/index.d.ts +0 -14
  143. package/lib/.types-compat/ts3.9/lib/awscdk/integration-test.d.ts +0 -46
  144. package/lib/.types-compat/ts3.9/lib/awscdk/internal.d.ts +0 -20
  145. package/lib/.types-compat/ts3.9/lib/awscdk/lambda-extension.d.ts +0 -68
  146. package/lib/.types-compat/ts3.9/lib/awscdk/lambda-function.d.ts +0 -171
  147. package/lib/.types-compat/ts3.9/lib/build/build-workflow.d.ts +0 -180
  148. package/lib/.types-compat/ts3.9/lib/build/index.d.ts +0 -1
  149. package/lib/.types-compat/ts3.9/lib/builtin-example.task.d.ts +0 -0
  150. package/lib/.types-compat/ts3.9/lib/cdk/auto-discover-base.d.ts +0 -45
  151. package/lib/.types-compat/ts3.9/lib/cdk/construct-lib.d.ts +0 -38
  152. package/lib/.types-compat/ts3.9/lib/cdk/consts.d.ts +0 -6
  153. package/lib/.types-compat/ts3.9/lib/cdk/index.d.ts +0 -5
  154. package/lib/.types-compat/ts3.9/lib/cdk/integration-test-base.d.ts +0 -53
  155. package/lib/.types-compat/ts3.9/lib/cdk/internal.d.ts +0 -4
  156. package/lib/.types-compat/ts3.9/lib/cdk/jsii-docgen.d.ts +0 -20
  157. package/lib/.types-compat/ts3.9/lib/cdk/jsii-project.d.ts +0 -154
  158. package/lib/.types-compat/ts3.9/lib/cdk8s/auto-discover.d.ts +0 -33
  159. package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-app-py.d.ts +0 -39
  160. package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-app-ts.d.ts +0 -45
  161. package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-construct.d.ts +0 -71
  162. package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-deps-js.d.ts +0 -4
  163. package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-deps-py.d.ts +0 -4
  164. package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-deps.d.ts +0 -144
  165. package/lib/.types-compat/ts3.9/lib/cdk8s/index.d.ts +0 -7
  166. package/lib/.types-compat/ts3.9/lib/cdk8s/integration-test.d.ts +0 -13
  167. package/lib/.types-compat/ts3.9/lib/cdktf/cdktf-construct.d.ts +0 -26
  168. package/lib/.types-compat/ts3.9/lib/cdktf/index.d.ts +0 -1
  169. package/lib/.types-compat/ts3.9/lib/circleci/circleci.d.ts +0 -132
  170. package/lib/.types-compat/ts3.9/lib/circleci/constant.d.ts +0 -5
  171. package/lib/.types-compat/ts3.9/lib/circleci/index.d.ts +0 -3
  172. package/lib/.types-compat/ts3.9/lib/circleci/model.d.ts +0 -260
  173. package/lib/.types-compat/ts3.9/lib/cleanup.d.ts +0 -2
  174. package/lib/.types-compat/ts3.9/lib/cli/cmds/new.d.ts +0 -9
  175. package/lib/.types-compat/ts3.9/lib/cli/index.d.ts +0 -1
  176. package/lib/.types-compat/ts3.9/lib/cli/macros.d.ts +0 -1
  177. package/lib/.types-compat/ts3.9/lib/cli/synth.d.ts +0 -19
  178. package/lib/.types-compat/ts3.9/lib/cli/tasks.d.ts +0 -7
  179. package/lib/.types-compat/ts3.9/lib/cli/util.d.ts +0 -19
  180. package/lib/.types-compat/ts3.9/lib/clobber.d.ts +0 -5
  181. package/lib/.types-compat/ts3.9/lib/common.d.ts +0 -5
  182. package/lib/.types-compat/ts3.9/lib/component.d.ts +0 -20
  183. package/lib/.types-compat/ts3.9/lib/dependencies.d.ts +0 -160
  184. package/lib/.types-compat/ts3.9/lib/dev-env.d.ts +0 -80
  185. package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose-network.d.ts +0 -103
  186. package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose-port.d.ts +0 -44
  187. package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose-render.d.ts +0 -2
  188. package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose-service.d.ts +0 -155
  189. package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose-volume.d.ts +0 -64
  190. package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose.d.ts +0 -99
  191. package/lib/.types-compat/ts3.9/lib/docker-compose/index.d.ts +0 -5
  192. package/lib/.types-compat/ts3.9/lib/file.d.ts +0 -120
  193. package/lib/.types-compat/ts3.9/lib/gitattributes.d.ts +0 -26
  194. package/lib/.types-compat/ts3.9/lib/github/actions-provider.d.ts +0 -28
  195. package/lib/.types-compat/ts3.9/lib/github/auto-approve.d.ts +0 -44
  196. package/lib/.types-compat/ts3.9/lib/github/auto-merge.d.ts +0 -41
  197. package/lib/.types-compat/ts3.9/lib/github/constants.d.ts +0 -20
  198. package/lib/.types-compat/ts3.9/lib/github/dependabot.d.ts +0 -247
  199. package/lib/.types-compat/ts3.9/lib/github/github-credentials.d.ts +0 -58
  200. package/lib/.types-compat/ts3.9/lib/github/github-project.d.ts +0 -177
  201. package/lib/.types-compat/ts3.9/lib/github/github.d.ts +0 -110
  202. package/lib/.types-compat/ts3.9/lib/github/index.d.ts +0 -17
  203. package/lib/.types-compat/ts3.9/lib/github/mergify.d.ts +0 -81
  204. package/lib/.types-compat/ts3.9/lib/github/pr-template.d.ts +0 -19
  205. package/lib/.types-compat/ts3.9/lib/github/pull-request-lint.d.ts +0 -48
  206. package/lib/.types-compat/ts3.9/lib/github/stale-util.d.ts +0 -8
  207. package/lib/.types-compat/ts3.9/lib/github/stale.d.ts +0 -85
  208. package/lib/.types-compat/ts3.9/lib/github/task-workflow.d.ts +0 -119
  209. package/lib/.types-compat/ts3.9/lib/github/util.d.ts +0 -1
  210. package/lib/.types-compat/ts3.9/lib/github/workflow-actions.d.ts +0 -169
  211. package/lib/.types-compat/ts3.9/lib/github/workflow-jobs.d.ts +0 -39
  212. package/lib/.types-compat/ts3.9/lib/github/workflows-model.d.ts +0 -1031
  213. package/lib/.types-compat/ts3.9/lib/github/workflows.d.ts +0 -108
  214. package/lib/.types-compat/ts3.9/lib/gitlab/configuration-model.d.ts +0 -536
  215. package/lib/.types-compat/ts3.9/lib/gitlab/configuration.d.ts +0 -170
  216. package/lib/.types-compat/ts3.9/lib/gitlab/gitlab-configuration.d.ts +0 -19
  217. package/lib/.types-compat/ts3.9/lib/gitlab/index.d.ts +0 -4
  218. package/lib/.types-compat/ts3.9/lib/gitlab/nested-configuration.d.ts +0 -11
  219. package/lib/.types-compat/ts3.9/lib/gitpod.d.ts +0 -301
  220. package/lib/.types-compat/ts3.9/lib/ignore-file.d.ts +0 -59
  221. package/lib/.types-compat/ts3.9/lib/index.d.ts +0 -51
  222. package/lib/.types-compat/ts3.9/lib/ini.d.ts +0 -15
  223. package/lib/.types-compat/ts3.9/lib/inventory.d.ts +0 -94
  224. package/lib/.types-compat/ts3.9/lib/java/index.d.ts +0 -7
  225. package/lib/.types-compat/ts3.9/lib/java/java-project.d.ts +0 -141
  226. package/lib/.types-compat/ts3.9/lib/java/junit.d.ts +0 -29
  227. package/lib/.types-compat/ts3.9/lib/java/maven-compile.d.ts +0 -26
  228. package/lib/.types-compat/ts3.9/lib/java/maven-packaging.d.ts +0 -34
  229. package/lib/.types-compat/ts3.9/lib/java/maven-sample.d.ts +0 -14
  230. package/lib/.types-compat/ts3.9/lib/java/pom.d.ts +0 -214
  231. package/lib/.types-compat/ts3.9/lib/java/projenrc.d.ts +0 -59
  232. package/lib/.types-compat/ts3.9/lib/javascript/bundler.d.ts +0 -174
  233. package/lib/.types-compat/ts3.9/lib/javascript/eslint.d.ts +0 -175
  234. package/lib/.types-compat/ts3.9/lib/javascript/index.d.ts +0 -10
  235. package/lib/.types-compat/ts3.9/lib/javascript/jest.d.ts +0 -599
  236. package/lib/.types-compat/ts3.9/lib/javascript/node-package.d.ts +0 -616
  237. package/lib/.types-compat/ts3.9/lib/javascript/node-project.d.ts +0 -465
  238. package/lib/.types-compat/ts3.9/lib/javascript/npm-config.d.ts +0 -40
  239. package/lib/.types-compat/ts3.9/lib/javascript/prettier.d.ts +0 -358
  240. package/lib/.types-compat/ts3.9/lib/javascript/projenrc.d.ts +0 -18
  241. package/lib/.types-compat/ts3.9/lib/javascript/render-options.d.ts +0 -88
  242. package/lib/.types-compat/ts3.9/lib/javascript/typescript-config.d.ts +0 -403
  243. package/lib/.types-compat/ts3.9/lib/javascript/upgrade-dependencies.d.ts +0 -188
  244. package/lib/.types-compat/ts3.9/lib/javascript/util.d.ts +0 -19
  245. package/lib/.types-compat/ts3.9/lib/json-patch.d.ts +0 -75
  246. package/lib/.types-compat/ts3.9/lib/json.d.ts +0 -27
  247. package/lib/.types-compat/ts3.9/lib/license.d.ts +0 -31
  248. package/lib/.types-compat/ts3.9/lib/logger.d.ts +0 -73
  249. package/lib/.types-compat/ts3.9/lib/logging.d.ts +0 -9
  250. package/lib/.types-compat/ts3.9/lib/makefile.d.ts +0 -77
  251. package/lib/.types-compat/ts3.9/lib/object-file.d.ts +0 -155
  252. package/lib/.types-compat/ts3.9/lib/option-hints.d.ts +0 -18
  253. package/lib/.types-compat/ts3.9/lib/project-build.d.ts +0 -41
  254. package/lib/.types-compat/ts3.9/lib/project.d.ts +0 -374
  255. package/lib/.types-compat/ts3.9/lib/projects.d.ts +0 -63
  256. package/lib/.types-compat/ts3.9/lib/projenrc-json.d.ts +0 -27
  257. package/lib/.types-compat/ts3.9/lib/projenrc.d.ts +0 -18
  258. package/lib/.types-compat/ts3.9/lib/python/index.d.ts +0 -14
  259. package/lib/.types-compat/ts3.9/lib/python/pip.d.ts +0 -32
  260. package/lib/.types-compat/ts3.9/lib/python/poetry.d.ts +0 -183
  261. package/lib/.types-compat/ts3.9/lib/python/projenrc.d.ts +0 -32
  262. package/lib/.types-compat/ts3.9/lib/python/pytest-sample.d.ts +0 -21
  263. package/lib/.types-compat/ts3.9/lib/python/pytest.d.ts +0 -24
  264. package/lib/.types-compat/ts3.9/lib/python/python-deps.d.ts +0 -30
  265. package/lib/.types-compat/ts3.9/lib/python/python-env.d.ts +0 -6
  266. package/lib/.types-compat/ts3.9/lib/python/python-packaging.d.ts +0 -62
  267. package/lib/.types-compat/ts3.9/lib/python/python-project.d.ts +0 -190
  268. package/lib/.types-compat/ts3.9/lib/python/python-sample.d.ts +0 -17
  269. package/lib/.types-compat/ts3.9/lib/python/requirements-file.d.ts +0 -29
  270. package/lib/.types-compat/ts3.9/lib/python/setuppy.d.ts +0 -70
  271. package/lib/.types-compat/ts3.9/lib/python/setuptools.d.ts +0 -15
  272. package/lib/.types-compat/ts3.9/lib/python/venv.d.ts +0 -28
  273. package/lib/.types-compat/ts3.9/lib/readme.d.ts +0 -28
  274. package/lib/.types-compat/ts3.9/lib/release/bump-version.d.ts +0 -72
  275. package/lib/.types-compat/ts3.9/lib/release/bump-version.task.d.ts +0 -1
  276. package/lib/.types-compat/ts3.9/lib/release/index.d.ts +0 -3
  277. package/lib/.types-compat/ts3.9/lib/release/publisher.d.ts +0 -533
  278. package/lib/.types-compat/ts3.9/lib/release/release-trigger.d.ts +0 -97
  279. package/lib/.types-compat/ts3.9/lib/release/release.d.ts +0 -338
  280. package/lib/.types-compat/ts3.9/lib/release/reset-version.task.d.ts +0 -1
  281. package/lib/.types-compat/ts3.9/lib/release/tag-version.d.ts +0 -31
  282. package/lib/.types-compat/ts3.9/lib/release/tag-version.task.d.ts +0 -1
  283. package/lib/.types-compat/ts3.9/lib/release/update-changelog.d.ts +0 -36
  284. package/lib/.types-compat/ts3.9/lib/release/update-changelog.task.d.ts +0 -1
  285. package/lib/.types-compat/ts3.9/lib/renovatebot.d.ts +0 -99
  286. package/lib/.types-compat/ts3.9/lib/run-projenrc-json.task.d.ts +0 -1
  287. package/lib/.types-compat/ts3.9/lib/sample-file.d.ts +0 -88
  288. package/lib/.types-compat/ts3.9/lib/semver.d.ts +0 -34
  289. package/lib/.types-compat/ts3.9/lib/smithy/smithy-build.d.ts +0 -156
  290. package/lib/.types-compat/ts3.9/lib/source-code.d.ts +0 -46
  291. package/lib/.types-compat/ts3.9/lib/task-model.d.ts +0 -151
  292. package/lib/.types-compat/ts3.9/lib/task-runtime.d.ts +0 -32
  293. package/lib/.types-compat/ts3.9/lib/task.d.ts +0 -136
  294. package/lib/.types-compat/ts3.9/lib/tasks.d.ts +0 -51
  295. package/lib/.types-compat/ts3.9/lib/testing.d.ts +0 -18
  296. package/lib/.types-compat/ts3.9/lib/textfile.d.ts +0 -33
  297. package/lib/.types-compat/ts3.9/lib/toml.d.ts +0 -15
  298. package/lib/.types-compat/ts3.9/lib/typescript/index.d.ts +0 -4
  299. package/lib/.types-compat/ts3.9/lib/typescript/projenrc-ts.d.ts +0 -43
  300. package/lib/.types-compat/ts3.9/lib/typescript/projenrc.d.ts +0 -27
  301. package/lib/.types-compat/ts3.9/lib/typescript/typescript-typedoc.d.ts +0 -7
  302. package/lib/.types-compat/ts3.9/lib/typescript/typescript.d.ts +0 -170
  303. package/lib/.types-compat/ts3.9/lib/util/semver.d.ts +0 -43
  304. package/lib/.types-compat/ts3.9/lib/util/synth.d.ts +0 -42
  305. package/lib/.types-compat/ts3.9/lib/util.d.ts +0 -131
  306. package/lib/.types-compat/ts3.9/lib/version.d.ts +0 -45
  307. package/lib/.types-compat/ts3.9/lib/vscode/devcontainer.d.ts +0 -86
  308. package/lib/.types-compat/ts3.9/lib/vscode/extensions.d.ts +0 -36
  309. package/lib/.types-compat/ts3.9/lib/vscode/index.d.ts +0 -5
  310. package/lib/.types-compat/ts3.9/lib/vscode/launch-config.d.ts +0 -90
  311. package/lib/.types-compat/ts3.9/lib/vscode/settings.d.ts +0 -24
  312. package/lib/.types-compat/ts3.9/lib/vscode/vscode.d.ts +0 -14
  313. package/lib/.types-compat/ts3.9/lib/web/index.d.ts +0 -4
  314. package/lib/.types-compat/ts3.9/lib/web/next.d.ts +0 -100
  315. package/lib/.types-compat/ts3.9/lib/web/postcss.d.ts +0 -28
  316. package/lib/.types-compat/ts3.9/lib/web/react.d.ts +0 -105
  317. package/lib/.types-compat/ts3.9/lib/web/tailwind.d.ts +0 -21
  318. package/lib/.types-compat/ts3.9/lib/xmlfile.d.ts +0 -18
  319. package/lib/.types-compat/ts3.9/lib/yaml.d.ts +0 -25
@@ -1,616 +0,0 @@
1
- import { Component } from "../component";
2
- import { JsonFile } from "../json";
3
- import { Project } from "../project";
4
- import { Task } from "../task";
5
- export interface NodePackageOptions {
6
- /**
7
- * The "name" in package.json
8
- * @default - defaults to project name
9
- * @featured
10
- */
11
- readonly packageName?: string;
12
- /**
13
- * The description is just a string that helps people understand the purpose of the package.
14
- * It can be used when searching for packages in a package manager as well.
15
- * See https://classic.yarnpkg.com/en/docs/package-json/#toc-description
16
- * @featured
17
- */
18
- readonly description?: string;
19
- /**
20
- * Runtime dependencies of this module.
21
- *
22
- * The recommendation is to only specify the module name here (e.g.
23
- * `express`). This will behave similar to `yarn add` or `npm install` in the
24
- * sense that it will add the module as a dependency to your `package.json`
25
- * file with the latest version (`^`). You can specify semver requirements in
26
- * the same syntax passed to `npm i` or `yarn add` (e.g. `express@^2`) and
27
- * this will be what you `package.json` will eventually include.
28
- *
29
- * @example [ 'express', 'lodash', 'foo@^2' ]
30
- * @default []
31
- * @featured
32
- */
33
- readonly deps?: string[];
34
- /**
35
- * Build dependencies for this module. These dependencies will only be
36
- * available in your build environment but will not be fetched when this
37
- * module is consumed.
38
- *
39
- * The recommendation is to only specify the module name here (e.g.
40
- * `express`). This will behave similar to `yarn add` or `npm install` in the
41
- * sense that it will add the module as a dependency to your `package.json`
42
- * file with the latest version (`^`). You can specify semver requirements in
43
- * the same syntax passed to `npm i` or `yarn add` (e.g. `express@^2`) and
44
- * this will be what you `package.json` will eventually include.
45
- *
46
- * @example [ 'typescript', '@types/express' ]
47
- * @default []
48
- * @featured
49
- */
50
- readonly devDeps?: string[];
51
- /**
52
- * Peer dependencies for this module. Dependencies listed here are required to
53
- * be installed (and satisfied) by the _consumer_ of this library. Using peer
54
- * dependencies allows you to ensure that only a single module of a certain
55
- * library exists in the `node_modules` tree of your consumers.
56
- *
57
- * Note that prior to npm@7, peer dependencies are _not_ automatically
58
- * installed, which means that adding peer dependencies to a library will be a
59
- * breaking change for your customers.
60
- *
61
- * Unless `peerDependencyOptions.pinnedDevDependency` is disabled (it is
62
- * enabled by default), projen will automatically add a dev dependency with a
63
- * pinned version for each peer dependency. This will ensure that you build &
64
- * test your module against the lowest peer version required.
65
- *
66
- * @default []
67
- */
68
- readonly peerDeps?: string[];
69
- /**
70
- * List of dependencies to bundle into this module. These modules will be
71
- * added both to the `dependencies` section and `bundledDependencies` section of
72
- * your `package.json`.
73
- *
74
- * The recommendation is to only specify the module name here (e.g.
75
- * `express`). This will behave similar to `yarn add` or `npm install` in the
76
- * sense that it will add the module as a dependency to your `package.json`
77
- * file with the latest version (`^`). You can specify semver requirements in
78
- * the same syntax passed to `npm i` or `yarn add` (e.g. `express@^2`) and
79
- * this will be what you `package.json` will eventually include.
80
- */
81
- readonly bundledDeps?: string[];
82
- /**
83
- * Options for `peerDeps`.
84
- */
85
- readonly peerDependencyOptions?: PeerDependencyOptions;
86
- /**
87
- * Allow the project to include `peerDependencies` and `bundledDependencies`.
88
- * This is normally only allowed for libraries. For apps, there's no meaning
89
- * for specifying these.
90
- *
91
- * @default true
92
- */
93
- readonly allowLibraryDependencies?: boolean;
94
- /**
95
- * Keywords to include in `package.json`.
96
- */
97
- readonly keywords?: string[];
98
- /**
99
- * Module entrypoint (`main` in `package.json`)
100
- *
101
- * Set to an empty string to not include `main` in your package.json
102
- *
103
- * @default "lib/index.js"
104
- */
105
- readonly entrypoint?: string;
106
- /**
107
- * Binary programs vended with your module.
108
- *
109
- * You can use this option to add/customize how binaries are represented in
110
- * your `package.json`, but unless `autoDetectBin` is `false`, every
111
- * executable file under `bin` will automatically be added to this section.
112
- */
113
- readonly bin?: Record<string, string>;
114
- /**
115
- * Automatically add all executables under the `bin` directory to your
116
- * `package.json` file under the `bin` section.
117
- *
118
- * @default true
119
- */
120
- readonly autoDetectBin?: boolean;
121
- /**
122
- * npm scripts to include. If a script has the same name as a standard script,
123
- * the standard script will be overwritten.
124
- * Also adds the script as a task.
125
- *
126
- * @default {}
127
- * @deprecated use `project.addTask()` or `package.setScript()`
128
- */
129
- readonly scripts?: {
130
- [name: string]: string;
131
- };
132
- /**
133
- * The Node Package Manager used to execute scripts
134
- *
135
- * @default NodePackageManager.YARN
136
- */
137
- readonly packageManager?: NodePackageManager;
138
- /**
139
- * The repository is the location where the actual code for your package lives.
140
- * See https://classic.yarnpkg.com/en/docs/package-json/#toc-repository
141
- */
142
- readonly repository?: string;
143
- /**
144
- * If the package.json for your package is not in the root directory (for example if it is part of a monorepo),
145
- * you can specify the directory in which it lives.
146
- */
147
- readonly repositoryDirectory?: string;
148
- /**
149
- * Author's name
150
- */
151
- readonly authorName?: string;
152
- /**
153
- * Author's e-mail
154
- */
155
- readonly authorEmail?: string;
156
- /**
157
- * Author's URL / Website
158
- */
159
- readonly authorUrl?: string;
160
- /**
161
- * Is the author an organization
162
- */
163
- readonly authorOrganization?: boolean;
164
- /**
165
- * Package's Homepage / Website
166
- */
167
- readonly homepage?: string;
168
- /**
169
- * Package's Stability
170
- */
171
- readonly stability?: string;
172
- /**
173
- * Minimum Node.js version to require via package.json `engines` (inclusive).
174
- *
175
- * @default - no "engines" specified
176
- */
177
- readonly minNodeVersion?: string;
178
- /**
179
- * Minimum node.js version to require via `engines` (inclusive).
180
- *
181
- * @default - no max
182
- */
183
- readonly maxNodeVersion?: string;
184
- /**
185
- * The version of PNPM to use if using PNPM as a package manager.
186
- *
187
- * @default "7"
188
- */
189
- readonly pnpmVersion?: string;
190
- /**
191
- * License's SPDX identifier.
192
- * See https://github.com/projen/projen/tree/main/license-text for a list of supported licenses.
193
- * Use the `licensed` option if you want to no license to be specified.
194
- *
195
- * @default "Apache-2.0"
196
- */
197
- readonly license?: string;
198
- /**
199
- * Indicates if a license should be added.
200
- *
201
- * @default true
202
- */
203
- readonly licensed?: boolean;
204
- /**
205
- * The base URL of the npm package registry.
206
- *
207
- * Must be a URL (e.g. start with "https://" or "http://")
208
- *
209
- * @default "https://registry.npmjs.org"
210
- */
211
- readonly npmRegistryUrl?: string;
212
- /**
213
- * The host name of the npm registry to publish to. Cannot be set together with `npmRegistryUrl`.
214
- *
215
- * @deprecated use `npmRegistryUrl` instead
216
- */
217
- readonly npmRegistry?: string;
218
- /**
219
- * The url to your project's issue tracker.
220
- */
221
- readonly bugsUrl?: string;
222
- /**
223
- * The email address to which issues should be reported.
224
- */
225
- readonly bugsEmail?: string;
226
- /**
227
- * Access level of the npm package.
228
- *
229
- * @default - for scoped packages (e.g. `foo@bar`), the default is
230
- * `NpmAccess.RESTRICTED`, for non-scoped packages, the default is
231
- * `NpmAccess.PUBLIC`.
232
- */
233
- readonly npmAccess?: NpmAccess;
234
- /**
235
- * GitHub secret which contains the NPM token to use when publishing packages.
236
- *
237
- * @default "NPM_TOKEN"
238
- */
239
- readonly npmTokenSecret?: string;
240
- /**
241
- * Options for npm packages using AWS CodeArtifact.
242
- * This is required if publishing packages to, or installing scoped packages from AWS CodeArtifact
243
- *
244
- * @default - undefined
245
- */
246
- readonly codeArtifactOptions?: CodeArtifactOptions;
247
- /**
248
- * Options for privately hosted scoped packages
249
- *
250
- * @default - fetch all scoped packages from the public npm registry
251
- */
252
- readonly scopedPackagesOptions?: ScopedPackagesOptions[];
253
- }
254
- /**
255
- * Options for authorizing requests to a AWS CodeArtifact npm repository.
256
- */
257
- export declare enum CodeArtifactAuthProvider {
258
- /**
259
- * Fixed credentials provided via Github secrets.
260
- */
261
- ACCESS_AND_SECRET_KEY_PAIR = "ACCESS_AND_SECRET_KEY_PAIR",
262
- /**
263
- * Ephemeral credentials provided via Github's OIDC integration with an IAM role.
264
- * See:
265
- * https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc.html
266
- * https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services
267
- */
268
- GITHUB_OIDC = "GITHUB_OIDC"
269
- }
270
- /**
271
- * Options for publishing npm packages to AWS CodeArtifact.
272
- */
273
- export interface CodeArtifactOptions {
274
- /**
275
- * Provider to use for authorizing requests to AWS CodeArtifact.
276
- *
277
- * @default CodeArtifactAuthProvider.ACCESS_AND_SECRET_KEY_PAIR
278
- */
279
- readonly authProvider?: CodeArtifactAuthProvider;
280
- /**
281
- * GitHub secret which contains the AWS access key ID to use when publishing packages to AWS CodeArtifact.
282
- * This property must be specified only when publishing to AWS CodeArtifact (`npmRegistryUrl` contains AWS CodeArtifact URL).
283
- *
284
- * @default - When the `authProvider` value is set to
285
- * `CodeArtifactAuthProvider.ACCESS_AND_SECRET_KEY_PAIR`, the default is
286
- * "AWS_ACCESS_KEY_ID". For `CodeArtifactAuthProvider.GITHUB_OIDC`, this
287
- * value must be left undefined.
288
- */
289
- readonly accessKeyIdSecret?: string;
290
- /**
291
- * GitHub secret which contains the AWS secret access key to use when publishing packages to AWS CodeArtifact.
292
- * This property must be specified only when publishing to AWS CodeArtifact (`npmRegistryUrl` contains AWS CodeArtifact URL).
293
- *
294
- * @default - When the `authProvider` value is set to
295
- * `CodeArtifactAuthProvider.ACCESS_AND_SECRET_KEY_PAIR`, the default is
296
- * "AWS_SECRET_ACCESS_KEY". For `CodeArtifactAuthProvider.GITHUB_OIDC`, this
297
- * value must be left undefined.
298
- */
299
- readonly secretAccessKeySecret?: string;
300
- /**
301
- * ARN of AWS role to be assumed prior to get authorization token from AWS CodeArtifact
302
- * This property must be specified only when publishing to AWS CodeArtifact (`registry` contains AWS CodeArtifact URL).
303
- * When using the `CodeArtifactAuthProvider.GITHUB_OIDC` auth provider, this value must be defined.
304
- *
305
- * @default undefined
306
- */
307
- readonly roleToAssume?: string;
308
- }
309
- /**
310
- * Options for scoped packages
311
- */
312
- export interface ScopedPackagesOptions {
313
- /**
314
- * Scope of the packages
315
- *
316
- * @example "@angular"
317
- */
318
- readonly scope: string;
319
- /**
320
- * URL of the registry for scoped packages
321
- */
322
- readonly registryUrl: string;
323
- }
324
- /**
325
- * Represents the npm `package.json` file.
326
- */
327
- export declare class NodePackage extends Component {
328
- /**
329
- * The name of the npm package.
330
- */
331
- readonly packageName: string;
332
- /**
333
- * The module's entrypoint (e.g. `lib/index.js`).
334
- */
335
- readonly entrypoint: string;
336
- /**
337
- * Allow project to take library dependencies.
338
- */
339
- readonly allowLibraryDependencies: boolean;
340
- /**
341
- * The package manager to use.
342
- */
343
- readonly packageManager: NodePackageManager;
344
- /**
345
- * @deprecated use `addField(x, y)`
346
- */
347
- readonly manifest: any;
348
- /**
349
- * Minimum node.js version required by this package.
350
- * @default - no minimum
351
- */
352
- readonly minNodeVersion?: string;
353
- /**
354
- * Maximum node version required by this package.
355
- * @default - no maximum.
356
- */
357
- readonly maxNodeVersion?: string;
358
- /**
359
- * The version of PNPM to use if using PNPM as a package manager.
360
- *
361
- * @default "7"
362
- */
363
- readonly pnpmVersion?: string;
364
- /**
365
- * The SPDX license of this module. `undefined` if this package is not licensed.
366
- */
367
- readonly license?: string;
368
- /**
369
- * npm registry (e.g. `https://registry.npmjs.org`). Use `npmRegistryHost` to get just the host name.
370
- */
371
- readonly npmRegistryUrl: string;
372
- /**
373
- * The npm registry host (e.g. `registry.npmjs.org`).
374
- */
375
- readonly npmRegistry: string;
376
- /**
377
- * GitHub secret which contains the NPM token to use when publishing packages.
378
- */
379
- readonly npmTokenSecret?: string;
380
- /**
381
- * Options for npm packages using AWS CodeArtifact.
382
- * This is required if publishing packages to, or installing scoped packages from AWS CodeArtifact
383
- *
384
- * @default - undefined
385
- */
386
- readonly codeArtifactOptions?: CodeArtifactOptions;
387
- /**
388
- * Options for privately hosted scoped packages
389
- *
390
- * @default undefined
391
- */
392
- readonly scopedPackagesOptions?: ScopedPackagesOptions[];
393
- /**
394
- * npm package access level.
395
- */
396
- readonly npmAccess: NpmAccess;
397
- /**
398
- * The name of the lock file.
399
- */
400
- readonly lockFile: string;
401
- /**
402
- * The task for installing project dependencies (non-frozen)
403
- */
404
- readonly installTask: Task;
405
- /**
406
- * The task for installing project dependencies (frozen)
407
- */
408
- readonly installCiTask: Task;
409
- /**
410
- * The package.json file.
411
- */
412
- readonly file: JsonFile;
413
- private readonly scripts;
414
- private readonly scriptsToBeRemoved;
415
- private readonly keywords;
416
- private readonly bin;
417
- private readonly engines;
418
- private readonly peerDependencyOptions;
419
- private readonly packageResolutions;
420
- private _renderedDeps?;
421
- constructor(project: Project, options?: NodePackageOptions);
422
- /**
423
- * Defines normal dependencies.
424
- *
425
- * @param deps Names modules to install. By default, the the dependency will
426
- * be installed in the next `npx projen` run and the version will be recorded
427
- * in your `package.json` file. You can upgrade manually or using `yarn
428
- * add/upgrade`. If you wish to specify a version range use this syntax:
429
- * `module@^7`.
430
- */
431
- addDeps(...deps: string[]): void;
432
- /**
433
- * Defines development/test dependencies.
434
- *
435
- * @param deps Names modules to install. By default, the the dependency will
436
- * be installed in the next `npx projen` run and the version will be recorded
437
- * in your `package.json` file. You can upgrade manually or using `yarn
438
- * add/upgrade`. If you wish to specify a version range use this syntax:
439
- * `module@^7`.
440
- */
441
- addDevDeps(...deps: string[]): void;
442
- /**
443
- * Defines peer dependencies.
444
- *
445
- * When adding peer dependencies, a devDependency will also be added on the
446
- * pinned version of the declared peer. This will ensure that you are testing
447
- * your code against the minimum version required from your consumers.
448
- *
449
- * @param deps Names modules to install. By default, the the dependency will
450
- * be installed in the next `npx projen` run and the version will be recorded
451
- * in your `package.json` file. You can upgrade manually or using `yarn
452
- * add/upgrade`. If you wish to specify a version range use this syntax:
453
- * `module@^7`.
454
- */
455
- addPeerDeps(...deps: string[]): void;
456
- /**
457
- * Defines bundled dependencies.
458
- *
459
- * Bundled dependencies will be added as normal dependencies as well as to the
460
- * `bundledDependencies` section of your `package.json`.
461
- *
462
- * @param deps Names modules to install. By default, the the dependency will
463
- * be installed in the next `npx projen` run and the version will be recorded
464
- * in your `package.json` file. You can upgrade manually or using `yarn
465
- * add/upgrade`. If you wish to specify a version range use this syntax:
466
- * `module@^7`.
467
- */
468
- addBundledDeps(...deps: string[]): void;
469
- /**
470
- * Adds an `engines` requirement to your package.
471
- * @param engine The engine (e.g. `node`)
472
- * @param version The semantic version requirement (e.g. `^10`)
473
- */
474
- addEngine(engine: string, version: string): void;
475
- /**
476
- * Adds keywords to package.json (deduplicated)
477
- * @param keywords The keywords to add
478
- */
479
- addKeywords(...keywords: string[]): void;
480
- addBin(bins: Record<string, string>): void;
481
- /**
482
- * Add a npm package.json script.
483
- *
484
- * @param name The script name
485
- * @param command The command to execute
486
- */
487
- setScript(name: string, command: string): void;
488
- /**
489
- * Removes an npm script (always successful).
490
- *
491
- * @param name The name of the script.
492
- */
493
- removeScript(name: string): void;
494
- /**
495
- * Indicates if a script by the given name is defined.
496
- * @param name The name of the script
497
- * @deprecated Use `project.tasks.tryFind(name)`
498
- */
499
- hasScript(name: string): boolean;
500
- /**
501
- * Directly set fields in `package.json`.
502
- * @escape
503
- * @param name field name
504
- * @param value field value
505
- */
506
- addField(name: string, value: any): void;
507
- /**
508
- * Sets the package version.
509
- * @param version Package version.
510
- */
511
- addVersion(version: string): void;
512
- /**
513
- * Defines resolutions for dependencies to change the normally resolved
514
- * version of a dependency to something else.
515
- *
516
- * @param resolutions Names resolutions to be added. Specify a version or
517
- * range with this syntax:
518
- * `module@^7`.
519
- */
520
- addPackageResolutions(...resolutions: string[]): void;
521
- /**
522
- * Returns the command to execute in order to install all dependencies (always frozen).
523
- */
524
- get installCommand(): string;
525
- /**
526
- * Renders `yarn install` or `npm install` with lockfile update (not frozen)
527
- */
528
- get installAndUpdateLockfileCommand(): string;
529
- /**
530
- * Render a package manager specific command to upgrade all requested dependencies.
531
- */
532
- renderUpgradePackagesCommand(exclude: string[], include?: string[]): string;
533
- preSynthesize(): void;
534
- postSynthesize(): void;
535
- /**
536
- * The command which executes "projen".
537
- */
538
- get projenCommand(): string;
539
- /**
540
- * Returns `true` if we are running within a CI build.
541
- */
542
- private get isAutomatedBuild();
543
- private determineVersion;
544
- /**
545
- * Returns `true` if this is a CI release build.
546
- */
547
- private get isReleaseBuild();
548
- private parseNpmOptions;
549
- private parseScopedPackagesOptions;
550
- private addCodeArtifactLoginScript;
551
- private addNodeEngine;
552
- private renderNpmRegistryPath;
553
- private renderInstallCommand;
554
- private processDeps;
555
- private renderDependencies;
556
- /**
557
- * Resolves any deps that do not have a specified version (e.g. `*`) and
558
- * update `package.json` if needed.
559
- *
560
- * @returns `true` if package.json was updated or `false` if not.
561
- */
562
- private resolveDepsAndWritePackageJson;
563
- private renderPackageResolutions;
564
- private renderPublishConfig;
565
- private renderKeywords;
566
- private renderEngines;
567
- private autoDiscoverBinaries;
568
- private renderAuthor;
569
- private renderBin;
570
- private renderScripts;
571
- private npmScriptForTask;
572
- private readPackageJson;
573
- private installDependencies;
574
- }
575
- export interface PeerDependencyOptions {
576
- /**
577
- * Automatically add a pinned dev dependency.
578
- * @default true
579
- */
580
- readonly pinnedDevDependency?: boolean;
581
- }
582
- /**
583
- * The node package manager to use.
584
- */
585
- export declare enum NodePackageManager {
586
- /**
587
- * Use `yarn` as the package manager.
588
- */
589
- YARN = "yarn",
590
- /**
591
- * Use `yarn` versions >= 2 as the package manager.
592
- */
593
- YARN2 = "yarn2",
594
- /**
595
- * Use `npm` as the package manager.
596
- */
597
- NPM = "npm",
598
- /**
599
- * Use `pnpm` as the package manager.
600
- */
601
- PNPM = "pnpm"
602
- }
603
- /**
604
- * Npm package access level
605
- */
606
- export declare enum NpmAccess {
607
- /**
608
- * Package is public.
609
- */
610
- PUBLIC = "public",
611
- /**
612
- * Package can only be accessed with credentials.
613
- */
614
- RESTRICTED = "restricted"
615
- }
616
- export declare function defaultNpmToken(npmToken: string | undefined, registry: string | undefined): string | undefined;