@storm-software/terraform-tools 0.47.0 → 0.48.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/CHANGELOG.md +22 -0
- package/dist/{chunk-NFRDTYPD.js → chunk-72FEODKN.js} +594 -11
- package/dist/chunk-EL25IDXP.mjs +93 -0
- package/dist/chunk-ILC773N2.js +93 -0
- package/dist/{chunk-CKOFQEPW.mjs → chunk-LKPBZPSA.mjs} +598 -15
- package/dist/executors.d.mts +0 -1
- package/dist/executors.d.ts +0 -1
- package/dist/executors.js +1 -1
- package/dist/executors.mjs +1 -1
- package/dist/generators.js +2 -2
- package/dist/generators.mjs +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +8 -4
- package/dist/index.mjs +7 -3
- package/dist/src/base/base-terraform-executor.untyped.js +4 -91
- package/dist/src/base/base-terraform-executor.untyped.mjs +3 -90
- package/dist/src/base/index.d.mts +2 -1
- package/dist/src/base/index.d.ts +2 -1
- package/dist/src/base/index.js +6 -2
- package/dist/src/base/index.mjs +5 -1
- package/dist/src/base/terraform-executor.d.mts +97 -1
- package/dist/src/base/terraform-executor.d.ts +97 -1
- package/dist/src/executors/apply/executor.d.mts +0 -1
- package/dist/src/executors/apply/executor.d.ts +0 -1
- package/dist/src/executors/destroy/executor.d.mts +0 -1
- package/dist/src/executors/destroy/executor.d.ts +0 -1
- package/dist/src/executors/plan/executor.d.mts +0 -1
- package/dist/src/executors/plan/executor.d.ts +0 -1
- package/dist/src/generators/init/init.js +2 -2
- package/dist/src/generators/init/init.mjs +1 -1
- package/dist/tsup.config.js +5 -1
- package/dist/tsup.config.mjs +5 -1
- package/package.json +1 -1
- package/dist/src/base/base-terraform-executor.schema.d.d.mts +0 -98
- package/dist/src/base/base-terraform-executor.schema.d.d.ts +0 -98
- package/dist/src/base/base-terraform-executor.schema.d.js +0 -1
- package/dist/src/base/base-terraform-executor.schema.d.mjs +0 -1
- /package/dist/{chunk-ORW4ATBO.mjs → chunk-CA7S5MOH.mjs} +0 -0
- /package/dist/{chunk-JYICRHOG.js → chunk-GUQOEBFW.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
## 0.48.0 (2025-01-20)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **workspace-tools:** Added additional entry points to the package ([0322ac48](https://github.com/storm-software/storm-ops/commit/0322ac48))
|
|
6
|
+
|
|
7
|
+
### 🧱 Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated workspace-tools to 1.230.0
|
|
10
|
+
- Updated workspace-tools to 1.230.0
|
|
11
|
+
|
|
12
|
+
## 0.47.1 (2025-01-20)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **workspace-tools:** Resolve cross-platform build issue in `copyfiles` script ([331a723f](https://github.com/storm-software/storm-ops/commit/331a723f))
|
|
17
|
+
|
|
18
|
+
### 🧱 Updated Dependencies
|
|
19
|
+
|
|
20
|
+
- Updated workspace-tools to 1.229.1
|
|
21
|
+
- Updated workspace-tools to 1.229.1
|
|
22
|
+
|
|
1
23
|
## 0.47.0 (2025-01-20)
|
|
2
24
|
|
|
3
25
|
### Features
|
|
@@ -1962,6 +1962,7 @@ var executor_default9 = _chunkJNBNKAGFjs.withRunExecutor.call(void 0, "Typia run
|
|
|
1962
1962
|
|
|
1963
1963
|
|
|
1964
1964
|
|
|
1965
|
+
|
|
1965
1966
|
var _unbuild = require('unbuild');
|
|
1966
1967
|
|
|
1967
1968
|
// ../unbuild/src/clean.ts
|
|
@@ -1969,7 +1970,10 @@ var _unbuild = require('unbuild');
|
|
|
1969
1970
|
async function clean3(name = "Unbuild", directory, config) {
|
|
1970
1971
|
_chunkJNBNKAGFjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
|
|
1971
1972
|
const stopwatch = _chunkJNBNKAGFjs.getStopwatch.call(void 0, `${name} output clean`);
|
|
1972
|
-
await
|
|
1973
|
+
await _promises.rm.call(void 0, directory, {
|
|
1974
|
+
recursive: true,
|
|
1975
|
+
force: true
|
|
1976
|
+
});
|
|
1973
1977
|
stopwatch();
|
|
1974
1978
|
}
|
|
1975
1979
|
_chunk3GQAWCBQjs.__name.call(void 0, clean3, "clean");
|
|
@@ -2154,28 +2158,30 @@ async function resolveOptions3(options) {
|
|
|
2154
2158
|
exitOnError: true
|
|
2155
2159
|
});
|
|
2156
2160
|
const projectJsonPath = _chunkJNBNKAGFjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot, "project.json");
|
|
2157
|
-
if (!
|
|
2161
|
+
if (!_fs.existsSync.call(void 0, projectJsonPath)) {
|
|
2158
2162
|
throw new Error("Cannot find project.json configuration");
|
|
2159
2163
|
}
|
|
2160
|
-
const
|
|
2164
|
+
const projectJsonContent = await _promises.readFile.call(void 0, projectJsonPath, "utf8");
|
|
2165
|
+
const projectJson = JSON.parse(projectJsonContent);
|
|
2161
2166
|
const projectName = projectJson.name;
|
|
2162
2167
|
const packageJsonPath = _chunkJNBNKAGFjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "package.json");
|
|
2163
|
-
if (!
|
|
2168
|
+
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
2164
2169
|
throw new Error("Cannot find package.json configuration");
|
|
2165
2170
|
}
|
|
2166
|
-
const
|
|
2171
|
+
const packageJsonContent = await _promises.readFile.call(void 0, packageJsonPath, "utf8");
|
|
2172
|
+
const packageJson = JSON.parse(packageJsonContent);
|
|
2167
2173
|
let tsconfig = options.tsconfig;
|
|
2168
2174
|
if (!tsconfig) {
|
|
2169
2175
|
tsconfig = _chunkJNBNKAGFjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "tsconfig.json");
|
|
2170
2176
|
}
|
|
2171
|
-
if (!
|
|
2177
|
+
if (!_fs.existsSync.call(void 0, tsconfig)) {
|
|
2172
2178
|
throw new Error("Cannot find tsconfig.json configuration");
|
|
2173
2179
|
}
|
|
2174
2180
|
let sourceRoot = projectJson.sourceRoot;
|
|
2175
2181
|
if (!sourceRoot) {
|
|
2176
2182
|
sourceRoot = _chunkJNBNKAGFjs.joinPaths.call(void 0, projectRoot, "src");
|
|
2177
2183
|
}
|
|
2178
|
-
if (!
|
|
2184
|
+
if (!_fs.existsSync.call(void 0, sourceRoot)) {
|
|
2179
2185
|
throw new Error("Cannot find sourceRoot directory");
|
|
2180
2186
|
}
|
|
2181
2187
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
@@ -2302,17 +2308,18 @@ async function resolveOptions3(options) {
|
|
|
2302
2308
|
}
|
|
2303
2309
|
_chunk3GQAWCBQjs.__name.call(void 0, resolveOptions3, "resolveOptions");
|
|
2304
2310
|
async function generatePackageJson3(options) {
|
|
2305
|
-
if (options.generatePackageJson !== false &&
|
|
2311
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJNBNKAGFjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
2306
2312
|
_chunkJNBNKAGFjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
|
|
2307
2313
|
const stopwatch = _chunkJNBNKAGFjs.getStopwatch.call(void 0, "Write package.json file");
|
|
2308
2314
|
const packageJsonPath = _chunkJNBNKAGFjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
2309
|
-
if (!
|
|
2315
|
+
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
2310
2316
|
throw new Error("Cannot find package.json configuration");
|
|
2311
2317
|
}
|
|
2312
|
-
let
|
|
2313
|
-
if (!
|
|
2318
|
+
let packageJsonContent = await _promises.readFile.call(void 0, _chunkJNBNKAGFjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
|
|
2319
|
+
if (!packageJsonContent) {
|
|
2314
2320
|
throw new Error("Cannot find package.json configuration file");
|
|
2315
2321
|
}
|
|
2322
|
+
let packageJson = JSON.parse(packageJsonContent);
|
|
2316
2323
|
packageJson = await addPackageDependencies(options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
|
|
2317
2324
|
packageJson = await addWorkspacePackageJsonFields(options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
|
|
2318
2325
|
packageJson = await addPackageJsonExports(options.sourceRoot, packageJson);
|
|
@@ -3311,6 +3318,582 @@ var _version = require('nx/src/command-line/release/version');
|
|
|
3311
3318
|
var _utils = require('nx/src/tasks-runner/utils');
|
|
3312
3319
|
var _semver3 = require('semver');
|
|
3313
3320
|
|
|
3321
|
+
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
3322
|
+
var _untyped = require('untyped');
|
|
3323
|
+
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
3324
|
+
$schema: {
|
|
3325
|
+
id: "baseExecutor",
|
|
3326
|
+
title: "Base Executor",
|
|
3327
|
+
description: "A base type definition for an executor schema"
|
|
3328
|
+
},
|
|
3329
|
+
outputPath: {
|
|
3330
|
+
$schema: {
|
|
3331
|
+
title: "Output Path",
|
|
3332
|
+
type: "string",
|
|
3333
|
+
format: "path",
|
|
3334
|
+
description: "The output path for the build"
|
|
3335
|
+
},
|
|
3336
|
+
$default: "dist/{projectRoot}"
|
|
3337
|
+
}
|
|
3338
|
+
});
|
|
3339
|
+
|
|
3340
|
+
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
3341
|
+
|
|
3342
|
+
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
3343
|
+
$schema: {
|
|
3344
|
+
id: "BaseGeneratorSchema",
|
|
3345
|
+
title: "Base Generator",
|
|
3346
|
+
description: "A type definition for the base Generator schema"
|
|
3347
|
+
},
|
|
3348
|
+
directory: {
|
|
3349
|
+
$schema: {
|
|
3350
|
+
title: "Directory",
|
|
3351
|
+
type: "string",
|
|
3352
|
+
description: "The directory to create the library in"
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
});
|
|
3356
|
+
|
|
3357
|
+
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
3358
|
+
|
|
3359
|
+
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
3360
|
+
...base_executor_untyped_default,
|
|
3361
|
+
$schema: {
|
|
3362
|
+
id: "cargoBaseExecutor",
|
|
3363
|
+
title: "Cargo Base Executor",
|
|
3364
|
+
description: "A base type definition for a Cargo/rust related executor schema"
|
|
3365
|
+
},
|
|
3366
|
+
package: {
|
|
3367
|
+
$schema: {
|
|
3368
|
+
title: "Cargo.toml Path",
|
|
3369
|
+
type: "string",
|
|
3370
|
+
format: "path",
|
|
3371
|
+
description: "The path to the Cargo.toml file"
|
|
3372
|
+
},
|
|
3373
|
+
$default: "{projectRoot}/Cargo.toml"
|
|
3374
|
+
},
|
|
3375
|
+
toolchain: {
|
|
3376
|
+
$schema: {
|
|
3377
|
+
title: "Toolchain",
|
|
3378
|
+
description: "The type of toolchain to use for the build",
|
|
3379
|
+
enum: [
|
|
3380
|
+
"stable",
|
|
3381
|
+
"beta",
|
|
3382
|
+
"nightly"
|
|
3383
|
+
],
|
|
3384
|
+
default: "stable"
|
|
3385
|
+
},
|
|
3386
|
+
$default: "stable"
|
|
3387
|
+
},
|
|
3388
|
+
target: {
|
|
3389
|
+
$schema: {
|
|
3390
|
+
title: "Target",
|
|
3391
|
+
type: "string",
|
|
3392
|
+
description: "The target to build"
|
|
3393
|
+
}
|
|
3394
|
+
},
|
|
3395
|
+
allTargets: {
|
|
3396
|
+
$schema: {
|
|
3397
|
+
title: "All Targets",
|
|
3398
|
+
type: "boolean",
|
|
3399
|
+
description: "Build all targets"
|
|
3400
|
+
}
|
|
3401
|
+
},
|
|
3402
|
+
profile: {
|
|
3403
|
+
$schema: {
|
|
3404
|
+
title: "Profile",
|
|
3405
|
+
type: "string",
|
|
3406
|
+
description: "The profile to build"
|
|
3407
|
+
}
|
|
3408
|
+
},
|
|
3409
|
+
release: {
|
|
3410
|
+
$schema: {
|
|
3411
|
+
title: "Release",
|
|
3412
|
+
type: "boolean",
|
|
3413
|
+
description: "Build in release mode"
|
|
3414
|
+
}
|
|
3415
|
+
},
|
|
3416
|
+
features: {
|
|
3417
|
+
$schema: {
|
|
3418
|
+
title: "Features",
|
|
3419
|
+
type: "string",
|
|
3420
|
+
description: "The features to build",
|
|
3421
|
+
oneOf: [
|
|
3422
|
+
{
|
|
3423
|
+
type: "string"
|
|
3424
|
+
},
|
|
3425
|
+
{
|
|
3426
|
+
type: "array",
|
|
3427
|
+
items: {
|
|
3428
|
+
type: "string"
|
|
3429
|
+
}
|
|
3430
|
+
}
|
|
3431
|
+
]
|
|
3432
|
+
}
|
|
3433
|
+
},
|
|
3434
|
+
allFeatures: {
|
|
3435
|
+
$schema: {
|
|
3436
|
+
title: "All Features",
|
|
3437
|
+
type: "boolean",
|
|
3438
|
+
description: "Build all features"
|
|
3439
|
+
}
|
|
3440
|
+
}
|
|
3441
|
+
});
|
|
3442
|
+
|
|
3443
|
+
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
3444
|
+
|
|
3445
|
+
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
3446
|
+
...base_executor_untyped_default,
|
|
3447
|
+
$schema: {
|
|
3448
|
+
id: "TypeScriptBuildExecutorSchema",
|
|
3449
|
+
title: "TypeScript Build Executor",
|
|
3450
|
+
description: "A type definition for the base TypeScript build executor schema",
|
|
3451
|
+
required: [
|
|
3452
|
+
"entry",
|
|
3453
|
+
"tsconfig"
|
|
3454
|
+
]
|
|
3455
|
+
},
|
|
3456
|
+
entry: {
|
|
3457
|
+
$schema: {
|
|
3458
|
+
title: "Entry File(s)",
|
|
3459
|
+
format: "path",
|
|
3460
|
+
type: "array",
|
|
3461
|
+
description: "The entry file or files to build",
|
|
3462
|
+
items: {
|
|
3463
|
+
type: "string"
|
|
3464
|
+
}
|
|
3465
|
+
},
|
|
3466
|
+
$default: [
|
|
3467
|
+
"{sourceRoot}/index.ts"
|
|
3468
|
+
]
|
|
3469
|
+
},
|
|
3470
|
+
tsconfig: {
|
|
3471
|
+
$schema: {
|
|
3472
|
+
title: "TSConfig Path",
|
|
3473
|
+
type: "string",
|
|
3474
|
+
format: "path",
|
|
3475
|
+
description: "The path to the tsconfig file"
|
|
3476
|
+
},
|
|
3477
|
+
$default: "{projectRoot}/tsconfig.json"
|
|
3478
|
+
},
|
|
3479
|
+
bundle: {
|
|
3480
|
+
$schema: {
|
|
3481
|
+
title: "Bundle",
|
|
3482
|
+
type: "boolean",
|
|
3483
|
+
description: "Bundle the output"
|
|
3484
|
+
},
|
|
3485
|
+
$default: false
|
|
3486
|
+
},
|
|
3487
|
+
minify: {
|
|
3488
|
+
$schema: {
|
|
3489
|
+
title: "Minify",
|
|
3490
|
+
type: "boolean",
|
|
3491
|
+
description: "Minify the output"
|
|
3492
|
+
},
|
|
3493
|
+
$default: false
|
|
3494
|
+
},
|
|
3495
|
+
debug: {
|
|
3496
|
+
$schema: {
|
|
3497
|
+
title: "Debug",
|
|
3498
|
+
type: "boolean",
|
|
3499
|
+
description: "Debug the output"
|
|
3500
|
+
},
|
|
3501
|
+
$default: false
|
|
3502
|
+
},
|
|
3503
|
+
sourcemap: {
|
|
3504
|
+
$schema: {
|
|
3505
|
+
title: "Sourcemap",
|
|
3506
|
+
type: "boolean",
|
|
3507
|
+
description: "Generate a sourcemap"
|
|
3508
|
+
},
|
|
3509
|
+
$default: false
|
|
3510
|
+
},
|
|
3511
|
+
silent: {
|
|
3512
|
+
$schema: {
|
|
3513
|
+
title: "Silent",
|
|
3514
|
+
type: "boolean",
|
|
3515
|
+
description: "Should the build run silently - only report errors back to the user"
|
|
3516
|
+
},
|
|
3517
|
+
$default: false
|
|
3518
|
+
},
|
|
3519
|
+
target: {
|
|
3520
|
+
$schema: {
|
|
3521
|
+
title: "Target",
|
|
3522
|
+
type: "string",
|
|
3523
|
+
description: "The target to build",
|
|
3524
|
+
enum: [
|
|
3525
|
+
"es3",
|
|
3526
|
+
"es5",
|
|
3527
|
+
"es6",
|
|
3528
|
+
"es2015",
|
|
3529
|
+
"es2016",
|
|
3530
|
+
"es2017",
|
|
3531
|
+
"es2018",
|
|
3532
|
+
"es2019",
|
|
3533
|
+
"es2020",
|
|
3534
|
+
"es2021",
|
|
3535
|
+
"es2022",
|
|
3536
|
+
"es2023",
|
|
3537
|
+
"es2024",
|
|
3538
|
+
"esnext",
|
|
3539
|
+
"node12",
|
|
3540
|
+
"node14",
|
|
3541
|
+
"node16",
|
|
3542
|
+
"node18",
|
|
3543
|
+
"node20",
|
|
3544
|
+
"node22",
|
|
3545
|
+
"browser",
|
|
3546
|
+
"chrome58",
|
|
3547
|
+
"chrome59",
|
|
3548
|
+
"chrome60"
|
|
3549
|
+
]
|
|
3550
|
+
},
|
|
3551
|
+
$default: "esnext",
|
|
3552
|
+
$resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = "esnext") => val.toLowerCase(), "$resolve")
|
|
3553
|
+
},
|
|
3554
|
+
format: {
|
|
3555
|
+
$schema: {
|
|
3556
|
+
title: "Format",
|
|
3557
|
+
type: "array",
|
|
3558
|
+
description: "The format to build",
|
|
3559
|
+
items: {
|
|
3560
|
+
type: "string",
|
|
3561
|
+
enum: [
|
|
3562
|
+
"cjs",
|
|
3563
|
+
"esm",
|
|
3564
|
+
"iife"
|
|
3565
|
+
]
|
|
3566
|
+
}
|
|
3567
|
+
},
|
|
3568
|
+
$resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = [
|
|
3569
|
+
"cjs",
|
|
3570
|
+
"esm"
|
|
3571
|
+
]) => [].concat(val), "$resolve")
|
|
3572
|
+
},
|
|
3573
|
+
platform: {
|
|
3574
|
+
$schema: {
|
|
3575
|
+
title: "Platform",
|
|
3576
|
+
type: "string",
|
|
3577
|
+
description: "The platform to build",
|
|
3578
|
+
enum: [
|
|
3579
|
+
"neutral",
|
|
3580
|
+
"node",
|
|
3581
|
+
"browser"
|
|
3582
|
+
]
|
|
3583
|
+
},
|
|
3584
|
+
$default: "neutral"
|
|
3585
|
+
},
|
|
3586
|
+
external: {
|
|
3587
|
+
$schema: {
|
|
3588
|
+
title: "External",
|
|
3589
|
+
type: "array",
|
|
3590
|
+
description: "The external dependencies"
|
|
3591
|
+
},
|
|
3592
|
+
$resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = []) => [].concat(val), "$resolve")
|
|
3593
|
+
},
|
|
3594
|
+
define: {
|
|
3595
|
+
$schema: {
|
|
3596
|
+
title: "Define",
|
|
3597
|
+
type: "object",
|
|
3598
|
+
tsType: "Record<string, string>",
|
|
3599
|
+
description: "The define values"
|
|
3600
|
+
},
|
|
3601
|
+
$resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = {}) => val, "$resolve"),
|
|
3602
|
+
$default: {}
|
|
3603
|
+
},
|
|
3604
|
+
env: {
|
|
3605
|
+
$schema: {
|
|
3606
|
+
title: "Environment Variables",
|
|
3607
|
+
type: "object",
|
|
3608
|
+
tsType: "Record<string, string>",
|
|
3609
|
+
description: "The environment variable values"
|
|
3610
|
+
},
|
|
3611
|
+
$resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = {}) => val, "$resolve"),
|
|
3612
|
+
$default: {}
|
|
3613
|
+
}
|
|
3614
|
+
});
|
|
3615
|
+
|
|
3616
|
+
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
3617
|
+
|
|
3618
|
+
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
3619
|
+
...base_generator_untyped_default,
|
|
3620
|
+
$schema: {
|
|
3621
|
+
id: "TypeScriptLibraryGeneratorSchema",
|
|
3622
|
+
title: "TypeScript Library Generator",
|
|
3623
|
+
description: "A type definition for the base TypeScript Library Generator schema",
|
|
3624
|
+
required: [
|
|
3625
|
+
"directory",
|
|
3626
|
+
"name"
|
|
3627
|
+
]
|
|
3628
|
+
},
|
|
3629
|
+
name: {
|
|
3630
|
+
$schema: {
|
|
3631
|
+
title: "Name",
|
|
3632
|
+
type: "string",
|
|
3633
|
+
description: "The name of the library"
|
|
3634
|
+
}
|
|
3635
|
+
},
|
|
3636
|
+
description: {
|
|
3637
|
+
$schema: {
|
|
3638
|
+
title: "Description",
|
|
3639
|
+
type: "string",
|
|
3640
|
+
description: "The description of the library"
|
|
3641
|
+
}
|
|
3642
|
+
},
|
|
3643
|
+
buildExecutor: {
|
|
3644
|
+
$schema: {
|
|
3645
|
+
title: "Build Executor",
|
|
3646
|
+
type: "string",
|
|
3647
|
+
description: "The executor to use for building the library"
|
|
3648
|
+
},
|
|
3649
|
+
$default: "@storm-software/workspace-tools:unbuild"
|
|
3650
|
+
},
|
|
3651
|
+
platform: {
|
|
3652
|
+
$schema: {
|
|
3653
|
+
title: "Platform",
|
|
3654
|
+
type: "string",
|
|
3655
|
+
description: "The platform to target with the library",
|
|
3656
|
+
enum: [
|
|
3657
|
+
"neutral",
|
|
3658
|
+
"node",
|
|
3659
|
+
"browser"
|
|
3660
|
+
]
|
|
3661
|
+
},
|
|
3662
|
+
$default: "neutral"
|
|
3663
|
+
},
|
|
3664
|
+
devDependencies: {
|
|
3665
|
+
$schema: {
|
|
3666
|
+
title: "Dev Dependencies",
|
|
3667
|
+
type: "object",
|
|
3668
|
+
description: "The dev dependencies to install"
|
|
3669
|
+
}
|
|
3670
|
+
},
|
|
3671
|
+
dependencies: {
|
|
3672
|
+
$schema: {
|
|
3673
|
+
title: "Dependencies",
|
|
3674
|
+
type: "object",
|
|
3675
|
+
description: "The dependencies to install"
|
|
3676
|
+
}
|
|
3677
|
+
},
|
|
3678
|
+
peerDependencies: {
|
|
3679
|
+
$schema: {
|
|
3680
|
+
title: "Peer Dependencies",
|
|
3681
|
+
type: "object",
|
|
3682
|
+
description: "The peer dependencies to install"
|
|
3683
|
+
}
|
|
3684
|
+
},
|
|
3685
|
+
peerDependenciesMeta: {
|
|
3686
|
+
$schema: {
|
|
3687
|
+
title: "Peer Dependencies Meta",
|
|
3688
|
+
type: "object",
|
|
3689
|
+
description: "The peer dependencies meta"
|
|
3690
|
+
}
|
|
3691
|
+
},
|
|
3692
|
+
tags: {
|
|
3693
|
+
$schema: {
|
|
3694
|
+
title: "Tags",
|
|
3695
|
+
type: "string",
|
|
3696
|
+
description: "The tags for the library"
|
|
3697
|
+
}
|
|
3698
|
+
},
|
|
3699
|
+
tsconfigOptions: {
|
|
3700
|
+
$schema: {
|
|
3701
|
+
title: "TypeScript Config (tsconfig.json) Options",
|
|
3702
|
+
type: "object",
|
|
3703
|
+
description: "The TypeScript configuration options"
|
|
3704
|
+
}
|
|
3705
|
+
},
|
|
3706
|
+
skipFormat: {
|
|
3707
|
+
$schema: {
|
|
3708
|
+
title: "Skip Format",
|
|
3709
|
+
type: "boolean",
|
|
3710
|
+
description: "Skip formatting"
|
|
3711
|
+
}
|
|
3712
|
+
},
|
|
3713
|
+
skipTsConfig: {
|
|
3714
|
+
$schema: {
|
|
3715
|
+
title: "Skip TsConfig",
|
|
3716
|
+
type: "boolean",
|
|
3717
|
+
description: "Skip TypeScript configuration"
|
|
3718
|
+
}
|
|
3719
|
+
},
|
|
3720
|
+
skipPackageJson: {
|
|
3721
|
+
$schema: {
|
|
3722
|
+
title: "Skip Package Json",
|
|
3723
|
+
type: "boolean",
|
|
3724
|
+
description: "Skip package.json"
|
|
3725
|
+
}
|
|
3726
|
+
},
|
|
3727
|
+
includeBabelRc: {
|
|
3728
|
+
$schema: {
|
|
3729
|
+
title: "Include Babel Rc",
|
|
3730
|
+
type: "boolean",
|
|
3731
|
+
description: "Include Babel configuration"
|
|
3732
|
+
}
|
|
3733
|
+
},
|
|
3734
|
+
unitTestRunner: {
|
|
3735
|
+
$schema: {
|
|
3736
|
+
title: "Unit Test Runner",
|
|
3737
|
+
type: "string",
|
|
3738
|
+
enum: [
|
|
3739
|
+
"jest",
|
|
3740
|
+
"vitest",
|
|
3741
|
+
"none"
|
|
3742
|
+
],
|
|
3743
|
+
description: "The unit test runner to use"
|
|
3744
|
+
}
|
|
3745
|
+
},
|
|
3746
|
+
linter: {
|
|
3747
|
+
$schema: {
|
|
3748
|
+
title: "Linter",
|
|
3749
|
+
type: "string",
|
|
3750
|
+
description: "The linter to use"
|
|
3751
|
+
}
|
|
3752
|
+
},
|
|
3753
|
+
testEnvironment: {
|
|
3754
|
+
$schema: {
|
|
3755
|
+
title: "Test Environment",
|
|
3756
|
+
type: "string",
|
|
3757
|
+
enum: [
|
|
3758
|
+
"jsdom",
|
|
3759
|
+
"node"
|
|
3760
|
+
],
|
|
3761
|
+
description: "The test environment to use"
|
|
3762
|
+
}
|
|
3763
|
+
},
|
|
3764
|
+
importPath: {
|
|
3765
|
+
$schema: {
|
|
3766
|
+
title: "Import Path",
|
|
3767
|
+
type: "string",
|
|
3768
|
+
description: "The import path for the library"
|
|
3769
|
+
}
|
|
3770
|
+
},
|
|
3771
|
+
js: {
|
|
3772
|
+
$schema: {
|
|
3773
|
+
title: "JavaScript",
|
|
3774
|
+
type: "boolean",
|
|
3775
|
+
description: "Use JavaScript instead of TypeScript"
|
|
3776
|
+
}
|
|
3777
|
+
},
|
|
3778
|
+
pascalCaseFiles: {
|
|
3779
|
+
$schema: {
|
|
3780
|
+
title: "Pascal Case Files",
|
|
3781
|
+
type: "boolean",
|
|
3782
|
+
description: "Use PascalCase for file names"
|
|
3783
|
+
}
|
|
3784
|
+
},
|
|
3785
|
+
strict: {
|
|
3786
|
+
$schema: {
|
|
3787
|
+
title: "Strict",
|
|
3788
|
+
type: "boolean",
|
|
3789
|
+
description: "Enable strict mode"
|
|
3790
|
+
}
|
|
3791
|
+
},
|
|
3792
|
+
publishable: {
|
|
3793
|
+
$schema: {
|
|
3794
|
+
title: "Publishable",
|
|
3795
|
+
type: "boolean",
|
|
3796
|
+
description: "Make the library publishable"
|
|
3797
|
+
}
|
|
3798
|
+
},
|
|
3799
|
+
buildable: {
|
|
3800
|
+
$schema: {
|
|
3801
|
+
title: "Buildable",
|
|
3802
|
+
type: "boolean",
|
|
3803
|
+
description: "Make the library buildable"
|
|
3804
|
+
}
|
|
3805
|
+
},
|
|
3806
|
+
setParserOptionsProject: {
|
|
3807
|
+
$schema: {
|
|
3808
|
+
title: "Set Parser Options Project",
|
|
3809
|
+
type: "boolean",
|
|
3810
|
+
description: "Set parser options project"
|
|
3811
|
+
}
|
|
3812
|
+
},
|
|
3813
|
+
config: {
|
|
3814
|
+
$schema: {
|
|
3815
|
+
title: "Config",
|
|
3816
|
+
type: "string",
|
|
3817
|
+
enum: [
|
|
3818
|
+
"workspace",
|
|
3819
|
+
"project",
|
|
3820
|
+
"npm-scripts"
|
|
3821
|
+
],
|
|
3822
|
+
description: "The configuration type"
|
|
3823
|
+
}
|
|
3824
|
+
},
|
|
3825
|
+
compiler: {
|
|
3826
|
+
$schema: {
|
|
3827
|
+
title: "Compiler",
|
|
3828
|
+
type: "string",
|
|
3829
|
+
description: "The compiler to use"
|
|
3830
|
+
}
|
|
3831
|
+
},
|
|
3832
|
+
bundler: {
|
|
3833
|
+
$schema: {
|
|
3834
|
+
title: "Bundler",
|
|
3835
|
+
type: "string",
|
|
3836
|
+
description: "The bundler to use"
|
|
3837
|
+
}
|
|
3838
|
+
},
|
|
3839
|
+
skipTypeCheck: {
|
|
3840
|
+
$schema: {
|
|
3841
|
+
title: "Skip Type Check",
|
|
3842
|
+
type: "boolean",
|
|
3843
|
+
description: "Skip type checking"
|
|
3844
|
+
}
|
|
3845
|
+
},
|
|
3846
|
+
minimal: {
|
|
3847
|
+
$schema: {
|
|
3848
|
+
title: "Minimal",
|
|
3849
|
+
type: "boolean",
|
|
3850
|
+
description: "Create a minimal library"
|
|
3851
|
+
}
|
|
3852
|
+
},
|
|
3853
|
+
rootProject: {
|
|
3854
|
+
$schema: {
|
|
3855
|
+
title: "Root Project",
|
|
3856
|
+
type: "boolean",
|
|
3857
|
+
description: "Create a root project"
|
|
3858
|
+
}
|
|
3859
|
+
},
|
|
3860
|
+
simpleName: {
|
|
3861
|
+
$schema: {
|
|
3862
|
+
title: "Simple Name",
|
|
3863
|
+
type: "boolean",
|
|
3864
|
+
description: "Use a simple name for the library"
|
|
3865
|
+
}
|
|
3866
|
+
},
|
|
3867
|
+
addPlugin: {
|
|
3868
|
+
$schema: {
|
|
3869
|
+
title: "Add Plugin",
|
|
3870
|
+
type: "boolean",
|
|
3871
|
+
description: "Add a plugin to the library"
|
|
3872
|
+
}
|
|
3873
|
+
},
|
|
3874
|
+
useProjectJson: {
|
|
3875
|
+
$schema: {
|
|
3876
|
+
title: "Use Project Json",
|
|
3877
|
+
type: "boolean",
|
|
3878
|
+
description: "Use project.json"
|
|
3879
|
+
}
|
|
3880
|
+
},
|
|
3881
|
+
skipWorkspacesWarning: {
|
|
3882
|
+
$schema: {
|
|
3883
|
+
title: "Skip Workspaces Warning",
|
|
3884
|
+
type: "boolean",
|
|
3885
|
+
description: "Skip workspaces warning"
|
|
3886
|
+
}
|
|
3887
|
+
},
|
|
3888
|
+
useTscExecutor: {
|
|
3889
|
+
$schema: {
|
|
3890
|
+
title: "Use Tsc Executor",
|
|
3891
|
+
type: "boolean",
|
|
3892
|
+
description: "Use TSC executor"
|
|
3893
|
+
}
|
|
3894
|
+
}
|
|
3895
|
+
});
|
|
3896
|
+
|
|
3314
3897
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
3315
3898
|
|
|
3316
3899
|
|