projen 0.103.25 → 0.103.27
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.
- package/.jsii +714 -10
- package/lib/ai-instructions.js +2 -2
- package/lib/awscdk/auto-discover.js +6 -6
- package/lib/awscdk/awscdk-app-java.js +1 -1
- package/lib/awscdk/awscdk-app-py.js +1 -1
- package/lib/awscdk/awscdk-app-ts.js +1 -1
- package/lib/awscdk/awscdk-construct.js +1 -1
- package/lib/awscdk/awscdk-deps-java.js +1 -1
- package/lib/awscdk/awscdk-deps-js.js +1 -1
- package/lib/awscdk/awscdk-deps-py.js +1 -1
- package/lib/awscdk/awscdk-deps.js +1 -1
- package/lib/awscdk/cdk-config.js +3 -3
- package/lib/awscdk/cdk-tasks.js +1 -1
- package/lib/awscdk/integration-test.js +1 -1
- package/lib/awscdk/lambda-extension.js +1 -1
- package/lib/awscdk/lambda-function.js +2 -2
- package/lib/awscdk/private/feature-flags-v2.const.d.ts +1 -1
- package/lib/awscdk/private/feature-flags-v2.const.js +2 -2
- package/lib/build/build-workflow.js +1 -1
- package/lib/cdk/auto-discover-base.js +2 -2
- package/lib/cdk/construct-lib.js +1 -1
- package/lib/cdk/integration-test-base.js +1 -1
- package/lib/cdk/jsii-build.js +1 -1
- package/lib/cdk/jsii-docgen.js +1 -1
- package/lib/cdk/jsii-project.js +1 -1
- package/lib/cdk8s/auto-discover.js +2 -2
- package/lib/cdk8s/cdk8s-app-py.js +1 -1
- package/lib/cdk8s/cdk8s-app-ts.js +1 -1
- package/lib/cdk8s/cdk8s-construct.js +1 -1
- package/lib/cdk8s/cdk8s-deps-py.js +1 -1
- package/lib/cdk8s/cdk8s-deps.js +1 -1
- package/lib/cdk8s/integration-test.js +1 -1
- package/lib/cdktf/cdktf-construct.js +1 -1
- package/lib/cdktn/cdktn-app-ts.js +1 -1
- package/lib/cdktn/cdktn-config.js +1 -1
- package/lib/cdktn/cdktn-construct.js +1 -1
- package/lib/cdktn/cdktn-deps.js +1 -1
- package/lib/cdktn/cdktn-tasks.js +1 -1
- package/lib/circleci/circleci.js +1 -1
- package/lib/component.js +2 -2
- package/lib/dependencies.js +1 -1
- package/lib/dev-env.js +1 -1
- package/lib/docker-compose/docker-compose-service.js +1 -1
- package/lib/docker-compose/docker-compose.js +1 -1
- package/lib/file.js +1 -1
- package/lib/gitattributes.js +1 -1
- package/lib/github/actions-provider.js +1 -1
- package/lib/github/actions.const.js +1 -1
- package/lib/github/auto-approve.js +1 -1
- package/lib/github/auto-merge.js +1 -1
- package/lib/github/auto-queue.js +1 -1
- package/lib/github/dependabot.js +1 -1
- package/lib/github/dependency-review.js +1 -1
- package/lib/github/github-credentials.js +1 -1
- package/lib/github/github-project.js +1 -1
- package/lib/github/github.js +1 -1
- package/lib/github/merge-queue.js +1 -1
- package/lib/github/mergify.js +1 -1
- package/lib/github/pr-template.js +1 -1
- package/lib/github/pull-request-backport.js +1 -1
- package/lib/github/pull-request-lint.js +1 -1
- package/lib/github/stale.js +1 -1
- package/lib/github/task-workflow-job.js +1 -1
- package/lib/github/task-workflow.js +1 -1
- package/lib/github/workflow-actions.js +1 -1
- package/lib/github/workflow-jobs.js +1 -1
- package/lib/github/workflow-steps.js +1 -1
- package/lib/github/workflows.js +1 -1
- package/lib/gitlab/configuration.js +1 -1
- package/lib/gitlab/gitlab-configuration.js +1 -1
- package/lib/gitlab/nested-configuration.js +1 -1
- package/lib/gitpod.js +1 -1
- package/lib/ignore-file.js +1 -1
- package/lib/ini.js +1 -1
- package/lib/java/java-project.js +1 -1
- package/lib/java/junit.js +1 -1
- package/lib/java/maven-compile.js +1 -1
- package/lib/java/maven-packaging.js +1 -1
- package/lib/java/maven-sample.js +1 -1
- package/lib/java/pom.js +2 -2
- package/lib/java/projenrc.js +1 -1
- package/lib/javascript/biome/biome.js +1 -1
- package/lib/javascript/bundler.js +1 -1
- package/lib/javascript/eslint.js +1 -1
- package/lib/javascript/index.d.ts +1 -0
- package/lib/javascript/index.js +2 -1
- package/lib/javascript/jest.js +4 -4
- package/lib/javascript/license-checker.js +1 -1
- package/lib/javascript/node-config-file.js +18 -4
- package/lib/javascript/node-native-test-runner.d.ts +234 -0
- package/lib/javascript/node-native-test-runner.js +368 -0
- package/lib/javascript/node-package.js +1 -1
- package/lib/javascript/node-project.js +1 -1
- package/lib/javascript/npm-config.js +1 -1
- package/lib/javascript/pnpm-workspace-config.js +2 -2
- package/lib/javascript/pnpm-workspace.js +1 -1
- package/lib/javascript/prettier.js +1 -1
- package/lib/javascript/projenrc.js +1 -1
- package/lib/javascript/typescript-config.js +2 -2
- package/lib/javascript/upgrade-dependencies.js +2 -2
- package/lib/javascript/yarnrc.js +1 -1
- package/lib/json-patch.js +1 -1
- package/lib/json.js +1 -1
- package/lib/license.js +1 -1
- package/lib/logger.js +1 -1
- package/lib/makefile.js +1 -1
- package/lib/object-file.js +1 -1
- package/lib/polaris/coverity-go.js +1 -1
- package/lib/polaris/coverity-java.js +1 -1
- package/lib/polaris/coverity-javascript.js +1 -1
- package/lib/polaris/coverity.js +1 -1
- package/lib/project-build.js +1 -1
- package/lib/project-tree.js +1 -1
- package/lib/project.js +1 -1
- package/lib/projects.js +1 -1
- package/lib/projenrc-json.js +1 -1
- package/lib/projenrc.js +1 -1
- package/lib/properties-file.js +1 -1
- package/lib/python/pip.js +1 -1
- package/lib/python/poetry.js +2 -2
- package/lib/python/projenrc.js +1 -1
- package/lib/python/pyproject-toml-file.js +1 -1
- package/lib/python/pytest-sample.js +1 -1
- package/lib/python/pytest.js +1 -1
- package/lib/python/python-project.js +1 -1
- package/lib/python/python-sample.js +1 -1
- package/lib/python/requirements-file.js +1 -1
- package/lib/python/setuppy.js +1 -1
- package/lib/python/setuptools.js +1 -1
- package/lib/python/uv-config.js +1 -1
- package/lib/python/uv.js +1 -1
- package/lib/python/venv.js +1 -1
- package/lib/readme.js +1 -1
- package/lib/release/commit-tag-version.d.ts +4 -0
- package/lib/release/commit-tag-version.js +21 -14
- package/lib/release/publisher.js +1 -1
- package/lib/release/release-trigger.js +1 -1
- package/lib/release/release.js +1 -1
- package/lib/renovatebot.js +1 -1
- package/lib/run-task.cjs +2 -2
- package/lib/sample-file.js +2 -2
- package/lib/script-runner.js +1 -1
- package/lib/sonarqube/javascript.js +1 -1
- package/lib/sonarqube/rust.js +1 -1
- package/lib/sonarqube/sonarqube.js +1 -1
- package/lib/sonarqube/typescript.js +1 -1
- package/lib/source-code.js +1 -1
- package/lib/task-shell.js +1 -1
- package/lib/task.js +1 -1
- package/lib/tasks.js +1 -1
- package/lib/testing.js +1 -1
- package/lib/textfile.js +1 -1
- package/lib/toml.js +1 -1
- package/lib/typescript/projenrc-ts.js +1 -1
- package/lib/typescript/projenrc.js +1 -1
- package/lib/typescript/typescript-runner.js +1 -1
- package/lib/typescript/typescript-typedoc.js +1 -1
- package/lib/typescript/typescript.js +5 -5
- package/lib/version.js +2 -2
- package/lib/vscode/devcontainer.js +1 -1
- package/lib/vscode/extensions.js +1 -1
- package/lib/vscode/launch-config.js +1 -1
- package/lib/vscode/settings.js +1 -1
- package/lib/vscode/vscode.js +1 -1
- package/lib/web/next.js +3 -3
- package/lib/web/postcss.js +1 -1
- package/lib/web/react.js +3 -3
- package/lib/web/tailwind.js +1 -1
- package/lib/xmlfile.js +1 -1
- package/lib/yaml.js +1 -1
- package/package.json +2 -2
package/.jsii
CHANGED
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"projen.javascript.biome_config": {
|
|
179
179
|
"locationInModule": {
|
|
180
180
|
"filename": "src/javascript/index.ts",
|
|
181
|
-
"line":
|
|
181
|
+
"line": 19
|
|
182
182
|
},
|
|
183
183
|
"symbolId": "src/javascript/biome/biome-config:"
|
|
184
184
|
},
|
|
@@ -47948,6 +47948,104 @@
|
|
|
47948
47948
|
],
|
|
47949
47949
|
"symbolId": "src/javascript/jest:CoverageThreshold"
|
|
47950
47950
|
},
|
|
47951
|
+
"projen.javascript.Destination": {
|
|
47952
|
+
"assembly": "projen",
|
|
47953
|
+
"docs": {
|
|
47954
|
+
"see": "https://nodejs.org/api/test.html#test-reporters",
|
|
47955
|
+
"stability": "experimental",
|
|
47956
|
+
"summary": "Where a reporter's output is written."
|
|
47957
|
+
},
|
|
47958
|
+
"fqn": "projen.javascript.Destination",
|
|
47959
|
+
"kind": "class",
|
|
47960
|
+
"locationInModule": {
|
|
47961
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
47962
|
+
"line": 101
|
|
47963
|
+
},
|
|
47964
|
+
"methods": [
|
|
47965
|
+
{
|
|
47966
|
+
"docs": {
|
|
47967
|
+
"stability": "experimental",
|
|
47968
|
+
"summary": "Write to a file at the given path."
|
|
47969
|
+
},
|
|
47970
|
+
"locationInModule": {
|
|
47971
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
47972
|
+
"line": 116
|
|
47973
|
+
},
|
|
47974
|
+
"name": "file",
|
|
47975
|
+
"parameters": [
|
|
47976
|
+
{
|
|
47977
|
+
"docs": {
|
|
47978
|
+
"summary": "path of the file to write to."
|
|
47979
|
+
},
|
|
47980
|
+
"name": "path",
|
|
47981
|
+
"type": {
|
|
47982
|
+
"primitive": "string"
|
|
47983
|
+
}
|
|
47984
|
+
}
|
|
47985
|
+
],
|
|
47986
|
+
"returns": {
|
|
47987
|
+
"type": {
|
|
47988
|
+
"fqn": "projen.javascript.Destination"
|
|
47989
|
+
}
|
|
47990
|
+
},
|
|
47991
|
+
"static": true
|
|
47992
|
+
}
|
|
47993
|
+
],
|
|
47994
|
+
"name": "Destination",
|
|
47995
|
+
"namespace": "javascript",
|
|
47996
|
+
"properties": [
|
|
47997
|
+
{
|
|
47998
|
+
"const": true,
|
|
47999
|
+
"docs": {
|
|
48000
|
+
"stability": "experimental",
|
|
48001
|
+
"summary": "Write to standard error."
|
|
48002
|
+
},
|
|
48003
|
+
"immutable": true,
|
|
48004
|
+
"locationInModule": {
|
|
48005
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
48006
|
+
"line": 110
|
|
48007
|
+
},
|
|
48008
|
+
"name": "STDERR",
|
|
48009
|
+
"static": true,
|
|
48010
|
+
"type": {
|
|
48011
|
+
"fqn": "projen.javascript.Destination"
|
|
48012
|
+
}
|
|
48013
|
+
},
|
|
48014
|
+
{
|
|
48015
|
+
"const": true,
|
|
48016
|
+
"docs": {
|
|
48017
|
+
"stability": "experimental",
|
|
48018
|
+
"summary": "Write to standard output."
|
|
48019
|
+
},
|
|
48020
|
+
"immutable": true,
|
|
48021
|
+
"locationInModule": {
|
|
48022
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
48023
|
+
"line": 105
|
|
48024
|
+
},
|
|
48025
|
+
"name": "STDOUT",
|
|
48026
|
+
"static": true,
|
|
48027
|
+
"type": {
|
|
48028
|
+
"fqn": "projen.javascript.Destination"
|
|
48029
|
+
}
|
|
48030
|
+
},
|
|
48031
|
+
{
|
|
48032
|
+
"docs": {
|
|
48033
|
+
"stability": "experimental",
|
|
48034
|
+
"summary": "The underlying value: `\"stdout\"`, `\"stderr\"`, or a file path."
|
|
48035
|
+
},
|
|
48036
|
+
"immutable": true,
|
|
48037
|
+
"locationInModule": {
|
|
48038
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
48039
|
+
"line": 124
|
|
48040
|
+
},
|
|
48041
|
+
"name": "value",
|
|
48042
|
+
"type": {
|
|
48043
|
+
"primitive": "string"
|
|
48044
|
+
}
|
|
48045
|
+
}
|
|
48046
|
+
],
|
|
48047
|
+
"symbolId": "src/javascript/node-native-test-runner:Destination"
|
|
48048
|
+
},
|
|
47951
48049
|
"projen.javascript.DevEngineDependency": {
|
|
47952
48050
|
"assembly": "projen",
|
|
47953
48051
|
"datatype": true,
|
|
@@ -52116,7 +52214,7 @@
|
|
|
52116
52214
|
},
|
|
52117
52215
|
"locationInModule": {
|
|
52118
52216
|
"filename": "src/javascript/node-config-file.ts",
|
|
52119
|
-
"line":
|
|
52217
|
+
"line": 49
|
|
52120
52218
|
},
|
|
52121
52219
|
"parameters": [
|
|
52122
52220
|
{
|
|
@@ -52137,7 +52235,7 @@
|
|
|
52137
52235
|
"kind": "class",
|
|
52138
52236
|
"locationInModule": {
|
|
52139
52237
|
"filename": "src/javascript/node-config-file.ts",
|
|
52140
|
-
"line":
|
|
52238
|
+
"line": 28
|
|
52141
52239
|
},
|
|
52142
52240
|
"methods": [
|
|
52143
52241
|
{
|
|
@@ -52147,7 +52245,7 @@
|
|
|
52147
52245
|
},
|
|
52148
52246
|
"locationInModule": {
|
|
52149
52247
|
"filename": "src/javascript/node-config-file.ts",
|
|
52150
|
-
"line":
|
|
52248
|
+
"line": 33
|
|
52151
52249
|
},
|
|
52152
52250
|
"name": "of",
|
|
52153
52251
|
"parameters": [
|
|
@@ -52178,7 +52276,7 @@
|
|
|
52178
52276
|
"immutable": true,
|
|
52179
52277
|
"locationInModule": {
|
|
52180
52278
|
"filename": "src/javascript/node-config-file.ts",
|
|
52181
|
-
"line":
|
|
52279
|
+
"line": 42
|
|
52182
52280
|
},
|
|
52183
52281
|
"name": "config",
|
|
52184
52282
|
"type": {
|
|
@@ -52193,7 +52291,7 @@
|
|
|
52193
52291
|
"immutable": true,
|
|
52194
52292
|
"locationInModule": {
|
|
52195
52293
|
"filename": "src/javascript/node-config-file.ts",
|
|
52196
|
-
"line":
|
|
52294
|
+
"line": 47
|
|
52197
52295
|
},
|
|
52198
52296
|
"name": "file",
|
|
52199
52297
|
"type": {
|
|
@@ -52218,7 +52316,7 @@
|
|
|
52218
52316
|
"kind": "interface",
|
|
52219
52317
|
"locationInModule": {
|
|
52220
52318
|
"filename": "src/javascript/node-config-file.ts",
|
|
52221
|
-
"line":
|
|
52319
|
+
"line": 13
|
|
52222
52320
|
},
|
|
52223
52321
|
"name": "NodeConfigFileOptions",
|
|
52224
52322
|
"namespace": "javascript",
|
|
@@ -52233,7 +52331,7 @@
|
|
|
52233
52331
|
"immutable": true,
|
|
52234
52332
|
"locationInModule": {
|
|
52235
52333
|
"filename": "src/javascript/node-config-file.ts",
|
|
52236
|
-
"line":
|
|
52334
|
+
"line": 19
|
|
52237
52335
|
},
|
|
52238
52336
|
"name": "filePath",
|
|
52239
52337
|
"optional": true,
|
|
@@ -56387,6 +56485,526 @@
|
|
|
56387
56485
|
],
|
|
56388
56486
|
"symbolId": "src/javascript/node-config:NodeConfigSchemaWatch"
|
|
56389
56487
|
},
|
|
56488
|
+
"projen.javascript.NodeNativeTestRunner": {
|
|
56489
|
+
"assembly": "projen",
|
|
56490
|
+
"base": "projen.Component",
|
|
56491
|
+
"docs": {
|
|
56492
|
+
"remarks": "Owns the generated Node.js configuration file, the \"test\", \"test:update\"\nand \"test:watch\" tasks, and the reporters and test match patterns they use.",
|
|
56493
|
+
"stability": "experimental",
|
|
56494
|
+
"summary": "Configures Node's built-in test runner (`node --test`)."
|
|
56495
|
+
},
|
|
56496
|
+
"fqn": "projen.javascript.NodeNativeTestRunner",
|
|
56497
|
+
"initializer": {
|
|
56498
|
+
"docs": {
|
|
56499
|
+
"stability": "experimental"
|
|
56500
|
+
},
|
|
56501
|
+
"locationInModule": {
|
|
56502
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56503
|
+
"line": 383
|
|
56504
|
+
},
|
|
56505
|
+
"parameters": [
|
|
56506
|
+
{
|
|
56507
|
+
"name": "scope",
|
|
56508
|
+
"type": {
|
|
56509
|
+
"fqn": "constructs.IConstruct"
|
|
56510
|
+
}
|
|
56511
|
+
},
|
|
56512
|
+
{
|
|
56513
|
+
"name": "options",
|
|
56514
|
+
"optional": true,
|
|
56515
|
+
"type": {
|
|
56516
|
+
"fqn": "projen.javascript.NodeNativeTestRunnerOptions"
|
|
56517
|
+
}
|
|
56518
|
+
}
|
|
56519
|
+
]
|
|
56520
|
+
},
|
|
56521
|
+
"kind": "class",
|
|
56522
|
+
"locationInModule": {
|
|
56523
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56524
|
+
"line": 355
|
|
56525
|
+
},
|
|
56526
|
+
"methods": [
|
|
56527
|
+
{
|
|
56528
|
+
"docs": {
|
|
56529
|
+
"stability": "experimental",
|
|
56530
|
+
"summary": "Returns the singleton NodeNativeTestRunner component of a project or undefined if there is none."
|
|
56531
|
+
},
|
|
56532
|
+
"locationInModule": {
|
|
56533
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56534
|
+
"line": 360
|
|
56535
|
+
},
|
|
56536
|
+
"name": "of",
|
|
56537
|
+
"parameters": [
|
|
56538
|
+
{
|
|
56539
|
+
"name": "project",
|
|
56540
|
+
"type": {
|
|
56541
|
+
"fqn": "projen.Project"
|
|
56542
|
+
}
|
|
56543
|
+
}
|
|
56544
|
+
],
|
|
56545
|
+
"returns": {
|
|
56546
|
+
"optional": true,
|
|
56547
|
+
"type": {
|
|
56548
|
+
"fqn": "projen.javascript.NodeNativeTestRunner"
|
|
56549
|
+
}
|
|
56550
|
+
},
|
|
56551
|
+
"static": true
|
|
56552
|
+
},
|
|
56553
|
+
{
|
|
56554
|
+
"docs": {
|
|
56555
|
+
"default": "Destination.STDOUT",
|
|
56556
|
+
"stability": "experimental",
|
|
56557
|
+
"summary": "Adds a reporter, or updates its destination if one with the same name is already configured."
|
|
56558
|
+
},
|
|
56559
|
+
"locationInModule": {
|
|
56560
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56561
|
+
"line": 560
|
|
56562
|
+
},
|
|
56563
|
+
"name": "addReporter",
|
|
56564
|
+
"parameters": [
|
|
56565
|
+
{
|
|
56566
|
+
"docs": {
|
|
56567
|
+
"summary": "The name/kind of the reporter, e.g. `spec`, `junit`, `lcov`."
|
|
56568
|
+
},
|
|
56569
|
+
"name": "name",
|
|
56570
|
+
"type": {
|
|
56571
|
+
"primitive": "string"
|
|
56572
|
+
}
|
|
56573
|
+
},
|
|
56574
|
+
{
|
|
56575
|
+
"docs": {
|
|
56576
|
+
"summary": "Where the reporter's output is written."
|
|
56577
|
+
},
|
|
56578
|
+
"name": "destination",
|
|
56579
|
+
"optional": true,
|
|
56580
|
+
"type": {
|
|
56581
|
+
"fqn": "projen.javascript.Destination"
|
|
56582
|
+
}
|
|
56583
|
+
}
|
|
56584
|
+
]
|
|
56585
|
+
},
|
|
56586
|
+
{
|
|
56587
|
+
"docs": {
|
|
56588
|
+
"stability": "experimental",
|
|
56589
|
+
"summary": "Adds a test match pattern."
|
|
56590
|
+
},
|
|
56591
|
+
"locationInModule": {
|
|
56592
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56593
|
+
"line": 541
|
|
56594
|
+
},
|
|
56595
|
+
"name": "addTestMatch",
|
|
56596
|
+
"parameters": [
|
|
56597
|
+
{
|
|
56598
|
+
"docs": {
|
|
56599
|
+
"summary": "glob pattern to match for tests."
|
|
56600
|
+
},
|
|
56601
|
+
"name": "pattern",
|
|
56602
|
+
"type": {
|
|
56603
|
+
"primitive": "string"
|
|
56604
|
+
}
|
|
56605
|
+
}
|
|
56606
|
+
]
|
|
56607
|
+
},
|
|
56608
|
+
{
|
|
56609
|
+
"docs": {
|
|
56610
|
+
"stability": "experimental",
|
|
56611
|
+
"summary": "Lists the configured reporters, in the order they were added."
|
|
56612
|
+
},
|
|
56613
|
+
"locationInModule": {
|
|
56614
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56615
|
+
"line": 575
|
|
56616
|
+
},
|
|
56617
|
+
"name": "listReporters",
|
|
56618
|
+
"returns": {
|
|
56619
|
+
"type": {
|
|
56620
|
+
"collection": {
|
|
56621
|
+
"elementtype": {
|
|
56622
|
+
"fqn": "projen.javascript.NodeReporter"
|
|
56623
|
+
},
|
|
56624
|
+
"kind": "array"
|
|
56625
|
+
}
|
|
56626
|
+
}
|
|
56627
|
+
}
|
|
56628
|
+
},
|
|
56629
|
+
{
|
|
56630
|
+
"docs": {
|
|
56631
|
+
"stability": "experimental",
|
|
56632
|
+
"summary": "Removes a reporter, if configured."
|
|
56633
|
+
},
|
|
56634
|
+
"locationInModule": {
|
|
56635
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56636
|
+
"line": 568
|
|
56637
|
+
},
|
|
56638
|
+
"name": "removeReporter",
|
|
56639
|
+
"parameters": [
|
|
56640
|
+
{
|
|
56641
|
+
"docs": {
|
|
56642
|
+
"summary": "The name/kind of the reporter to remove."
|
|
56643
|
+
},
|
|
56644
|
+
"name": "name",
|
|
56645
|
+
"type": {
|
|
56646
|
+
"primitive": "string"
|
|
56647
|
+
}
|
|
56648
|
+
}
|
|
56649
|
+
]
|
|
56650
|
+
},
|
|
56651
|
+
{
|
|
56652
|
+
"docs": {
|
|
56653
|
+
"stability": "experimental",
|
|
56654
|
+
"summary": "Removes a test match pattern, if configured."
|
|
56655
|
+
},
|
|
56656
|
+
"locationInModule": {
|
|
56657
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56658
|
+
"line": 549
|
|
56659
|
+
},
|
|
56660
|
+
"name": "removeTestMatch",
|
|
56661
|
+
"parameters": [
|
|
56662
|
+
{
|
|
56663
|
+
"docs": {
|
|
56664
|
+
"summary": "glob pattern to remove."
|
|
56665
|
+
},
|
|
56666
|
+
"name": "pattern",
|
|
56667
|
+
"type": {
|
|
56668
|
+
"primitive": "string"
|
|
56669
|
+
}
|
|
56670
|
+
}
|
|
56671
|
+
]
|
|
56672
|
+
}
|
|
56673
|
+
],
|
|
56674
|
+
"name": "NodeNativeTestRunner",
|
|
56675
|
+
"namespace": "javascript",
|
|
56676
|
+
"properties": [
|
|
56677
|
+
{
|
|
56678
|
+
"docs": {
|
|
56679
|
+
"stability": "experimental",
|
|
56680
|
+
"summary": "The generated Node.js configuration file."
|
|
56681
|
+
},
|
|
56682
|
+
"immutable": true,
|
|
56683
|
+
"locationInModule": {
|
|
56684
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56685
|
+
"line": 377
|
|
56686
|
+
},
|
|
56687
|
+
"name": "configFile",
|
|
56688
|
+
"type": {
|
|
56689
|
+
"fqn": "projen.javascript.NodeConfigFile"
|
|
56690
|
+
}
|
|
56691
|
+
},
|
|
56692
|
+
{
|
|
56693
|
+
"docs": {
|
|
56694
|
+
"stability": "experimental"
|
|
56695
|
+
},
|
|
56696
|
+
"immutable": true,
|
|
56697
|
+
"locationInModule": {
|
|
56698
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56699
|
+
"line": 366
|
|
56700
|
+
},
|
|
56701
|
+
"name": "project",
|
|
56702
|
+
"overrides": "projen.Component",
|
|
56703
|
+
"type": {
|
|
56704
|
+
"fqn": "projen.javascript.NodeProject"
|
|
56705
|
+
}
|
|
56706
|
+
}
|
|
56707
|
+
],
|
|
56708
|
+
"symbolId": "src/javascript/node-native-test-runner:NodeNativeTestRunner"
|
|
56709
|
+
},
|
|
56710
|
+
"projen.javascript.NodeNativeTestRunnerOptions": {
|
|
56711
|
+
"assembly": "projen",
|
|
56712
|
+
"datatype": true,
|
|
56713
|
+
"docs": {
|
|
56714
|
+
"stability": "experimental",
|
|
56715
|
+
"summary": "Options for Node.js' built-in test runner (`node --test`)."
|
|
56716
|
+
},
|
|
56717
|
+
"fqn": "projen.javascript.NodeNativeTestRunnerOptions",
|
|
56718
|
+
"kind": "interface",
|
|
56719
|
+
"locationInModule": {
|
|
56720
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56721
|
+
"line": 220
|
|
56722
|
+
},
|
|
56723
|
+
"name": "NodeNativeTestRunnerOptions",
|
|
56724
|
+
"namespace": "javascript",
|
|
56725
|
+
"properties": [
|
|
56726
|
+
{
|
|
56727
|
+
"abstract": true,
|
|
56728
|
+
"docs": {
|
|
56729
|
+
"default": "true",
|
|
56730
|
+
"stability": "experimental",
|
|
56731
|
+
"summary": "Indicates whether the coverage information should be collected while executing the test, via `--experimental-test-coverage`."
|
|
56732
|
+
},
|
|
56733
|
+
"immutable": true,
|
|
56734
|
+
"locationInModule": {
|
|
56735
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56736
|
+
"line": 291
|
|
56737
|
+
},
|
|
56738
|
+
"name": "collectCoverage",
|
|
56739
|
+
"optional": true,
|
|
56740
|
+
"type": {
|
|
56741
|
+
"primitive": "boolean"
|
|
56742
|
+
}
|
|
56743
|
+
},
|
|
56744
|
+
{
|
|
56745
|
+
"abstract": true,
|
|
56746
|
+
"docs": {
|
|
56747
|
+
"default": "\"node.config.json\"",
|
|
56748
|
+
"stability": "experimental",
|
|
56749
|
+
"summary": "Path to the JSON configuration file for the test runner."
|
|
56750
|
+
},
|
|
56751
|
+
"immutable": true,
|
|
56752
|
+
"locationInModule": {
|
|
56753
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56754
|
+
"line": 275
|
|
56755
|
+
},
|
|
56756
|
+
"name": "configFilePath",
|
|
56757
|
+
"optional": true,
|
|
56758
|
+
"type": {
|
|
56759
|
+
"primitive": "string"
|
|
56760
|
+
}
|
|
56761
|
+
},
|
|
56762
|
+
{
|
|
56763
|
+
"abstract": true,
|
|
56764
|
+
"docs": {
|
|
56765
|
+
"default": "\"coverage\"",
|
|
56766
|
+
"stability": "experimental",
|
|
56767
|
+
"summary": "The directory where coverage files are output, if coverage collection is enabled."
|
|
56768
|
+
},
|
|
56769
|
+
"immutable": true,
|
|
56770
|
+
"locationInModule": {
|
|
56771
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56772
|
+
"line": 227
|
|
56773
|
+
},
|
|
56774
|
+
"name": "coverageDirectory",
|
|
56775
|
+
"optional": true,
|
|
56776
|
+
"type": {
|
|
56777
|
+
"primitive": "string"
|
|
56778
|
+
}
|
|
56779
|
+
},
|
|
56780
|
+
{
|
|
56781
|
+
"abstract": true,
|
|
56782
|
+
"docs": {
|
|
56783
|
+
"default": "[\"**\\/test/**\", \"**\\/__tests__/**\"]",
|
|
56784
|
+
"remarks": "If a file path matches any of the\npatterns, coverage information will be skipped for it.",
|
|
56785
|
+
"stability": "experimental",
|
|
56786
|
+
"summary": "An array of glob patterns that are matched against all file paths before executing coverage collection."
|
|
56787
|
+
},
|
|
56788
|
+
"immutable": true,
|
|
56789
|
+
"locationInModule": {
|
|
56790
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56791
|
+
"line": 300
|
|
56792
|
+
},
|
|
56793
|
+
"name": "coveragePathIgnorePatterns",
|
|
56794
|
+
"optional": true,
|
|
56795
|
+
"type": {
|
|
56796
|
+
"collection": {
|
|
56797
|
+
"elementtype": {
|
|
56798
|
+
"primitive": "string"
|
|
56799
|
+
},
|
|
56800
|
+
"kind": "array"
|
|
56801
|
+
}
|
|
56802
|
+
}
|
|
56803
|
+
},
|
|
56804
|
+
{
|
|
56805
|
+
"abstract": true,
|
|
56806
|
+
"docs": {
|
|
56807
|
+
"default": "- no extra options",
|
|
56808
|
+
"remarks": "Each element is passed as a single argument, exactly as given: no shell\nparses these, so a flag and its value need separate elements\n(`[\"--foo\", \"bar\"]`, not `[\"--foo bar\"]`).",
|
|
56809
|
+
"stability": "experimental",
|
|
56810
|
+
"summary": "Additional options to pass to the `node --test` CLI invocation."
|
|
56811
|
+
},
|
|
56812
|
+
"immutable": true,
|
|
56813
|
+
"locationInModule": {
|
|
56814
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56815
|
+
"line": 247
|
|
56816
|
+
},
|
|
56817
|
+
"name": "extraCliOptions",
|
|
56818
|
+
"optional": true,
|
|
56819
|
+
"type": {
|
|
56820
|
+
"collection": {
|
|
56821
|
+
"elementtype": {
|
|
56822
|
+
"primitive": "string"
|
|
56823
|
+
},
|
|
56824
|
+
"kind": "array"
|
|
56825
|
+
}
|
|
56826
|
+
}
|
|
56827
|
+
},
|
|
56828
|
+
{
|
|
56829
|
+
"abstract": true,
|
|
56830
|
+
"docs": {
|
|
56831
|
+
"default": "- undefined",
|
|
56832
|
+
"remarks": "Written as `test-global-setup` in the generated Node.js configuration\nfile.",
|
|
56833
|
+
"stability": "experimental",
|
|
56834
|
+
"summary": "This option allows the use of a custom global setup module which exports a function that is triggered once before all test suites."
|
|
56835
|
+
},
|
|
56836
|
+
"immutable": true,
|
|
56837
|
+
"locationInModule": {
|
|
56838
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56839
|
+
"line": 310
|
|
56840
|
+
},
|
|
56841
|
+
"name": "globalSetup",
|
|
56842
|
+
"optional": true,
|
|
56843
|
+
"type": {
|
|
56844
|
+
"primitive": "string"
|
|
56845
|
+
}
|
|
56846
|
+
},
|
|
56847
|
+
{
|
|
56848
|
+
"abstract": true,
|
|
56849
|
+
"docs": {
|
|
56850
|
+
"default": "false",
|
|
56851
|
+
"stability": "experimental",
|
|
56852
|
+
"summary": "Enable module mocking support via `--experimental-test-module-mocks`."
|
|
56853
|
+
},
|
|
56854
|
+
"immutable": true,
|
|
56855
|
+
"locationInModule": {
|
|
56856
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56857
|
+
"line": 317
|
|
56858
|
+
},
|
|
56859
|
+
"name": "moduleMocks",
|
|
56860
|
+
"optional": true,
|
|
56861
|
+
"type": {
|
|
56862
|
+
"primitive": "boolean"
|
|
56863
|
+
}
|
|
56864
|
+
},
|
|
56865
|
+
{
|
|
56866
|
+
"abstract": true,
|
|
56867
|
+
"docs": {
|
|
56868
|
+
"default": "- no additional node options",
|
|
56869
|
+
"stability": "experimental",
|
|
56870
|
+
"summary": "Additional entries for the `nodeOptions` section of the generated configuration file (e.g. `enableSourceMaps`, `disableWarning`)."
|
|
56871
|
+
},
|
|
56872
|
+
"immutable": true,
|
|
56873
|
+
"locationInModule": {
|
|
56874
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56875
|
+
"line": 338
|
|
56876
|
+
},
|
|
56877
|
+
"name": "nodeOptions",
|
|
56878
|
+
"optional": true,
|
|
56879
|
+
"type": {
|
|
56880
|
+
"fqn": "projen.javascript.NodeConfigSchemaNodeOptions"
|
|
56881
|
+
}
|
|
56882
|
+
},
|
|
56883
|
+
{
|
|
56884
|
+
"abstract": true,
|
|
56885
|
+
"docs": {
|
|
56886
|
+
"default": "true",
|
|
56887
|
+
"stability": "experimental",
|
|
56888
|
+
"summary": "Preserve the default reporters (`spec`, `lcov`, `junit`) when additional reporters are added."
|
|
56889
|
+
},
|
|
56890
|
+
"immutable": true,
|
|
56891
|
+
"locationInModule": {
|
|
56892
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56893
|
+
"line": 255
|
|
56894
|
+
},
|
|
56895
|
+
"name": "preserveDefaultReporters",
|
|
56896
|
+
"optional": true,
|
|
56897
|
+
"type": {
|
|
56898
|
+
"primitive": "boolean"
|
|
56899
|
+
}
|
|
56900
|
+
},
|
|
56901
|
+
{
|
|
56902
|
+
"abstract": true,
|
|
56903
|
+
"docs": {
|
|
56904
|
+
"default": "- no additional reporters",
|
|
56905
|
+
"remarks": "These are added on top of the default reporters (`spec`, `lcov`, `junit`),\nwhich are controlled via `collectCoverage`. Use\n`NodeNativeTestRunner.addReporter`/`removeReporter`/`listReporters` to\nmanage reporters after construction.",
|
|
56906
|
+
"stability": "experimental",
|
|
56907
|
+
"summary": "Additional reporters to configure (e.g. `{ name: \"tap\", destination: Destination.file(\"test-reports/tap.txt\") }`)."
|
|
56908
|
+
},
|
|
56909
|
+
"immutable": true,
|
|
56910
|
+
"locationInModule": {
|
|
56911
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56912
|
+
"line": 268
|
|
56913
|
+
},
|
|
56914
|
+
"name": "reporters",
|
|
56915
|
+
"optional": true,
|
|
56916
|
+
"type": {
|
|
56917
|
+
"collection": {
|
|
56918
|
+
"elementtype": {
|
|
56919
|
+
"fqn": "projen.javascript.NodeReporter"
|
|
56920
|
+
},
|
|
56921
|
+
"kind": "array"
|
|
56922
|
+
}
|
|
56923
|
+
}
|
|
56924
|
+
},
|
|
56925
|
+
{
|
|
56926
|
+
"abstract": true,
|
|
56927
|
+
"docs": {
|
|
56928
|
+
"default": "- no additional options",
|
|
56929
|
+
"stability": "experimental",
|
|
56930
|
+
"summary": "Additional entries for the `test` section of the generated configuration file (e.g. `testConcurrency`, `testTimeout`)."
|
|
56931
|
+
},
|
|
56932
|
+
"immutable": true,
|
|
56933
|
+
"locationInModule": {
|
|
56934
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56935
|
+
"line": 346
|
|
56936
|
+
},
|
|
56937
|
+
"name": "testConfig",
|
|
56938
|
+
"optional": true,
|
|
56939
|
+
"type": {
|
|
56940
|
+
"fqn": "projen.javascript.NodeConfigSchemaTest"
|
|
56941
|
+
}
|
|
56942
|
+
},
|
|
56943
|
+
{
|
|
56944
|
+
"abstract": true,
|
|
56945
|
+
"docs": {
|
|
56946
|
+
"default": "- combines Node.js' own default test file discovery with Jest conventions",
|
|
56947
|
+
"remarks": "By default it\ncombines Node.js' own default test file discovery with Jest conventions.",
|
|
56948
|
+
"stability": "experimental",
|
|
56949
|
+
"summary": "Glob patterns matching the files that contain tests."
|
|
56950
|
+
},
|
|
56951
|
+
"immutable": true,
|
|
56952
|
+
"locationInModule": {
|
|
56953
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56954
|
+
"line": 283
|
|
56955
|
+
},
|
|
56956
|
+
"name": "testMatch",
|
|
56957
|
+
"optional": true,
|
|
56958
|
+
"type": {
|
|
56959
|
+
"collection": {
|
|
56960
|
+
"elementtype": {
|
|
56961
|
+
"primitive": "string"
|
|
56962
|
+
},
|
|
56963
|
+
"kind": "array"
|
|
56964
|
+
}
|
|
56965
|
+
}
|
|
56966
|
+
},
|
|
56967
|
+
{
|
|
56968
|
+
"abstract": true,
|
|
56969
|
+
"docs": {
|
|
56970
|
+
"default": "false",
|
|
56971
|
+
"remarks": "Uses `amaro` (the TypeScript transformer used internally by Node.js) as an\nexternal loader via `--import=amaro/transform`. Adds a dependency on the\n`amaro` package and enables `--enable-source-maps` to preserve accurate\nstack traces.",
|
|
56972
|
+
"see": "https://github.com/nodejs/amaro",
|
|
56973
|
+
"stability": "experimental",
|
|
56974
|
+
"summary": "Whether to enable transformation of TypeScript-only syntax (e.g. enums, namespaces)."
|
|
56975
|
+
},
|
|
56976
|
+
"immutable": true,
|
|
56977
|
+
"locationInModule": {
|
|
56978
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56979
|
+
"line": 330
|
|
56980
|
+
},
|
|
56981
|
+
"name": "transformTypes",
|
|
56982
|
+
"optional": true,
|
|
56983
|
+
"type": {
|
|
56984
|
+
"primitive": "boolean"
|
|
56985
|
+
}
|
|
56986
|
+
},
|
|
56987
|
+
{
|
|
56988
|
+
"abstract": true,
|
|
56989
|
+
"docs": {
|
|
56990
|
+
"default": "- ALWAYS",
|
|
56991
|
+
"stability": "experimental",
|
|
56992
|
+
"summary": "Whether to update snapshots in task \"test\" (which is executed in task \"build\" and build workflows), or create a separate task \"test:update\" for updating snapshots."
|
|
56993
|
+
},
|
|
56994
|
+
"immutable": true,
|
|
56995
|
+
"locationInModule": {
|
|
56996
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
56997
|
+
"line": 236
|
|
56998
|
+
},
|
|
56999
|
+
"name": "updateSnapshot",
|
|
57000
|
+
"optional": true,
|
|
57001
|
+
"type": {
|
|
57002
|
+
"fqn": "projen.javascript.NodeTestUpdateSnapshot"
|
|
57003
|
+
}
|
|
57004
|
+
}
|
|
57005
|
+
],
|
|
57006
|
+
"symbolId": "src/javascript/node-native-test-runner:NodeNativeTestRunnerOptions"
|
|
57007
|
+
},
|
|
56390
57008
|
"projen.javascript.NodePackage": {
|
|
56391
57009
|
"assembly": "projen",
|
|
56392
57010
|
"base": "projen.Component",
|
|
@@ -59724,6 +60342,92 @@
|
|
|
59724
60342
|
],
|
|
59725
60343
|
"symbolId": "src/javascript/node-project:NodeProjectOptions"
|
|
59726
60344
|
},
|
|
60345
|
+
"projen.javascript.NodeReporter": {
|
|
60346
|
+
"assembly": "projen",
|
|
60347
|
+
"datatype": true,
|
|
60348
|
+
"docs": {
|
|
60349
|
+
"see": "https://nodejs.org/api/test.html#test-reporters",
|
|
60350
|
+
"stability": "experimental",
|
|
60351
|
+
"summary": "A single reporter/destination pair for the Node.js native test runner."
|
|
60352
|
+
},
|
|
60353
|
+
"fqn": "projen.javascript.NodeReporter",
|
|
60354
|
+
"kind": "interface",
|
|
60355
|
+
"locationInModule": {
|
|
60356
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
60357
|
+
"line": 133
|
|
60358
|
+
},
|
|
60359
|
+
"name": "NodeReporter",
|
|
60360
|
+
"namespace": "javascript",
|
|
60361
|
+
"properties": [
|
|
60362
|
+
{
|
|
60363
|
+
"abstract": true,
|
|
60364
|
+
"docs": {
|
|
60365
|
+
"default": "Destination.STDOUT",
|
|
60366
|
+
"see": "https://github.com/nodejs/node/blob/4215cc35e25c44f9f4fea5a4541afc862db7ef0a/test/parallel/test-runner-reporters.js#L46-L77",
|
|
60367
|
+
"stability": "experimental",
|
|
60368
|
+
"summary": "Where the reporter's output is written."
|
|
60369
|
+
},
|
|
60370
|
+
"immutable": true,
|
|
60371
|
+
"locationInModule": {
|
|
60372
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
60373
|
+
"line": 144
|
|
60374
|
+
},
|
|
60375
|
+
"name": "destination",
|
|
60376
|
+
"type": {
|
|
60377
|
+
"fqn": "projen.javascript.Destination"
|
|
60378
|
+
}
|
|
60379
|
+
},
|
|
60380
|
+
{
|
|
60381
|
+
"abstract": true,
|
|
60382
|
+
"docs": {
|
|
60383
|
+
"stability": "experimental",
|
|
60384
|
+
"summary": "The name/kind of the reporter."
|
|
60385
|
+
},
|
|
60386
|
+
"immutable": true,
|
|
60387
|
+
"locationInModule": {
|
|
60388
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
60389
|
+
"line": 137
|
|
60390
|
+
},
|
|
60391
|
+
"name": "name",
|
|
60392
|
+
"type": {
|
|
60393
|
+
"primitive": "string"
|
|
60394
|
+
}
|
|
60395
|
+
}
|
|
60396
|
+
],
|
|
60397
|
+
"symbolId": "src/javascript/node-native-test-runner:NodeReporter"
|
|
60398
|
+
},
|
|
60399
|
+
"projen.javascript.NodeTestUpdateSnapshot": {
|
|
60400
|
+
"assembly": "projen",
|
|
60401
|
+
"docs": {
|
|
60402
|
+
"stability": "experimental",
|
|
60403
|
+
"summary": "Whether to update snapshots in task \"test\" (which is executed in task \"build\" and build workflows), or create a separate task \"test:update\" for updating snapshots."
|
|
60404
|
+
},
|
|
60405
|
+
"fqn": "projen.javascript.NodeTestUpdateSnapshot",
|
|
60406
|
+
"kind": "enum",
|
|
60407
|
+
"locationInModule": {
|
|
60408
|
+
"filename": "src/javascript/node-native-test-runner.ts",
|
|
60409
|
+
"line": 52
|
|
60410
|
+
},
|
|
60411
|
+
"members": [
|
|
60412
|
+
{
|
|
60413
|
+
"docs": {
|
|
60414
|
+
"stability": "experimental",
|
|
60415
|
+
"summary": "Always update snapshots in \"test\" task."
|
|
60416
|
+
},
|
|
60417
|
+
"name": "ALWAYS"
|
|
60418
|
+
},
|
|
60419
|
+
{
|
|
60420
|
+
"docs": {
|
|
60421
|
+
"stability": "experimental",
|
|
60422
|
+
"summary": "Never update snapshots in \"test\" task and create a separate \"test:update\" task."
|
|
60423
|
+
},
|
|
60424
|
+
"name": "NEVER"
|
|
60425
|
+
}
|
|
60426
|
+
],
|
|
60427
|
+
"name": "NodeTestUpdateSnapshot",
|
|
60428
|
+
"namespace": "javascript",
|
|
60429
|
+
"symbolId": "src/javascript/node-native-test-runner:NodeTestUpdateSnapshot"
|
|
60430
|
+
},
|
|
59727
60431
|
"projen.javascript.NpmAccess": {
|
|
59728
60432
|
"assembly": "projen",
|
|
59729
60433
|
"docs": {
|
|
@@ -104599,6 +105303,6 @@
|
|
|
104599
105303
|
"usedFeatures": [
|
|
104600
105304
|
"class-covariant-overrides"
|
|
104601
105305
|
],
|
|
104602
|
-
"version": "0.103.
|
|
104603
|
-
"fingerprint": "
|
|
105306
|
+
"version": "0.103.27",
|
|
105307
|
+
"fingerprint": "6GpkS9XyF0OrNzwE0MwgAPXfYMbQzcMcBWAKqHEfo/k="
|
|
104604
105308
|
}
|