@storm-software/workspace-tools 1.202.0 → 1.203.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 +15 -0
- package/declarations.d.ts +18 -2
- package/index.js +96 -175
- package/meta.json +73 -118
- package/package.json +1 -1
- package/src/base/index.js +67 -94
- package/src/base/typescript-library-generator.d.ts +1 -3
- package/src/base/typescript-library-generator.js +67 -94
- package/src/executors/unbuild/schema.json +7 -1
- package/src/generators/browser-library/generator.js +72 -97
- package/src/generators/neutral-library/generator.js +68 -93
- package/src/generators/node-library/generator.js +68 -93
- package/src/plugins/rust/index.js +7 -0
- package/src/plugins/typescript/index.js +7 -0
- package/src/utils/index.js +7 -0
- package/src/utils/project-tags.d.ts +8 -1
- package/src/utils/project-tags.js +7 -0
package/meta.json
CHANGED
|
@@ -3761,13 +3761,29 @@
|
|
|
3761
3761
|
],
|
|
3762
3762
|
"format": "esm"
|
|
3763
3763
|
},
|
|
3764
|
+
"packages/workspace-tools/src/utils/project-tags.ts": {
|
|
3765
|
+
"bytes": 3491,
|
|
3766
|
+
"imports": [
|
|
3767
|
+
{
|
|
3768
|
+
"path": "@nx/devkit",
|
|
3769
|
+
"kind": "import-statement",
|
|
3770
|
+
"external": true
|
|
3771
|
+
},
|
|
3772
|
+
{
|
|
3773
|
+
"path": "../../declarations.d",
|
|
3774
|
+
"kind": "import-statement",
|
|
3775
|
+
"external": true
|
|
3776
|
+
}
|
|
3777
|
+
],
|
|
3778
|
+
"format": "esm"
|
|
3779
|
+
},
|
|
3764
3780
|
"packages/workspace-tools/src/utils/versions.ts": {
|
|
3765
3781
|
"bytes": 745,
|
|
3766
3782
|
"imports": [],
|
|
3767
3783
|
"format": "esm"
|
|
3768
3784
|
},
|
|
3769
3785
|
"packages/workspace-tools/src/base/typescript-library-generator.ts": {
|
|
3770
|
-
"bytes":
|
|
3786
|
+
"bytes": 13895,
|
|
3771
3787
|
"imports": [
|
|
3772
3788
|
{
|
|
3773
3789
|
"path": "@nx/devkit",
|
|
@@ -3795,19 +3811,19 @@
|
|
|
3795
3811
|
"external": true
|
|
3796
3812
|
},
|
|
3797
3813
|
{
|
|
3798
|
-
"path": "
|
|
3814
|
+
"path": "../executors/unbuild/schema",
|
|
3799
3815
|
"kind": "import-statement",
|
|
3800
|
-
"
|
|
3816
|
+
"external": true
|
|
3801
3817
|
},
|
|
3802
3818
|
{
|
|
3803
|
-
"path": "
|
|
3804
|
-
"kind": "
|
|
3805
|
-
"
|
|
3819
|
+
"path": "packages/workspace-tools/src/utils/project-tags.ts",
|
|
3820
|
+
"kind": "import-statement",
|
|
3821
|
+
"original": "../utils/project-tags"
|
|
3806
3822
|
},
|
|
3807
3823
|
{
|
|
3808
|
-
"path": "
|
|
3809
|
-
"kind": "
|
|
3810
|
-
"
|
|
3824
|
+
"path": "packages/workspace-tools/src/utils/versions.ts",
|
|
3825
|
+
"kind": "import-statement",
|
|
3826
|
+
"original": "../utils/versions"
|
|
3811
3827
|
}
|
|
3812
3828
|
],
|
|
3813
3829
|
"format": "esm"
|
|
@@ -23213,7 +23229,7 @@
|
|
|
23213
23229
|
"format": "esm"
|
|
23214
23230
|
},
|
|
23215
23231
|
"packages/workspace-tools/src/executors/unbuild/schema.json": {
|
|
23216
|
-
"bytes":
|
|
23232
|
+
"bytes": 4020,
|
|
23217
23233
|
"imports": []
|
|
23218
23234
|
},
|
|
23219
23235
|
"node_modules/.pnpm/zod-to-json-schema@3.23.1_zod@3.23.8/node_modules/zod-to-json-schema/dist/esm/Options.js": {
|
|
@@ -23977,7 +23993,7 @@
|
|
|
23977
23993
|
"imports": []
|
|
23978
23994
|
},
|
|
23979
23995
|
"packages/workspace-tools/src/generators/node-library/generator.ts": {
|
|
23980
|
-
"bytes":
|
|
23996
|
+
"bytes": 1825,
|
|
23981
23997
|
"imports": [
|
|
23982
23998
|
{
|
|
23983
23999
|
"path": "@nx/devkit",
|
|
@@ -24205,22 +24221,6 @@
|
|
|
24205
24221
|
],
|
|
24206
24222
|
"format": "esm"
|
|
24207
24223
|
},
|
|
24208
|
-
"packages/workspace-tools/src/utils/project-tags.ts": {
|
|
24209
|
-
"bytes": 3204,
|
|
24210
|
-
"imports": [
|
|
24211
|
-
{
|
|
24212
|
-
"path": "@nx/devkit",
|
|
24213
|
-
"kind": "import-statement",
|
|
24214
|
-
"external": true
|
|
24215
|
-
},
|
|
24216
|
-
{
|
|
24217
|
-
"path": "../../declarations.d",
|
|
24218
|
-
"kind": "import-statement",
|
|
24219
|
-
"external": true
|
|
24220
|
-
}
|
|
24221
|
-
],
|
|
24222
|
-
"format": "esm"
|
|
24223
|
-
},
|
|
24224
24224
|
"packages/workspace-tools/src/utils/package-helpers.ts": {
|
|
24225
24225
|
"bytes": 1439,
|
|
24226
24226
|
"imports": [
|
|
@@ -24631,7 +24631,7 @@
|
|
|
24631
24631
|
"format": "esm"
|
|
24632
24632
|
},
|
|
24633
24633
|
"packages/workspace-tools/src/generators/neutral-library/generator.ts": {
|
|
24634
|
-
"bytes":
|
|
24634
|
+
"bytes": 1736,
|
|
24635
24635
|
"imports": [
|
|
24636
24636
|
{
|
|
24637
24637
|
"path": "@nx/devkit",
|
|
@@ -24657,7 +24657,7 @@
|
|
|
24657
24657
|
"format": "esm"
|
|
24658
24658
|
},
|
|
24659
24659
|
"packages/workspace-tools/src/generators/browser-library/generator.ts": {
|
|
24660
|
-
"bytes":
|
|
24660
|
+
"bytes": 2289,
|
|
24661
24661
|
"imports": [
|
|
24662
24662
|
{
|
|
24663
24663
|
"path": "@nx/devkit",
|
|
@@ -27355,16 +27355,6 @@
|
|
|
27355
27355
|
"kind": "require-call",
|
|
27356
27356
|
"external": true
|
|
27357
27357
|
},
|
|
27358
|
-
{
|
|
27359
|
-
"path": "@nx/eslint/src/generators/lint-project/lint-project",
|
|
27360
|
-
"kind": "require-call",
|
|
27361
|
-
"external": true
|
|
27362
|
-
},
|
|
27363
|
-
{
|
|
27364
|
-
"path": "@nx/eslint/src/generators/utils/eslint-file",
|
|
27365
|
-
"kind": "require-call",
|
|
27366
|
-
"external": true
|
|
27367
|
-
},
|
|
27368
27358
|
{
|
|
27369
27359
|
"path": "@nx/devkit",
|
|
27370
27360
|
"kind": "require-call",
|
|
@@ -30998,7 +30988,7 @@
|
|
|
30998
30988
|
"bytesInOutput": 16007
|
|
30999
30989
|
},
|
|
31000
30990
|
"packages/workspace-tools/index.ts": {
|
|
31001
|
-
"bytesInOutput":
|
|
30991
|
+
"bytesInOutput": 3818
|
|
31002
30992
|
},
|
|
31003
30993
|
"packages/workspace-tools/src/base/base-executor.ts": {
|
|
31004
30994
|
"bytesInOutput": 4599
|
|
@@ -31013,7 +31003,10 @@
|
|
|
31013
31003
|
"bytesInOutput": 3251
|
|
31014
31004
|
},
|
|
31015
31005
|
"packages/workspace-tools/src/base/typescript-library-generator.ts": {
|
|
31016
|
-
"bytesInOutput":
|
|
31006
|
+
"bytesInOutput": 9318
|
|
31007
|
+
},
|
|
31008
|
+
"packages/workspace-tools/src/utils/project-tags.ts": {
|
|
31009
|
+
"bytesInOutput": 2324
|
|
31017
31010
|
},
|
|
31018
31011
|
"packages/workspace-tools/src/utils/versions.ts": {
|
|
31019
31012
|
"bytesInOutput": 582
|
|
@@ -31322,7 +31315,7 @@
|
|
|
31322
31315
|
"bytesInOutput": 648
|
|
31323
31316
|
},
|
|
31324
31317
|
"packages/workspace-tools/src/generators/node-library/generator.ts": {
|
|
31325
|
-
"bytesInOutput":
|
|
31318
|
+
"bytesInOutput": 1375
|
|
31326
31319
|
},
|
|
31327
31320
|
"packages/workspace-tools/src/generators/preset/generator.ts": {
|
|
31328
31321
|
"bytesInOutput": 8243
|
|
@@ -31348,14 +31341,11 @@
|
|
|
31348
31341
|
"packages/workspace-tools/src/utils/package-helpers.ts": {
|
|
31349
31342
|
"bytesInOutput": 1033
|
|
31350
31343
|
},
|
|
31351
|
-
"packages/workspace-tools/src/utils/project-tags.ts": {
|
|
31352
|
-
"bytesInOutput": 2194
|
|
31353
|
-
},
|
|
31354
31344
|
"packages/workspace-tools/src/utils/typia-transform.ts": {
|
|
31355
31345
|
"bytesInOutput": 205
|
|
31356
31346
|
}
|
|
31357
31347
|
},
|
|
31358
|
-
"bytes":
|
|
31348
|
+
"bytes": 10955765
|
|
31359
31349
|
},
|
|
31360
31350
|
"dist/packages/workspace-tools/src/executors/unbuild/executor.js": {
|
|
31361
31351
|
"imports": [
|
|
@@ -60085,16 +60075,6 @@
|
|
|
60085
60075
|
"path": "@nx/js/src/generators/setup-verdaccio/generator",
|
|
60086
60076
|
"kind": "require-call",
|
|
60087
60077
|
"external": true
|
|
60088
|
-
},
|
|
60089
|
-
{
|
|
60090
|
-
"path": "@nx/eslint/src/generators/lint-project/lint-project",
|
|
60091
|
-
"kind": "require-call",
|
|
60092
|
-
"external": true
|
|
60093
|
-
},
|
|
60094
|
-
{
|
|
60095
|
-
"path": "@nx/eslint/src/generators/utils/eslint-file",
|
|
60096
|
-
"kind": "require-call",
|
|
60097
|
-
"external": true
|
|
60098
60078
|
}
|
|
60099
60079
|
],
|
|
60100
60080
|
"exports": [],
|
|
@@ -60557,19 +60537,22 @@
|
|
|
60557
60537
|
"bytesInOutput": 1915
|
|
60558
60538
|
},
|
|
60559
60539
|
"packages/workspace-tools/src/generators/node-library/generator.ts": {
|
|
60560
|
-
"bytesInOutput":
|
|
60540
|
+
"bytesInOutput": 1571
|
|
60561
60541
|
},
|
|
60562
60542
|
"packages/workspace-tools/src/base/base-generator.ts": {
|
|
60563
60543
|
"bytesInOutput": 3245
|
|
60564
60544
|
},
|
|
60565
60545
|
"packages/workspace-tools/src/base/typescript-library-generator.ts": {
|
|
60566
|
-
"bytesInOutput":
|
|
60546
|
+
"bytesInOutput": 9304
|
|
60547
|
+
},
|
|
60548
|
+
"packages/workspace-tools/src/utils/project-tags.ts": {
|
|
60549
|
+
"bytesInOutput": 1279
|
|
60567
60550
|
},
|
|
60568
60551
|
"packages/workspace-tools/src/utils/versions.ts": {
|
|
60569
60552
|
"bytesInOutput": 60
|
|
60570
60553
|
}
|
|
60571
60554
|
},
|
|
60572
|
-
"bytes":
|
|
60555
|
+
"bytes": 4206645
|
|
60573
60556
|
},
|
|
60574
60557
|
"dist/packages/workspace-tools/src/generators/neutral-library/generator.js": {
|
|
60575
60558
|
"imports": [
|
|
@@ -61612,16 +61595,6 @@
|
|
|
61612
61595
|
"path": "@nx/js/src/generators/setup-verdaccio/generator",
|
|
61613
61596
|
"kind": "require-call",
|
|
61614
61597
|
"external": true
|
|
61615
|
-
},
|
|
61616
|
-
{
|
|
61617
|
-
"path": "@nx/eslint/src/generators/lint-project/lint-project",
|
|
61618
|
-
"kind": "require-call",
|
|
61619
|
-
"external": true
|
|
61620
|
-
},
|
|
61621
|
-
{
|
|
61622
|
-
"path": "@nx/eslint/src/generators/utils/eslint-file",
|
|
61623
|
-
"kind": "require-call",
|
|
61624
|
-
"external": true
|
|
61625
61598
|
}
|
|
61626
61599
|
],
|
|
61627
61600
|
"exports": [],
|
|
@@ -62084,19 +62057,22 @@
|
|
|
62084
62057
|
"bytesInOutput": 1915
|
|
62085
62058
|
},
|
|
62086
62059
|
"packages/workspace-tools/src/generators/neutral-library/generator.ts": {
|
|
62087
|
-
"bytesInOutput":
|
|
62060
|
+
"bytesInOutput": 1544
|
|
62088
62061
|
},
|
|
62089
62062
|
"packages/workspace-tools/src/base/base-generator.ts": {
|
|
62090
62063
|
"bytesInOutput": 3245
|
|
62091
62064
|
},
|
|
62092
62065
|
"packages/workspace-tools/src/base/typescript-library-generator.ts": {
|
|
62093
|
-
"bytesInOutput":
|
|
62066
|
+
"bytesInOutput": 9304
|
|
62067
|
+
},
|
|
62068
|
+
"packages/workspace-tools/src/utils/project-tags.ts": {
|
|
62069
|
+
"bytesInOutput": 1279
|
|
62094
62070
|
},
|
|
62095
62071
|
"packages/workspace-tools/src/utils/versions.ts": {
|
|
62096
62072
|
"bytesInOutput": 27
|
|
62097
62073
|
}
|
|
62098
62074
|
},
|
|
62099
|
-
"bytes":
|
|
62075
|
+
"bytes": 4206594
|
|
62100
62076
|
},
|
|
62101
62077
|
"dist/packages/workspace-tools/src/generators/browser-library/generator.js": {
|
|
62102
62078
|
"imports": [
|
|
@@ -63139,16 +63115,6 @@
|
|
|
63139
63115
|
"path": "@nx/js/src/generators/setup-verdaccio/generator",
|
|
63140
63116
|
"kind": "require-call",
|
|
63141
63117
|
"external": true
|
|
63142
|
-
},
|
|
63143
|
-
{
|
|
63144
|
-
"path": "@nx/eslint/src/generators/lint-project/lint-project",
|
|
63145
|
-
"kind": "require-call",
|
|
63146
|
-
"external": true
|
|
63147
|
-
},
|
|
63148
|
-
{
|
|
63149
|
-
"path": "@nx/eslint/src/generators/utils/eslint-file",
|
|
63150
|
-
"kind": "require-call",
|
|
63151
|
-
"external": true
|
|
63152
63118
|
}
|
|
63153
63119
|
],
|
|
63154
63120
|
"exports": [],
|
|
@@ -63611,19 +63577,22 @@
|
|
|
63611
63577
|
"bytesInOutput": 1915
|
|
63612
63578
|
},
|
|
63613
63579
|
"packages/workspace-tools/src/generators/browser-library/generator.ts": {
|
|
63614
|
-
"bytesInOutput":
|
|
63580
|
+
"bytesInOutput": 2089
|
|
63615
63581
|
},
|
|
63616
63582
|
"packages/workspace-tools/src/base/base-generator.ts": {
|
|
63617
63583
|
"bytesInOutput": 3245
|
|
63618
63584
|
},
|
|
63619
63585
|
"packages/workspace-tools/src/base/typescript-library-generator.ts": {
|
|
63620
|
-
"bytesInOutput":
|
|
63586
|
+
"bytesInOutput": 9304
|
|
63587
|
+
},
|
|
63588
|
+
"packages/workspace-tools/src/utils/project-tags.ts": {
|
|
63589
|
+
"bytesInOutput": 1279
|
|
63621
63590
|
},
|
|
63622
63591
|
"packages/workspace-tools/src/utils/versions.ts": {
|
|
63623
63592
|
"bytesInOutput": 27
|
|
63624
63593
|
}
|
|
63625
63594
|
},
|
|
63626
|
-
"bytes":
|
|
63595
|
+
"bytes": 4207139
|
|
63627
63596
|
},
|
|
63628
63597
|
"dist/packages/workspace-tools/src/generators/release-version/generator.js": {
|
|
63629
63598
|
"imports": [
|
|
@@ -68443,10 +68412,10 @@
|
|
|
68443
68412
|
"bytesInOutput": 1351
|
|
68444
68413
|
},
|
|
68445
68414
|
"packages/workspace-tools/src/utils/project-tags.ts": {
|
|
68446
|
-
"bytesInOutput":
|
|
68415
|
+
"bytesInOutput": 1849
|
|
68447
68416
|
}
|
|
68448
68417
|
},
|
|
68449
|
-
"bytes":
|
|
68418
|
+
"bytes": 15618
|
|
68450
68419
|
},
|
|
68451
68420
|
"dist/packages/workspace-tools/src/plugins/typescript/index.js": {
|
|
68452
68421
|
"imports": [
|
|
@@ -68486,10 +68455,10 @@
|
|
|
68486
68455
|
"bytesInOutput": 7257
|
|
68487
68456
|
},
|
|
68488
68457
|
"packages/workspace-tools/src/utils/project-tags.ts": {
|
|
68489
|
-
"bytesInOutput":
|
|
68458
|
+
"bytesInOutput": 2318
|
|
68490
68459
|
}
|
|
68491
68460
|
},
|
|
68492
|
-
"bytes":
|
|
68461
|
+
"bytes": 10900
|
|
68493
68462
|
},
|
|
68494
68463
|
"dist/packages/workspace-tools/src/utils/index.js": {
|
|
68495
68464
|
"imports": [
|
|
@@ -71448,7 +71417,7 @@
|
|
|
71448
71417
|
"bytesInOutput": 1026
|
|
71449
71418
|
},
|
|
71450
71419
|
"packages/workspace-tools/src/utils/project-tags.ts": {
|
|
71451
|
-
"bytesInOutput":
|
|
71420
|
+
"bytesInOutput": 2324
|
|
71452
71421
|
},
|
|
71453
71422
|
"node_modules/.pnpm/@ltd+j-toml@1.38.0/node_modules/@ltd/j-toml/index.mjs": {
|
|
71454
71423
|
"bytesInOutput": 105840
|
|
@@ -71463,7 +71432,7 @@
|
|
|
71463
71432
|
"bytesInOutput": 582
|
|
71464
71433
|
}
|
|
71465
71434
|
},
|
|
71466
|
-
"bytes":
|
|
71435
|
+
"bytes": 5493834
|
|
71467
71436
|
},
|
|
71468
71437
|
"dist/packages/workspace-tools/src/utils/project-tags.js": {
|
|
71469
71438
|
"imports": [],
|
|
@@ -71471,10 +71440,10 @@
|
|
|
71471
71440
|
"entryPoint": "packages/workspace-tools/src/utils/project-tags.ts",
|
|
71472
71441
|
"inputs": {
|
|
71473
71442
|
"packages/workspace-tools/src/utils/project-tags.ts": {
|
|
71474
|
-
"bytesInOutput":
|
|
71443
|
+
"bytesInOutput": 2746
|
|
71475
71444
|
}
|
|
71476
71445
|
},
|
|
71477
|
-
"bytes":
|
|
71446
|
+
"bytes": 3816
|
|
71478
71447
|
},
|
|
71479
71448
|
"dist/packages/workspace-tools/src/utils/toml.js": {
|
|
71480
71449
|
"imports": [
|
|
@@ -72591,16 +72560,6 @@
|
|
|
72591
72560
|
"path": "@nx/js/src/generators/setup-verdaccio/generator",
|
|
72592
72561
|
"kind": "require-call",
|
|
72593
72562
|
"external": true
|
|
72594
|
-
},
|
|
72595
|
-
{
|
|
72596
|
-
"path": "@nx/eslint/src/generators/lint-project/lint-project",
|
|
72597
|
-
"kind": "require-call",
|
|
72598
|
-
"external": true
|
|
72599
|
-
},
|
|
72600
|
-
{
|
|
72601
|
-
"path": "@nx/eslint/src/generators/utils/eslint-file",
|
|
72602
|
-
"kind": "require-call",
|
|
72603
|
-
"external": true
|
|
72604
72563
|
}
|
|
72605
72564
|
],
|
|
72606
72565
|
"exports": [],
|
|
@@ -73063,7 +73022,7 @@
|
|
|
73063
73022
|
"bytesInOutput": 1915
|
|
73064
73023
|
},
|
|
73065
73024
|
"packages/workspace-tools/src/base/index.ts": {
|
|
73066
|
-
"bytesInOutput":
|
|
73025
|
+
"bytesInOutput": 394
|
|
73067
73026
|
},
|
|
73068
73027
|
"packages/workspace-tools/src/base/base-executor.ts": {
|
|
73069
73028
|
"bytesInOutput": 4574
|
|
@@ -73075,13 +73034,16 @@
|
|
|
73075
73034
|
"bytesInOutput": 3245
|
|
73076
73035
|
},
|
|
73077
73036
|
"packages/workspace-tools/src/base/typescript-library-generator.ts": {
|
|
73078
|
-
"bytesInOutput":
|
|
73037
|
+
"bytesInOutput": 9304
|
|
73038
|
+
},
|
|
73039
|
+
"packages/workspace-tools/src/utils/project-tags.ts": {
|
|
73040
|
+
"bytesInOutput": 1279
|
|
73079
73041
|
},
|
|
73080
73042
|
"packages/workspace-tools/src/utils/versions.ts": {
|
|
73081
73043
|
"bytesInOutput": 27
|
|
73082
73044
|
}
|
|
73083
73045
|
},
|
|
73084
|
-
"bytes":
|
|
73046
|
+
"bytes": 4211891
|
|
73085
73047
|
},
|
|
73086
73048
|
"dist/packages/workspace-tools/src/base/base-executor.js": {
|
|
73087
73049
|
"imports": [
|
|
@@ -76068,29 +76030,22 @@
|
|
|
76068
76030
|
"path": "@nx/js/src/generators/setup-verdaccio/generator",
|
|
76069
76031
|
"kind": "require-call",
|
|
76070
76032
|
"external": true
|
|
76071
|
-
},
|
|
76072
|
-
{
|
|
76073
|
-
"path": "@nx/eslint/src/generators/lint-project/lint-project",
|
|
76074
|
-
"kind": "require-call",
|
|
76075
|
-
"external": true
|
|
76076
|
-
},
|
|
76077
|
-
{
|
|
76078
|
-
"path": "@nx/eslint/src/generators/utils/eslint-file",
|
|
76079
|
-
"kind": "require-call",
|
|
76080
|
-
"external": true
|
|
76081
76033
|
}
|
|
76082
76034
|
],
|
|
76083
76035
|
"exports": [],
|
|
76084
76036
|
"entryPoint": "packages/workspace-tools/src/base/typescript-library-generator.ts",
|
|
76085
76037
|
"inputs": {
|
|
76086
76038
|
"packages/workspace-tools/src/base/typescript-library-generator.ts": {
|
|
76087
|
-
"bytesInOutput":
|
|
76039
|
+
"bytesInOutput": 9682
|
|
76040
|
+
},
|
|
76041
|
+
"packages/workspace-tools/src/utils/project-tags.ts": {
|
|
76042
|
+
"bytesInOutput": 1275
|
|
76088
76043
|
},
|
|
76089
76044
|
"packages/workspace-tools/src/utils/versions.ts": {
|
|
76090
76045
|
"bytesInOutput": 27
|
|
76091
76046
|
}
|
|
76092
76047
|
},
|
|
76093
|
-
"bytes":
|
|
76048
|
+
"bytes": 12800
|
|
76094
76049
|
}
|
|
76095
76050
|
}
|
|
76096
76051
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/workspace-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.203.0",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.",
|
|
6
6
|
"repository": {
|
package/src/base/index.js
CHANGED
|
@@ -67611,7 +67611,6 @@ var init_src2 = __esm({
|
|
|
67611
67611
|
// packages/workspace-tools/src/base/index.ts
|
|
67612
67612
|
var base_exports = {};
|
|
67613
67613
|
__export(base_exports, {
|
|
67614
|
-
addLint: () => addLint,
|
|
67615
67614
|
createProjectTsConfigJson: () => createProjectTsConfigJson,
|
|
67616
67615
|
getOutputPath: () => getOutputPath,
|
|
67617
67616
|
normalizeOptions: () => normalizeOptions,
|
|
@@ -67915,6 +67914,63 @@ var import_js = require("@nx/js");
|
|
|
67915
67914
|
var import_init = __toESM(require("@nx/js/src/generators/init/init"));
|
|
67916
67915
|
var import_generator = __toESM(require("@nx/js/src/generators/setup-verdaccio/generator"));
|
|
67917
67916
|
|
|
67917
|
+
// packages/workspace-tools/src/utils/project-tags.ts
|
|
67918
|
+
var ProjectTagConstants = {
|
|
67919
|
+
Language: {
|
|
67920
|
+
TAG_ID: "language",
|
|
67921
|
+
TYPESCRIPT: "typescript",
|
|
67922
|
+
RUST: "rust"
|
|
67923
|
+
},
|
|
67924
|
+
ProjectType: {
|
|
67925
|
+
TAG_ID: "type",
|
|
67926
|
+
LIBRARY: "library",
|
|
67927
|
+
APPLICATION: "application"
|
|
67928
|
+
},
|
|
67929
|
+
DistStyle: {
|
|
67930
|
+
TAG_ID: "dist-style",
|
|
67931
|
+
NORMAL: "normal",
|
|
67932
|
+
CLEAN: "clean"
|
|
67933
|
+
},
|
|
67934
|
+
Provider: {
|
|
67935
|
+
TAG_ID: "provider"
|
|
67936
|
+
},
|
|
67937
|
+
Platform: {
|
|
67938
|
+
TAG_ID: "platform",
|
|
67939
|
+
NODE: "node",
|
|
67940
|
+
BROWSER: "browser",
|
|
67941
|
+
NEUTRAL: "neutral",
|
|
67942
|
+
WORKER: "worker"
|
|
67943
|
+
},
|
|
67944
|
+
Registry: {
|
|
67945
|
+
TAG_ID: "registry",
|
|
67946
|
+
CARGO: "cargo",
|
|
67947
|
+
NPM: "npm",
|
|
67948
|
+
CONTAINER: "container",
|
|
67949
|
+
CYCLONE: "cyclone"
|
|
67950
|
+
}
|
|
67951
|
+
};
|
|
67952
|
+
var formatProjectTag = (variant, value2) => {
|
|
67953
|
+
return `${variant}:${value2}`;
|
|
67954
|
+
};
|
|
67955
|
+
var hasProjectTag = (project, variant) => {
|
|
67956
|
+
project.tags = project.tags ?? [];
|
|
67957
|
+
const prefix = formatProjectTag(variant, "");
|
|
67958
|
+
return project.tags.some(
|
|
67959
|
+
(tag) => tag.startsWith(prefix) && tag.length > prefix.length
|
|
67960
|
+
);
|
|
67961
|
+
};
|
|
67962
|
+
var addProjectTag = (project, variant, value2, options = {
|
|
67963
|
+
overwrite: false
|
|
67964
|
+
}) => {
|
|
67965
|
+
project.tags = project.tags ?? [];
|
|
67966
|
+
if (options.overwrite || !hasProjectTag(project, variant)) {
|
|
67967
|
+
project.tags = project.tags.filter(
|
|
67968
|
+
(tag) => !tag.startsWith(formatProjectTag(variant, ""))
|
|
67969
|
+
);
|
|
67970
|
+
project.tags.push(formatProjectTag(variant, value2));
|
|
67971
|
+
}
|
|
67972
|
+
};
|
|
67973
|
+
|
|
67918
67974
|
// packages/workspace-tools/src/utils/versions.ts
|
|
67919
67975
|
var nxVersion = "^18.0.4";
|
|
67920
67976
|
|
|
@@ -67956,6 +68012,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema) {
|
|
|
67956
68012
|
tsConfig: (0, import_devkit.joinPathFragments)(options.projectRoot, "tsconfig.json"),
|
|
67957
68013
|
project: (0, import_devkit.joinPathFragments)(options.projectRoot, "package.json"),
|
|
67958
68014
|
defaultConfiguration: "production",
|
|
68015
|
+
platform: "neutral",
|
|
67959
68016
|
assets: [
|
|
67960
68017
|
{
|
|
67961
68018
|
input: options.projectRoot,
|
|
@@ -67979,21 +68036,25 @@ async function typeScriptLibraryGeneratorFn(tree, schema) {
|
|
|
67979
68036
|
verbose: true
|
|
67980
68037
|
}
|
|
67981
68038
|
}
|
|
67982
|
-
}
|
|
67983
|
-
lint: {},
|
|
67984
|
-
test: {}
|
|
68039
|
+
}
|
|
67985
68040
|
}
|
|
67986
68041
|
};
|
|
67987
|
-
if (schema.platform
|
|
68042
|
+
if (schema.platform) {
|
|
67988
68043
|
projectConfig.targets.build.options.platform = schema.platform;
|
|
67989
68044
|
}
|
|
68045
|
+
addProjectTag(
|
|
68046
|
+
projectConfig,
|
|
68047
|
+
ProjectTagConstants.Platform.TAG_ID,
|
|
68048
|
+
projectConfig.targets.build.options.platform === "node" ? ProjectTagConstants.Platform.NODE : projectConfig.targets.build.options.platform === "worker" ? ProjectTagConstants.Platform.WORKER : projectConfig.targets.build.options.platform === "browser" ? ProjectTagConstants.Platform.BROWSER : ProjectTagConstants.Platform.NEUTRAL,
|
|
68049
|
+
{ overwrite: true }
|
|
68050
|
+
);
|
|
67990
68051
|
createProjectTsConfigJson(tree, options);
|
|
67991
68052
|
(0, import_devkit.addProjectConfiguration)(tree, options.name, projectConfig);
|
|
67992
68053
|
let repository = {
|
|
67993
68054
|
type: "github",
|
|
67994
68055
|
url: "https://github.com/storm-software/storm-stack.git"
|
|
67995
68056
|
};
|
|
67996
|
-
let description = schema.description ?? "
|
|
68057
|
+
let description = schema.description ?? "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
67997
68058
|
if (tree.exists("package.json")) {
|
|
67998
68059
|
const packageJson = (0, import_devkit.readJson)(tree, "package.json");
|
|
67999
68060
|
if (packageJson?.repository) {
|
|
@@ -68102,96 +68163,9 @@ async function typeScriptLibraryGeneratorFn(tree, schema) {
|
|
|
68102
68163
|
exclude: ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"]
|
|
68103
68164
|
});
|
|
68104
68165
|
}
|
|
68105
|
-
const lintCallback = await addLint(tree, options);
|
|
68106
|
-
tasks.push(lintCallback);
|
|
68107
68166
|
await (0, import_devkit.formatFiles)(tree);
|
|
68108
68167
|
return null;
|
|
68109
68168
|
}
|
|
68110
|
-
async function addLint(tree, options) {
|
|
68111
|
-
const { lintProjectGenerator } = (0, import_devkit.ensurePackage)("@nx/eslint", nxVersion);
|
|
68112
|
-
const { mapLintPattern } = (
|
|
68113
|
-
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
68114
|
-
require("@nx/eslint/src/generators/lint-project/lint-project")
|
|
68115
|
-
);
|
|
68116
|
-
const projectConfiguration = (0, import_devkit.readProjectConfiguration)(tree, options.name);
|
|
68117
|
-
const task = lintProjectGenerator(tree, {
|
|
68118
|
-
project: options.name,
|
|
68119
|
-
linter: options.linter,
|
|
68120
|
-
skipFormat: true,
|
|
68121
|
-
tsConfigPaths: [(0, import_devkit.joinPathFragments)(options.projectRoot, "tsconfig.json")],
|
|
68122
|
-
unitTestRunner: options.unitTestRunner,
|
|
68123
|
-
eslintFilePatterns: [
|
|
68124
|
-
mapLintPattern(
|
|
68125
|
-
options.projectRoot,
|
|
68126
|
-
options.js ? "js" : "ts",
|
|
68127
|
-
options.rootProject
|
|
68128
|
-
)
|
|
68129
|
-
],
|
|
68130
|
-
setParserOptionsProject: options.setParserOptionsProject,
|
|
68131
|
-
rootProject: options.rootProject
|
|
68132
|
-
});
|
|
68133
|
-
const {
|
|
68134
|
-
addOverrideToLintConfig,
|
|
68135
|
-
lintConfigHasOverride,
|
|
68136
|
-
isEslintConfigSupported,
|
|
68137
|
-
updateOverrideInLintConfig
|
|
68138
|
-
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
68139
|
-
} = require("@nx/eslint/src/generators/utils/eslint-file");
|
|
68140
|
-
if (!isEslintConfigSupported(tree)) {
|
|
68141
|
-
return task;
|
|
68142
|
-
}
|
|
68143
|
-
addOverrideToLintConfig(tree, "", {
|
|
68144
|
-
files: ["*.json"],
|
|
68145
|
-
parser: "jsonc-eslint-parser",
|
|
68146
|
-
rules: {
|
|
68147
|
-
"@nx/dependency-checks": [
|
|
68148
|
-
"error",
|
|
68149
|
-
{
|
|
68150
|
-
"buildTargets": ["build"],
|
|
68151
|
-
"ignoredFiles": [
|
|
68152
|
-
"{projectRoot}/esbuild.config.{js,ts,mjs,mts}",
|
|
68153
|
-
"{projectRoot}/jest.config.ts"
|
|
68154
|
-
],
|
|
68155
|
-
"checkMissingDependencies": true,
|
|
68156
|
-
"checkObsoleteDependencies": true,
|
|
68157
|
-
"checkVersionMismatches": false
|
|
68158
|
-
}
|
|
68159
|
-
]
|
|
68160
|
-
}
|
|
68161
|
-
});
|
|
68162
|
-
if (lintConfigHasOverride(
|
|
68163
|
-
tree,
|
|
68164
|
-
projectConfiguration.root,
|
|
68165
|
-
(o) => Array.isArray(o.files) ? o.files.some((f2) => f2.match(/\.json$/)) : !!o.files?.match(/\.json$/),
|
|
68166
|
-
true
|
|
68167
|
-
)) {
|
|
68168
|
-
updateOverrideInLintConfig(
|
|
68169
|
-
tree,
|
|
68170
|
-
projectConfiguration.root,
|
|
68171
|
-
(o) => o.rules?.["@nx/dependency-checks"],
|
|
68172
|
-
(o) => {
|
|
68173
|
-
const value2 = o.rules["@nx/dependency-checks"];
|
|
68174
|
-
let ruleSeverity;
|
|
68175
|
-
let ruleOptions;
|
|
68176
|
-
if (Array.isArray(value2)) {
|
|
68177
|
-
ruleSeverity = value2[0];
|
|
68178
|
-
ruleOptions = value2[1];
|
|
68179
|
-
} else {
|
|
68180
|
-
ruleSeverity = value2 ?? "error";
|
|
68181
|
-
ruleOptions = {};
|
|
68182
|
-
}
|
|
68183
|
-
if (options.bundler === "esbuild") {
|
|
68184
|
-
ruleOptions.ignoredFiles = [
|
|
68185
|
-
"{projectRoot}/esbuild.config.{js,ts,mjs,mts}"
|
|
68186
|
-
];
|
|
68187
|
-
o.rules["@nx/dependency-checks"] = [ruleSeverity, ruleOptions];
|
|
68188
|
-
}
|
|
68189
|
-
return o;
|
|
68190
|
-
}
|
|
68191
|
-
);
|
|
68192
|
-
}
|
|
68193
|
-
return task;
|
|
68194
|
-
}
|
|
68195
68169
|
function getOutputPath(options) {
|
|
68196
68170
|
const parts = ["dist"];
|
|
68197
68171
|
if (options.projectRoot === ".") {
|
|
@@ -68287,7 +68261,6 @@ async function normalizeOptions(tree, options) {
|
|
|
68287
68261
|
}
|
|
68288
68262
|
// Annotate the CommonJS export names for ESM import in node:
|
|
68289
68263
|
0 && (module.exports = {
|
|
68290
|
-
addLint,
|
|
68291
68264
|
createProjectTsConfigJson,
|
|
68292
68265
|
getOutputPath,
|
|
68293
68266
|
normalizeOptions,
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import type { AddLintOptions } from "@nx/js/src/generators/library/library";
|
|
1
|
+
import { type Tree } from "@nx/devkit";
|
|
3
2
|
import type { TypeScriptLibraryGeneratorNormalizedSchema, TypeScriptLibraryGeneratorSchema } from "../../declarations.d";
|
|
4
3
|
export declare function typeScriptLibraryGeneratorFn(tree: Tree, schema: TypeScriptLibraryGeneratorSchema): Promise<null>;
|
|
5
|
-
export declare function addLint(tree: Tree, options: AddLintOptions): Promise<GeneratorCallback>;
|
|
6
4
|
export declare function getOutputPath(options: TypeScriptLibraryGeneratorNormalizedSchema): string;
|
|
7
5
|
export declare function createProjectTsConfigJson(tree: Tree, options: TypeScriptLibraryGeneratorNormalizedSchema): void;
|
|
8
6
|
export declare function normalizeOptions(tree: Tree, options: TypeScriptLibraryGeneratorSchema): Promise<TypeScriptLibraryGeneratorNormalizedSchema>;
|