@codedrifters/configulator 0.0.198 → 0.0.199
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/lib/index.d.mts +10 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.js +26 -17
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +22 -13
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.mts
CHANGED
|
@@ -1791,6 +1791,11 @@ declare const VERSION: {
|
|
|
1791
1791
|
* Version of Node.js to use in CI workflows at github actions.
|
|
1792
1792
|
*/
|
|
1793
1793
|
readonly NODE_WORKFLOWS: "24";
|
|
1794
|
+
/**
|
|
1795
|
+
* Version of `pnpm/action-setup` to use in GitHub workflows.
|
|
1796
|
+
* Tracks the version projen currently emits (see node_modules/projen/lib/javascript/node-project.js).
|
|
1797
|
+
*/
|
|
1798
|
+
readonly PNPM_ACTION_SETUP_VERSION: "v5";
|
|
1794
1799
|
/**
|
|
1795
1800
|
* Version of PNPM to use in workflows at github actions.
|
|
1796
1801
|
*/
|
|
@@ -1799,6 +1804,11 @@ declare const VERSION: {
|
|
|
1799
1804
|
* Version of Projen to use.
|
|
1800
1805
|
*/
|
|
1801
1806
|
readonly PROJEN_VERSION: "0.99.48";
|
|
1807
|
+
/**
|
|
1808
|
+
* Version of `actions/setup-node` to use in GitHub workflows.
|
|
1809
|
+
* Tracks the version projen currently emits (see node_modules/projen/lib/github/workflows.js).
|
|
1810
|
+
*/
|
|
1811
|
+
readonly SETUP_NODE_ACTION_VERSION: "v6";
|
|
1802
1812
|
/**
|
|
1803
1813
|
* Version of sharp to pin for StarlightProject (required peer for
|
|
1804
1814
|
* Starlight's image optimization pipeline).
|
package/lib/index.d.ts
CHANGED
|
@@ -1840,6 +1840,11 @@ declare const VERSION: {
|
|
|
1840
1840
|
* Version of Node.js to use in CI workflows at github actions.
|
|
1841
1841
|
*/
|
|
1842
1842
|
readonly NODE_WORKFLOWS: "24";
|
|
1843
|
+
/**
|
|
1844
|
+
* Version of `pnpm/action-setup` to use in GitHub workflows.
|
|
1845
|
+
* Tracks the version projen currently emits (see node_modules/projen/lib/javascript/node-project.js).
|
|
1846
|
+
*/
|
|
1847
|
+
readonly PNPM_ACTION_SETUP_VERSION: "v5";
|
|
1843
1848
|
/**
|
|
1844
1849
|
* Version of PNPM to use in workflows at github actions.
|
|
1845
1850
|
*/
|
|
@@ -1848,6 +1853,11 @@ declare const VERSION: {
|
|
|
1848
1853
|
* Version of Projen to use.
|
|
1849
1854
|
*/
|
|
1850
1855
|
readonly PROJEN_VERSION: "0.99.48";
|
|
1856
|
+
/**
|
|
1857
|
+
* Version of `actions/setup-node` to use in GitHub workflows.
|
|
1858
|
+
* Tracks the version projen currently emits (see node_modules/projen/lib/github/workflows.js).
|
|
1859
|
+
*/
|
|
1860
|
+
readonly SETUP_NODE_ACTION_VERSION: "v6";
|
|
1851
1861
|
/**
|
|
1852
1862
|
* Version of sharp to pin for StarlightProject (required peer for
|
|
1853
1863
|
* Starlight's image optimization pipeline).
|
package/lib/index.js
CHANGED
|
@@ -3048,6 +3048,11 @@ var VERSION = {
|
|
|
3048
3048
|
* Version of Node.js to use in CI workflows at github actions.
|
|
3049
3049
|
*/
|
|
3050
3050
|
NODE_WORKFLOWS: "24",
|
|
3051
|
+
/**
|
|
3052
|
+
* Version of `pnpm/action-setup` to use in GitHub workflows.
|
|
3053
|
+
* Tracks the version projen currently emits (see node_modules/projen/lib/javascript/node-project.js).
|
|
3054
|
+
*/
|
|
3055
|
+
PNPM_ACTION_SETUP_VERSION: "v5",
|
|
3051
3056
|
/**
|
|
3052
3057
|
* Version of PNPM to use in workflows at github actions.
|
|
3053
3058
|
*/
|
|
@@ -3056,6 +3061,11 @@ var VERSION = {
|
|
|
3056
3061
|
* Version of Projen to use.
|
|
3057
3062
|
*/
|
|
3058
3063
|
PROJEN_VERSION: "0.99.48",
|
|
3064
|
+
/**
|
|
3065
|
+
* Version of `actions/setup-node` to use in GitHub workflows.
|
|
3066
|
+
* Tracks the version projen currently emits (see node_modules/projen/lib/github/workflows.js).
|
|
3067
|
+
*/
|
|
3068
|
+
SETUP_NODE_ACTION_VERSION: "v6",
|
|
3059
3069
|
/**
|
|
3060
3070
|
* Version of sharp to pin for StarlightProject (required peer for
|
|
3061
3071
|
* Starlight's image optimization pipeline).
|
|
@@ -4904,6 +4914,7 @@ var import_release = require("projen/lib/release");
|
|
|
4904
4914
|
var import_ts_deepmerge2 = require("ts-deepmerge");
|
|
4905
4915
|
|
|
4906
4916
|
// src/projects/monorepo-project.ts
|
|
4917
|
+
var import_github2 = require("projen/lib/github");
|
|
4907
4918
|
var import_javascript3 = require("projen/lib/javascript");
|
|
4908
4919
|
var import_typescript3 = require("projen/lib/typescript");
|
|
4909
4920
|
var import_ts_deepmerge = require("ts-deepmerge");
|
|
@@ -5533,16 +5544,15 @@ var MonorepoProject = class extends import_typescript3.TypeScriptAppProject {
|
|
|
5533
5544
|
name: "Build Sub Projects",
|
|
5534
5545
|
run: `npx projen ${ROOT_CI_TASK_NAME}`
|
|
5535
5546
|
},
|
|
5536
|
-
{
|
|
5547
|
+
import_github2.WorkflowSteps.uploadArtifact({
|
|
5537
5548
|
name: "Upload Turbo runs",
|
|
5538
5549
|
if: "always()",
|
|
5539
|
-
|
|
5550
|
+
continueOnError: true,
|
|
5540
5551
|
with: {
|
|
5541
5552
|
name: "turbo-runs",
|
|
5542
5553
|
path: ".turbo/runs"
|
|
5543
|
-
}
|
|
5544
|
-
|
|
5545
|
-
}
|
|
5554
|
+
}
|
|
5555
|
+
})
|
|
5546
5556
|
);
|
|
5547
5557
|
}
|
|
5548
5558
|
if (options.resetTask !== false) {
|
|
@@ -5937,7 +5947,7 @@ var import_ts_deepmerge3 = require("ts-deepmerge");
|
|
|
5937
5947
|
var import_utils11 = __toESM(require_lib());
|
|
5938
5948
|
var import_projen18 = require("projen");
|
|
5939
5949
|
var import_build = require("projen/lib/build");
|
|
5940
|
-
var
|
|
5950
|
+
var import_github3 = require("projen/lib/github");
|
|
5941
5951
|
var import_workflows_model5 = require("projen/lib/github/workflows-model");
|
|
5942
5952
|
var PROD_DEPLOY_NAME = "prod-deploy";
|
|
5943
5953
|
var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen18.Component {
|
|
@@ -5956,7 +5966,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen18.Compone
|
|
|
5956
5966
|
return [
|
|
5957
5967
|
{
|
|
5958
5968
|
name: "Setup Node",
|
|
5959
|
-
uses:
|
|
5969
|
+
uses: `actions/setup-node@${VERSION.SETUP_NODE_ACTION_VERSION}`,
|
|
5960
5970
|
with: {
|
|
5961
5971
|
["node-version"]: VERSION.NODE_WORKFLOWS
|
|
5962
5972
|
},
|
|
@@ -5969,7 +5979,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen18.Compone
|
|
|
5969
5979
|
return [
|
|
5970
5980
|
{
|
|
5971
5981
|
name: "Setup PNPM",
|
|
5972
|
-
uses:
|
|
5982
|
+
uses: `pnpm/action-setup@${VERSION.PNPM_ACTION_SETUP_VERSION}`,
|
|
5973
5983
|
with: {
|
|
5974
5984
|
version: VERSION.PNPM_VERSION
|
|
5975
5985
|
}
|
|
@@ -6053,7 +6063,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen18.Compone
|
|
|
6053
6063
|
);
|
|
6054
6064
|
}
|
|
6055
6065
|
this.rootProject = project.root;
|
|
6056
|
-
const github =
|
|
6066
|
+
const github = import_github3.GitHub.of(this.rootProject);
|
|
6057
6067
|
if (!github) {
|
|
6058
6068
|
throw new Error(
|
|
6059
6069
|
"AwsDeployWorkflow requires a GitHub component in the root project"
|
|
@@ -6188,16 +6198,15 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen18.Compone
|
|
|
6188
6198
|
name: "Build Sub Projects",
|
|
6189
6199
|
run: `npx projen ${ROOT_CI_TASK_NAME}`
|
|
6190
6200
|
},
|
|
6191
|
-
{
|
|
6201
|
+
import_github3.WorkflowSteps.uploadArtifact({
|
|
6192
6202
|
name: "Upload Turbo runs",
|
|
6193
6203
|
if: "always()",
|
|
6194
|
-
|
|
6204
|
+
continueOnError: true,
|
|
6195
6205
|
with: {
|
|
6196
6206
|
name: "turbo-runs",
|
|
6197
6207
|
path: ".turbo/runs"
|
|
6198
|
-
}
|
|
6199
|
-
|
|
6200
|
-
}
|
|
6208
|
+
}
|
|
6209
|
+
})
|
|
6201
6210
|
);
|
|
6202
6211
|
}
|
|
6203
6212
|
super.preSynthesize();
|
|
@@ -6206,7 +6215,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen18.Compone
|
|
|
6206
6215
|
|
|
6207
6216
|
// src/workflows/aws-teardown-workflow.ts
|
|
6208
6217
|
var import_projen19 = require("projen");
|
|
6209
|
-
var
|
|
6218
|
+
var import_github4 = require("projen/lib/github");
|
|
6210
6219
|
var import_workflows_model6 = require("projen/lib/github/workflows-model");
|
|
6211
6220
|
var DEFAULT_TEARDOWN_BRANCH_PATTERNS = [
|
|
6212
6221
|
"feat/*",
|
|
@@ -6256,7 +6265,7 @@ var AwsTeardownWorkflow = class extends import_projen19.Component {
|
|
|
6256
6265
|
"AwsTeardownWorkflow requires the root project to be a MonorepoProject"
|
|
6257
6266
|
);
|
|
6258
6267
|
}
|
|
6259
|
-
const github =
|
|
6268
|
+
const github = import_github4.GitHub.of(this.rootProject);
|
|
6260
6269
|
if (!github) {
|
|
6261
6270
|
throw new Error(
|
|
6262
6271
|
"AwsTeardownWorkflow requires a GitHub component in the root project"
|
|
@@ -6266,7 +6275,7 @@ var AwsTeardownWorkflow = class extends import_projen19.Component {
|
|
|
6266
6275
|
deleteBranchPatterns,
|
|
6267
6276
|
awsDestructionTargets
|
|
6268
6277
|
);
|
|
6269
|
-
const workflow = new
|
|
6278
|
+
const workflow = new import_github4.GithubWorkflow(github, "teardown-dev");
|
|
6270
6279
|
workflow.on({
|
|
6271
6280
|
workflowDispatch: {},
|
|
6272
6281
|
schedule: [
|