@storm-software/pulumi-tools 0.7.0 → 0.7.1
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/CHANGELOG.md +6 -0
- package/dist/{chunk-A6SQY5H3.js → chunk-2XCPMHDR.js} +2 -2
- package/dist/{chunk-4BDVESFO.mjs → chunk-CBUURZ5R.mjs} +1 -1
- package/dist/{chunk-DFO7BOCT.js → chunk-F7LBNSGO.js} +3 -3
- package/dist/{chunk-ANLNSAGB.mjs → chunk-GZTEXR7Q.mjs} +1 -1
- package/dist/{chunk-AJZ5SHGR.js → chunk-IVJCWDEC.js} +2 -2
- package/dist/{chunk-Z2BSLIJ7.js → chunk-L3GQE7P7.js} +576 -0
- package/dist/{chunk-53MF6VMZ.js → chunk-MK5672IG.js} +2 -2
- package/dist/{chunk-Z7XF6QIZ.mjs → chunk-P37NP2DS.mjs} +1 -1
- package/dist/{chunk-3I666OI5.js → chunk-SFVBFQZH.js} +2 -2
- package/dist/{chunk-LZVNTYR3.js → chunk-SLTQXX2P.js} +5 -5
- package/dist/{chunk-U64WWLJ7.mjs → chunk-UMOWC7KG.mjs} +1 -1
- package/dist/{chunk-FLIBLJZ5.mjs → chunk-VZUKDJHC.mjs} +576 -0
- package/dist/{chunk-QWZKKPML.mjs → chunk-W67Y7ZM5.mjs} +1 -1
- package/dist/{chunk-F6BX5YBK.mjs → chunk-XJAQ2474.mjs} +1 -1
- package/dist/{chunk-XVKT7UGE.mjs → chunk-YKA43YLP.mjs} +1 -1
- package/dist/{chunk-CFSEZM76.js → chunk-ZKKGELHG.js} +2 -2
- package/dist/executors.js +7 -7
- package/dist/executors.mjs +7 -7
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +2 -2
- package/dist/index.js +9 -9
- package/dist/index.mjs +8 -8
- package/dist/src/base/base-executor.js +3 -3
- package/dist/src/base/base-executor.mjs +2 -2
- package/dist/src/base/index.js +3 -3
- package/dist/src/base/index.mjs +2 -2
- package/dist/src/executors/config/executor.js +4 -4
- package/dist/src/executors/config/executor.mjs +3 -3
- package/dist/src/executors/import/executor.js +4 -4
- package/dist/src/executors/import/executor.mjs +3 -3
- package/dist/src/executors/preview/executor.js +4 -4
- package/dist/src/executors/preview/executor.mjs +3 -3
- package/dist/src/executors/refresh/executor.js +4 -4
- package/dist/src/executors/refresh/executor.mjs +3 -3
- package/dist/src/executors/up/executor.js +4 -4
- package/dist/src/executors/up/executor.mjs +3 -3
- package/dist/src/generators/init/generator.js +3 -3
- package/dist/src/generators/init/generator.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkF7LBNSGOjs = require('./chunk-F7LBNSGO.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/import/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkF7LBNSGOjs.withPulumiExecutor.call(void 0, "import", (options) => [
|
|
7
7
|
options.target,
|
|
8
8
|
options.name,
|
|
9
9
|
options.id,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkL3GQE7P7js = require('./chunk-L3GQE7P7.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -10,7 +10,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
|
10
10
|
var _path = require('path');
|
|
11
11
|
var _shelljs = require('shelljs');
|
|
12
12
|
var withPulumiExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (command, argsMapper, executorOptions = {}) => async (_options, context) => {
|
|
13
|
-
return
|
|
13
|
+
return _chunkL3GQE7P7js.withRunExecutor.call(void 0, `Pulumi \`${command}\` Command Executor`, async (options, context2, config) => {
|
|
14
14
|
if (!_shelljs.which.call(void 0, "pulumi")) {
|
|
15
15
|
throw new Error("Pulumi is not installed. Please install it before running this executor.");
|
|
16
16
|
}
|
|
@@ -18,7 +18,7 @@ var withPulumiExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (c
|
|
|
18
18
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
19
19
|
}
|
|
20
20
|
const { sourceRoot } = context2.projectsConfigurations.projects[context2.projectName];
|
|
21
|
-
|
|
21
|
+
_chunkL3GQE7P7js.run.call(void 0, config, [
|
|
22
22
|
"pulumi",
|
|
23
23
|
command,
|
|
24
24
|
...argsMapper(options)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkF7LBNSGOjs = require('./chunk-F7LBNSGO.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/refresh/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkF7LBNSGOjs.withPulumiExecutor.call(void 0, "refresh", (options) => [
|
|
7
7
|
"--suppress-progress",
|
|
8
8
|
options.stack && `--stack=${options.stack}`,
|
|
9
9
|
options.skipPreview && "--skip-preview",
|
|
@@ -4550,6 +4550,582 @@ var _version = require('nx/src/command-line/release/version');
|
|
|
4550
4550
|
var _utils = require('nx/src/tasks-runner/utils');
|
|
4551
4551
|
var _semver3 = require('semver');
|
|
4552
4552
|
|
|
4553
|
+
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
4554
|
+
var _untyped = require('untyped');
|
|
4555
|
+
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4556
|
+
$schema: {
|
|
4557
|
+
id: "baseExecutor",
|
|
4558
|
+
title: "Base Executor",
|
|
4559
|
+
description: "A base type definition for an executor schema"
|
|
4560
|
+
},
|
|
4561
|
+
outputPath: {
|
|
4562
|
+
$schema: {
|
|
4563
|
+
title: "Output Path",
|
|
4564
|
+
type: "string",
|
|
4565
|
+
format: "path",
|
|
4566
|
+
description: "The output path for the build"
|
|
4567
|
+
},
|
|
4568
|
+
$default: "dist/{projectRoot}"
|
|
4569
|
+
}
|
|
4570
|
+
});
|
|
4571
|
+
|
|
4572
|
+
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
4573
|
+
|
|
4574
|
+
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4575
|
+
$schema: {
|
|
4576
|
+
id: "BaseGeneratorSchema",
|
|
4577
|
+
title: "Base Generator",
|
|
4578
|
+
description: "A type definition for the base Generator schema"
|
|
4579
|
+
},
|
|
4580
|
+
directory: {
|
|
4581
|
+
$schema: {
|
|
4582
|
+
title: "Directory",
|
|
4583
|
+
type: "string",
|
|
4584
|
+
description: "The directory to create the library in"
|
|
4585
|
+
}
|
|
4586
|
+
}
|
|
4587
|
+
});
|
|
4588
|
+
|
|
4589
|
+
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
4590
|
+
|
|
4591
|
+
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4592
|
+
...base_executor_untyped_default,
|
|
4593
|
+
$schema: {
|
|
4594
|
+
id: "cargoBaseExecutor",
|
|
4595
|
+
title: "Cargo Base Executor",
|
|
4596
|
+
description: "A base type definition for a Cargo/rust related executor schema"
|
|
4597
|
+
},
|
|
4598
|
+
package: {
|
|
4599
|
+
$schema: {
|
|
4600
|
+
title: "Cargo.toml Path",
|
|
4601
|
+
type: "string",
|
|
4602
|
+
format: "path",
|
|
4603
|
+
description: "The path to the Cargo.toml file"
|
|
4604
|
+
},
|
|
4605
|
+
$default: "{projectRoot}/Cargo.toml"
|
|
4606
|
+
},
|
|
4607
|
+
toolchain: {
|
|
4608
|
+
$schema: {
|
|
4609
|
+
title: "Toolchain",
|
|
4610
|
+
description: "The type of toolchain to use for the build",
|
|
4611
|
+
enum: [
|
|
4612
|
+
"stable",
|
|
4613
|
+
"beta",
|
|
4614
|
+
"nightly"
|
|
4615
|
+
],
|
|
4616
|
+
default: "stable"
|
|
4617
|
+
},
|
|
4618
|
+
$default: "stable"
|
|
4619
|
+
},
|
|
4620
|
+
target: {
|
|
4621
|
+
$schema: {
|
|
4622
|
+
title: "Target",
|
|
4623
|
+
type: "string",
|
|
4624
|
+
description: "The target to build"
|
|
4625
|
+
}
|
|
4626
|
+
},
|
|
4627
|
+
allTargets: {
|
|
4628
|
+
$schema: {
|
|
4629
|
+
title: "All Targets",
|
|
4630
|
+
type: "boolean",
|
|
4631
|
+
description: "Build all targets"
|
|
4632
|
+
}
|
|
4633
|
+
},
|
|
4634
|
+
profile: {
|
|
4635
|
+
$schema: {
|
|
4636
|
+
title: "Profile",
|
|
4637
|
+
type: "string",
|
|
4638
|
+
description: "The profile to build"
|
|
4639
|
+
}
|
|
4640
|
+
},
|
|
4641
|
+
release: {
|
|
4642
|
+
$schema: {
|
|
4643
|
+
title: "Release",
|
|
4644
|
+
type: "boolean",
|
|
4645
|
+
description: "Build in release mode"
|
|
4646
|
+
}
|
|
4647
|
+
},
|
|
4648
|
+
features: {
|
|
4649
|
+
$schema: {
|
|
4650
|
+
title: "Features",
|
|
4651
|
+
type: "string",
|
|
4652
|
+
description: "The features to build",
|
|
4653
|
+
oneOf: [
|
|
4654
|
+
{
|
|
4655
|
+
type: "string"
|
|
4656
|
+
},
|
|
4657
|
+
{
|
|
4658
|
+
type: "array",
|
|
4659
|
+
items: {
|
|
4660
|
+
type: "string"
|
|
4661
|
+
}
|
|
4662
|
+
}
|
|
4663
|
+
]
|
|
4664
|
+
}
|
|
4665
|
+
},
|
|
4666
|
+
allFeatures: {
|
|
4667
|
+
$schema: {
|
|
4668
|
+
title: "All Features",
|
|
4669
|
+
type: "boolean",
|
|
4670
|
+
description: "Build all features"
|
|
4671
|
+
}
|
|
4672
|
+
}
|
|
4673
|
+
});
|
|
4674
|
+
|
|
4675
|
+
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
4676
|
+
|
|
4677
|
+
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4678
|
+
...base_executor_untyped_default,
|
|
4679
|
+
$schema: {
|
|
4680
|
+
id: "TypeScriptBuildExecutorSchema",
|
|
4681
|
+
title: "TypeScript Build Executor",
|
|
4682
|
+
description: "A type definition for the base TypeScript build executor schema",
|
|
4683
|
+
required: [
|
|
4684
|
+
"entry",
|
|
4685
|
+
"tsconfig"
|
|
4686
|
+
]
|
|
4687
|
+
},
|
|
4688
|
+
entry: {
|
|
4689
|
+
$schema: {
|
|
4690
|
+
title: "Entry File(s)",
|
|
4691
|
+
format: "path",
|
|
4692
|
+
type: "array",
|
|
4693
|
+
description: "The entry file or files to build",
|
|
4694
|
+
items: {
|
|
4695
|
+
type: "string"
|
|
4696
|
+
}
|
|
4697
|
+
},
|
|
4698
|
+
$default: [
|
|
4699
|
+
"{sourceRoot}/index.ts"
|
|
4700
|
+
]
|
|
4701
|
+
},
|
|
4702
|
+
tsconfig: {
|
|
4703
|
+
$schema: {
|
|
4704
|
+
title: "TSConfig Path",
|
|
4705
|
+
type: "string",
|
|
4706
|
+
format: "path",
|
|
4707
|
+
description: "The path to the tsconfig file"
|
|
4708
|
+
},
|
|
4709
|
+
$default: "{projectRoot}/tsconfig.json"
|
|
4710
|
+
},
|
|
4711
|
+
bundle: {
|
|
4712
|
+
$schema: {
|
|
4713
|
+
title: "Bundle",
|
|
4714
|
+
type: "boolean",
|
|
4715
|
+
description: "Bundle the output"
|
|
4716
|
+
},
|
|
4717
|
+
$default: false
|
|
4718
|
+
},
|
|
4719
|
+
minify: {
|
|
4720
|
+
$schema: {
|
|
4721
|
+
title: "Minify",
|
|
4722
|
+
type: "boolean",
|
|
4723
|
+
description: "Minify the output"
|
|
4724
|
+
},
|
|
4725
|
+
$default: false
|
|
4726
|
+
},
|
|
4727
|
+
debug: {
|
|
4728
|
+
$schema: {
|
|
4729
|
+
title: "Debug",
|
|
4730
|
+
type: "boolean",
|
|
4731
|
+
description: "Debug the output"
|
|
4732
|
+
},
|
|
4733
|
+
$default: false
|
|
4734
|
+
},
|
|
4735
|
+
sourcemap: {
|
|
4736
|
+
$schema: {
|
|
4737
|
+
title: "Sourcemap",
|
|
4738
|
+
type: "boolean",
|
|
4739
|
+
description: "Generate a sourcemap"
|
|
4740
|
+
},
|
|
4741
|
+
$default: false
|
|
4742
|
+
},
|
|
4743
|
+
silent: {
|
|
4744
|
+
$schema: {
|
|
4745
|
+
title: "Silent",
|
|
4746
|
+
type: "boolean",
|
|
4747
|
+
description: "Should the build run silently - only report errors back to the user"
|
|
4748
|
+
},
|
|
4749
|
+
$default: false
|
|
4750
|
+
},
|
|
4751
|
+
target: {
|
|
4752
|
+
$schema: {
|
|
4753
|
+
title: "Target",
|
|
4754
|
+
type: "string",
|
|
4755
|
+
description: "The target to build",
|
|
4756
|
+
enum: [
|
|
4757
|
+
"es3",
|
|
4758
|
+
"es5",
|
|
4759
|
+
"es6",
|
|
4760
|
+
"es2015",
|
|
4761
|
+
"es2016",
|
|
4762
|
+
"es2017",
|
|
4763
|
+
"es2018",
|
|
4764
|
+
"es2019",
|
|
4765
|
+
"es2020",
|
|
4766
|
+
"es2021",
|
|
4767
|
+
"es2022",
|
|
4768
|
+
"es2023",
|
|
4769
|
+
"es2024",
|
|
4770
|
+
"esnext",
|
|
4771
|
+
"node12",
|
|
4772
|
+
"node14",
|
|
4773
|
+
"node16",
|
|
4774
|
+
"node18",
|
|
4775
|
+
"node20",
|
|
4776
|
+
"node22",
|
|
4777
|
+
"browser",
|
|
4778
|
+
"chrome58",
|
|
4779
|
+
"chrome59",
|
|
4780
|
+
"chrome60"
|
|
4781
|
+
]
|
|
4782
|
+
},
|
|
4783
|
+
$default: "esnext",
|
|
4784
|
+
$resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = "esnext") => val.toLowerCase(), "$resolve")
|
|
4785
|
+
},
|
|
4786
|
+
format: {
|
|
4787
|
+
$schema: {
|
|
4788
|
+
title: "Format",
|
|
4789
|
+
type: "array",
|
|
4790
|
+
description: "The format to build",
|
|
4791
|
+
items: {
|
|
4792
|
+
type: "string",
|
|
4793
|
+
enum: [
|
|
4794
|
+
"cjs",
|
|
4795
|
+
"esm",
|
|
4796
|
+
"iife"
|
|
4797
|
+
]
|
|
4798
|
+
}
|
|
4799
|
+
},
|
|
4800
|
+
$resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = [
|
|
4801
|
+
"cjs",
|
|
4802
|
+
"esm"
|
|
4803
|
+
]) => [].concat(val), "$resolve")
|
|
4804
|
+
},
|
|
4805
|
+
platform: {
|
|
4806
|
+
$schema: {
|
|
4807
|
+
title: "Platform",
|
|
4808
|
+
type: "string",
|
|
4809
|
+
description: "The platform to build",
|
|
4810
|
+
enum: [
|
|
4811
|
+
"neutral",
|
|
4812
|
+
"node",
|
|
4813
|
+
"browser"
|
|
4814
|
+
]
|
|
4815
|
+
},
|
|
4816
|
+
$default: "neutral"
|
|
4817
|
+
},
|
|
4818
|
+
external: {
|
|
4819
|
+
$schema: {
|
|
4820
|
+
title: "External",
|
|
4821
|
+
type: "array",
|
|
4822
|
+
description: "The external dependencies"
|
|
4823
|
+
},
|
|
4824
|
+
$resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = []) => [].concat(val), "$resolve")
|
|
4825
|
+
},
|
|
4826
|
+
define: {
|
|
4827
|
+
$schema: {
|
|
4828
|
+
title: "Define",
|
|
4829
|
+
type: "object",
|
|
4830
|
+
tsType: "Record<string, string>",
|
|
4831
|
+
description: "The define values"
|
|
4832
|
+
},
|
|
4833
|
+
$resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = {}) => val, "$resolve"),
|
|
4834
|
+
$default: {}
|
|
4835
|
+
},
|
|
4836
|
+
env: {
|
|
4837
|
+
$schema: {
|
|
4838
|
+
title: "Environment Variables",
|
|
4839
|
+
type: "object",
|
|
4840
|
+
tsType: "Record<string, string>",
|
|
4841
|
+
description: "The environment variable values"
|
|
4842
|
+
},
|
|
4843
|
+
$resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = {}) => val, "$resolve"),
|
|
4844
|
+
$default: {}
|
|
4845
|
+
}
|
|
4846
|
+
});
|
|
4847
|
+
|
|
4848
|
+
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
4849
|
+
|
|
4850
|
+
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4851
|
+
...base_generator_untyped_default,
|
|
4852
|
+
$schema: {
|
|
4853
|
+
id: "TypeScriptLibraryGeneratorSchema",
|
|
4854
|
+
title: "TypeScript Library Generator",
|
|
4855
|
+
description: "A type definition for the base TypeScript Library Generator schema",
|
|
4856
|
+
required: [
|
|
4857
|
+
"directory",
|
|
4858
|
+
"name"
|
|
4859
|
+
]
|
|
4860
|
+
},
|
|
4861
|
+
name: {
|
|
4862
|
+
$schema: {
|
|
4863
|
+
title: "Name",
|
|
4864
|
+
type: "string",
|
|
4865
|
+
description: "The name of the library"
|
|
4866
|
+
}
|
|
4867
|
+
},
|
|
4868
|
+
description: {
|
|
4869
|
+
$schema: {
|
|
4870
|
+
title: "Description",
|
|
4871
|
+
type: "string",
|
|
4872
|
+
description: "The description of the library"
|
|
4873
|
+
}
|
|
4874
|
+
},
|
|
4875
|
+
buildExecutor: {
|
|
4876
|
+
$schema: {
|
|
4877
|
+
title: "Build Executor",
|
|
4878
|
+
type: "string",
|
|
4879
|
+
description: "The executor to use for building the library"
|
|
4880
|
+
},
|
|
4881
|
+
$default: "@storm-software/workspace-tools:unbuild"
|
|
4882
|
+
},
|
|
4883
|
+
platform: {
|
|
4884
|
+
$schema: {
|
|
4885
|
+
title: "Platform",
|
|
4886
|
+
type: "string",
|
|
4887
|
+
description: "The platform to target with the library",
|
|
4888
|
+
enum: [
|
|
4889
|
+
"neutral",
|
|
4890
|
+
"node",
|
|
4891
|
+
"browser"
|
|
4892
|
+
]
|
|
4893
|
+
},
|
|
4894
|
+
$default: "neutral"
|
|
4895
|
+
},
|
|
4896
|
+
devDependencies: {
|
|
4897
|
+
$schema: {
|
|
4898
|
+
title: "Dev Dependencies",
|
|
4899
|
+
type: "object",
|
|
4900
|
+
description: "The dev dependencies to install"
|
|
4901
|
+
}
|
|
4902
|
+
},
|
|
4903
|
+
dependencies: {
|
|
4904
|
+
$schema: {
|
|
4905
|
+
title: "Dependencies",
|
|
4906
|
+
type: "object",
|
|
4907
|
+
description: "The dependencies to install"
|
|
4908
|
+
}
|
|
4909
|
+
},
|
|
4910
|
+
peerDependencies: {
|
|
4911
|
+
$schema: {
|
|
4912
|
+
title: "Peer Dependencies",
|
|
4913
|
+
type: "object",
|
|
4914
|
+
description: "The peer dependencies to install"
|
|
4915
|
+
}
|
|
4916
|
+
},
|
|
4917
|
+
peerDependenciesMeta: {
|
|
4918
|
+
$schema: {
|
|
4919
|
+
title: "Peer Dependencies Meta",
|
|
4920
|
+
type: "object",
|
|
4921
|
+
description: "The peer dependencies meta"
|
|
4922
|
+
}
|
|
4923
|
+
},
|
|
4924
|
+
tags: {
|
|
4925
|
+
$schema: {
|
|
4926
|
+
title: "Tags",
|
|
4927
|
+
type: "string",
|
|
4928
|
+
description: "The tags for the library"
|
|
4929
|
+
}
|
|
4930
|
+
},
|
|
4931
|
+
tsconfigOptions: {
|
|
4932
|
+
$schema: {
|
|
4933
|
+
title: "TypeScript Config (tsconfig.json) Options",
|
|
4934
|
+
type: "object",
|
|
4935
|
+
description: "The TypeScript configuration options"
|
|
4936
|
+
}
|
|
4937
|
+
},
|
|
4938
|
+
skipFormat: {
|
|
4939
|
+
$schema: {
|
|
4940
|
+
title: "Skip Format",
|
|
4941
|
+
type: "boolean",
|
|
4942
|
+
description: "Skip formatting"
|
|
4943
|
+
}
|
|
4944
|
+
},
|
|
4945
|
+
skipTsConfig: {
|
|
4946
|
+
$schema: {
|
|
4947
|
+
title: "Skip TsConfig",
|
|
4948
|
+
type: "boolean",
|
|
4949
|
+
description: "Skip TypeScript configuration"
|
|
4950
|
+
}
|
|
4951
|
+
},
|
|
4952
|
+
skipPackageJson: {
|
|
4953
|
+
$schema: {
|
|
4954
|
+
title: "Skip Package Json",
|
|
4955
|
+
type: "boolean",
|
|
4956
|
+
description: "Skip package.json"
|
|
4957
|
+
}
|
|
4958
|
+
},
|
|
4959
|
+
includeBabelRc: {
|
|
4960
|
+
$schema: {
|
|
4961
|
+
title: "Include Babel Rc",
|
|
4962
|
+
type: "boolean",
|
|
4963
|
+
description: "Include Babel configuration"
|
|
4964
|
+
}
|
|
4965
|
+
},
|
|
4966
|
+
unitTestRunner: {
|
|
4967
|
+
$schema: {
|
|
4968
|
+
title: "Unit Test Runner",
|
|
4969
|
+
type: "string",
|
|
4970
|
+
enum: [
|
|
4971
|
+
"jest",
|
|
4972
|
+
"vitest",
|
|
4973
|
+
"none"
|
|
4974
|
+
],
|
|
4975
|
+
description: "The unit test runner to use"
|
|
4976
|
+
}
|
|
4977
|
+
},
|
|
4978
|
+
linter: {
|
|
4979
|
+
$schema: {
|
|
4980
|
+
title: "Linter",
|
|
4981
|
+
type: "string",
|
|
4982
|
+
description: "The linter to use"
|
|
4983
|
+
}
|
|
4984
|
+
},
|
|
4985
|
+
testEnvironment: {
|
|
4986
|
+
$schema: {
|
|
4987
|
+
title: "Test Environment",
|
|
4988
|
+
type: "string",
|
|
4989
|
+
enum: [
|
|
4990
|
+
"jsdom",
|
|
4991
|
+
"node"
|
|
4992
|
+
],
|
|
4993
|
+
description: "The test environment to use"
|
|
4994
|
+
}
|
|
4995
|
+
},
|
|
4996
|
+
importPath: {
|
|
4997
|
+
$schema: {
|
|
4998
|
+
title: "Import Path",
|
|
4999
|
+
type: "string",
|
|
5000
|
+
description: "The import path for the library"
|
|
5001
|
+
}
|
|
5002
|
+
},
|
|
5003
|
+
js: {
|
|
5004
|
+
$schema: {
|
|
5005
|
+
title: "JavaScript",
|
|
5006
|
+
type: "boolean",
|
|
5007
|
+
description: "Use JavaScript instead of TypeScript"
|
|
5008
|
+
}
|
|
5009
|
+
},
|
|
5010
|
+
pascalCaseFiles: {
|
|
5011
|
+
$schema: {
|
|
5012
|
+
title: "Pascal Case Files",
|
|
5013
|
+
type: "boolean",
|
|
5014
|
+
description: "Use PascalCase for file names"
|
|
5015
|
+
}
|
|
5016
|
+
},
|
|
5017
|
+
strict: {
|
|
5018
|
+
$schema: {
|
|
5019
|
+
title: "Strict",
|
|
5020
|
+
type: "boolean",
|
|
5021
|
+
description: "Enable strict mode"
|
|
5022
|
+
}
|
|
5023
|
+
},
|
|
5024
|
+
publishable: {
|
|
5025
|
+
$schema: {
|
|
5026
|
+
title: "Publishable",
|
|
5027
|
+
type: "boolean",
|
|
5028
|
+
description: "Make the library publishable"
|
|
5029
|
+
}
|
|
5030
|
+
},
|
|
5031
|
+
buildable: {
|
|
5032
|
+
$schema: {
|
|
5033
|
+
title: "Buildable",
|
|
5034
|
+
type: "boolean",
|
|
5035
|
+
description: "Make the library buildable"
|
|
5036
|
+
}
|
|
5037
|
+
},
|
|
5038
|
+
setParserOptionsProject: {
|
|
5039
|
+
$schema: {
|
|
5040
|
+
title: "Set Parser Options Project",
|
|
5041
|
+
type: "boolean",
|
|
5042
|
+
description: "Set parser options project"
|
|
5043
|
+
}
|
|
5044
|
+
},
|
|
5045
|
+
config: {
|
|
5046
|
+
$schema: {
|
|
5047
|
+
title: "Config",
|
|
5048
|
+
type: "string",
|
|
5049
|
+
enum: [
|
|
5050
|
+
"workspace",
|
|
5051
|
+
"project",
|
|
5052
|
+
"npm-scripts"
|
|
5053
|
+
],
|
|
5054
|
+
description: "The configuration type"
|
|
5055
|
+
}
|
|
5056
|
+
},
|
|
5057
|
+
compiler: {
|
|
5058
|
+
$schema: {
|
|
5059
|
+
title: "Compiler",
|
|
5060
|
+
type: "string",
|
|
5061
|
+
description: "The compiler to use"
|
|
5062
|
+
}
|
|
5063
|
+
},
|
|
5064
|
+
bundler: {
|
|
5065
|
+
$schema: {
|
|
5066
|
+
title: "Bundler",
|
|
5067
|
+
type: "string",
|
|
5068
|
+
description: "The bundler to use"
|
|
5069
|
+
}
|
|
5070
|
+
},
|
|
5071
|
+
skipTypeCheck: {
|
|
5072
|
+
$schema: {
|
|
5073
|
+
title: "Skip Type Check",
|
|
5074
|
+
type: "boolean",
|
|
5075
|
+
description: "Skip type checking"
|
|
5076
|
+
}
|
|
5077
|
+
},
|
|
5078
|
+
minimal: {
|
|
5079
|
+
$schema: {
|
|
5080
|
+
title: "Minimal",
|
|
5081
|
+
type: "boolean",
|
|
5082
|
+
description: "Create a minimal library"
|
|
5083
|
+
}
|
|
5084
|
+
},
|
|
5085
|
+
rootProject: {
|
|
5086
|
+
$schema: {
|
|
5087
|
+
title: "Root Project",
|
|
5088
|
+
type: "boolean",
|
|
5089
|
+
description: "Create a root project"
|
|
5090
|
+
}
|
|
5091
|
+
},
|
|
5092
|
+
simpleName: {
|
|
5093
|
+
$schema: {
|
|
5094
|
+
title: "Simple Name",
|
|
5095
|
+
type: "boolean",
|
|
5096
|
+
description: "Use a simple name for the library"
|
|
5097
|
+
}
|
|
5098
|
+
},
|
|
5099
|
+
addPlugin: {
|
|
5100
|
+
$schema: {
|
|
5101
|
+
title: "Add Plugin",
|
|
5102
|
+
type: "boolean",
|
|
5103
|
+
description: "Add a plugin to the library"
|
|
5104
|
+
}
|
|
5105
|
+
},
|
|
5106
|
+
useProjectJson: {
|
|
5107
|
+
$schema: {
|
|
5108
|
+
title: "Use Project Json",
|
|
5109
|
+
type: "boolean",
|
|
5110
|
+
description: "Use project.json"
|
|
5111
|
+
}
|
|
5112
|
+
},
|
|
5113
|
+
skipWorkspacesWarning: {
|
|
5114
|
+
$schema: {
|
|
5115
|
+
title: "Skip Workspaces Warning",
|
|
5116
|
+
type: "boolean",
|
|
5117
|
+
description: "Skip workspaces warning"
|
|
5118
|
+
}
|
|
5119
|
+
},
|
|
5120
|
+
useTscExecutor: {
|
|
5121
|
+
$schema: {
|
|
5122
|
+
title: "Use Tsc Executor",
|
|
5123
|
+
type: "boolean",
|
|
5124
|
+
description: "Use TSC executor"
|
|
5125
|
+
}
|
|
5126
|
+
}
|
|
5127
|
+
});
|
|
5128
|
+
|
|
4553
5129
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
4554
5130
|
|
|
4555
5131
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkF7LBNSGOjs = require('./chunk-F7LBNSGO.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/up/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkF7LBNSGOjs.withPulumiExecutor.call(void 0, "up", (options) => [
|
|
7
7
|
"--suppress-progress",
|
|
8
8
|
options.stack && `--stack=${options.stack}`,
|
|
9
9
|
options.skipPreview && "--skip-preview",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkF7LBNSGOjs = require('./chunk-F7LBNSGO.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/config/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkF7LBNSGOjs.withPulumiExecutor.call(void 0, "config", (options) => [
|
|
7
7
|
options.action,
|
|
8
8
|
options.showSecrets && `--show-secrets`,
|
|
9
9
|
options.secret && `--secret`,
|