projen 0.100.6 → 0.101.0
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 -116
- 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 +9 -9
- package/lib/awscdk/integ-runner.js +9 -3
- package/lib/awscdk/integration-test.js +12 -6
- package/lib/awscdk/lambda-extension.js +1 -1
- package/lib/awscdk/lambda-function.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 +5 -5
- package/lib/cdk/jsii-docgen.js +3 -3
- package/lib/cdk/jsii-project.js +1 -1
- package/lib/cdk8s/auto-discover.js +2 -2
- package/lib/cdk8s/cdk8s-app-py.js +3 -3
- package/lib/cdk8s/cdk8s-app-ts.js +4 -4
- 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 +17 -10
- package/lib/cdktf/cdktf-construct.js +1 -1
- package/lib/circleci/circleci.js +1 -1
- package/lib/cli/cmds/run-task.js +4 -1
- package/lib/cli/task-runtime.js +152 -78
- package/lib/common.d.ts +1 -1
- package/lib/common.js +2 -2
- package/lib/component.js +1 -1
- 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/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/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/lib/ini.js +1 -1
- package/lib/java/java-project.js +1 -1
- package/lib/java/junit.js +3 -3
- package/lib/java/maven-compile.js +3 -3
- package/lib/java/maven-packaging.js +3 -3
- package/lib/java/maven-sample.js +1 -1
- package/lib/java/pom.js +2 -2
- package/lib/java/projenrc.js +3 -3
- package/lib/javascript/biome/biome.js +1 -1
- package/lib/javascript/bundler.js +3 -3
- package/lib/javascript/eslint.js +1 -1
- package/lib/javascript/jest.js +4 -4
- package/lib/javascript/license-checker.js +5 -5
- package/lib/javascript/node-package.js +1 -1
- package/lib/javascript/node-project.js +13 -4
- package/lib/javascript/npm-config.js +1 -1
- package/lib/javascript/prettier.js +1 -1
- package/lib/javascript/projenrc.js +3 -3
- package/lib/javascript/typescript-config.js +2 -2
- package/lib/javascript/upgrade-dependencies.js +4 -4
- 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/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/python/pip.js +17 -5
- package/lib/python/poetry.js +7 -7
- package/lib/python/projenrc.js +3 -3
- 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 +8 -3
- package/lib/python/uv.js +6 -6
- package/lib/python/venv.js +1 -1
- package/lib/readme.js +1 -1
- package/lib/release/bump-version.d.ts +1 -1
- package/lib/release/bump-version.js +6 -2
- 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 +141 -129
- package/lib/sample-file.js +2 -2
- package/lib/source-code.js +1 -1
- package/lib/task-model.d.ts +144 -4
- package/lib/task-model.js +1 -1
- package/lib/task-shell.d.ts +63 -0
- package/lib/task-shell.js +87 -0
- package/lib/task.d.ts +52 -2
- package/lib/task.js +71 -10
- package/lib/tasks.d.ts +13 -0
- package/lib/tasks.js +19 -2
- 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-typedoc.js +9 -3
- package/lib/typescript/typescript.js +8 -10
- package/lib/util/exec.d.ts +34 -70
- package/lib/util/exec.js +57 -51
- package/lib/version.d.ts +1 -1
- package/lib/version.js +5 -5
- 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 +9 -9
- package/lib/web/postcss.js +1 -1
- package/lib/web/react.js +7 -7
- package/lib/web/tailwind.js +1 -1
- package/lib/xmlfile.js +1 -1
- package/lib/yaml.js +1 -1
- package/package.json +4 -4
package/.jsii
CHANGED
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"stability": "experimental"
|
|
62
62
|
},
|
|
63
63
|
"homepage": "https://github.com/projen/projen.git",
|
|
64
|
-
"jsiiVersion": "6.0.
|
|
64
|
+
"jsiiVersion": "6.0.4 (build 308d98d)",
|
|
65
65
|
"keywords": [
|
|
66
66
|
"cdk",
|
|
67
67
|
"cicd",
|
|
@@ -92,49 +92,49 @@
|
|
|
92
92
|
"projen.awscdk": {
|
|
93
93
|
"locationInModule": {
|
|
94
94
|
"filename": "src/index.ts",
|
|
95
|
-
"line":
|
|
95
|
+
"line": 55
|
|
96
96
|
},
|
|
97
97
|
"symbolId": "src/awscdk/index:"
|
|
98
98
|
},
|
|
99
99
|
"projen.build": {
|
|
100
100
|
"locationInModule": {
|
|
101
101
|
"filename": "src/index.ts",
|
|
102
|
-
"line":
|
|
102
|
+
"line": 59
|
|
103
103
|
},
|
|
104
104
|
"symbolId": "src/build/index:"
|
|
105
105
|
},
|
|
106
106
|
"projen.cdk": {
|
|
107
107
|
"locationInModule": {
|
|
108
108
|
"filename": "src/index.ts",
|
|
109
|
-
"line":
|
|
109
|
+
"line": 58
|
|
110
110
|
},
|
|
111
111
|
"symbolId": "src/cdk/index:"
|
|
112
112
|
},
|
|
113
113
|
"projen.cdk8s": {
|
|
114
114
|
"locationInModule": {
|
|
115
115
|
"filename": "src/index.ts",
|
|
116
|
-
"line":
|
|
116
|
+
"line": 56
|
|
117
117
|
},
|
|
118
118
|
"symbolId": "src/cdk8s/index:"
|
|
119
119
|
},
|
|
120
120
|
"projen.cdktf": {
|
|
121
121
|
"locationInModule": {
|
|
122
122
|
"filename": "src/index.ts",
|
|
123
|
-
"line":
|
|
123
|
+
"line": 57
|
|
124
124
|
},
|
|
125
125
|
"symbolId": "src/cdktf/index:"
|
|
126
126
|
},
|
|
127
127
|
"projen.circleci": {
|
|
128
128
|
"locationInModule": {
|
|
129
129
|
"filename": "src/index.ts",
|
|
130
|
-
"line":
|
|
130
|
+
"line": 48
|
|
131
131
|
},
|
|
132
132
|
"symbolId": "src/circleci/index:"
|
|
133
133
|
},
|
|
134
134
|
"projen.github": {
|
|
135
135
|
"locationInModule": {
|
|
136
136
|
"filename": "src/index.ts",
|
|
137
|
-
"line":
|
|
137
|
+
"line": 46
|
|
138
138
|
},
|
|
139
139
|
"symbolId": "src/github/index:"
|
|
140
140
|
},
|
|
@@ -148,21 +148,21 @@
|
|
|
148
148
|
"projen.gitlab": {
|
|
149
149
|
"locationInModule": {
|
|
150
150
|
"filename": "src/index.ts",
|
|
151
|
-
"line":
|
|
151
|
+
"line": 47
|
|
152
152
|
},
|
|
153
153
|
"symbolId": "src/gitlab/index:"
|
|
154
154
|
},
|
|
155
155
|
"projen.java": {
|
|
156
156
|
"locationInModule": {
|
|
157
157
|
"filename": "src/index.ts",
|
|
158
|
-
"line":
|
|
158
|
+
"line": 50
|
|
159
159
|
},
|
|
160
160
|
"symbolId": "src/java/index:"
|
|
161
161
|
},
|
|
162
162
|
"projen.javascript": {
|
|
163
163
|
"locationInModule": {
|
|
164
164
|
"filename": "src/index.ts",
|
|
165
|
-
"line":
|
|
165
|
+
"line": 53
|
|
166
166
|
},
|
|
167
167
|
"symbolId": "src/javascript/index:"
|
|
168
168
|
},
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
"projen.python": {
|
|
177
177
|
"locationInModule": {
|
|
178
178
|
"filename": "src/index.ts",
|
|
179
|
-
"line":
|
|
179
|
+
"line": 51
|
|
180
180
|
},
|
|
181
181
|
"symbolId": "src/python/index:"
|
|
182
182
|
},
|
|
@@ -190,28 +190,28 @@
|
|
|
190
190
|
"projen.release": {
|
|
191
191
|
"locationInModule": {
|
|
192
192
|
"filename": "src/index.ts",
|
|
193
|
-
"line":
|
|
193
|
+
"line": 54
|
|
194
194
|
},
|
|
195
195
|
"symbolId": "src/release/index:"
|
|
196
196
|
},
|
|
197
197
|
"projen.typescript": {
|
|
198
198
|
"locationInModule": {
|
|
199
199
|
"filename": "src/index.ts",
|
|
200
|
-
"line":
|
|
200
|
+
"line": 52
|
|
201
201
|
},
|
|
202
202
|
"symbolId": "src/typescript/index:"
|
|
203
203
|
},
|
|
204
204
|
"projen.vscode": {
|
|
205
205
|
"locationInModule": {
|
|
206
206
|
"filename": "src/index.ts",
|
|
207
|
-
"line":
|
|
207
|
+
"line": 49
|
|
208
208
|
},
|
|
209
209
|
"symbolId": "src/vscode/index:"
|
|
210
210
|
},
|
|
211
211
|
"projen.web": {
|
|
212
212
|
"locationInModule": {
|
|
213
213
|
"filename": "src/index.ts",
|
|
214
|
-
"line":
|
|
214
|
+
"line": 45
|
|
215
215
|
},
|
|
216
216
|
"symbolId": "src/web/index:"
|
|
217
217
|
}
|
|
@@ -9290,7 +9290,7 @@
|
|
|
9290
9290
|
{
|
|
9291
9291
|
"docs": {
|
|
9292
9292
|
"example": "\"git log --oneline $LATEST_TAG..HEAD -- .\"",
|
|
9293
|
-
"remarks": "A new release will be initiated, if the number of returned commits is greater than zero.\nMust return a newline separate list of commits that should considered releasable.\n`$LATEST_TAG`
|
|
9293
|
+
"remarks": "A new release will be initiated, if the number of returned commits is greater than zero.\nMust return a newline separate list of commits that should considered releasable.\n`$LATEST_TAG` is available as an environment variable (set to the actual latest tag for the given prefix).",
|
|
9294
9294
|
"stability": "experimental",
|
|
9295
9295
|
"summary": "Use an arbitrary shell command to find releasable commits since the latest tag."
|
|
9296
9296
|
},
|
|
@@ -10526,7 +10526,7 @@
|
|
|
10526
10526
|
},
|
|
10527
10527
|
"locationInModule": {
|
|
10528
10528
|
"filename": "src/task.ts",
|
|
10529
|
-
"line":
|
|
10529
|
+
"line": 78
|
|
10530
10530
|
},
|
|
10531
10531
|
"parameters": [
|
|
10532
10532
|
{
|
|
@@ -10547,7 +10547,7 @@
|
|
|
10547
10547
|
"kind": "class",
|
|
10548
10548
|
"locationInModule": {
|
|
10549
10549
|
"filename": "src/task.ts",
|
|
10550
|
-
"line":
|
|
10550
|
+
"line": 62
|
|
10551
10551
|
},
|
|
10552
10552
|
"methods": [
|
|
10553
10553
|
{
|
|
@@ -10559,7 +10559,7 @@
|
|
|
10559
10559
|
},
|
|
10560
10560
|
"locationInModule": {
|
|
10561
10561
|
"filename": "src/task.ts",
|
|
10562
|
-
"line":
|
|
10562
|
+
"line": 180
|
|
10563
10563
|
},
|
|
10564
10564
|
"name": "addCondition",
|
|
10565
10565
|
"parameters": [
|
|
@@ -10584,7 +10584,7 @@
|
|
|
10584
10584
|
},
|
|
10585
10585
|
"locationInModule": {
|
|
10586
10586
|
"filename": "src/task.ts",
|
|
10587
|
-
"line":
|
|
10587
|
+
"line": 211
|
|
10588
10588
|
},
|
|
10589
10589
|
"name": "addSteps",
|
|
10590
10590
|
"parameters": [
|
|
@@ -10609,7 +10609,7 @@
|
|
|
10609
10609
|
},
|
|
10610
10610
|
"locationInModule": {
|
|
10611
10611
|
"filename": "src/task.ts",
|
|
10612
|
-
"line":
|
|
10612
|
+
"line": 255
|
|
10613
10613
|
},
|
|
10614
10614
|
"name": "builtin",
|
|
10615
10615
|
"parameters": [
|
|
@@ -10631,7 +10631,7 @@
|
|
|
10631
10631
|
},
|
|
10632
10632
|
"locationInModule": {
|
|
10633
10633
|
"filename": "src/task.ts",
|
|
10634
|
-
"line":
|
|
10634
|
+
"line": 357
|
|
10635
10635
|
},
|
|
10636
10636
|
"name": "env",
|
|
10637
10637
|
"parameters": [
|
|
@@ -10663,7 +10663,7 @@
|
|
|
10663
10663
|
},
|
|
10664
10664
|
"locationInModule": {
|
|
10665
10665
|
"filename": "src/task.ts",
|
|
10666
|
-
"line":
|
|
10666
|
+
"line": 220
|
|
10667
10667
|
},
|
|
10668
10668
|
"name": "exec",
|
|
10669
10669
|
"parameters": [
|
|
@@ -10688,6 +10688,45 @@
|
|
|
10688
10688
|
}
|
|
10689
10689
|
]
|
|
10690
10690
|
},
|
|
10691
|
+
{
|
|
10692
|
+
"docs": {
|
|
10693
|
+
"example": "task.execArgs([\"echo\", \"hello world\"]);",
|
|
10694
|
+
"remarks": "A convenient alternative to `Task.exec`: arguments with spaces or\nspecial characters are passed through as-is, with no quoting needed. The\nelements are not run through a shell, so environment variables (`$FOO`) are\nnot expanded and other shell features are unavailable.",
|
|
10695
|
+
"stability": "experimental",
|
|
10696
|
+
"summary": "Executes a command provided as a list of the program followed by its arguments (an \"argv\")."
|
|
10697
|
+
},
|
|
10698
|
+
"locationInModule": {
|
|
10699
|
+
"filename": "src/task.ts",
|
|
10700
|
+
"line": 238
|
|
10701
|
+
},
|
|
10702
|
+
"name": "execArgs",
|
|
10703
|
+
"parameters": [
|
|
10704
|
+
{
|
|
10705
|
+
"docs": {
|
|
10706
|
+
"summary": "The program followed by its arguments."
|
|
10707
|
+
},
|
|
10708
|
+
"name": "command",
|
|
10709
|
+
"type": {
|
|
10710
|
+
"collection": {
|
|
10711
|
+
"elementtype": {
|
|
10712
|
+
"primitive": "string"
|
|
10713
|
+
},
|
|
10714
|
+
"kind": "array"
|
|
10715
|
+
}
|
|
10716
|
+
}
|
|
10717
|
+
},
|
|
10718
|
+
{
|
|
10719
|
+
"docs": {
|
|
10720
|
+
"summary": "Options."
|
|
10721
|
+
},
|
|
10722
|
+
"name": "options",
|
|
10723
|
+
"optional": true,
|
|
10724
|
+
"type": {
|
|
10725
|
+
"fqn": "projen.TaskStepOptions"
|
|
10726
|
+
}
|
|
10727
|
+
}
|
|
10728
|
+
]
|
|
10729
|
+
},
|
|
10691
10730
|
{
|
|
10692
10731
|
"docs": {
|
|
10693
10732
|
"stability": "experimental",
|
|
@@ -10695,7 +10734,7 @@
|
|
|
10695
10734
|
},
|
|
10696
10735
|
"locationInModule": {
|
|
10697
10736
|
"filename": "src/task.ts",
|
|
10698
|
-
"line":
|
|
10737
|
+
"line": 388
|
|
10699
10738
|
},
|
|
10700
10739
|
"name": "insertStep",
|
|
10701
10740
|
"parameters": [
|
|
@@ -10729,7 +10768,7 @@
|
|
|
10729
10768
|
},
|
|
10730
10769
|
"locationInModule": {
|
|
10731
10770
|
"filename": "src/task.ts",
|
|
10732
|
-
"line":
|
|
10771
|
+
"line": 114
|
|
10733
10772
|
},
|
|
10734
10773
|
"name": "lock"
|
|
10735
10774
|
},
|
|
@@ -10740,7 +10779,7 @@
|
|
|
10740
10779
|
},
|
|
10741
10780
|
"locationInModule": {
|
|
10742
10781
|
"filename": "src/task.ts",
|
|
10743
|
-
"line":
|
|
10782
|
+
"line": 291
|
|
10744
10783
|
},
|
|
10745
10784
|
"name": "prependExec",
|
|
10746
10785
|
"parameters": [
|
|
@@ -10748,7 +10787,7 @@
|
|
|
10748
10787
|
"docs": {
|
|
10749
10788
|
"summary": "The command to add."
|
|
10750
10789
|
},
|
|
10751
|
-
"name": "
|
|
10790
|
+
"name": "command",
|
|
10752
10791
|
"type": {
|
|
10753
10792
|
"primitive": "string"
|
|
10754
10793
|
}
|
|
@@ -10769,7 +10808,7 @@
|
|
|
10769
10808
|
},
|
|
10770
10809
|
"locationInModule": {
|
|
10771
10810
|
"filename": "src/task.ts",
|
|
10772
|
-
"line":
|
|
10811
|
+
"line": 311
|
|
10773
10812
|
},
|
|
10774
10813
|
"name": "prependSay",
|
|
10775
10814
|
"parameters": [
|
|
@@ -10798,7 +10837,7 @@
|
|
|
10798
10837
|
},
|
|
10799
10838
|
"locationInModule": {
|
|
10800
10839
|
"filename": "src/task.ts",
|
|
10801
|
-
"line":
|
|
10840
|
+
"line": 301
|
|
10802
10841
|
},
|
|
10803
10842
|
"name": "prependSpawn",
|
|
10804
10843
|
"parameters": [
|
|
@@ -10827,7 +10866,7 @@
|
|
|
10827
10866
|
},
|
|
10828
10867
|
"locationInModule": {
|
|
10829
10868
|
"filename": "src/task.ts",
|
|
10830
|
-
"line":
|
|
10869
|
+
"line": 283
|
|
10831
10870
|
},
|
|
10832
10871
|
"name": "prependSteps",
|
|
10833
10872
|
"parameters": [
|
|
@@ -10850,7 +10889,7 @@
|
|
|
10850
10889
|
},
|
|
10851
10890
|
"locationInModule": {
|
|
10852
10891
|
"filename": "src/task.ts",
|
|
10853
|
-
"line":
|
|
10892
|
+
"line": 432
|
|
10854
10893
|
},
|
|
10855
10894
|
"name": "removeStep",
|
|
10856
10895
|
"parameters": [
|
|
@@ -10872,7 +10911,7 @@
|
|
|
10872
10911
|
},
|
|
10873
10912
|
"locationInModule": {
|
|
10874
10913
|
"filename": "src/task.ts",
|
|
10875
|
-
"line":
|
|
10914
|
+
"line": 188
|
|
10876
10915
|
},
|
|
10877
10916
|
"name": "reset",
|
|
10878
10917
|
"parameters": [
|
|
@@ -10902,7 +10941,7 @@
|
|
|
10902
10941
|
},
|
|
10903
10942
|
"locationInModule": {
|
|
10904
10943
|
"filename": "src/task.ts",
|
|
10905
|
-
"line":
|
|
10944
|
+
"line": 264
|
|
10906
10945
|
},
|
|
10907
10946
|
"name": "say",
|
|
10908
10947
|
"parameters": [
|
|
@@ -10934,7 +10973,7 @@
|
|
|
10934
10973
|
},
|
|
10935
10974
|
"locationInModule": {
|
|
10936
10975
|
"filename": "src/task.ts",
|
|
10937
|
-
"line":
|
|
10976
|
+
"line": 272
|
|
10938
10977
|
},
|
|
10939
10978
|
"name": "spawn",
|
|
10940
10979
|
"parameters": [
|
|
@@ -10962,7 +11001,7 @@
|
|
|
10962
11001
|
},
|
|
10963
11002
|
"locationInModule": {
|
|
10964
11003
|
"filename": "src/task.ts",
|
|
10965
|
-
"line":
|
|
11004
|
+
"line": 410
|
|
10966
11005
|
},
|
|
10967
11006
|
"name": "updateStep",
|
|
10968
11007
|
"parameters": [
|
|
@@ -10997,7 +11036,7 @@
|
|
|
10997
11036
|
"immutable": true,
|
|
10998
11037
|
"locationInModule": {
|
|
10999
11038
|
"filename": "src/task.ts",
|
|
11000
|
-
"line":
|
|
11039
|
+
"line": 365
|
|
11001
11040
|
},
|
|
11002
11041
|
"name": "envVars",
|
|
11003
11042
|
"type": {
|
|
@@ -11017,7 +11056,7 @@
|
|
|
11017
11056
|
"immutable": true,
|
|
11018
11057
|
"locationInModule": {
|
|
11019
11058
|
"filename": "src/task.ts",
|
|
11020
|
-
"line":
|
|
11059
|
+
"line": 66
|
|
11021
11060
|
},
|
|
11022
11061
|
"name": "name",
|
|
11023
11062
|
"type": {
|
|
@@ -11032,7 +11071,7 @@
|
|
|
11032
11071
|
"immutable": true,
|
|
11033
11072
|
"locationInModule": {
|
|
11034
11073
|
"filename": "src/task.ts",
|
|
11035
|
-
"line":
|
|
11074
|
+
"line": 372
|
|
11036
11075
|
},
|
|
11037
11076
|
"name": "steps",
|
|
11038
11077
|
"type": {
|
|
@@ -11053,7 +11092,7 @@
|
|
|
11053
11092
|
"immutable": true,
|
|
11054
11093
|
"locationInModule": {
|
|
11055
11094
|
"filename": "src/task.ts",
|
|
11056
|
-
"line":
|
|
11095
|
+
"line": 166
|
|
11057
11096
|
},
|
|
11058
11097
|
"name": "condition",
|
|
11059
11098
|
"optional": true,
|
|
@@ -11069,7 +11108,7 @@
|
|
|
11069
11108
|
},
|
|
11070
11109
|
"locationInModule": {
|
|
11071
11110
|
"filename": "src/task.ts",
|
|
11072
|
-
"line":
|
|
11111
|
+
"line": 121
|
|
11073
11112
|
},
|
|
11074
11113
|
"name": "cwd",
|
|
11075
11114
|
"optional": true,
|
|
@@ -11085,13 +11124,30 @@
|
|
|
11085
11124
|
},
|
|
11086
11125
|
"locationInModule": {
|
|
11087
11126
|
"filename": "src/task.ts",
|
|
11088
|
-
"line":
|
|
11127
|
+
"line": 151
|
|
11089
11128
|
},
|
|
11090
11129
|
"name": "description",
|
|
11091
11130
|
"optional": true,
|
|
11092
11131
|
"type": {
|
|
11093
11132
|
"primitive": "string"
|
|
11094
11133
|
}
|
|
11134
|
+
},
|
|
11135
|
+
{
|
|
11136
|
+
"docs": {
|
|
11137
|
+
"remarks": "Sets the shell used to run this task's commands.",
|
|
11138
|
+
"see": "{@link TaskCommonOptions.shell }",
|
|
11139
|
+
"stability": "experimental",
|
|
11140
|
+
"summary": "The shell used to run this task's commands, or `undefined` when inheriting the built-in default shell."
|
|
11141
|
+
},
|
|
11142
|
+
"locationInModule": {
|
|
11143
|
+
"filename": "src/task.ts",
|
|
11144
|
+
"line": 137
|
|
11145
|
+
},
|
|
11146
|
+
"name": "shell",
|
|
11147
|
+
"optional": true,
|
|
11148
|
+
"type": {
|
|
11149
|
+
"fqn": "projen.TaskShell"
|
|
11150
|
+
}
|
|
11095
11151
|
}
|
|
11096
11152
|
],
|
|
11097
11153
|
"symbolId": "src/task:Task"
|
|
@@ -11106,7 +11162,7 @@
|
|
|
11106
11162
|
"kind": "interface",
|
|
11107
11163
|
"locationInModule": {
|
|
11108
11164
|
"filename": "src/task-model.ts",
|
|
11109
|
-
"line":
|
|
11165
|
+
"line": 36
|
|
11110
11166
|
},
|
|
11111
11167
|
"name": "TaskCommonOptions",
|
|
11112
11168
|
"properties": [
|
|
@@ -11120,7 +11176,7 @@
|
|
|
11120
11176
|
"immutable": true,
|
|
11121
11177
|
"locationInModule": {
|
|
11122
11178
|
"filename": "src/task-model.ts",
|
|
11123
|
-
"line":
|
|
11179
|
+
"line": 61
|
|
11124
11180
|
},
|
|
11125
11181
|
"name": "condition",
|
|
11126
11182
|
"optional": true,
|
|
@@ -11138,7 +11194,7 @@
|
|
|
11138
11194
|
"immutable": true,
|
|
11139
11195
|
"locationInModule": {
|
|
11140
11196
|
"filename": "src/task-model.ts",
|
|
11141
|
-
"line":
|
|
11197
|
+
"line": 69
|
|
11142
11198
|
},
|
|
11143
11199
|
"name": "cwd",
|
|
11144
11200
|
"optional": true,
|
|
@@ -11156,7 +11212,7 @@
|
|
|
11156
11212
|
"immutable": true,
|
|
11157
11213
|
"locationInModule": {
|
|
11158
11214
|
"filename": "src/task-model.ts",
|
|
11159
|
-
"line":
|
|
11215
|
+
"line": 41
|
|
11160
11216
|
},
|
|
11161
11217
|
"name": "description",
|
|
11162
11218
|
"optional": true,
|
|
@@ -11175,7 +11231,7 @@
|
|
|
11175
11231
|
"immutable": true,
|
|
11176
11232
|
"locationInModule": {
|
|
11177
11233
|
"filename": "src/task-model.ts",
|
|
11178
|
-
"line":
|
|
11234
|
+
"line": 48
|
|
11179
11235
|
},
|
|
11180
11236
|
"name": "env",
|
|
11181
11237
|
"optional": true,
|
|
@@ -11198,7 +11254,7 @@
|
|
|
11198
11254
|
"immutable": true,
|
|
11199
11255
|
"locationInModule": {
|
|
11200
11256
|
"filename": "src/task-model.ts",
|
|
11201
|
-
"line":
|
|
11257
|
+
"line": 54
|
|
11202
11258
|
},
|
|
11203
11259
|
"name": "requiredEnv",
|
|
11204
11260
|
"optional": true,
|
|
@@ -11210,6 +11266,24 @@
|
|
|
11210
11266
|
"kind": "array"
|
|
11211
11267
|
}
|
|
11212
11268
|
}
|
|
11269
|
+
},
|
|
11270
|
+
{
|
|
11271
|
+
"abstract": true,
|
|
11272
|
+
"docs": {
|
|
11273
|
+
"default": "- inherited from the task/project, otherwise the built-in projen shell",
|
|
11274
|
+
"stability": "experimental",
|
|
11275
|
+
"summary": "The shell used to run this task's commands, including its `condition` and `$(...)` environment evaluation. Use {@link TaskShell} to pick a built-in or an explicit invocation. Set at project, task or step level; the nearest declared level wins."
|
|
11276
|
+
},
|
|
11277
|
+
"immutable": true,
|
|
11278
|
+
"locationInModule": {
|
|
11279
|
+
"filename": "src/task-model.ts",
|
|
11280
|
+
"line": 79
|
|
11281
|
+
},
|
|
11282
|
+
"name": "shell",
|
|
11283
|
+
"optional": true,
|
|
11284
|
+
"type": {
|
|
11285
|
+
"fqn": "projen.TaskShell"
|
|
11286
|
+
}
|
|
11213
11287
|
}
|
|
11214
11288
|
],
|
|
11215
11289
|
"symbolId": "src/task-model:TaskCommonOptions"
|
|
@@ -11227,7 +11301,7 @@
|
|
|
11227
11301
|
"kind": "interface",
|
|
11228
11302
|
"locationInModule": {
|
|
11229
11303
|
"filename": "src/task.ts",
|
|
11230
|
-
"line":
|
|
11304
|
+
"line": 10
|
|
11231
11305
|
},
|
|
11232
11306
|
"name": "TaskOptions",
|
|
11233
11307
|
"properties": [
|
|
@@ -11242,7 +11316,7 @@
|
|
|
11242
11316
|
"immutable": true,
|
|
11243
11317
|
"locationInModule": {
|
|
11244
11318
|
"filename": "src/task.ts",
|
|
11245
|
-
"line":
|
|
11319
|
+
"line": 55
|
|
11246
11320
|
},
|
|
11247
11321
|
"name": "args",
|
|
11248
11322
|
"optional": true,
|
|
@@ -11259,13 +11333,14 @@
|
|
|
11259
11333
|
"abstract": true,
|
|
11260
11334
|
"docs": {
|
|
11261
11335
|
"default": "- add steps using `task.exec(command)` or `task.spawn(subtask)`",
|
|
11336
|
+
"remarks": "Mutually exclusive with `execArgs`.",
|
|
11262
11337
|
"stability": "experimental",
|
|
11263
11338
|
"summary": "Shell command to execute as the first command of the task."
|
|
11264
11339
|
},
|
|
11265
11340
|
"immutable": true,
|
|
11266
11341
|
"locationInModule": {
|
|
11267
11342
|
"filename": "src/task.ts",
|
|
11268
|
-
"line":
|
|
11343
|
+
"line": 18
|
|
11269
11344
|
},
|
|
11270
11345
|
"name": "exec",
|
|
11271
11346
|
"optional": true,
|
|
@@ -11273,6 +11348,31 @@
|
|
|
11273
11348
|
"primitive": "string"
|
|
11274
11349
|
}
|
|
11275
11350
|
},
|
|
11351
|
+
{
|
|
11352
|
+
"abstract": true,
|
|
11353
|
+
"docs": {
|
|
11354
|
+
"default": "- add steps using `task.execArgs(args)`, `task.exec(command)` or `task.spawn(subtask)`",
|
|
11355
|
+
"remarks": "A convenient alternative to `exec`: arguments with spaces or special\ncharacters are passed through as-is, with no quoting needed. The elements\nare not run through a shell, so environment variables (`$FOO`) are not\nexpanded and other shell features are unavailable.",
|
|
11356
|
+
"see": "TaskStep.execArgs *\nMutually exclusive with `exec`.",
|
|
11357
|
+
"stability": "experimental",
|
|
11358
|
+
"summary": "Shell command to execute as the first command of the task, provided as a list of the program followed by its arguments (an \"argv\")."
|
|
11359
|
+
},
|
|
11360
|
+
"immutable": true,
|
|
11361
|
+
"locationInModule": {
|
|
11362
|
+
"filename": "src/task.ts",
|
|
11363
|
+
"line": 34
|
|
11364
|
+
},
|
|
11365
|
+
"name": "execArgs",
|
|
11366
|
+
"optional": true,
|
|
11367
|
+
"type": {
|
|
11368
|
+
"collection": {
|
|
11369
|
+
"elementtype": {
|
|
11370
|
+
"primitive": "string"
|
|
11371
|
+
},
|
|
11372
|
+
"kind": "array"
|
|
11373
|
+
}
|
|
11374
|
+
}
|
|
11375
|
+
},
|
|
11276
11376
|
{
|
|
11277
11377
|
"abstract": true,
|
|
11278
11378
|
"docs": {
|
|
@@ -11284,7 +11384,7 @@
|
|
|
11284
11384
|
"immutable": true,
|
|
11285
11385
|
"locationInModule": {
|
|
11286
11386
|
"filename": "src/task.ts",
|
|
11287
|
-
"line":
|
|
11387
|
+
"line": 47
|
|
11288
11388
|
},
|
|
11289
11389
|
"name": "receiveArgs",
|
|
11290
11390
|
"optional": true,
|
|
@@ -11301,7 +11401,7 @@
|
|
|
11301
11401
|
"immutable": true,
|
|
11302
11402
|
"locationInModule": {
|
|
11303
11403
|
"filename": "src/task.ts",
|
|
11304
|
-
"line":
|
|
11404
|
+
"line": 39
|
|
11305
11405
|
},
|
|
11306
11406
|
"name": "steps",
|
|
11307
11407
|
"optional": true,
|
|
@@ -11317,21 +11417,143 @@
|
|
|
11317
11417
|
],
|
|
11318
11418
|
"symbolId": "src/task:TaskOptions"
|
|
11319
11419
|
},
|
|
11420
|
+
"projen.TaskShell": {
|
|
11421
|
+
"assembly": "projen",
|
|
11422
|
+
"docs": {
|
|
11423
|
+
"remarks": "Choose one of the built-in shells, or provide an explicit shell invocation:\n\n- {@link TaskShell.projen} (the default) - the built-in cross-platform shell.\n- {@link TaskShell.system} - the operating system's native shell.\n- {@link TaskShell.bash} / {@link TaskShell.sh} - common POSIX shells.\n- {@link TaskShell.command} - an arbitrary shell invocation given as an\n explicit argument list, e.g. `TaskShell.command([\"npx\", \"-c\"])`.\n\nA `shell` can be set at the project (tasks), task and step level, and the\nnearest declared level wins (it is a scalar override, not merged).",
|
|
11424
|
+
"stability": "experimental",
|
|
11425
|
+
"summary": "The shell used to run a task's commands - including its `condition` and any `$(...)` environment-variable evaluation."
|
|
11426
|
+
},
|
|
11427
|
+
"fqn": "projen.TaskShell",
|
|
11428
|
+
"kind": "class",
|
|
11429
|
+
"locationInModule": {
|
|
11430
|
+
"filename": "src/task-shell.ts",
|
|
11431
|
+
"line": 16
|
|
11432
|
+
},
|
|
11433
|
+
"methods": [
|
|
11434
|
+
{
|
|
11435
|
+
"docs": {
|
|
11436
|
+
"stability": "experimental",
|
|
11437
|
+
"summary": "Runs commands through `bash -c`."
|
|
11438
|
+
},
|
|
11439
|
+
"locationInModule": {
|
|
11440
|
+
"filename": "src/task-shell.ts",
|
|
11441
|
+
"line": 40
|
|
11442
|
+
},
|
|
11443
|
+
"name": "bash",
|
|
11444
|
+
"returns": {
|
|
11445
|
+
"type": {
|
|
11446
|
+
"fqn": "projen.TaskShell"
|
|
11447
|
+
}
|
|
11448
|
+
},
|
|
11449
|
+
"static": true
|
|
11450
|
+
},
|
|
11451
|
+
{
|
|
11452
|
+
"docs": {
|
|
11453
|
+
"example": "TaskShell.command([\"npx\", \"-c\"]);",
|
|
11454
|
+
"remarks": "The task\ncommand is appended as the final argument, so the invocation must accept\nthe command as its last argument (e.g. `bash -c`, `sh -c`, `npx -c`,\n`yarn exec`).",
|
|
11455
|
+
"stability": "experimental",
|
|
11456
|
+
"summary": "An arbitrary shell invocation, given as an explicit argument list."
|
|
11457
|
+
},
|
|
11458
|
+
"locationInModule": {
|
|
11459
|
+
"filename": "src/task-shell.ts",
|
|
11460
|
+
"line": 64
|
|
11461
|
+
},
|
|
11462
|
+
"name": "command",
|
|
11463
|
+
"parameters": [
|
|
11464
|
+
{
|
|
11465
|
+
"docs": {
|
|
11466
|
+
"remarks": "Must not be\nempty.",
|
|
11467
|
+
"summary": "The shell program followed by its arguments."
|
|
11468
|
+
},
|
|
11469
|
+
"name": "command",
|
|
11470
|
+
"type": {
|
|
11471
|
+
"collection": {
|
|
11472
|
+
"elementtype": {
|
|
11473
|
+
"primitive": "string"
|
|
11474
|
+
},
|
|
11475
|
+
"kind": "array"
|
|
11476
|
+
}
|
|
11477
|
+
}
|
|
11478
|
+
}
|
|
11479
|
+
],
|
|
11480
|
+
"returns": {
|
|
11481
|
+
"type": {
|
|
11482
|
+
"fqn": "projen.TaskShell"
|
|
11483
|
+
}
|
|
11484
|
+
},
|
|
11485
|
+
"static": true
|
|
11486
|
+
},
|
|
11487
|
+
{
|
|
11488
|
+
"docs": {
|
|
11489
|
+
"remarks": "It interprets POSIX-style\ntask syntax (`mkdir -p`, `&&`, `$VAR`, ...) identically on every platform,\nincluding Windows.",
|
|
11490
|
+
"stability": "experimental",
|
|
11491
|
+
"summary": "The built-in cross-platform shell (the default)."
|
|
11492
|
+
},
|
|
11493
|
+
"locationInModule": {
|
|
11494
|
+
"filename": "src/task-shell.ts",
|
|
11495
|
+
"line": 22
|
|
11496
|
+
},
|
|
11497
|
+
"name": "projen",
|
|
11498
|
+
"returns": {
|
|
11499
|
+
"type": {
|
|
11500
|
+
"fqn": "projen.TaskShell"
|
|
11501
|
+
}
|
|
11502
|
+
},
|
|
11503
|
+
"static": true
|
|
11504
|
+
},
|
|
11505
|
+
{
|
|
11506
|
+
"docs": {
|
|
11507
|
+
"stability": "experimental",
|
|
11508
|
+
"summary": "Runs commands through `sh -c`."
|
|
11509
|
+
},
|
|
11510
|
+
"locationInModule": {
|
|
11511
|
+
"filename": "src/task-shell.ts",
|
|
11512
|
+
"line": 47
|
|
11513
|
+
},
|
|
11514
|
+
"name": "sh",
|
|
11515
|
+
"returns": {
|
|
11516
|
+
"type": {
|
|
11517
|
+
"fqn": "projen.TaskShell"
|
|
11518
|
+
}
|
|
11519
|
+
},
|
|
11520
|
+
"static": true
|
|
11521
|
+
},
|
|
11522
|
+
{
|
|
11523
|
+
"docs": {
|
|
11524
|
+
"remarks": "Use this to opt out of the cross-platform shell and run commands through\nwhatever shell the host provides.",
|
|
11525
|
+
"stability": "experimental",
|
|
11526
|
+
"summary": "The operating system's native shell (`/bin/sh` on POSIX, `cmd.exe` on Windows)."
|
|
11527
|
+
},
|
|
11528
|
+
"locationInModule": {
|
|
11529
|
+
"filename": "src/task-shell.ts",
|
|
11530
|
+
"line": 33
|
|
11531
|
+
},
|
|
11532
|
+
"name": "system",
|
|
11533
|
+
"returns": {
|
|
11534
|
+
"type": {
|
|
11535
|
+
"fqn": "projen.TaskShell"
|
|
11536
|
+
}
|
|
11537
|
+
},
|
|
11538
|
+
"static": true
|
|
11539
|
+
}
|
|
11540
|
+
],
|
|
11541
|
+
"name": "TaskShell",
|
|
11542
|
+
"symbolId": "src/task-shell:TaskShell"
|
|
11543
|
+
},
|
|
11320
11544
|
"projen.TaskSpec": {
|
|
11321
11545
|
"assembly": "projen",
|
|
11322
11546
|
"datatype": true,
|
|
11323
11547
|
"docs": {
|
|
11548
|
+
"remarks": "The `tasks.json` (manifest) form of a task. {@link TaskCommonOptions} is the\nform used to define one; they differ only in the rendered `shell` field.",
|
|
11324
11549
|
"stability": "experimental",
|
|
11325
11550
|
"summary": "Specification of a single task."
|
|
11326
11551
|
},
|
|
11327
11552
|
"fqn": "projen.TaskSpec",
|
|
11328
|
-
"interfaces": [
|
|
11329
|
-
"projen.TaskCommonOptions"
|
|
11330
|
-
],
|
|
11331
11553
|
"kind": "interface",
|
|
11332
11554
|
"locationInModule": {
|
|
11333
11555
|
"filename": "src/task-model.ts",
|
|
11334
|
-
"line":
|
|
11556
|
+
"line": 88
|
|
11335
11557
|
},
|
|
11336
11558
|
"name": "TaskSpec",
|
|
11337
11559
|
"properties": [
|
|
@@ -11344,13 +11566,146 @@
|
|
|
11344
11566
|
"immutable": true,
|
|
11345
11567
|
"locationInModule": {
|
|
11346
11568
|
"filename": "src/task-model.ts",
|
|
11347
|
-
"line":
|
|
11569
|
+
"line": 92
|
|
11348
11570
|
},
|
|
11349
11571
|
"name": "name",
|
|
11350
11572
|
"type": {
|
|
11351
11573
|
"primitive": "string"
|
|
11352
11574
|
}
|
|
11353
11575
|
},
|
|
11576
|
+
{
|
|
11577
|
+
"abstract": true,
|
|
11578
|
+
"docs": {
|
|
11579
|
+
"remarks": "If\nthe program exits with a zero exit code, steps will be executed. A non-zero\ncode means that task will be skipped.",
|
|
11580
|
+
"stability": "experimental",
|
|
11581
|
+
"summary": "A shell command which determines if the this task should be executed."
|
|
11582
|
+
},
|
|
11583
|
+
"immutable": true,
|
|
11584
|
+
"locationInModule": {
|
|
11585
|
+
"filename": "src/task-model.ts",
|
|
11586
|
+
"line": 118
|
|
11587
|
+
},
|
|
11588
|
+
"name": "condition",
|
|
11589
|
+
"optional": true,
|
|
11590
|
+
"type": {
|
|
11591
|
+
"primitive": "string"
|
|
11592
|
+
}
|
|
11593
|
+
},
|
|
11594
|
+
{
|
|
11595
|
+
"abstract": true,
|
|
11596
|
+
"docs": {
|
|
11597
|
+
"default": "- process.cwd()",
|
|
11598
|
+
"stability": "experimental",
|
|
11599
|
+
"summary": "The working directory for all steps in this task (unless overridden by the step)."
|
|
11600
|
+
},
|
|
11601
|
+
"immutable": true,
|
|
11602
|
+
"locationInModule": {
|
|
11603
|
+
"filename": "src/task-model.ts",
|
|
11604
|
+
"line": 126
|
|
11605
|
+
},
|
|
11606
|
+
"name": "cwd",
|
|
11607
|
+
"optional": true,
|
|
11608
|
+
"type": {
|
|
11609
|
+
"primitive": "string"
|
|
11610
|
+
}
|
|
11611
|
+
},
|
|
11612
|
+
{
|
|
11613
|
+
"abstract": true,
|
|
11614
|
+
"docs": {
|
|
11615
|
+
"default": "- the task name",
|
|
11616
|
+
"stability": "experimental",
|
|
11617
|
+
"summary": "The description of this build command."
|
|
11618
|
+
},
|
|
11619
|
+
"immutable": true,
|
|
11620
|
+
"locationInModule": {
|
|
11621
|
+
"filename": "src/task-model.ts",
|
|
11622
|
+
"line": 98
|
|
11623
|
+
},
|
|
11624
|
+
"name": "description",
|
|
11625
|
+
"optional": true,
|
|
11626
|
+
"type": {
|
|
11627
|
+
"primitive": "string"
|
|
11628
|
+
}
|
|
11629
|
+
},
|
|
11630
|
+
{
|
|
11631
|
+
"abstract": true,
|
|
11632
|
+
"docs": {
|
|
11633
|
+
"default": "{}",
|
|
11634
|
+
"remarks": "Values in this map will be evaluated in a shell, so you can do stuff like `$(echo \"foo\")`.",
|
|
11635
|
+
"stability": "experimental",
|
|
11636
|
+
"summary": "Defines environment variables for the execution of this task."
|
|
11637
|
+
},
|
|
11638
|
+
"immutable": true,
|
|
11639
|
+
"locationInModule": {
|
|
11640
|
+
"filename": "src/task-model.ts",
|
|
11641
|
+
"line": 105
|
|
11642
|
+
},
|
|
11643
|
+
"name": "env",
|
|
11644
|
+
"optional": true,
|
|
11645
|
+
"type": {
|
|
11646
|
+
"collection": {
|
|
11647
|
+
"elementtype": {
|
|
11648
|
+
"primitive": "string"
|
|
11649
|
+
},
|
|
11650
|
+
"kind": "map"
|
|
11651
|
+
}
|
|
11652
|
+
}
|
|
11653
|
+
},
|
|
11654
|
+
{
|
|
11655
|
+
"abstract": true,
|
|
11656
|
+
"docs": {
|
|
11657
|
+
"remarks": "Task execution will fail if one of these is not defined.",
|
|
11658
|
+
"stability": "experimental",
|
|
11659
|
+
"summary": "A set of environment variables that must be defined in order to execute this task."
|
|
11660
|
+
},
|
|
11661
|
+
"immutable": true,
|
|
11662
|
+
"locationInModule": {
|
|
11663
|
+
"filename": "src/task-model.ts",
|
|
11664
|
+
"line": 111
|
|
11665
|
+
},
|
|
11666
|
+
"name": "requiredEnv",
|
|
11667
|
+
"optional": true,
|
|
11668
|
+
"type": {
|
|
11669
|
+
"collection": {
|
|
11670
|
+
"elementtype": {
|
|
11671
|
+
"primitive": "string"
|
|
11672
|
+
},
|
|
11673
|
+
"kind": "array"
|
|
11674
|
+
}
|
|
11675
|
+
}
|
|
11676
|
+
},
|
|
11677
|
+
{
|
|
11678
|
+
"abstract": true,
|
|
11679
|
+
"docs": {
|
|
11680
|
+
"default": "- the built-in projen shell",
|
|
11681
|
+
"stability": "experimental",
|
|
11682
|
+
"summary": "The task shell in `tasks.json` form: a keyword (`\"projen\"` or `\"system\"`) or an invocation argument list."
|
|
11683
|
+
},
|
|
11684
|
+
"immutable": true,
|
|
11685
|
+
"locationInModule": {
|
|
11686
|
+
"filename": "src/task-model.ts",
|
|
11687
|
+
"line": 134
|
|
11688
|
+
},
|
|
11689
|
+
"name": "shell",
|
|
11690
|
+
"optional": true,
|
|
11691
|
+
"type": {
|
|
11692
|
+
"union": {
|
|
11693
|
+
"types": [
|
|
11694
|
+
{
|
|
11695
|
+
"primitive": "string"
|
|
11696
|
+
},
|
|
11697
|
+
{
|
|
11698
|
+
"collection": {
|
|
11699
|
+
"elementtype": {
|
|
11700
|
+
"primitive": "string"
|
|
11701
|
+
},
|
|
11702
|
+
"kind": "array"
|
|
11703
|
+
}
|
|
11704
|
+
}
|
|
11705
|
+
]
|
|
11706
|
+
}
|
|
11707
|
+
}
|
|
11708
|
+
},
|
|
11354
11709
|
{
|
|
11355
11710
|
"abstract": true,
|
|
11356
11711
|
"docs": {
|
|
@@ -11360,7 +11715,7 @@
|
|
|
11360
11715
|
"immutable": true,
|
|
11361
11716
|
"locationInModule": {
|
|
11362
11717
|
"filename": "src/task-model.ts",
|
|
11363
|
-
"line":
|
|
11718
|
+
"line": 139
|
|
11364
11719
|
},
|
|
11365
11720
|
"name": "steps",
|
|
11366
11721
|
"optional": true,
|
|
@@ -11380,21 +11735,42 @@
|
|
|
11380
11735
|
"assembly": "projen",
|
|
11381
11736
|
"datatype": true,
|
|
11382
11737
|
"docs": {
|
|
11383
|
-
"remarks": "The step could either be the execution of a\nshell command or execution of a sub-task, by name.",
|
|
11738
|
+
"remarks": "The step could either be the execution of a\nshell command or execution of a sub-task, by name.\n\nThe `tasks.json` (manifest) form of a step. {@link TaskStepOptions} is the\nform used to define steps (via `task.exec()` etc.); they differ only in the\nrendered `shell` field.",
|
|
11384
11739
|
"stability": "experimental",
|
|
11385
11740
|
"summary": "A single step within a task."
|
|
11386
11741
|
},
|
|
11387
11742
|
"fqn": "projen.TaskStep",
|
|
11388
|
-
"interfaces": [
|
|
11389
|
-
"projen.TaskStepOptions"
|
|
11390
|
-
],
|
|
11391
11743
|
"kind": "interface",
|
|
11392
11744
|
"locationInModule": {
|
|
11393
11745
|
"filename": "src/task-model.ts",
|
|
11394
|
-
"line":
|
|
11746
|
+
"line": 234
|
|
11395
11747
|
},
|
|
11396
11748
|
"name": "TaskStep",
|
|
11397
11749
|
"properties": [
|
|
11750
|
+
{
|
|
11751
|
+
"abstract": true,
|
|
11752
|
+
"docs": {
|
|
11753
|
+
"default": "- no arguments are passed to the step",
|
|
11754
|
+
"see": "{@link TaskStepOptions.args }",
|
|
11755
|
+
"stability": "experimental",
|
|
11756
|
+
"summary": "A list of fixed arguments always passed to the step."
|
|
11757
|
+
},
|
|
11758
|
+
"immutable": true,
|
|
11759
|
+
"locationInModule": {
|
|
11760
|
+
"filename": "src/task-model.ts",
|
|
11761
|
+
"line": 270
|
|
11762
|
+
},
|
|
11763
|
+
"name": "args",
|
|
11764
|
+
"optional": true,
|
|
11765
|
+
"type": {
|
|
11766
|
+
"collection": {
|
|
11767
|
+
"elementtype": {
|
|
11768
|
+
"primitive": "string"
|
|
11769
|
+
},
|
|
11770
|
+
"kind": "array"
|
|
11771
|
+
}
|
|
11772
|
+
}
|
|
11773
|
+
},
|
|
11398
11774
|
{
|
|
11399
11775
|
"abstract": true,
|
|
11400
11776
|
"docs": {
|
|
@@ -11406,7 +11782,7 @@
|
|
|
11406
11782
|
"immutable": true,
|
|
11407
11783
|
"locationInModule": {
|
|
11408
11784
|
"filename": "src/task-model.ts",
|
|
11409
|
-
"line":
|
|
11785
|
+
"line": 345
|
|
11410
11786
|
},
|
|
11411
11787
|
"name": "builtin",
|
|
11412
11788
|
"optional": true,
|
|
@@ -11414,17 +11790,78 @@
|
|
|
11414
11790
|
"primitive": "string"
|
|
11415
11791
|
}
|
|
11416
11792
|
},
|
|
11793
|
+
{
|
|
11794
|
+
"abstract": true,
|
|
11795
|
+
"docs": {
|
|
11796
|
+
"remarks": "If\nthe program exits with a zero exit code, the step will be executed. A non-zero\ncode means the step will be skipped (subsequent task steps will still be evaluated/executed).",
|
|
11797
|
+
"stability": "experimental",
|
|
11798
|
+
"summary": "A shell command which determines if the this step should be executed."
|
|
11799
|
+
},
|
|
11800
|
+
"immutable": true,
|
|
11801
|
+
"locationInModule": {
|
|
11802
|
+
"filename": "src/task-model.ts",
|
|
11803
|
+
"line": 254
|
|
11804
|
+
},
|
|
11805
|
+
"name": "condition",
|
|
11806
|
+
"optional": true,
|
|
11807
|
+
"type": {
|
|
11808
|
+
"primitive": "string"
|
|
11809
|
+
}
|
|
11810
|
+
},
|
|
11811
|
+
{
|
|
11812
|
+
"abstract": true,
|
|
11813
|
+
"docs": {
|
|
11814
|
+
"default": "- determined by the task",
|
|
11815
|
+
"stability": "experimental",
|
|
11816
|
+
"summary": "The working directory for this step."
|
|
11817
|
+
},
|
|
11818
|
+
"immutable": true,
|
|
11819
|
+
"locationInModule": {
|
|
11820
|
+
"filename": "src/task-model.ts",
|
|
11821
|
+
"line": 247
|
|
11822
|
+
},
|
|
11823
|
+
"name": "cwd",
|
|
11824
|
+
"optional": true,
|
|
11825
|
+
"type": {
|
|
11826
|
+
"primitive": "string"
|
|
11827
|
+
}
|
|
11828
|
+
},
|
|
11829
|
+
{
|
|
11830
|
+
"abstract": true,
|
|
11831
|
+
"docs": {
|
|
11832
|
+
"default": "- no environment variables defined in step",
|
|
11833
|
+
"see": "{@link TaskStepOptions.env }",
|
|
11834
|
+
"stability": "experimental",
|
|
11835
|
+
"summary": "Defines environment variables for the execution of this step (`exec` and `builtin` only)."
|
|
11836
|
+
},
|
|
11837
|
+
"immutable": true,
|
|
11838
|
+
"locationInModule": {
|
|
11839
|
+
"filename": "src/task-model.ts",
|
|
11840
|
+
"line": 278
|
|
11841
|
+
},
|
|
11842
|
+
"name": "env",
|
|
11843
|
+
"optional": true,
|
|
11844
|
+
"type": {
|
|
11845
|
+
"collection": {
|
|
11846
|
+
"elementtype": {
|
|
11847
|
+
"primitive": "string"
|
|
11848
|
+
},
|
|
11849
|
+
"kind": "map"
|
|
11850
|
+
}
|
|
11851
|
+
}
|
|
11852
|
+
},
|
|
11417
11853
|
{
|
|
11418
11854
|
"abstract": true,
|
|
11419
11855
|
"docs": {
|
|
11420
11856
|
"default": "- don't execute a shell command",
|
|
11857
|
+
"remarks": "The whole command is a single shell string. To pass arguments as a list\ninstead - without having to quote spaces or other characters yourself -\nuse `execArgs`.",
|
|
11421
11858
|
"stability": "experimental",
|
|
11422
11859
|
"summary": "Shell command to execute."
|
|
11423
11860
|
},
|
|
11424
11861
|
"immutable": true,
|
|
11425
11862
|
"locationInModule": {
|
|
11426
11863
|
"filename": "src/task-model.ts",
|
|
11427
|
-
"line":
|
|
11864
|
+
"line": 297
|
|
11428
11865
|
},
|
|
11429
11866
|
"name": "exec",
|
|
11430
11867
|
"optional": true,
|
|
@@ -11432,6 +11869,68 @@
|
|
|
11432
11869
|
"primitive": "string"
|
|
11433
11870
|
}
|
|
11434
11871
|
},
|
|
11872
|
+
{
|
|
11873
|
+
"abstract": true,
|
|
11874
|
+
"docs": {
|
|
11875
|
+
"default": "- don't execute a shell command",
|
|
11876
|
+
"example": "{ execArgs: [\"echo\", \"hello world\"] }",
|
|
11877
|
+
"remarks": "Often more convenient than `exec`: each element is passed to the\nprogram as-is, so arguments with spaces or special characters don't need\nquoting. Fixed (`args`) or received (`receiveArgs`) arguments are inserted\nwherever a `$@` element appears, or appended at the end if there is none.\n\nThe elements are not run through a shell, so environment variables (`$FOO`)\nare not expanded and other shell features are unavailable. Use `exec`\nif you need them.\n\nMutually exclusive with `exec`.",
|
|
11878
|
+
"stability": "experimental",
|
|
11879
|
+
"summary": "Shell command to execute, provided as a list of the program followed by its arguments (an \"argv\")."
|
|
11880
|
+
},
|
|
11881
|
+
"immutable": true,
|
|
11882
|
+
"locationInModule": {
|
|
11883
|
+
"filename": "src/task-model.ts",
|
|
11884
|
+
"line": 318
|
|
11885
|
+
},
|
|
11886
|
+
"name": "execArgs",
|
|
11887
|
+
"optional": true,
|
|
11888
|
+
"type": {
|
|
11889
|
+
"collection": {
|
|
11890
|
+
"elementtype": {
|
|
11891
|
+
"primitive": "string"
|
|
11892
|
+
},
|
|
11893
|
+
"kind": "array"
|
|
11894
|
+
}
|
|
11895
|
+
}
|
|
11896
|
+
},
|
|
11897
|
+
{
|
|
11898
|
+
"abstract": true,
|
|
11899
|
+
"docs": {
|
|
11900
|
+
"default": "- no name",
|
|
11901
|
+
"stability": "experimental",
|
|
11902
|
+
"summary": "Step name."
|
|
11903
|
+
},
|
|
11904
|
+
"immutable": true,
|
|
11905
|
+
"locationInModule": {
|
|
11906
|
+
"filename": "src/task-model.ts",
|
|
11907
|
+
"line": 240
|
|
11908
|
+
},
|
|
11909
|
+
"name": "name",
|
|
11910
|
+
"optional": true,
|
|
11911
|
+
"type": {
|
|
11912
|
+
"primitive": "string"
|
|
11913
|
+
}
|
|
11914
|
+
},
|
|
11915
|
+
{
|
|
11916
|
+
"abstract": true,
|
|
11917
|
+
"docs": {
|
|
11918
|
+
"default": "false",
|
|
11919
|
+
"see": "{@link TaskStepOptions.receiveArgs }",
|
|
11920
|
+
"stability": "experimental",
|
|
11921
|
+
"summary": "Should this step receive args passed to the task."
|
|
11922
|
+
},
|
|
11923
|
+
"immutable": true,
|
|
11924
|
+
"locationInModule": {
|
|
11925
|
+
"filename": "src/task-model.ts",
|
|
11926
|
+
"line": 262
|
|
11927
|
+
},
|
|
11928
|
+
"name": "receiveArgs",
|
|
11929
|
+
"optional": true,
|
|
11930
|
+
"type": {
|
|
11931
|
+
"primitive": "boolean"
|
|
11932
|
+
}
|
|
11933
|
+
},
|
|
11435
11934
|
{
|
|
11436
11935
|
"abstract": true,
|
|
11437
11936
|
"docs": {
|
|
@@ -11442,7 +11941,7 @@
|
|
|
11442
11941
|
"immutable": true,
|
|
11443
11942
|
"locationInModule": {
|
|
11444
11943
|
"filename": "src/task-model.ts",
|
|
11445
|
-
"line":
|
|
11944
|
+
"line": 331
|
|
11446
11945
|
},
|
|
11447
11946
|
"name": "say",
|
|
11448
11947
|
"optional": true,
|
|
@@ -11450,6 +11949,38 @@
|
|
|
11450
11949
|
"primitive": "string"
|
|
11451
11950
|
}
|
|
11452
11951
|
},
|
|
11952
|
+
{
|
|
11953
|
+
"abstract": true,
|
|
11954
|
+
"docs": {
|
|
11955
|
+
"default": "- the task's (or project's) shell",
|
|
11956
|
+
"stability": "experimental",
|
|
11957
|
+
"summary": "The step shell in `tasks.json` form: a keyword (`\"projen\"` or `\"system\"`) or an invocation argument list."
|
|
11958
|
+
},
|
|
11959
|
+
"immutable": true,
|
|
11960
|
+
"locationInModule": {
|
|
11961
|
+
"filename": "src/task-model.ts",
|
|
11962
|
+
"line": 286
|
|
11963
|
+
},
|
|
11964
|
+
"name": "shell",
|
|
11965
|
+
"optional": true,
|
|
11966
|
+
"type": {
|
|
11967
|
+
"union": {
|
|
11968
|
+
"types": [
|
|
11969
|
+
{
|
|
11970
|
+
"primitive": "string"
|
|
11971
|
+
},
|
|
11972
|
+
{
|
|
11973
|
+
"collection": {
|
|
11974
|
+
"elementtype": {
|
|
11975
|
+
"primitive": "string"
|
|
11976
|
+
},
|
|
11977
|
+
"kind": "array"
|
|
11978
|
+
}
|
|
11979
|
+
}
|
|
11980
|
+
]
|
|
11981
|
+
}
|
|
11982
|
+
}
|
|
11983
|
+
},
|
|
11453
11984
|
{
|
|
11454
11985
|
"abstract": true,
|
|
11455
11986
|
"docs": {
|
|
@@ -11460,7 +11991,7 @@
|
|
|
11460
11991
|
"immutable": true,
|
|
11461
11992
|
"locationInModule": {
|
|
11462
11993
|
"filename": "src/task-model.ts",
|
|
11463
|
-
"line":
|
|
11994
|
+
"line": 325
|
|
11464
11995
|
},
|
|
11465
11996
|
"name": "spawn",
|
|
11466
11997
|
"optional": true,
|
|
@@ -11482,7 +12013,7 @@
|
|
|
11482
12013
|
"kind": "interface",
|
|
11483
12014
|
"locationInModule": {
|
|
11484
12015
|
"filename": "src/task-model.ts",
|
|
11485
|
-
"line":
|
|
12016
|
+
"line": 145
|
|
11486
12017
|
},
|
|
11487
12018
|
"name": "TaskStepOptions",
|
|
11488
12019
|
"properties": [
|
|
@@ -11498,7 +12029,7 @@
|
|
|
11498
12029
|
"immutable": true,
|
|
11499
12030
|
"locationInModule": {
|
|
11500
12031
|
"filename": "src/task-model.ts",
|
|
11501
|
-
"line":
|
|
12032
|
+
"line": 205
|
|
11502
12033
|
},
|
|
11503
12034
|
"name": "args",
|
|
11504
12035
|
"optional": true,
|
|
@@ -11521,7 +12052,7 @@
|
|
|
11521
12052
|
"immutable": true,
|
|
11522
12053
|
"locationInModule": {
|
|
11523
12054
|
"filename": "src/task-model.ts",
|
|
11524
|
-
"line":
|
|
12055
|
+
"line": 165
|
|
11525
12056
|
},
|
|
11526
12057
|
"name": "condition",
|
|
11527
12058
|
"optional": true,
|
|
@@ -11539,7 +12070,7 @@
|
|
|
11539
12070
|
"immutable": true,
|
|
11540
12071
|
"locationInModule": {
|
|
11541
12072
|
"filename": "src/task-model.ts",
|
|
11542
|
-
"line":
|
|
12073
|
+
"line": 158
|
|
11543
12074
|
},
|
|
11544
12075
|
"name": "cwd",
|
|
11545
12076
|
"optional": true,
|
|
@@ -11559,7 +12090,7 @@
|
|
|
11559
12090
|
"immutable": true,
|
|
11560
12091
|
"locationInModule": {
|
|
11561
12092
|
"filename": "src/task-model.ts",
|
|
11562
|
-
"line":
|
|
12093
|
+
"line": 215
|
|
11563
12094
|
},
|
|
11564
12095
|
"name": "env",
|
|
11565
12096
|
"optional": true,
|
|
@@ -11582,7 +12113,7 @@
|
|
|
11582
12113
|
"immutable": true,
|
|
11583
12114
|
"locationInModule": {
|
|
11584
12115
|
"filename": "src/task-model.ts",
|
|
11585
|
-
"line":
|
|
12116
|
+
"line": 151
|
|
11586
12117
|
},
|
|
11587
12118
|
"name": "name",
|
|
11588
12119
|
"optional": true,
|
|
@@ -11595,20 +12126,39 @@
|
|
|
11595
12126
|
"docs": {
|
|
11596
12127
|
"default": "false",
|
|
11597
12128
|
"example": "task.exec(\"echo Hello $@ World!\", { receiveArgs: true });",
|
|
11598
|
-
"remarks": "If `true`, args are passed through at the end of the `exec` shell command.\\\nThe position of the args can be changed by including the marker `$@` inside the command string.\n\nIf the marker is explicitly double-quoted (\"$@\") arguments will be wrapped in
|
|
12129
|
+
"remarks": "If `true`, args are passed through at the end of the `exec` shell command.\\\nThe position of the args can be changed by including the marker `$@` inside the command string.\n\nIf the marker is explicitly double-quoted (\"$@\") arguments will be wrapped in double quotes, approximating\nthe whitespace preserving behavior of bash variable expansion.\n\nIf the step spawns a subtask, args are passed to the subtask.\nThe subtask must define steps receiving args for this to have any effect.",
|
|
11599
12130
|
"stability": "experimental",
|
|
11600
12131
|
"summary": "Should this step receive args passed to the task."
|
|
11601
12132
|
},
|
|
11602
12133
|
"immutable": true,
|
|
11603
12134
|
"locationInModule": {
|
|
11604
12135
|
"filename": "src/task-model.ts",
|
|
11605
|
-
"line":
|
|
12136
|
+
"line": 183
|
|
11606
12137
|
},
|
|
11607
12138
|
"name": "receiveArgs",
|
|
11608
12139
|
"optional": true,
|
|
11609
12140
|
"type": {
|
|
11610
12141
|
"primitive": "boolean"
|
|
11611
12142
|
}
|
|
12143
|
+
},
|
|
12144
|
+
{
|
|
12145
|
+
"abstract": true,
|
|
12146
|
+
"docs": {
|
|
12147
|
+
"default": "- the task's (or project's) shell",
|
|
12148
|
+
"see": "{@link TaskCommonOptions.shell }",
|
|
12149
|
+
"stability": "experimental",
|
|
12150
|
+
"summary": "The shell used to run this step, overriding the task/project shell."
|
|
12151
|
+
},
|
|
12152
|
+
"immutable": true,
|
|
12153
|
+
"locationInModule": {
|
|
12154
|
+
"filename": "src/task-model.ts",
|
|
12155
|
+
"line": 223
|
|
12156
|
+
},
|
|
12157
|
+
"name": "shell",
|
|
12158
|
+
"optional": true,
|
|
12159
|
+
"type": {
|
|
12160
|
+
"fqn": "projen.TaskShell"
|
|
12161
|
+
}
|
|
11612
12162
|
}
|
|
11613
12163
|
],
|
|
11614
12164
|
"symbolId": "src/task-model:TaskStepOptions"
|
|
@@ -11628,7 +12178,7 @@
|
|
|
11628
12178
|
},
|
|
11629
12179
|
"locationInModule": {
|
|
11630
12180
|
"filename": "src/tasks.ts",
|
|
11631
|
-
"line":
|
|
12181
|
+
"line": 25
|
|
11632
12182
|
},
|
|
11633
12183
|
"parameters": [
|
|
11634
12184
|
{
|
|
@@ -11642,7 +12192,7 @@
|
|
|
11642
12192
|
"kind": "class",
|
|
11643
12193
|
"locationInModule": {
|
|
11644
12194
|
"filename": "src/tasks.ts",
|
|
11645
|
-
"line":
|
|
12195
|
+
"line": 19
|
|
11646
12196
|
},
|
|
11647
12197
|
"methods": [
|
|
11648
12198
|
{
|
|
@@ -11652,7 +12202,7 @@
|
|
|
11652
12202
|
},
|
|
11653
12203
|
"locationInModule": {
|
|
11654
12204
|
"filename": "src/tasks.ts",
|
|
11655
|
-
"line":
|
|
12205
|
+
"line": 92
|
|
11656
12206
|
},
|
|
11657
12207
|
"name": "addEnvironment",
|
|
11658
12208
|
"parameters": [
|
|
@@ -11683,7 +12233,7 @@
|
|
|
11683
12233
|
},
|
|
11684
12234
|
"locationInModule": {
|
|
11685
12235
|
"filename": "src/tasks.ts",
|
|
11686
|
-
"line":
|
|
12236
|
+
"line": 49
|
|
11687
12237
|
},
|
|
11688
12238
|
"name": "addTask",
|
|
11689
12239
|
"parameters": [
|
|
@@ -11721,7 +12271,7 @@
|
|
|
11721
12271
|
},
|
|
11722
12272
|
"locationInModule": {
|
|
11723
12273
|
"filename": "src/tasks.ts",
|
|
11724
|
-
"line":
|
|
12274
|
+
"line": 67
|
|
11725
12275
|
},
|
|
11726
12276
|
"name": "removeTask",
|
|
11727
12277
|
"parameters": [
|
|
@@ -11748,7 +12298,7 @@
|
|
|
11748
12298
|
},
|
|
11749
12299
|
"locationInModule": {
|
|
11750
12300
|
"filename": "src/tasks.ts",
|
|
11751
|
-
"line":
|
|
12301
|
+
"line": 164
|
|
11752
12302
|
},
|
|
11753
12303
|
"name": "resolveTasksManifest",
|
|
11754
12304
|
"parameters": [
|
|
@@ -11772,7 +12322,7 @@
|
|
|
11772
12322
|
},
|
|
11773
12323
|
"locationInModule": {
|
|
11774
12324
|
"filename": "src/tasks.ts",
|
|
11775
|
-
"line":
|
|
12325
|
+
"line": 136
|
|
11776
12326
|
},
|
|
11777
12327
|
"name": "runTask",
|
|
11778
12328
|
"parameters": [
|
|
@@ -11818,7 +12368,7 @@
|
|
|
11818
12368
|
},
|
|
11819
12369
|
"locationInModule": {
|
|
11820
12370
|
"filename": "src/tasks.ts",
|
|
11821
|
-
"line":
|
|
12371
|
+
"line": 144
|
|
11822
12372
|
},
|
|
11823
12373
|
"name": "synthesize",
|
|
11824
12374
|
"overrides": "projen.Component"
|
|
@@ -11831,7 +12381,7 @@
|
|
|
11831
12381
|
},
|
|
11832
12382
|
"locationInModule": {
|
|
11833
12383
|
"filename": "src/tasks.ts",
|
|
11834
|
-
"line":
|
|
12384
|
+
"line": 126
|
|
11835
12385
|
},
|
|
11836
12386
|
"name": "tryFind",
|
|
11837
12387
|
"parameters": [
|
|
@@ -11863,7 +12413,7 @@
|
|
|
11863
12413
|
"immutable": true,
|
|
11864
12414
|
"locationInModule": {
|
|
11865
12415
|
"filename": "src/tasks.ts",
|
|
11866
|
-
"line":
|
|
12416
|
+
"line": 40
|
|
11867
12417
|
},
|
|
11868
12418
|
"name": "all",
|
|
11869
12419
|
"type": {
|
|
@@ -11883,7 +12433,7 @@
|
|
|
11883
12433
|
"immutable": true,
|
|
11884
12434
|
"locationInModule": {
|
|
11885
12435
|
"filename": "src/tasks.ts",
|
|
11886
|
-
"line":
|
|
12436
|
+
"line": 99
|
|
11887
12437
|
},
|
|
11888
12438
|
"name": "env",
|
|
11889
12439
|
"type": {
|
|
@@ -11894,6 +12444,23 @@
|
|
|
11894
12444
|
"kind": "map"
|
|
11895
12445
|
}
|
|
11896
12446
|
}
|
|
12447
|
+
},
|
|
12448
|
+
{
|
|
12449
|
+
"docs": {
|
|
12450
|
+
"remarks": "Individual tasks and steps can\noverride this.\nSets the default shell used to run all task commands.",
|
|
12451
|
+
"see": "{@link TaskCommonOptions.shell }",
|
|
12452
|
+
"stability": "experimental",
|
|
12453
|
+
"summary": "The default shell used to run all task commands, or `undefined` for the built-in cross-platform projen shell."
|
|
12454
|
+
},
|
|
12455
|
+
"locationInModule": {
|
|
12456
|
+
"filename": "src/tasks.ts",
|
|
12457
|
+
"line": 111
|
|
12458
|
+
},
|
|
12459
|
+
"name": "shell",
|
|
12460
|
+
"optional": true,
|
|
12461
|
+
"type": {
|
|
12462
|
+
"fqn": "projen.TaskShell"
|
|
12463
|
+
}
|
|
11897
12464
|
}
|
|
11898
12465
|
],
|
|
11899
12466
|
"symbolId": "src/tasks:Tasks"
|
|
@@ -11909,7 +12476,7 @@
|
|
|
11909
12476
|
"kind": "interface",
|
|
11910
12477
|
"locationInModule": {
|
|
11911
12478
|
"filename": "src/task-model.ts",
|
|
11912
|
-
"line":
|
|
12479
|
+
"line": 6
|
|
11913
12480
|
},
|
|
11914
12481
|
"name": "TasksManifest",
|
|
11915
12482
|
"properties": [
|
|
@@ -11922,7 +12489,7 @@
|
|
|
11922
12489
|
"immutable": true,
|
|
11923
12490
|
"locationInModule": {
|
|
11924
12491
|
"filename": "src/task-model.ts",
|
|
11925
|
-
"line":
|
|
12492
|
+
"line": 26
|
|
11926
12493
|
},
|
|
11927
12494
|
"name": "env",
|
|
11928
12495
|
"optional": true,
|
|
@@ -11946,7 +12513,7 @@
|
|
|
11946
12513
|
"immutable": true,
|
|
11947
12514
|
"locationInModule": {
|
|
11948
12515
|
"filename": "src/task-model.ts",
|
|
11949
|
-
"line":
|
|
12516
|
+
"line": 16
|
|
11950
12517
|
},
|
|
11951
12518
|
"name": "manifestVersion",
|
|
11952
12519
|
"optional": true,
|
|
@@ -11954,6 +12521,37 @@
|
|
|
11954
12521
|
"primitive": "number"
|
|
11955
12522
|
}
|
|
11956
12523
|
},
|
|
12524
|
+
{
|
|
12525
|
+
"abstract": true,
|
|
12526
|
+
"docs": {
|
|
12527
|
+
"stability": "experimental",
|
|
12528
|
+
"summary": "The default task shell, in `tasks.json` form: a keyword (`\"projen\"` or `\"system\"`) or an invocation argument list. See {@link TaskCommonOptions.shell}."
|
|
12529
|
+
},
|
|
12530
|
+
"immutable": true,
|
|
12531
|
+
"locationInModule": {
|
|
12532
|
+
"filename": "src/task-model.ts",
|
|
12533
|
+
"line": 33
|
|
12534
|
+
},
|
|
12535
|
+
"name": "shell",
|
|
12536
|
+
"optional": true,
|
|
12537
|
+
"type": {
|
|
12538
|
+
"union": {
|
|
12539
|
+
"types": [
|
|
12540
|
+
{
|
|
12541
|
+
"primitive": "string"
|
|
12542
|
+
},
|
|
12543
|
+
{
|
|
12544
|
+
"collection": {
|
|
12545
|
+
"elementtype": {
|
|
12546
|
+
"primitive": "string"
|
|
12547
|
+
},
|
|
12548
|
+
"kind": "array"
|
|
12549
|
+
}
|
|
12550
|
+
}
|
|
12551
|
+
]
|
|
12552
|
+
}
|
|
12553
|
+
}
|
|
12554
|
+
},
|
|
11957
12555
|
{
|
|
11958
12556
|
"abstract": true,
|
|
11959
12557
|
"docs": {
|
|
@@ -11963,7 +12561,7 @@
|
|
|
11963
12561
|
"immutable": true,
|
|
11964
12562
|
"locationInModule": {
|
|
11965
12563
|
"filename": "src/task-model.ts",
|
|
11966
|
-
"line":
|
|
12564
|
+
"line": 21
|
|
11967
12565
|
},
|
|
11968
12566
|
"name": "tasks",
|
|
11969
12567
|
"optional": true,
|
|
@@ -50407,7 +51005,7 @@
|
|
|
50407
51005
|
},
|
|
50408
51006
|
"locationInModule": {
|
|
50409
51007
|
"filename": "src/javascript/node-project.ts",
|
|
50410
|
-
"line":
|
|
51008
|
+
"line": 979
|
|
50411
51009
|
},
|
|
50412
51010
|
"name": "addBins",
|
|
50413
51011
|
"parameters": [
|
|
@@ -50432,7 +51030,7 @@
|
|
|
50432
51030
|
},
|
|
50433
51031
|
"locationInModule": {
|
|
50434
51032
|
"filename": "src/javascript/node-project.ts",
|
|
50435
|
-
"line":
|
|
51033
|
+
"line": 1243
|
|
50436
51034
|
},
|
|
50437
51035
|
"name": "addBundledDeps",
|
|
50438
51036
|
"parameters": [
|
|
@@ -50457,7 +51055,7 @@
|
|
|
50457
51055
|
},
|
|
50458
51056
|
"locationInModule": {
|
|
50459
51057
|
"filename": "src/javascript/node-project.ts",
|
|
50460
|
-
"line":
|
|
51058
|
+
"line": 1197
|
|
50461
51059
|
},
|
|
50462
51060
|
"name": "addDeps",
|
|
50463
51061
|
"parameters": [
|
|
@@ -50482,7 +51080,7 @@
|
|
|
50482
51080
|
},
|
|
50483
51081
|
"locationInModule": {
|
|
50484
51082
|
"filename": "src/javascript/node-project.ts",
|
|
50485
|
-
"line":
|
|
51083
|
+
"line": 1210
|
|
50486
51084
|
},
|
|
50487
51085
|
"name": "addDevDeps",
|
|
50488
51086
|
"parameters": [
|
|
@@ -50507,7 +51105,7 @@
|
|
|
50507
51105
|
},
|
|
50508
51106
|
"locationInModule": {
|
|
50509
51107
|
"filename": "src/javascript/node-project.ts",
|
|
50510
|
-
"line":
|
|
51108
|
+
"line": 1015
|
|
50511
51109
|
},
|
|
50512
51110
|
"name": "addFields",
|
|
50513
51111
|
"parameters": [
|
|
@@ -50534,7 +51132,7 @@
|
|
|
50534
51132
|
},
|
|
50535
51133
|
"locationInModule": {
|
|
50536
51134
|
"filename": "src/javascript/node-project.ts",
|
|
50537
|
-
"line":
|
|
51135
|
+
"line": 1025
|
|
50538
51136
|
},
|
|
50539
51137
|
"name": "addKeywords",
|
|
50540
51138
|
"parameters": [
|
|
@@ -50561,7 +51159,7 @@
|
|
|
50561
51159
|
},
|
|
50562
51160
|
"locationInModule": {
|
|
50563
51161
|
"filename": "src/javascript/node-project.ts",
|
|
50564
|
-
"line":
|
|
51162
|
+
"line": 1255
|
|
50565
51163
|
},
|
|
50566
51164
|
"name": "addPackageIgnore",
|
|
50567
51165
|
"overrides": "projen.Project",
|
|
@@ -50585,7 +51183,7 @@
|
|
|
50585
51183
|
},
|
|
50586
51184
|
"locationInModule": {
|
|
50587
51185
|
"filename": "src/javascript/node-project.ts",
|
|
50588
|
-
"line":
|
|
51186
|
+
"line": 1227
|
|
50589
51187
|
},
|
|
50590
51188
|
"name": "addPeerDeps",
|
|
50591
51189
|
"parameters": [
|
|
@@ -50610,7 +51208,7 @@
|
|
|
50610
51208
|
},
|
|
50611
51209
|
"locationInModule": {
|
|
50612
51210
|
"filename": "src/javascript/node-project.ts",
|
|
50613
|
-
"line":
|
|
51211
|
+
"line": 997
|
|
50614
51212
|
},
|
|
50615
51213
|
"name": "addScripts",
|
|
50616
51214
|
"parameters": [
|
|
@@ -50637,7 +51235,7 @@
|
|
|
50637
51235
|
},
|
|
50638
51236
|
"locationInModule": {
|
|
50639
51237
|
"filename": "src/javascript/node-project.ts",
|
|
50640
|
-
"line":
|
|
51238
|
+
"line": 1007
|
|
50641
51239
|
},
|
|
50642
51240
|
"name": "removeScript",
|
|
50643
51241
|
"parameters": [
|
|
@@ -50660,7 +51258,7 @@
|
|
|
50660
51258
|
},
|
|
50661
51259
|
"locationInModule": {
|
|
50662
51260
|
"filename": "src/javascript/node-project.ts",
|
|
50663
|
-
"line":
|
|
51261
|
+
"line": 1117
|
|
50664
51262
|
},
|
|
50665
51263
|
"name": "renderWorkflowSetup",
|
|
50666
51264
|
"parameters": [
|
|
@@ -50694,7 +51292,7 @@
|
|
|
50694
51292
|
},
|
|
50695
51293
|
"locationInModule": {
|
|
50696
51294
|
"filename": "src/javascript/node-project.ts",
|
|
50697
|
-
"line":
|
|
51295
|
+
"line": 1328
|
|
50698
51296
|
},
|
|
50699
51297
|
"name": "runTaskCommand",
|
|
50700
51298
|
"overrides": "projen.Project",
|
|
@@ -50722,7 +51320,7 @@
|
|
|
50722
51320
|
},
|
|
50723
51321
|
"locationInModule": {
|
|
50724
51322
|
"filename": "src/javascript/node-project.ts",
|
|
50725
|
-
"line":
|
|
51323
|
+
"line": 989
|
|
50726
51324
|
},
|
|
50727
51325
|
"name": "setScript",
|
|
50728
51326
|
"parameters": [
|
|
@@ -50931,7 +51529,7 @@
|
|
|
50931
51529
|
"immutable": true,
|
|
50932
51530
|
"locationInModule": {
|
|
50933
51531
|
"filename": "src/javascript/node-project.ts",
|
|
50934
|
-
"line":
|
|
51532
|
+
"line": 1335
|
|
50935
51533
|
},
|
|
50936
51534
|
"name": "buildWorkflowJobId",
|
|
50937
51535
|
"optional": true,
|
|
@@ -53116,7 +53714,7 @@
|
|
|
53116
53714
|
"kind": "interface",
|
|
53117
53715
|
"locationInModule": {
|
|
53118
53716
|
"filename": "src/javascript/node-project.ts",
|
|
53119
|
-
"line":
|
|
53717
|
+
"line": 1453
|
|
53120
53718
|
},
|
|
53121
53719
|
"name": "RenderWorkflowSetupOptions",
|
|
53122
53720
|
"namespace": "javascript",
|
|
@@ -53132,7 +53730,7 @@
|
|
|
53132
53730
|
"immutable": true,
|
|
53133
53731
|
"locationInModule": {
|
|
53134
53732
|
"filename": "src/javascript/node-project.ts",
|
|
53135
|
-
"line":
|
|
53733
|
+
"line": 1462
|
|
53136
53734
|
},
|
|
53137
53735
|
"name": "installStepConfiguration",
|
|
53138
53736
|
"optional": true,
|
|
@@ -53150,7 +53748,7 @@
|
|
|
53150
53748
|
"immutable": true,
|
|
53151
53749
|
"locationInModule": {
|
|
53152
53750
|
"filename": "src/javascript/node-project.ts",
|
|
53153
|
-
"line":
|
|
53751
|
+
"line": 1467
|
|
53154
53752
|
},
|
|
53155
53753
|
"name": "mutable",
|
|
53156
53754
|
"optional": true,
|
|
@@ -65360,7 +65958,7 @@
|
|
|
65360
65958
|
},
|
|
65361
65959
|
"locationInModule": {
|
|
65362
65960
|
"filename": "src/python/pip.ts",
|
|
65363
|
-
"line":
|
|
65961
|
+
"line": 55
|
|
65364
65962
|
},
|
|
65365
65963
|
"name": "addDependency",
|
|
65366
65964
|
"overrides": "projen.python.IPythonDeps",
|
|
@@ -65383,7 +65981,7 @@
|
|
|
65383
65981
|
},
|
|
65384
65982
|
"locationInModule": {
|
|
65385
65983
|
"filename": "src/python/pip.ts",
|
|
65386
|
-
"line":
|
|
65984
|
+
"line": 64
|
|
65387
65985
|
},
|
|
65388
65986
|
"name": "addDevDependency",
|
|
65389
65987
|
"overrides": "projen.python.IPythonDeps",
|
|
@@ -65406,7 +66004,7 @@
|
|
|
65406
66004
|
},
|
|
65407
66005
|
"locationInModule": {
|
|
65408
66006
|
"filename": "src/python/pip.ts",
|
|
65409
|
-
"line":
|
|
66007
|
+
"line": 71
|
|
65410
66008
|
},
|
|
65411
66009
|
"name": "installDependencies",
|
|
65412
66010
|
"overrides": "projen.python.IPythonDeps"
|
|
@@ -78983,7 +79581,7 @@
|
|
|
78983
79581
|
},
|
|
78984
79582
|
"locationInModule": {
|
|
78985
79583
|
"filename": "src/typescript/typescript.ts",
|
|
78986
|
-
"line":
|
|
79584
|
+
"line": 933
|
|
78987
79585
|
},
|
|
78988
79586
|
"parameters": [
|
|
78989
79587
|
{
|
|
@@ -78997,7 +79595,7 @@
|
|
|
78997
79595
|
"kind": "class",
|
|
78998
79596
|
"locationInModule": {
|
|
78999
79597
|
"filename": "src/typescript/typescript.ts",
|
|
79000
|
-
"line":
|
|
79598
|
+
"line": 932
|
|
79001
79599
|
},
|
|
79002
79600
|
"name": "TypeScriptAppProject",
|
|
79003
79601
|
"namespace": "typescript",
|
|
@@ -79044,7 +79642,7 @@
|
|
|
79044
79642
|
},
|
|
79045
79643
|
"locationInModule": {
|
|
79046
79644
|
"filename": "src/typescript/typescript.ts",
|
|
79047
|
-
"line":
|
|
79645
|
+
"line": 676
|
|
79048
79646
|
},
|
|
79049
79647
|
"name": "defaultTypeScriptCompilerOptions",
|
|
79050
79648
|
"protected": true,
|
|
@@ -82226,6 +82824,6 @@
|
|
|
82226
82824
|
"usedFeatures": [
|
|
82227
82825
|
"class-covariant-overrides"
|
|
82228
82826
|
],
|
|
82229
|
-
"version": "0.
|
|
82230
|
-
"fingerprint": "
|
|
82827
|
+
"version": "0.101.0",
|
|
82828
|
+
"fingerprint": "BGjjsI3QkQI4hi7MIJUczqwF4kXN1seEj8Q+SMJC7eg="
|
|
82231
82829
|
}
|