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,174 +0,0 @@
1
- import { Component } from "../component";
2
- import { Project } from "../project";
3
- import { Task } from "../task";
4
- /**
5
- * Options for `Bundler`.
6
- */
7
- export interface BundlerOptions {
8
- /**
9
- * The semantic version requirement for `esbuild`.
10
- *
11
- * @default - no specific version (implies latest)
12
- */
13
- readonly esbuildVersion?: string;
14
- /**
15
- * Output directory for all bundles.
16
- * @default "assets"
17
- */
18
- readonly assetsDir?: string;
19
- /**
20
- * Install the `bundle` command as a pre-compile phase.
21
- *
22
- * @default true
23
- */
24
- readonly addToPreCompile?: boolean;
25
- /**
26
- * Map of file extensions (without dot) and loaders to use for this file type.
27
- * Loaders are appended to the esbuild command by `--loader:.extension=loader`
28
- */
29
- readonly loaders?: {
30
- [key: string]: string;
31
- };
32
- }
33
- /**
34
- * Adds support for bundling JavaScript applications and dependencies into a
35
- * single file. In the future, this will also supports bundling websites.
36
- */
37
- export declare class Bundler extends Component {
38
- /**
39
- * Returns the `Bundler` instance associated with a project or `undefined` if
40
- * there is no Bundler.
41
- * @param project The project
42
- * @returns A bundler
43
- */
44
- static of(project: Project): Bundler | undefined;
45
- /**
46
- * The semantic version requirement for `esbuild` (if defined).
47
- */
48
- readonly esbuildVersion: string | undefined;
49
- /**
50
- * Root bundle directory.
51
- */
52
- readonly bundledir: string;
53
- private _task;
54
- private readonly addToPreCompile;
55
- private readonly loaders?;
56
- /**
57
- * Creates a `Bundler`.
58
- */
59
- constructor(project: Project, options?: BundlerOptions);
60
- /**
61
- * Gets or creates the singleton "bundle" task of the project.
62
- *
63
- * If the project doesn't have a "bundle" task, it will be created and spawned
64
- * during the pre-compile phase.
65
- */
66
- get bundleTask(): Task;
67
- /**
68
- * Adds a task to the project which bundles a specific entrypoint and all of
69
- * its dependencies into a single javascript output file.
70
- *
71
- * @param entrypoint The relative path of the artifact within the project
72
- * @param options Bundling options
73
- */
74
- addBundle(entrypoint: string, options: AddBundleOptions): Bundle;
75
- /**
76
- * Add bundling support to a project. This is called implicitly when
77
- * `bundleTask` is referenced first. It adds the dependency on `esbuild`,
78
- * gitignore/npmignore, etc.
79
- */
80
- private addBundlingSupport;
81
- }
82
- export interface Bundle {
83
- /**
84
- * The task that produces this bundle.
85
- */
86
- readonly bundleTask: Task;
87
- /**
88
- * The "watch" task for this bundle.
89
- */
90
- readonly watchTask?: Task;
91
- /**
92
- * Location of the output file (relative to project root).
93
- */
94
- readonly outfile: string;
95
- /**
96
- * Base directory containing the output file (relative to project root).
97
- */
98
- readonly outdir: string;
99
- }
100
- /**
101
- * Options for bundling.
102
- */
103
- export interface BundlingOptions {
104
- /**
105
- * You can mark a file or a package as external to exclude it from your build.
106
- * Instead of being bundled, the import will be preserved (using require for
107
- * the iife and cjs formats and using import for the esm format) and will be
108
- * evaluated at run time instead.
109
- *
110
- * This has several uses. First of all, it can be used to trim unnecessary
111
- * code from your bundle for a code path that you know will never be executed.
112
- * For example, a package may contain code that only runs in node but you will
113
- * only be using that package in the browser. It can also be used to import
114
- * code in node at run time from a package that cannot be bundled. For
115
- * example, the fsevents package contains a native extension, which esbuild
116
- * doesn't support.
117
- *
118
- * @default []
119
- */
120
- readonly externals?: string[];
121
- /**
122
- * Include a source map in the bundle.
123
- *
124
- * @default false
125
- */
126
- readonly sourcemap?: boolean;
127
- /**
128
- * In addition to the `bundle:xyz` task, creates `bundle:xyz:watch` task which will
129
- * invoke the same esbuild command with the `--watch` flag. This can be used
130
- * to continusouly watch for changes.
131
- *
132
- * @default true
133
- */
134
- readonly watchTask?: boolean;
135
- }
136
- /**
137
- * Options for `addBundle()`.
138
- */
139
- export interface AddBundleOptions extends BundlingOptions {
140
- /**
141
- * esbuild target.
142
- *
143
- * @example "node12"
144
- */
145
- readonly target: string;
146
- /**
147
- * esbuild platform.
148
- *
149
- * @example "node"
150
- */
151
- readonly platform: string;
152
- /**
153
- * Bundler output path relative to the asset's output directory.
154
- * @default "index.js"
155
- */
156
- readonly outfile?: string;
157
- /**
158
- * Mark the output file as executable.
159
- * @default false
160
- */
161
- readonly executable?: boolean;
162
- /**
163
- * The path of the tsconfig.json file to use for bundling
164
- * @default "tsconfig.json"
165
- */
166
- readonly tsconfigPath?: string;
167
- /**
168
- * Map of file extensions (without dot) and loaders to use for this file type.
169
- * Loaders are appended to the esbuild command by `--loader:.extension=loader`
170
- */
171
- readonly loaders?: {
172
- [key: string]: string;
173
- };
174
- }
@@ -1,175 +0,0 @@
1
- import { Project } from "..";
2
- import { Component } from "../component";
3
- import { NodeProject } from "../javascript";
4
- import { Task } from "../task";
5
- export interface EslintOptions {
6
- /**
7
- * Path to `tsconfig.json` which should be used by eslint.
8
- * @default "./tsconfig.json"
9
- */
10
- readonly tsconfigPath?: string;
11
- /**
12
- * Files or glob patterns or directories with source files to lint (e.g. [ "src" ])
13
- */
14
- readonly dirs: string[];
15
- /**
16
- * Files or glob patterns or directories with source files that include tests and build tools
17
- *
18
- * These sources are linted but may also import packages from `devDependencies`.
19
- * @default []
20
- */
21
- readonly devdirs?: string[];
22
- /**
23
- * File types that should be linted (e.g. [ ".js", ".ts" ])
24
- * @default [".ts"]
25
- */
26
- readonly fileExtensions?: string[];
27
- /**
28
- * List of file patterns that should not be linted, using the same syntax
29
- * as .gitignore patterns.
30
- *
31
- * @default [ '*.js', '*.d.ts', 'node_modules/', '*.generated.ts', 'coverage' ]
32
- */
33
- readonly ignorePatterns?: string[];
34
- /**
35
- * Projenrc file to lint. Use empty string to disable.
36
- * @default PROJEN_RC
37
- * @deprecated provide as `devdirs`
38
- */
39
- readonly lintProjenRcFile?: string;
40
- /**
41
- * Should we lint .projenrc.js
42
- *
43
- * @default true
44
- * @deprecated set to `false` to remove any automatic rules and add manually
45
- */
46
- readonly lintProjenRc?: boolean;
47
- /**
48
- * Enable prettier for code formatting
49
- * @default false
50
- */
51
- readonly prettier?: boolean;
52
- /**
53
- * Enable import alias for module paths
54
- * @default undefined
55
- */
56
- readonly aliasMap?: {
57
- [key: string]: string;
58
- };
59
- /**
60
- * Enable import alias for module paths
61
- * @default undefined
62
- */
63
- readonly aliasExtensions?: string[];
64
- /**
65
- * Always try to resolve types under `<root>@types` directory even it doesn't contain any source code.
66
- * This prevents `import/no-unresolved` eslint errors when importing a `@types/*` module that would otherwise remain unresolved.
67
- * @default true
68
- */
69
- readonly tsAlwaysTryTypes?: boolean;
70
- /**
71
- * Write eslint configuration as YAML instead of JSON
72
- * @default false
73
- */
74
- readonly yaml?: boolean;
75
- }
76
- /**
77
- * eslint rules override
78
- */
79
- export interface EslintOverride {
80
- /**
81
- * Files or file patterns on which to apply the override
82
- */
83
- readonly files: string[];
84
- /**
85
- * The overriden rules
86
- */
87
- readonly rules?: {
88
- [rule: string]: any;
89
- };
90
- /**
91
- * The overridden parser
92
- */
93
- readonly parser?: string;
94
- }
95
- /**
96
- * Represents eslint configuration.
97
- */
98
- export declare class Eslint extends Component {
99
- /**
100
- * Returns the singletone Eslint component of a project or undefined if there is none.
101
- */
102
- static of(project: Project): Eslint | undefined;
103
- /**
104
- * eslint rules.
105
- */
106
- readonly rules: {
107
- [rule: string]: any[];
108
- };
109
- /**
110
- * eslint overrides.
111
- */
112
- readonly overrides: EslintOverride[];
113
- /**
114
- * eslint task.
115
- */
116
- readonly eslintTask: Task;
117
- /**
118
- * Direct access to the eslint configuration (escape hatch)
119
- */
120
- readonly config: any;
121
- /**
122
- * File patterns that should not be linted
123
- */
124
- readonly ignorePatterns: string[];
125
- private _formattingRules;
126
- private readonly _allowDevDeps;
127
- private readonly _plugins;
128
- private readonly _extends;
129
- private readonly _fileExtensions;
130
- private readonly _lintPatterns;
131
- private readonly nodeProject;
132
- constructor(project: NodeProject, options: EslintOptions);
133
- /**
134
- * Add a file, glob pattern or directory with source files to lint (e.g. [ "src" ])
135
- */
136
- addLintPattern(pattern: string): void;
137
- /**
138
- * Add an eslint rule.
139
- */
140
- addRules(rules: {
141
- [rule: string]: any;
142
- }): void;
143
- /**
144
- * Adds an eslint plugin
145
- * @param plugins The names of plugins to add
146
- */
147
- addPlugins(...plugins: string[]): void;
148
- /**
149
- * Add an eslint override.
150
- */
151
- addOverride(override: EslintOverride): void;
152
- /**
153
- * Do not lint these files.
154
- */
155
- addIgnorePattern(pattern: string): void;
156
- /**
157
- * Adds an `extends` item to the eslint configuration.
158
- * @param extendList The list of "extends" to add.
159
- */
160
- addExtends(...extendList: string[]): void;
161
- /**
162
- * Add a glob file pattern which allows importing dev dependencies.
163
- * @param pattern glob pattern.
164
- */
165
- allowDevDeps(pattern: string): void;
166
- /**
167
- * Enables prettier for code formatting.
168
- */
169
- private enablePrettier;
170
- private renderDevDepsAllowList;
171
- /**
172
- * Update the task with the current list of lint patterns and file extensions
173
- */
174
- private updateTask;
175
- }
@@ -1,10 +0,0 @@
1
- export * from "./bundler";
2
- export * from "./eslint";
3
- export * from "./jest";
4
- export * from "./node-package";
5
- export * from "./node-project";
6
- export * from "./npm-config";
7
- export * from "./prettier";
8
- export * from "./projenrc";
9
- export * from "./typescript-config";
10
- export * from "./upgrade-dependencies";