@storm-software/cloudflare-tools 0.49.0 → 0.49.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-MTM5OTKD.mjs → chunk-CR22PACK.mjs} +1 -1
- package/dist/{chunk-OJNZ4PXQ.mjs → chunk-ITLKTOIK.mjs} +576 -0
- package/dist/{chunk-KKOHB7JH.js → chunk-NPJPHEFP.js} +1 -1
- package/dist/{chunk-I4XNMV5U.js → chunk-W5J5EWQN.js} +2 -2
- package/dist/{chunk-Z46UO4N7.js → chunk-WGOT27OY.js} +576 -0
- package/dist/{chunk-A4ZIZ2JU.mjs → chunk-ZY7TM2TA.mjs} +1 -1
- package/dist/executors.js +2 -2
- package/dist/executors.mjs +2 -2
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +2 -2
- package/dist/index.js +5 -5
- package/dist/index.mjs +4 -4
- package/dist/src/executors/cloudflare-publish/executor.js +1 -1
- package/dist/src/executors/cloudflare-publish/executor.mjs +1 -1
- package/dist/src/executors/serve/executor.js +2 -2
- package/dist/src/executors/serve/executor.mjs +1 -1
- package/dist/src/generators/init/generator.js +2 -2
- package/dist/src/generators/init/generator.mjs +1 -1
- package/dist/src/generators/worker/generator.js +3 -3
- package/dist/src/generators/worker/generator.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,7 +8,7 @@ var require_package = __commonJS({
|
|
|
8
8
|
"package.json"(exports, module) {
|
|
9
9
|
module.exports = {
|
|
10
10
|
name: "@storm-software/cloudflare-tools",
|
|
11
|
-
version: "0.49.
|
|
11
|
+
version: "0.49.1",
|
|
12
12
|
description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
13
13
|
repository: {
|
|
14
14
|
type: "github",
|
|
@@ -3441,6 +3441,582 @@ import { deriveNewSemverVersion, validReleaseVersionPrefixes } from "nx/src/comm
|
|
|
3441
3441
|
import { interpolate } from "nx/src/tasks-runner/utils";
|
|
3442
3442
|
import { prerelease } from "semver";
|
|
3443
3443
|
|
|
3444
|
+
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
3445
|
+
import { defineUntypedSchema } from "untyped";
|
|
3446
|
+
var base_executor_untyped_default = defineUntypedSchema({
|
|
3447
|
+
$schema: {
|
|
3448
|
+
id: "baseExecutor",
|
|
3449
|
+
title: "Base Executor",
|
|
3450
|
+
description: "A base type definition for an executor schema"
|
|
3451
|
+
},
|
|
3452
|
+
outputPath: {
|
|
3453
|
+
$schema: {
|
|
3454
|
+
title: "Output Path",
|
|
3455
|
+
type: "string",
|
|
3456
|
+
format: "path",
|
|
3457
|
+
description: "The output path for the build"
|
|
3458
|
+
},
|
|
3459
|
+
$default: "dist/{projectRoot}"
|
|
3460
|
+
}
|
|
3461
|
+
});
|
|
3462
|
+
|
|
3463
|
+
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
3464
|
+
import { defineUntypedSchema as defineUntypedSchema2 } from "untyped";
|
|
3465
|
+
var base_generator_untyped_default = defineUntypedSchema2({
|
|
3466
|
+
$schema: {
|
|
3467
|
+
id: "BaseGeneratorSchema",
|
|
3468
|
+
title: "Base Generator",
|
|
3469
|
+
description: "A type definition for the base Generator schema"
|
|
3470
|
+
},
|
|
3471
|
+
directory: {
|
|
3472
|
+
$schema: {
|
|
3473
|
+
title: "Directory",
|
|
3474
|
+
type: "string",
|
|
3475
|
+
description: "The directory to create the library in"
|
|
3476
|
+
}
|
|
3477
|
+
}
|
|
3478
|
+
});
|
|
3479
|
+
|
|
3480
|
+
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
3481
|
+
import { defineUntypedSchema as defineUntypedSchema3 } from "untyped";
|
|
3482
|
+
var cargo_base_executor_untyped_default = defineUntypedSchema3({
|
|
3483
|
+
...base_executor_untyped_default,
|
|
3484
|
+
$schema: {
|
|
3485
|
+
id: "cargoBaseExecutor",
|
|
3486
|
+
title: "Cargo Base Executor",
|
|
3487
|
+
description: "A base type definition for a Cargo/rust related executor schema"
|
|
3488
|
+
},
|
|
3489
|
+
package: {
|
|
3490
|
+
$schema: {
|
|
3491
|
+
title: "Cargo.toml Path",
|
|
3492
|
+
type: "string",
|
|
3493
|
+
format: "path",
|
|
3494
|
+
description: "The path to the Cargo.toml file"
|
|
3495
|
+
},
|
|
3496
|
+
$default: "{projectRoot}/Cargo.toml"
|
|
3497
|
+
},
|
|
3498
|
+
toolchain: {
|
|
3499
|
+
$schema: {
|
|
3500
|
+
title: "Toolchain",
|
|
3501
|
+
description: "The type of toolchain to use for the build",
|
|
3502
|
+
enum: [
|
|
3503
|
+
"stable",
|
|
3504
|
+
"beta",
|
|
3505
|
+
"nightly"
|
|
3506
|
+
],
|
|
3507
|
+
default: "stable"
|
|
3508
|
+
},
|
|
3509
|
+
$default: "stable"
|
|
3510
|
+
},
|
|
3511
|
+
target: {
|
|
3512
|
+
$schema: {
|
|
3513
|
+
title: "Target",
|
|
3514
|
+
type: "string",
|
|
3515
|
+
description: "The target to build"
|
|
3516
|
+
}
|
|
3517
|
+
},
|
|
3518
|
+
allTargets: {
|
|
3519
|
+
$schema: {
|
|
3520
|
+
title: "All Targets",
|
|
3521
|
+
type: "boolean",
|
|
3522
|
+
description: "Build all targets"
|
|
3523
|
+
}
|
|
3524
|
+
},
|
|
3525
|
+
profile: {
|
|
3526
|
+
$schema: {
|
|
3527
|
+
title: "Profile",
|
|
3528
|
+
type: "string",
|
|
3529
|
+
description: "The profile to build"
|
|
3530
|
+
}
|
|
3531
|
+
},
|
|
3532
|
+
release: {
|
|
3533
|
+
$schema: {
|
|
3534
|
+
title: "Release",
|
|
3535
|
+
type: "boolean",
|
|
3536
|
+
description: "Build in release mode"
|
|
3537
|
+
}
|
|
3538
|
+
},
|
|
3539
|
+
features: {
|
|
3540
|
+
$schema: {
|
|
3541
|
+
title: "Features",
|
|
3542
|
+
type: "string",
|
|
3543
|
+
description: "The features to build",
|
|
3544
|
+
oneOf: [
|
|
3545
|
+
{
|
|
3546
|
+
type: "string"
|
|
3547
|
+
},
|
|
3548
|
+
{
|
|
3549
|
+
type: "array",
|
|
3550
|
+
items: {
|
|
3551
|
+
type: "string"
|
|
3552
|
+
}
|
|
3553
|
+
}
|
|
3554
|
+
]
|
|
3555
|
+
}
|
|
3556
|
+
},
|
|
3557
|
+
allFeatures: {
|
|
3558
|
+
$schema: {
|
|
3559
|
+
title: "All Features",
|
|
3560
|
+
type: "boolean",
|
|
3561
|
+
description: "Build all features"
|
|
3562
|
+
}
|
|
3563
|
+
}
|
|
3564
|
+
});
|
|
3565
|
+
|
|
3566
|
+
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
3567
|
+
import { defineUntypedSchema as defineUntypedSchema4 } from "untyped";
|
|
3568
|
+
var typescript_build_executor_untyped_default = defineUntypedSchema4({
|
|
3569
|
+
...base_executor_untyped_default,
|
|
3570
|
+
$schema: {
|
|
3571
|
+
id: "TypeScriptBuildExecutorSchema",
|
|
3572
|
+
title: "TypeScript Build Executor",
|
|
3573
|
+
description: "A type definition for the base TypeScript build executor schema",
|
|
3574
|
+
required: [
|
|
3575
|
+
"entry",
|
|
3576
|
+
"tsconfig"
|
|
3577
|
+
]
|
|
3578
|
+
},
|
|
3579
|
+
entry: {
|
|
3580
|
+
$schema: {
|
|
3581
|
+
title: "Entry File(s)",
|
|
3582
|
+
format: "path",
|
|
3583
|
+
type: "array",
|
|
3584
|
+
description: "The entry file or files to build",
|
|
3585
|
+
items: {
|
|
3586
|
+
type: "string"
|
|
3587
|
+
}
|
|
3588
|
+
},
|
|
3589
|
+
$default: [
|
|
3590
|
+
"{sourceRoot}/index.ts"
|
|
3591
|
+
]
|
|
3592
|
+
},
|
|
3593
|
+
tsconfig: {
|
|
3594
|
+
$schema: {
|
|
3595
|
+
title: "TSConfig Path",
|
|
3596
|
+
type: "string",
|
|
3597
|
+
format: "path",
|
|
3598
|
+
description: "The path to the tsconfig file"
|
|
3599
|
+
},
|
|
3600
|
+
$default: "{projectRoot}/tsconfig.json"
|
|
3601
|
+
},
|
|
3602
|
+
bundle: {
|
|
3603
|
+
$schema: {
|
|
3604
|
+
title: "Bundle",
|
|
3605
|
+
type: "boolean",
|
|
3606
|
+
description: "Bundle the output"
|
|
3607
|
+
},
|
|
3608
|
+
$default: false
|
|
3609
|
+
},
|
|
3610
|
+
minify: {
|
|
3611
|
+
$schema: {
|
|
3612
|
+
title: "Minify",
|
|
3613
|
+
type: "boolean",
|
|
3614
|
+
description: "Minify the output"
|
|
3615
|
+
},
|
|
3616
|
+
$default: false
|
|
3617
|
+
},
|
|
3618
|
+
debug: {
|
|
3619
|
+
$schema: {
|
|
3620
|
+
title: "Debug",
|
|
3621
|
+
type: "boolean",
|
|
3622
|
+
description: "Debug the output"
|
|
3623
|
+
},
|
|
3624
|
+
$default: false
|
|
3625
|
+
},
|
|
3626
|
+
sourcemap: {
|
|
3627
|
+
$schema: {
|
|
3628
|
+
title: "Sourcemap",
|
|
3629
|
+
type: "boolean",
|
|
3630
|
+
description: "Generate a sourcemap"
|
|
3631
|
+
},
|
|
3632
|
+
$default: false
|
|
3633
|
+
},
|
|
3634
|
+
silent: {
|
|
3635
|
+
$schema: {
|
|
3636
|
+
title: "Silent",
|
|
3637
|
+
type: "boolean",
|
|
3638
|
+
description: "Should the build run silently - only report errors back to the user"
|
|
3639
|
+
},
|
|
3640
|
+
$default: false
|
|
3641
|
+
},
|
|
3642
|
+
target: {
|
|
3643
|
+
$schema: {
|
|
3644
|
+
title: "Target",
|
|
3645
|
+
type: "string",
|
|
3646
|
+
description: "The target to build",
|
|
3647
|
+
enum: [
|
|
3648
|
+
"es3",
|
|
3649
|
+
"es5",
|
|
3650
|
+
"es6",
|
|
3651
|
+
"es2015",
|
|
3652
|
+
"es2016",
|
|
3653
|
+
"es2017",
|
|
3654
|
+
"es2018",
|
|
3655
|
+
"es2019",
|
|
3656
|
+
"es2020",
|
|
3657
|
+
"es2021",
|
|
3658
|
+
"es2022",
|
|
3659
|
+
"es2023",
|
|
3660
|
+
"es2024",
|
|
3661
|
+
"esnext",
|
|
3662
|
+
"node12",
|
|
3663
|
+
"node14",
|
|
3664
|
+
"node16",
|
|
3665
|
+
"node18",
|
|
3666
|
+
"node20",
|
|
3667
|
+
"node22",
|
|
3668
|
+
"browser",
|
|
3669
|
+
"chrome58",
|
|
3670
|
+
"chrome59",
|
|
3671
|
+
"chrome60"
|
|
3672
|
+
]
|
|
3673
|
+
},
|
|
3674
|
+
$default: "esnext",
|
|
3675
|
+
$resolve: /* @__PURE__ */ __name((val = "esnext") => val.toLowerCase(), "$resolve")
|
|
3676
|
+
},
|
|
3677
|
+
format: {
|
|
3678
|
+
$schema: {
|
|
3679
|
+
title: "Format",
|
|
3680
|
+
type: "array",
|
|
3681
|
+
description: "The format to build",
|
|
3682
|
+
items: {
|
|
3683
|
+
type: "string",
|
|
3684
|
+
enum: [
|
|
3685
|
+
"cjs",
|
|
3686
|
+
"esm",
|
|
3687
|
+
"iife"
|
|
3688
|
+
]
|
|
3689
|
+
}
|
|
3690
|
+
},
|
|
3691
|
+
$resolve: /* @__PURE__ */ __name((val = [
|
|
3692
|
+
"cjs",
|
|
3693
|
+
"esm"
|
|
3694
|
+
]) => [].concat(val), "$resolve")
|
|
3695
|
+
},
|
|
3696
|
+
platform: {
|
|
3697
|
+
$schema: {
|
|
3698
|
+
title: "Platform",
|
|
3699
|
+
type: "string",
|
|
3700
|
+
description: "The platform to build",
|
|
3701
|
+
enum: [
|
|
3702
|
+
"neutral",
|
|
3703
|
+
"node",
|
|
3704
|
+
"browser"
|
|
3705
|
+
]
|
|
3706
|
+
},
|
|
3707
|
+
$default: "neutral"
|
|
3708
|
+
},
|
|
3709
|
+
external: {
|
|
3710
|
+
$schema: {
|
|
3711
|
+
title: "External",
|
|
3712
|
+
type: "array",
|
|
3713
|
+
description: "The external dependencies"
|
|
3714
|
+
},
|
|
3715
|
+
$resolve: /* @__PURE__ */ __name((val = []) => [].concat(val), "$resolve")
|
|
3716
|
+
},
|
|
3717
|
+
define: {
|
|
3718
|
+
$schema: {
|
|
3719
|
+
title: "Define",
|
|
3720
|
+
type: "object",
|
|
3721
|
+
tsType: "Record<string, string>",
|
|
3722
|
+
description: "The define values"
|
|
3723
|
+
},
|
|
3724
|
+
$resolve: /* @__PURE__ */ __name((val = {}) => val, "$resolve"),
|
|
3725
|
+
$default: {}
|
|
3726
|
+
},
|
|
3727
|
+
env: {
|
|
3728
|
+
$schema: {
|
|
3729
|
+
title: "Environment Variables",
|
|
3730
|
+
type: "object",
|
|
3731
|
+
tsType: "Record<string, string>",
|
|
3732
|
+
description: "The environment variable values"
|
|
3733
|
+
},
|
|
3734
|
+
$resolve: /* @__PURE__ */ __name((val = {}) => val, "$resolve"),
|
|
3735
|
+
$default: {}
|
|
3736
|
+
}
|
|
3737
|
+
});
|
|
3738
|
+
|
|
3739
|
+
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
3740
|
+
import { defineUntypedSchema as defineUntypedSchema5 } from "untyped";
|
|
3741
|
+
var typescript_library_generator_untyped_default = defineUntypedSchema5({
|
|
3742
|
+
...base_generator_untyped_default,
|
|
3743
|
+
$schema: {
|
|
3744
|
+
id: "TypeScriptLibraryGeneratorSchema",
|
|
3745
|
+
title: "TypeScript Library Generator",
|
|
3746
|
+
description: "A type definition for the base TypeScript Library Generator schema",
|
|
3747
|
+
required: [
|
|
3748
|
+
"directory",
|
|
3749
|
+
"name"
|
|
3750
|
+
]
|
|
3751
|
+
},
|
|
3752
|
+
name: {
|
|
3753
|
+
$schema: {
|
|
3754
|
+
title: "Name",
|
|
3755
|
+
type: "string",
|
|
3756
|
+
description: "The name of the library"
|
|
3757
|
+
}
|
|
3758
|
+
},
|
|
3759
|
+
description: {
|
|
3760
|
+
$schema: {
|
|
3761
|
+
title: "Description",
|
|
3762
|
+
type: "string",
|
|
3763
|
+
description: "The description of the library"
|
|
3764
|
+
}
|
|
3765
|
+
},
|
|
3766
|
+
buildExecutor: {
|
|
3767
|
+
$schema: {
|
|
3768
|
+
title: "Build Executor",
|
|
3769
|
+
type: "string",
|
|
3770
|
+
description: "The executor to use for building the library"
|
|
3771
|
+
},
|
|
3772
|
+
$default: "@storm-software/workspace-tools:unbuild"
|
|
3773
|
+
},
|
|
3774
|
+
platform: {
|
|
3775
|
+
$schema: {
|
|
3776
|
+
title: "Platform",
|
|
3777
|
+
type: "string",
|
|
3778
|
+
description: "The platform to target with the library",
|
|
3779
|
+
enum: [
|
|
3780
|
+
"neutral",
|
|
3781
|
+
"node",
|
|
3782
|
+
"browser"
|
|
3783
|
+
]
|
|
3784
|
+
},
|
|
3785
|
+
$default: "neutral"
|
|
3786
|
+
},
|
|
3787
|
+
devDependencies: {
|
|
3788
|
+
$schema: {
|
|
3789
|
+
title: "Dev Dependencies",
|
|
3790
|
+
type: "object",
|
|
3791
|
+
description: "The dev dependencies to install"
|
|
3792
|
+
}
|
|
3793
|
+
},
|
|
3794
|
+
dependencies: {
|
|
3795
|
+
$schema: {
|
|
3796
|
+
title: "Dependencies",
|
|
3797
|
+
type: "object",
|
|
3798
|
+
description: "The dependencies to install"
|
|
3799
|
+
}
|
|
3800
|
+
},
|
|
3801
|
+
peerDependencies: {
|
|
3802
|
+
$schema: {
|
|
3803
|
+
title: "Peer Dependencies",
|
|
3804
|
+
type: "object",
|
|
3805
|
+
description: "The peer dependencies to install"
|
|
3806
|
+
}
|
|
3807
|
+
},
|
|
3808
|
+
peerDependenciesMeta: {
|
|
3809
|
+
$schema: {
|
|
3810
|
+
title: "Peer Dependencies Meta",
|
|
3811
|
+
type: "object",
|
|
3812
|
+
description: "The peer dependencies meta"
|
|
3813
|
+
}
|
|
3814
|
+
},
|
|
3815
|
+
tags: {
|
|
3816
|
+
$schema: {
|
|
3817
|
+
title: "Tags",
|
|
3818
|
+
type: "string",
|
|
3819
|
+
description: "The tags for the library"
|
|
3820
|
+
}
|
|
3821
|
+
},
|
|
3822
|
+
tsconfigOptions: {
|
|
3823
|
+
$schema: {
|
|
3824
|
+
title: "TypeScript Config (tsconfig.json) Options",
|
|
3825
|
+
type: "object",
|
|
3826
|
+
description: "The TypeScript configuration options"
|
|
3827
|
+
}
|
|
3828
|
+
},
|
|
3829
|
+
skipFormat: {
|
|
3830
|
+
$schema: {
|
|
3831
|
+
title: "Skip Format",
|
|
3832
|
+
type: "boolean",
|
|
3833
|
+
description: "Skip formatting"
|
|
3834
|
+
}
|
|
3835
|
+
},
|
|
3836
|
+
skipTsConfig: {
|
|
3837
|
+
$schema: {
|
|
3838
|
+
title: "Skip TsConfig",
|
|
3839
|
+
type: "boolean",
|
|
3840
|
+
description: "Skip TypeScript configuration"
|
|
3841
|
+
}
|
|
3842
|
+
},
|
|
3843
|
+
skipPackageJson: {
|
|
3844
|
+
$schema: {
|
|
3845
|
+
title: "Skip Package Json",
|
|
3846
|
+
type: "boolean",
|
|
3847
|
+
description: "Skip package.json"
|
|
3848
|
+
}
|
|
3849
|
+
},
|
|
3850
|
+
includeBabelRc: {
|
|
3851
|
+
$schema: {
|
|
3852
|
+
title: "Include Babel Rc",
|
|
3853
|
+
type: "boolean",
|
|
3854
|
+
description: "Include Babel configuration"
|
|
3855
|
+
}
|
|
3856
|
+
},
|
|
3857
|
+
unitTestRunner: {
|
|
3858
|
+
$schema: {
|
|
3859
|
+
title: "Unit Test Runner",
|
|
3860
|
+
type: "string",
|
|
3861
|
+
enum: [
|
|
3862
|
+
"jest",
|
|
3863
|
+
"vitest",
|
|
3864
|
+
"none"
|
|
3865
|
+
],
|
|
3866
|
+
description: "The unit test runner to use"
|
|
3867
|
+
}
|
|
3868
|
+
},
|
|
3869
|
+
linter: {
|
|
3870
|
+
$schema: {
|
|
3871
|
+
title: "Linter",
|
|
3872
|
+
type: "string",
|
|
3873
|
+
description: "The linter to use"
|
|
3874
|
+
}
|
|
3875
|
+
},
|
|
3876
|
+
testEnvironment: {
|
|
3877
|
+
$schema: {
|
|
3878
|
+
title: "Test Environment",
|
|
3879
|
+
type: "string",
|
|
3880
|
+
enum: [
|
|
3881
|
+
"jsdom",
|
|
3882
|
+
"node"
|
|
3883
|
+
],
|
|
3884
|
+
description: "The test environment to use"
|
|
3885
|
+
}
|
|
3886
|
+
},
|
|
3887
|
+
importPath: {
|
|
3888
|
+
$schema: {
|
|
3889
|
+
title: "Import Path",
|
|
3890
|
+
type: "string",
|
|
3891
|
+
description: "The import path for the library"
|
|
3892
|
+
}
|
|
3893
|
+
},
|
|
3894
|
+
js: {
|
|
3895
|
+
$schema: {
|
|
3896
|
+
title: "JavaScript",
|
|
3897
|
+
type: "boolean",
|
|
3898
|
+
description: "Use JavaScript instead of TypeScript"
|
|
3899
|
+
}
|
|
3900
|
+
},
|
|
3901
|
+
pascalCaseFiles: {
|
|
3902
|
+
$schema: {
|
|
3903
|
+
title: "Pascal Case Files",
|
|
3904
|
+
type: "boolean",
|
|
3905
|
+
description: "Use PascalCase for file names"
|
|
3906
|
+
}
|
|
3907
|
+
},
|
|
3908
|
+
strict: {
|
|
3909
|
+
$schema: {
|
|
3910
|
+
title: "Strict",
|
|
3911
|
+
type: "boolean",
|
|
3912
|
+
description: "Enable strict mode"
|
|
3913
|
+
}
|
|
3914
|
+
},
|
|
3915
|
+
publishable: {
|
|
3916
|
+
$schema: {
|
|
3917
|
+
title: "Publishable",
|
|
3918
|
+
type: "boolean",
|
|
3919
|
+
description: "Make the library publishable"
|
|
3920
|
+
}
|
|
3921
|
+
},
|
|
3922
|
+
buildable: {
|
|
3923
|
+
$schema: {
|
|
3924
|
+
title: "Buildable",
|
|
3925
|
+
type: "boolean",
|
|
3926
|
+
description: "Make the library buildable"
|
|
3927
|
+
}
|
|
3928
|
+
},
|
|
3929
|
+
setParserOptionsProject: {
|
|
3930
|
+
$schema: {
|
|
3931
|
+
title: "Set Parser Options Project",
|
|
3932
|
+
type: "boolean",
|
|
3933
|
+
description: "Set parser options project"
|
|
3934
|
+
}
|
|
3935
|
+
},
|
|
3936
|
+
config: {
|
|
3937
|
+
$schema: {
|
|
3938
|
+
title: "Config",
|
|
3939
|
+
type: "string",
|
|
3940
|
+
enum: [
|
|
3941
|
+
"workspace",
|
|
3942
|
+
"project",
|
|
3943
|
+
"npm-scripts"
|
|
3944
|
+
],
|
|
3945
|
+
description: "The configuration type"
|
|
3946
|
+
}
|
|
3947
|
+
},
|
|
3948
|
+
compiler: {
|
|
3949
|
+
$schema: {
|
|
3950
|
+
title: "Compiler",
|
|
3951
|
+
type: "string",
|
|
3952
|
+
description: "The compiler to use"
|
|
3953
|
+
}
|
|
3954
|
+
},
|
|
3955
|
+
bundler: {
|
|
3956
|
+
$schema: {
|
|
3957
|
+
title: "Bundler",
|
|
3958
|
+
type: "string",
|
|
3959
|
+
description: "The bundler to use"
|
|
3960
|
+
}
|
|
3961
|
+
},
|
|
3962
|
+
skipTypeCheck: {
|
|
3963
|
+
$schema: {
|
|
3964
|
+
title: "Skip Type Check",
|
|
3965
|
+
type: "boolean",
|
|
3966
|
+
description: "Skip type checking"
|
|
3967
|
+
}
|
|
3968
|
+
},
|
|
3969
|
+
minimal: {
|
|
3970
|
+
$schema: {
|
|
3971
|
+
title: "Minimal",
|
|
3972
|
+
type: "boolean",
|
|
3973
|
+
description: "Create a minimal library"
|
|
3974
|
+
}
|
|
3975
|
+
},
|
|
3976
|
+
rootProject: {
|
|
3977
|
+
$schema: {
|
|
3978
|
+
title: "Root Project",
|
|
3979
|
+
type: "boolean",
|
|
3980
|
+
description: "Create a root project"
|
|
3981
|
+
}
|
|
3982
|
+
},
|
|
3983
|
+
simpleName: {
|
|
3984
|
+
$schema: {
|
|
3985
|
+
title: "Simple Name",
|
|
3986
|
+
type: "boolean",
|
|
3987
|
+
description: "Use a simple name for the library"
|
|
3988
|
+
}
|
|
3989
|
+
},
|
|
3990
|
+
addPlugin: {
|
|
3991
|
+
$schema: {
|
|
3992
|
+
title: "Add Plugin",
|
|
3993
|
+
type: "boolean",
|
|
3994
|
+
description: "Add a plugin to the library"
|
|
3995
|
+
}
|
|
3996
|
+
},
|
|
3997
|
+
useProjectJson: {
|
|
3998
|
+
$schema: {
|
|
3999
|
+
title: "Use Project Json",
|
|
4000
|
+
type: "boolean",
|
|
4001
|
+
description: "Use project.json"
|
|
4002
|
+
}
|
|
4003
|
+
},
|
|
4004
|
+
skipWorkspacesWarning: {
|
|
4005
|
+
$schema: {
|
|
4006
|
+
title: "Skip Workspaces Warning",
|
|
4007
|
+
type: "boolean",
|
|
4008
|
+
description: "Skip workspaces warning"
|
|
4009
|
+
}
|
|
4010
|
+
},
|
|
4011
|
+
useTscExecutor: {
|
|
4012
|
+
$schema: {
|
|
4013
|
+
title: "Use Tsc Executor",
|
|
4014
|
+
type: "boolean",
|
|
4015
|
+
description: "Use TSC executor"
|
|
4016
|
+
}
|
|
4017
|
+
}
|
|
4018
|
+
});
|
|
4019
|
+
|
|
3444
4020
|
// ../workspace-tools/src/utils/get-project-configurations.ts
|
|
3445
4021
|
import { retrieveProjectConfigurationsWithoutPluginInference } from "nx/src/project-graph/utils/retrieve-workspace-files";
|
|
3446
4022
|
|
|
@@ -8,7 +8,7 @@ var require_package = _chunkJ5SB6L2Ljs.__commonJS.call(void 0, {
|
|
|
8
8
|
"package.json"(exports, module) {
|
|
9
9
|
module.exports = {
|
|
10
10
|
name: "@storm-software/cloudflare-tools",
|
|
11
|
-
version: "0.49.
|
|
11
|
+
version: "0.49.1",
|
|
12
12
|
description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
13
13
|
repository: {
|
|
14
14
|
type: "github",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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
|
-
var
|
|
3
|
+
var _chunkNPJPHEFPjs = require('./chunk-NPJPHEFP.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkYE4FHRXJjs = require('./chunk-YE4FHRXJ.js');
|
|
@@ -52,7 +52,7 @@ async function applicationGenerator(tree, schema) {
|
|
|
52
52
|
${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[key])}`).join("\n")}`, config);
|
|
53
53
|
const options = await normalizeOptions(tree, schema, config);
|
|
54
54
|
const tasks = [];
|
|
55
|
-
tasks.push(await
|
|
55
|
+
tasks.push(await _chunkNPJPHEFPjs.generator_default.call(void 0, tree, {
|
|
56
56
|
...options,
|
|
57
57
|
skipFormat: true
|
|
58
58
|
}));
|