@nx/angular 20.0.0-canary.20241002-1d10a19 → 20.0.0-rc.0

Sign up to get free protection for your applications and to get access to all the features.
package/executors.d.ts CHANGED
@@ -8,9 +8,4 @@ export * from './src/executors/browser-esbuild/browser-esbuild.impl';
8
8
  export * from './src/executors/application/application.impl';
9
9
  export * from './src/executors/extract-i18n/extract-i18n.impl';
10
10
  export * from './src/executors/module-federation-ssr-dev-server/module-federation-ssr-dev-server.impl';
11
- import { executeDevServerBuilder } from './src/builders/dev-server/dev-server.impl';
12
- export {
13
- /**
14
- * @deprecated Use executeDevServerBuilder instead. It will be removed in Nx v20.
15
- */
16
- executeDevServerBuilder as executeWebpackDevServerBuilder, executeDevServerBuilder, };
11
+ export { executeDevServerBuilder } from './src/builders/dev-server/dev-server.impl';
package/executors.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.executeDevServerBuilder = exports.executeWebpackDevServerBuilder = void 0;
3
+ exports.executeDevServerBuilder = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  tslib_1.__exportStar(require("./src/builders/webpack-browser/webpack-browser.impl"), exports);
6
6
  tslib_1.__exportStar(require("./src/builders/webpack-server/webpack-server.impl"), exports);
@@ -12,6 +12,5 @@ tslib_1.__exportStar(require("./src/executors/browser-esbuild/browser-esbuild.im
12
12
  tslib_1.__exportStar(require("./src/executors/application/application.impl"), exports);
13
13
  tslib_1.__exportStar(require("./src/executors/extract-i18n/extract-i18n.impl"), exports);
14
14
  tslib_1.__exportStar(require("./src/executors/module-federation-ssr-dev-server/module-federation-ssr-dev-server.impl"), exports);
15
- const dev_server_impl_1 = require("./src/builders/dev-server/dev-server.impl");
16
- Object.defineProperty(exports, "executeWebpackDevServerBuilder", { enumerable: true, get: function () { return dev_server_impl_1.executeDevServerBuilder; } });
15
+ var dev_server_impl_1 = require("./src/builders/dev-server/dev-server.impl");
17
16
  Object.defineProperty(exports, "executeDevServerBuilder", { enumerable: true, get: function () { return dev_server_impl_1.executeDevServerBuilder; } });
package/migrations.json CHANGED
@@ -1,173 +1,5 @@
1
1
  {
2
2
  "generators": {
3
- "install-required-packages": {
4
- "cli": "nx",
5
- "version": "15.7.0-beta.1",
6
- "description": "Install the required angular-devkit packages as we do not directly depend on them anymore",
7
- "factory": "./src/migrations/update-15-7-0/install-required-packages"
8
- },
9
- "remove-show-circular-dependencies-option": {
10
- "cli": "nx",
11
- "version": "14.2.0-beta.0",
12
- "description": "Remove 'showCircularDependencies' option from browser and server executors.",
13
- "factory": "./src/migrations/update-14-2-0/remove-show-circular-dependencies-option"
14
- },
15
- "update-angular-cli-version": {
16
- "cli": "nx",
17
- "version": "14.2.0-beta.0",
18
- "description": "Update the @angular/cli package version.",
19
- "factory": "./src/migrations/update-14-2-0/update-angular-cli"
20
- },
21
- "update-libraries-secondary-entrypoints": {
22
- "cli": "nx",
23
- "version": "14.2.0-beta.0",
24
- "description": "Remove 'package.json' files from library projects secondary entrypoints.",
25
- "factory": "./src/migrations/update-14-2-0/update-libraries-secondary-entrypoints"
26
- },
27
- "update-postinstall-script-ngcc-target": {
28
- "cli": "nx",
29
- "version": "14.2.0-beta.0",
30
- "description": "Update postinstall script running ngcc to use ES2020 target.",
31
- "factory": "./src/migrations/update-14-2-0/update-ngcc-target"
32
- },
33
- "update-tsconfig-target": {
34
- "cli": "nx",
35
- "version": "14.2.0-beta.0",
36
- "description": "Update TypeScript compilation target to 'ES2020'.",
37
- "factory": "./src/migrations/update-14-2-0/update-tsconfig-target"
38
- },
39
- "update-router-initial-navigation": {
40
- "cli": "nx",
41
- "version": "14.2.0-beta.6",
42
- "description": "Update `initialNavigation: 'enabled'` to `initialNavigation: 'enabledBlocking'`.",
43
- "factory": "./src/migrations/update-14-2-0/update-router-initial-navigation"
44
- },
45
- "migrate-mfe-to-mf": {
46
- "cli": "nx",
47
- "version": "14.5.0-beta.0",
48
- "description": "Update any references of MFE to MF.",
49
- "factory": "./src/migrations/update-14-5-0/migrate-mfe-to-mf"
50
- },
51
- "update-angular-cli-version-14-1-0": {
52
- "cli": "nx",
53
- "version": "14.5.2-beta.0",
54
- "requires": {
55
- "@angular/core": ">=14.1.0"
56
- },
57
- "description": "Update the @angular/cli package version to ~14.1.0.",
58
- "factory": "./src/migrations/update-14-5-2/update-angular-cli"
59
- },
60
- "update-angular-cli-version-14-2-0": {
61
- "cli": "nx",
62
- "version": "14.6.0-beta.0",
63
- "requires": {
64
- "@angular/core": ">=14.2.0"
65
- },
66
- "description": "Update the @angular/cli package version to ~14.2.0.",
67
- "factory": "./src/migrations/update-14-6-0/update-angular-cli"
68
- },
69
- "rename-webpack-server-executor": {
70
- "cli": "nx",
71
- "version": "15.0.0-beta.0",
72
- "description": "Rename @nrwl/angular:webpack-server executor to @nrwl/angular:webpack-dev-server",
73
- "factory": "./src/migrations/update-14-8-0/rename-webpack-server"
74
- },
75
- "switch-to-jasmine-marbles": {
76
- "cli": "nx",
77
- "version": "15.0.0-beta.0",
78
- "description": "Update the usages of @nrwl/angular/testing to import jasmine-marbles symbols from jasmine-marbles itself.",
79
- "factory": "./src/migrations/update-15-0-0/switch-to-jasmine-marbles"
80
- },
81
- "add-karma-inputs": {
82
- "cli": "nx",
83
- "version": "15.0.0-beta.1",
84
- "description": "Stop hashing karma spec files and config files for build targets and dependent tasks",
85
- "factory": "./src/migrations/update-15-0-0/add-karma-inputs"
86
- },
87
- "update-angular-cli-version-15-0-0": {
88
- "cli": "nx",
89
- "version": "15.2.0-beta.0",
90
- "requires": {
91
- "@angular/core": ">=15.0.0"
92
- },
93
- "description": "Update the @angular/cli package version to ~15.0.0.",
94
- "factory": "./src/migrations/update-15-2-0/update-angular-cli"
95
- },
96
- "remove-browserlist-config": {
97
- "cli": "nx",
98
- "version": "15.2.0-beta.0",
99
- "requires": {
100
- "@angular/core": ">=15.0.0"
101
- },
102
- "description": "Remove browserslist config as it's handled by build-angular",
103
- "factory": "./src/migrations/update-15-2-0/remove-browserlist-config"
104
- },
105
- "update-typescript-target": {
106
- "cli": "nx",
107
- "version": "15.2.0-beta.0",
108
- "requires": {
109
- "@angular/core": ">=15.0.0"
110
- },
111
- "description": "Update typescript target to ES2022",
112
- "factory": "./src/migrations/update-15-2-0/update-typescript-target"
113
- },
114
- "update-workspace-config": {
115
- "cli": "nx",
116
- "version": "15.2.0-beta.0",
117
- "requires": {
118
- "@angular/core": ">=15.0.0"
119
- },
120
- "description": "Remove bundleDependencies from server targets",
121
- "factory": "./src/migrations/update-15-2-0/update-workspace-config"
122
- },
123
- "update-platform-server-exports": {
124
- "cli": "nx",
125
- "version": "15.2.0-beta.0",
126
- "requires": {
127
- "@angular/core": ">=15.0.0"
128
- },
129
- "description": "Remove exported `@angular/platform-server` `renderModule` method. The `renderModule` method is now exported by the Angular CLI.",
130
- "factory": "./src/migrations/update-15-2-0/remove-platform-server-exports"
131
- },
132
- "update-karma-main-file": {
133
- "cli": "nx",
134
- "version": "15.2.0-beta.0",
135
- "requires": {
136
- "@angular/core": ">=15.0.0"
137
- },
138
- "description": "Remove no longer needed require calls in Karma builder main file.",
139
- "factory": "./src/migrations/update-15-2-0/update-karma-main-file"
140
- },
141
- "update-angular-cli-version-15-1-0": {
142
- "cli": "nx",
143
- "version": "15.5.0-beta.0",
144
- "requires": {
145
- "@angular/core": ">=15.1.0"
146
- },
147
- "description": "Update the @angular/cli package version to ~15.1.0.",
148
- "factory": "./src/migrations/update-15-5-0/update-angular-cli"
149
- },
150
- "update-angular-cli-version-15-2-0": {
151
- "cli": "nx",
152
- "version": "15.8.0-beta.4",
153
- "requires": {
154
- "@angular/core": ">=15.2.0"
155
- },
156
- "description": "Update the @angular/cli package version to ~15.2.0.",
157
- "factory": "./src/migrations/update-15-8-0/update-angular-cli"
158
- },
159
- "update-tsconfig-spec-jest": {
160
- "cli": "nx",
161
- "version": "15.9.0-beta.3",
162
- "description": "Update the tsconfig.spec.json to use target es2016 for jest-preset-angular v13",
163
- "factory": "./src/migrations/update-15-9-0/update-testing-tsconfig"
164
- },
165
- "update-file-server-executor": {
166
- "cli": "nx",
167
- "version": "15.9.0-beta.9",
168
- "description": "Update the file-server executor to use @nrwl/web:file-server",
169
- "factory": "./src/migrations/update-15-9-0/update-file-server-executor"
170
- },
171
3
  "remove-library-generator-simple-module-name-option": {
172
4
  "cli": "nx",
173
5
  "version": "16.0.0-beta.1",
@@ -437,819 +269,6 @@
437
269
  }
438
270
  },
439
271
  "packageJsonUpdates": {
440
- "14.1.8": {
441
- "version": "14.1.8-beta.0",
442
- "packages": {
443
- "postcss-import": {
444
- "version": "~14.1.0",
445
- "alwaysAddToPackageJson": false
446
- },
447
- "postcss-preset-env": {
448
- "version": "~7.5.0",
449
- "alwaysAddToPackageJson": false
450
- },
451
- "postcss-url": {
452
- "version": "~10.1.3",
453
- "alwaysAddToPackageJson": false
454
- }
455
- }
456
- },
457
- "14.2.0": {
458
- "version": "14.2.0-beta.6",
459
- "packages": {
460
- "@angular-devkit/architect": {
461
- "version": "~0.1400.0",
462
- "alwaysAddToPackageJson": false
463
- },
464
- "@angular-devkit/build-angular": {
465
- "version": "~14.0.0",
466
- "alwaysAddToPackageJson": false
467
- },
468
- "@angular-devkit/build-webpack": {
469
- "version": "~0.1400.0",
470
- "alwaysAddToPackageJson": false
471
- },
472
- "@angular-devkit/core": {
473
- "version": "~14.0.0",
474
- "alwaysAddToPackageJson": false
475
- },
476
- "@angular-devkit/schematics": {
477
- "version": "~14.0.0",
478
- "alwaysAddToPackageJson": false
479
- },
480
- "@schematics/angular": {
481
- "version": "~14.0.0",
482
- "alwaysAddToPackageJson": false
483
- },
484
- "@angular/pwa": {
485
- "version": "~14.0.0",
486
- "alwaysAddToPackageJson": false
487
- },
488
- "@angular/core": {
489
- "version": "~14.0.0",
490
- "alwaysAddToPackageJson": true
491
- },
492
- "@angular/common": {
493
- "version": "~14.0.0",
494
- "alwaysAddToPackageJson": false
495
- },
496
- "@angular/forms": {
497
- "version": "~14.0.0",
498
- "alwaysAddToPackageJson": false
499
- },
500
- "@angular/elements": {
501
- "version": "~14.0.0",
502
- "alwaysAddToPackageJson": false
503
- },
504
- "@angular/compiler": {
505
- "version": "~14.0.0",
506
- "alwaysAddToPackageJson": false
507
- },
508
- "@angular/compiler-cli": {
509
- "version": "~14.0.0",
510
- "alwaysAddToPackageJson": false
511
- },
512
- "@angular/localize": {
513
- "version": "~14.0.0",
514
- "alwaysAddToPackageJson": false
515
- },
516
- "@angular/platform-browser": {
517
- "version": "~14.0.0",
518
- "alwaysAddToPackageJson": false
519
- },
520
- "@angular/platform-browser-dynamic": {
521
- "version": "~14.0.0",
522
- "alwaysAddToPackageJson": false
523
- },
524
- "@angular/platform-server": {
525
- "version": "~14.0.0",
526
- "alwaysAddToPackageJson": false
527
- },
528
- "@angular/router": {
529
- "version": "~14.0.0",
530
- "alwaysAddToPackageJson": false
531
- },
532
- "@angular/upgrade": {
533
- "version": "~14.0.0",
534
- "alwaysAddToPackageJson": false
535
- },
536
- "@angular/language-service": {
537
- "version": "~14.0.0",
538
- "alwaysAddToPackageJson": false
539
- },
540
- "@angular/animations": {
541
- "version": "~14.0.0",
542
- "alwaysAddToPackageJson": false
543
- },
544
- "@angular/service-worker": {
545
- "version": "~14.0.0",
546
- "alwaysAddToPackageJson": false
547
- },
548
- "@angular/material": {
549
- "version": "~14.0.0",
550
- "alwaysAddToPackageJson": false
551
- },
552
- "@angular/cdk": {
553
- "version": "~14.0.0",
554
- "alwaysAddToPackageJson": false
555
- },
556
- "ng-packagr": {
557
- "version": "~14.0.0",
558
- "alwaysAddToPackageJson": false
559
- },
560
- "@angular-eslint/eslint-plugin": {
561
- "version": "~13.2.1",
562
- "alwaysAddToPackageJson": false
563
- },
564
- "@angular-eslint/eslint-plugin-template": {
565
- "version": "~13.2.1",
566
- "alwaysAddToPackageJson": false
567
- },
568
- "@angular-eslint/template-parser": {
569
- "version": "~13.2.1",
570
- "alwaysAddToPackageJson": false
571
- },
572
- "@ngrx/store": {
573
- "version": "~13.2.0",
574
- "alwaysAddToPackageJson": false
575
- },
576
- "@ngrx/effects": {
577
- "version": "~13.2.0",
578
- "alwaysAddToPackageJson": false
579
- },
580
- "@ngrx/entity": {
581
- "version": "~13.2.0",
582
- "alwaysAddToPackageJson": false
583
- },
584
- "@ngrx/router-store": {
585
- "version": "~13.2.0",
586
- "alwaysAddToPackageJson": false
587
- },
588
- "@ngrx/schematics": {
589
- "version": "~13.2.0",
590
- "alwaysAddToPackageJson": false
591
- },
592
- "@ngrx/store-devtools": {
593
- "version": "~13.2.0",
594
- "alwaysAddToPackageJson": false
595
- },
596
- "@ngrx/component-store": {
597
- "version": "~13.2.0",
598
- "alwaysAddToPackageJson": false
599
- },
600
- "jest-preset-angular": {
601
- "version": "~11.1.2",
602
- "alwaysAddToPackageJson": false
603
- },
604
- "karma-jasmine": {
605
- "version": "~5.0.0",
606
- "alwaysAddToPackageJson": false
607
- },
608
- "jasmine-core": {
609
- "version": "~4.1.0",
610
- "alwaysAddToPackageJson": false
611
- },
612
- "jasmine-spec-reporter": {
613
- "version": "~7.0.0",
614
- "alwaysAddToPackageJson": false
615
- },
616
- "@types/jasmine": {
617
- "version": "~4.0.0",
618
- "alwaysAddToPackageJson": false
619
- }
620
- }
621
- },
622
- "14.3.7": {
623
- "version": "14.3.7-beta.0",
624
- "requires": {
625
- "@angular/core": "^14.0.0"
626
- },
627
- "packages": {
628
- "@ngrx/store": {
629
- "version": "~14.0.0",
630
- "alwaysAddToPackageJson": false
631
- },
632
- "@ngrx/effects": {
633
- "version": "~14.0.0",
634
- "alwaysAddToPackageJson": false
635
- },
636
- "@ngrx/entity": {
637
- "version": "~14.0.0",
638
- "alwaysAddToPackageJson": false
639
- },
640
- "@ngrx/router-store": {
641
- "version": "~14.0.0",
642
- "alwaysAddToPackageJson": false
643
- },
644
- "@ngrx/schematics": {
645
- "version": "~14.0.0",
646
- "alwaysAddToPackageJson": false
647
- },
648
- "@ngrx/store-devtools": {
649
- "version": "~14.0.0",
650
- "alwaysAddToPackageJson": false
651
- },
652
- "@ngrx/component-store": {
653
- "version": "~14.0.0"
654
- }
655
- }
656
- },
657
- "14.4.0": {
658
- "version": "14.4.0-beta.1",
659
- "requires": {
660
- "eslint": "^7.0.0 || ^8.0.0",
661
- "@angular/core": ">=14.0.0 <15.0.0"
662
- },
663
- "packages": {
664
- "@angular-eslint/eslint-plugin": {
665
- "version": "~14.0.0",
666
- "alwaysAddToPackageJson": false
667
- },
668
- "@angular-eslint/eslint-plugin-template": {
669
- "version": "~14.0.0",
670
- "alwaysAddToPackageJson": false
671
- },
672
- "@angular-eslint/template-parser": {
673
- "version": "~14.0.0",
674
- "alwaysAddToPackageJson": false
675
- }
676
- }
677
- },
678
- "14.5.2": {
679
- "version": "14.5.2-beta.0",
680
- "x-prompt": "Do you want to update the Angular version to v14.1?",
681
- "requires": {
682
- "@angular/core": ">=14.0.0 <14.1.0"
683
- },
684
- "packages": {
685
- "@angular-devkit/architect": {
686
- "version": "~0.1401.0",
687
- "alwaysAddToPackageJson": false
688
- },
689
- "@angular-devkit/build-angular": {
690
- "version": "~14.1.0",
691
- "alwaysAddToPackageJson": false
692
- },
693
- "@angular-devkit/build-webpack": {
694
- "version": "~0.1401.0",
695
- "alwaysAddToPackageJson": false
696
- },
697
- "@angular-devkit/core": {
698
- "version": "~14.1.0",
699
- "alwaysAddToPackageJson": false
700
- },
701
- "@angular-devkit/schematics": {
702
- "version": "~14.1.0",
703
- "alwaysAddToPackageJson": false
704
- },
705
- "@angular/pwa": {
706
- "version": "~14.1.0",
707
- "alwaysAddToPackageJson": false
708
- },
709
- "@schematics/angular": {
710
- "version": "~14.1.0",
711
- "alwaysAddToPackageJson": false
712
- },
713
- "@angular/core": {
714
- "version": "~14.1.0",
715
- "alwaysAddToPackageJson": true
716
- },
717
- "@angular/material": {
718
- "version": "~14.1.0",
719
- "alwaysAddToPackageJson": false
720
- },
721
- "ng-packagr": {
722
- "version": "~14.1.0",
723
- "alwaysAddToPackageJson": false
724
- },
725
- "karma": {
726
- "version": "~6.4.0",
727
- "alwaysAddToPackageJson": false
728
- },
729
- "karma-jasmine": {
730
- "version": "~5.1.0",
731
- "alwaysAddToPackageJson": false
732
- },
733
- "karma-jasmine-html-reporter": {
734
- "version": "~2.0.0",
735
- "alwaysAddToPackageJson": false
736
- },
737
- "jasmine-core": {
738
- "version": "~4.2.0",
739
- "alwaysAddToPackageJson": false
740
- }
741
- }
742
- },
743
- "14.5.3": {
744
- "version": "14.5.3-beta.0",
745
- "requires": {
746
- "@angular/core": "14.1.0"
747
- },
748
- "packages": {
749
- "@angular-devkit/architect": {
750
- "version": "~0.1401.1",
751
- "alwaysAddToPackageJson": false
752
- },
753
- "@angular-devkit/build-angular": {
754
- "version": "~14.1.1",
755
- "alwaysAddToPackageJson": false
756
- },
757
- "@angular-devkit/build-webpack": {
758
- "version": "~0.1401.1",
759
- "alwaysAddToPackageJson": false
760
- },
761
- "@angular-devkit/core": {
762
- "version": "~14.1.1",
763
- "alwaysAddToPackageJson": false
764
- },
765
- "@angular-devkit/schematics": {
766
- "version": "~14.1.1",
767
- "alwaysAddToPackageJson": false
768
- },
769
- "@angular/pwa": {
770
- "version": "~14.1.1",
771
- "alwaysAddToPackageJson": false
772
- },
773
- "@schematics/angular": {
774
- "version": "~14.1.1",
775
- "alwaysAddToPackageJson": false
776
- },
777
- "@angular/core": {
778
- "version": "~14.1.1",
779
- "alwaysAddToPackageJson": true
780
- },
781
- "@angular/material": {
782
- "version": "~14.1.1",
783
- "alwaysAddToPackageJson": false
784
- },
785
- "@angular/cdk": {
786
- "version": "~14.1.1",
787
- "alwaysAddToPackageJson": false
788
- }
789
- }
790
- },
791
- "14.5.5": {
792
- "version": "14.5.5-beta.0",
793
- "packages": {
794
- "ts-node": {
795
- "version": "10.9.1",
796
- "alwaysAddToPackageJson": false
797
- }
798
- }
799
- },
800
- "14.6.0-angular": {
801
- "version": "14.6.0-beta.0",
802
- "x-prompt": "Do you want to update the Angular version to v14.2?",
803
- "requires": {
804
- "@angular/core": ">=14.1.0 <14.2.0"
805
- },
806
- "packages": {
807
- "@angular-devkit/architect": {
808
- "version": "~0.1402.0",
809
- "alwaysAddToPackageJson": false
810
- },
811
- "@angular-devkit/build-angular": {
812
- "version": "~14.2.0",
813
- "alwaysAddToPackageJson": false
814
- },
815
- "@angular-devkit/build-webpack": {
816
- "version": "~0.1402.0",
817
- "alwaysAddToPackageJson": false
818
- },
819
- "@angular-devkit/core": {
820
- "version": "~14.2.0",
821
- "alwaysAddToPackageJson": false
822
- },
823
- "@angular-devkit/schematics": {
824
- "version": "~14.2.0",
825
- "alwaysAddToPackageJson": false
826
- },
827
- "@angular/pwa": {
828
- "version": "~14.2.0",
829
- "alwaysAddToPackageJson": false
830
- },
831
- "@schematics/angular": {
832
- "version": "~14.2.0",
833
- "alwaysAddToPackageJson": false
834
- },
835
- "@angular/core": {
836
- "version": "~14.2.0",
837
- "alwaysAddToPackageJson": true
838
- },
839
- "@angular/material": {
840
- "version": "~14.2.0",
841
- "alwaysAddToPackageJson": false
842
- },
843
- "@angular/cdk": {
844
- "version": "~14.2.0",
845
- "alwaysAddToPackageJson": false
846
- },
847
- "ng-packagr": {
848
- "version": "~14.2.0",
849
- "alwaysAddToPackageJson": false
850
- }
851
- }
852
- },
853
- "14.6.0-jest-preset-angular": {
854
- "version": "14.6.0-beta.0",
855
- "requires": {
856
- "@angular-devkit/build-angular": ">=0.1102.19 <15.0.0",
857
- "@angular/compiler-cli": ">=11.2.14 <15.0.0",
858
- "@angular/core": ">=11.2.14 <15.0.0",
859
- "@angular/platform-browser-dynamic": ">=11.2.14 <15.0.0",
860
- "jest": "^28.0.0"
861
- },
862
- "packages": {
863
- "jest-preset-angular": {
864
- "version": "12.2.0",
865
- "alwaysAddToPackageJson": false
866
- }
867
- }
868
- },
869
- "14.6.0-rxjs": {
870
- "version": "14.6.0-beta.0",
871
- "requires": {
872
- "rxjs": ">=7.0.0 <7.5.0"
873
- },
874
- "packages": {
875
- "rxjs": {
876
- "version": "~7.5.0",
877
- "alwaysAddToPackageJson": false
878
- }
879
- }
880
- },
881
- "14.8.0-angular-eslint": {
882
- "version": "14.8.0-beta.0",
883
- "requires": {
884
- "eslint": "^7.0.0 || ^8.0.0",
885
- "@angular/core": ">=14.0.0 <15.0.0"
886
- },
887
- "packages": {
888
- "@angular-eslint/eslint-plugin": {
889
- "version": "~14.0.4",
890
- "alwaysAddToPackageJson": false
891
- },
892
- "@angular-eslint/eslint-plugin-template": {
893
- "version": "~14.0.4",
894
- "alwaysAddToPackageJson": false
895
- },
896
- "@angular-eslint/template-parser": {
897
- "version": "~14.0.4",
898
- "alwaysAddToPackageJson": false
899
- }
900
- }
901
- },
902
- "14.8.0-jest-preset-angular": {
903
- "version": "14.8.0-beta.0",
904
- "requires": {
905
- "@angular-devkit/build-angular": ">=0.1102.19 <15.0.0",
906
- "@angular/compiler-cli": ">=11.2.14 <15.0.0",
907
- "@angular/core": ">=11.2.14 <15.0.0",
908
- "@angular/platform-browser-dynamic": ">=11.2.14 <15.0.0",
909
- "jest": "^28.0.0"
910
- },
911
- "packages": {
912
- "jest-preset-angular": {
913
- "version": "12.2.2",
914
- "alwaysAddToPackageJson": false
915
- }
916
- }
917
- },
918
- "15.2.0": {
919
- "version": "15.2.0-beta.0",
920
- "x-prompt": "Do you want to update the Angular version to v15?",
921
- "requires": {
922
- "@angular/core": "^14.2.0"
923
- },
924
- "packages": {
925
- "@angular-devkit/architect": {
926
- "version": "~0.1500.0",
927
- "alwaysAddToPackageJson": false
928
- },
929
- "@angular-devkit/build-angular": {
930
- "version": "~15.0.0",
931
- "alwaysAddToPackageJson": false
932
- },
933
- "@angular-devkit/build-webpack": {
934
- "version": "~0.1500.0",
935
- "alwaysAddToPackageJson": false
936
- },
937
- "@angular-devkit/core": {
938
- "version": "~15.0.0",
939
- "alwaysAddToPackageJson": false
940
- },
941
- "@angular-devkit/schematics": {
942
- "version": "~15.0.0",
943
- "alwaysAddToPackageJson": false
944
- },
945
- "@angular/pwa": {
946
- "version": "~15.0.0",
947
- "alwaysAddToPackageJson": false
948
- },
949
- "@schematics/angular": {
950
- "version": "~15.0.0",
951
- "alwaysAddToPackageJson": false
952
- },
953
- "@angular/core": {
954
- "version": "~15.0.0",
955
- "alwaysAddToPackageJson": true
956
- },
957
- "@angular/material": {
958
- "version": "~15.0.0",
959
- "alwaysAddToPackageJson": false
960
- },
961
- "@angular/cdk": {
962
- "version": "~15.0.0",
963
- "alwaysAddToPackageJson": false
964
- },
965
- "@nguniversal/common": {
966
- "version": "~15.0.0",
967
- "alwaysAddToPackageJson": false
968
- },
969
- "@nguniversal/express-engine": {
970
- "version": "~15.0.0",
971
- "alwaysAddToPackageJson": false
972
- },
973
- "@nguniversal/builders": {
974
- "version": "~15.0.0",
975
- "alwaysAddToPackageJson": false
976
- },
977
- "ng-packagr": {
978
- "version": "~15.0.0",
979
- "alwaysAddToPackageJson": false
980
- }
981
- }
982
- },
983
- "15.2.2-angular-eslint": {
984
- "version": "15.2.2-beta.0",
985
- "requires": {
986
- "eslint": "^7.20.0 || ^8.0.0",
987
- "@angular/core": ">=15.0.0 <16.0.0"
988
- },
989
- "packages": {
990
- "@angular-eslint/eslint-plugin": {
991
- "version": "~15.0.0",
992
- "alwaysAddToPackageJson": false
993
- },
994
- "@angular-eslint/eslint-plugin-template": {
995
- "version": "~15.0.0",
996
- "alwaysAddToPackageJson": false
997
- },
998
- "@angular-eslint/template-parser": {
999
- "version": "~15.0.0",
1000
- "alwaysAddToPackageJson": false
1001
- }
1002
- }
1003
- },
1004
- "15.2.2-jest": {
1005
- "version": "15.2.2-beta.0",
1006
- "requires": {
1007
- "@angular-devkit/build-angular": ">=12.2.18 <16.0.0",
1008
- "@angular/compiler-cli": ">=12.2.16 <16.0.0",
1009
- "@angular/core": ">=12.2.16 <16.0.0",
1010
- "@angular/platform-browser-dynamic": ">=12.2.16 <16.0.0",
1011
- "jest": "^28.0.0"
1012
- },
1013
- "packages": {
1014
- "jest-preset-angular": {
1015
- "version": "12.2.3",
1016
- "alwaysAddToPackageJson": false
1017
- }
1018
- }
1019
- },
1020
- "15.3.1": {
1021
- "version": "15.3.1-beta.0",
1022
- "requires": {
1023
- "@angular/core": "^15.0.0"
1024
- },
1025
- "packages": {
1026
- "@ngrx/store": {
1027
- "version": "~15.0.0",
1028
- "alwaysAddToPackageJson": false
1029
- },
1030
- "@ngrx/effects": {
1031
- "version": "~15.0.0",
1032
- "alwaysAddToPackageJson": false
1033
- },
1034
- "@ngrx/entity": {
1035
- "version": "~15.0.0",
1036
- "alwaysAddToPackageJson": false
1037
- },
1038
- "@ngrx/router-store": {
1039
- "version": "~15.0.0",
1040
- "alwaysAddToPackageJson": false
1041
- },
1042
- "@ngrx/schematics": {
1043
- "version": "~15.0.0",
1044
- "alwaysAddToPackageJson": false
1045
- },
1046
- "@ngrx/store-devtools": {
1047
- "version": "~15.0.0",
1048
- "alwaysAddToPackageJson": false
1049
- },
1050
- "@ngrx/component-store": {
1051
- "version": "~15.0.0"
1052
- }
1053
- }
1054
- },
1055
- "15.5.0": {
1056
- "version": "15.5.0-beta.0",
1057
- "x-prompt": "Do you want to update the Angular version to v15.1?",
1058
- "requires": {
1059
- "@angular/core": ">=15.0.0 <15.1.0"
1060
- },
1061
- "packages": {
1062
- "@angular-devkit/architect": {
1063
- "version": "~0.1501.0",
1064
- "alwaysAddToPackageJson": false
1065
- },
1066
- "@angular-devkit/build-angular": {
1067
- "version": "~15.1.0",
1068
- "alwaysAddToPackageJson": false
1069
- },
1070
- "@angular-devkit/build-webpack": {
1071
- "version": "~0.1501.0",
1072
- "alwaysAddToPackageJson": false
1073
- },
1074
- "@angular-devkit/core": {
1075
- "version": "~15.1.0",
1076
- "alwaysAddToPackageJson": false
1077
- },
1078
- "@angular-devkit/schematics": {
1079
- "version": "~15.1.0",
1080
- "alwaysAddToPackageJson": false
1081
- },
1082
- "@angular/pwa": {
1083
- "version": "~15.1.0",
1084
- "alwaysAddToPackageJson": false
1085
- },
1086
- "@angular/core": {
1087
- "version": "~15.1.0",
1088
- "alwaysAddToPackageJson": true
1089
- },
1090
- "@angular/material": {
1091
- "version": "~15.1.0",
1092
- "alwaysAddToPackageJson": false
1093
- },
1094
- "@angular/cdk": {
1095
- "version": "~15.1.0",
1096
- "alwaysAddToPackageJson": false
1097
- },
1098
- "@schematics/angular": {
1099
- "version": "~15.1.0",
1100
- "alwaysAddToPackageJson": false
1101
- },
1102
- "ng-packagr": {
1103
- "version": "~15.1.0",
1104
- "alwaysAddToPackageJson": false
1105
- }
1106
- }
1107
- },
1108
- "15.5.2": {
1109
- "version": "15.5.2-beta.0",
1110
- "requires": {
1111
- "@angular-devkit/build-angular": ">=15.0.0 <16.0.0"
1112
- },
1113
- "packages": {
1114
- "@nguniversal/builders": {
1115
- "version": "~15.1.0",
1116
- "alwaysAddToPackageJson": false
1117
- },
1118
- "@nguniversal/express-engine": {
1119
- "version": "~15.1.0",
1120
- "alwaysAddToPackageJson": false
1121
- }
1122
- }
1123
- },
1124
- "15.8.0": {
1125
- "version": "15.8.0-beta.4",
1126
- "x-prompt": "Do you want to update the Angular version to v15.2?",
1127
- "requires": {
1128
- "@angular/core": ">=15.1.0 <15.2.0"
1129
- },
1130
- "packages": {
1131
- "@angular-devkit/architect": {
1132
- "version": "~0.1502.0",
1133
- "alwaysAddToPackageJson": false
1134
- },
1135
- "@angular-devkit/build-angular": {
1136
- "version": "~15.2.0",
1137
- "alwaysAddToPackageJson": false
1138
- },
1139
- "@angular-devkit/build-webpack": {
1140
- "version": "~0.1502.0",
1141
- "alwaysAddToPackageJson": false
1142
- },
1143
- "@angular-devkit/core": {
1144
- "version": "~15.2.0",
1145
- "alwaysAddToPackageJson": false
1146
- },
1147
- "@angular-devkit/schematics": {
1148
- "version": "~15.2.0",
1149
- "alwaysAddToPackageJson": false
1150
- },
1151
- "@angular/pwa": {
1152
- "version": "~15.2.0",
1153
- "alwaysAddToPackageJson": false
1154
- },
1155
- "@angular/core": {
1156
- "version": "~15.2.0",
1157
- "alwaysAddToPackageJson": true
1158
- },
1159
- "@angular/material": {
1160
- "version": "~15.2.0",
1161
- "alwaysAddToPackageJson": false
1162
- },
1163
- "@angular/cdk": {
1164
- "version": "~15.2.0",
1165
- "alwaysAddToPackageJson": false
1166
- },
1167
- "@schematics/angular": {
1168
- "version": "~15.2.0",
1169
- "alwaysAddToPackageJson": false
1170
- },
1171
- "@nguniversal/express-engine": {
1172
- "version": "~15.2.0",
1173
- "alwaysAddToPackageJson": false
1174
- },
1175
- "@nguniversal/build-angular": {
1176
- "version": "~15.2.0",
1177
- "alwaysAddToPackageJson": false
1178
- },
1179
- "ng-packagr": {
1180
- "version": "~15.2.2",
1181
- "alwaysAddToPackageJson": false
1182
- },
1183
- "zone.js": {
1184
- "version": "~0.12.0",
1185
- "alwaysAddToPackageJson": false
1186
- }
1187
- }
1188
- },
1189
- "15.8.0-jest": {
1190
- "version": "15.8.0-beta.0",
1191
- "requires": {
1192
- "@angular-devkit/build-angular": ">=13.0.0 <16.0.0",
1193
- "@angular/compiler-cli": ">=13.0.0 <16.0.0",
1194
- "@angular/core": ">=13.0.0 <16.0.0",
1195
- "@angular/platform-browser-dynamic": ">=13.0.0 <16.0.0",
1196
- "jest": "^29.0.0"
1197
- },
1198
- "packages": {
1199
- "jest-preset-angular": {
1200
- "version": "13.0.0",
1201
- "alwaysAddToPackageJson": false
1202
- }
1203
- }
1204
- },
1205
- "15.8.0-ngrx": {
1206
- "version": "15.8.0-beta.6",
1207
- "requires": {
1208
- "@angular/core": "^15.0.0"
1209
- },
1210
- "packages": {
1211
- "@ngrx/store": {
1212
- "version": "~15.3.0",
1213
- "alwaysAddToPackageJson": false
1214
- },
1215
- "@ngrx/effects": {
1216
- "version": "~15.3.0",
1217
- "alwaysAddToPackageJson": false
1218
- },
1219
- "@ngrx/entity": {
1220
- "version": "~15.3.0",
1221
- "alwaysAddToPackageJson": false
1222
- },
1223
- "@ngrx/router-store": {
1224
- "version": "~15.3.0",
1225
- "alwaysAddToPackageJson": false
1226
- },
1227
- "@ngrx/schematics": {
1228
- "version": "~15.3.0",
1229
- "alwaysAddToPackageJson": false
1230
- },
1231
- "@ngrx/store-devtools": {
1232
- "version": "~15.3.0",
1233
- "alwaysAddToPackageJson": false
1234
- },
1235
- "@ngrx/component-store": {
1236
- "version": "~15.3.0",
1237
- "alwaysAddToPackageJson": false
1238
- }
1239
- }
1240
- },
1241
- "15.8.6-rxjs": {
1242
- "version": "15.8.6-beta.0",
1243
- "requires": {
1244
- "rxjs": ">=7.5.0 <7.6.0"
1245
- },
1246
- "packages": {
1247
- "rxjs": {
1248
- "version": "~7.8.0",
1249
- "alwaysAddToPackageJson": false
1250
- }
1251
- }
1252
- },
1253
272
  "16.1.0": {
1254
273
  "version": "16.1.0-beta.1",
1255
274
  "x-prompt": "Do you want to update the Angular version to v16?",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/angular",
3
- "version": "20.0.0-canary.20241002-1d10a19",
3
+ "version": "20.0.0-rc.0",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: \n\n- Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypress. \n\n- Generators to help scaffold code quickly (like: Micro Frontends, Libraries, both internal to your codebase and publishable to npm) \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
@@ -80,12 +80,12 @@
80
80
  "webpack-merge": "^5.8.0",
81
81
  "webpack": "^5.88.0",
82
82
  "@module-federation/enhanced": "0.6.6",
83
- "@nx/devkit": "20.0.0-canary.20241002-1d10a19",
84
- "@nx/js": "20.0.0-canary.20241002-1d10a19",
85
- "@nx/eslint": "20.0.0-canary.20241002-1d10a19",
86
- "@nx/webpack": "20.0.0-canary.20241002-1d10a19",
87
- "@nx/web": "20.0.0-canary.20241002-1d10a19",
88
- "@nx/workspace": "20.0.0-canary.20241002-1d10a19",
83
+ "@nx/devkit": "20.0.0-rc.0",
84
+ "@nx/js": "20.0.0-rc.0",
85
+ "@nx/eslint": "20.0.0-rc.0",
86
+ "@nx/webpack": "20.0.0-rc.0",
87
+ "@nx/web": "20.0.0-rc.0",
88
+ "@nx/workspace": "20.0.0-rc.0",
89
89
  "piscina": "^4.4.0"
90
90
  },
91
91
  "peerDependencies": {
@@ -16,15 +16,19 @@ const patch_builder_context_1 = require("../../executors/utilities/patch-builder
16
16
  const buildable_libs_1 = require("../utilities/buildable-libs");
17
17
  const webpack_1 = require("../utilities/webpack");
18
18
  const lib_1 = require("./lib");
19
+ const configuration_1 = require("nx/src/config/configuration");
19
20
  function executeDevServerBuilder(rawOptions, context) {
20
21
  (0, lib_1.validateOptions)(rawOptions);
21
22
  process.env.NX_TSCONFIG_PATH = (0, js_1.getRootTsConfigPath)();
22
23
  const options = (0, lib_1.normalizeOptions)(rawOptions);
24
+ const projectGraph = (0, devkit_1.readCachedProjectGraph)();
23
25
  const parsedBuildTarget = (0, devkit_1.parseTargetString)(options.buildTarget, {
24
26
  cwd: context.currentDirectory,
25
- projectGraph: (0, devkit_1.readCachedProjectGraph)(),
27
+ projectGraph,
26
28
  projectName: context.target.project,
29
+ projectsConfigurations: (0, devkit_1.readProjectsConfigurationFromProjectGraph)(projectGraph),
27
30
  root: context.workspaceRoot,
31
+ nxJsonConfiguration: (0, configuration_1.readNxJson)(devkit_1.workspaceRoot),
28
32
  isVerbose: false,
29
33
  });
30
34
  const browserTargetProjectConfiguration = (0, project_graph_1.readCachedProjectConfiguration)(parsedBuildTarget.project);
@@ -2,13 +2,15 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.addAngularEsLintDependencies = addAngularEsLintDependencies;
4
4
  const devkit_1 = require("@nx/devkit");
5
+ const flat_config_1 = require("@nx/eslint/src/utils/flat-config");
6
+ const versions_1 = require("@nx/eslint/src/utils/versions");
5
7
  const version_utils_1 = require("../../utils/version-utils");
6
8
  const buildable_project_1 = require("./buildable-project");
7
- const flat_config_1 = require("@nx/eslint/src/utils/flat-config");
8
9
  function addAngularEsLintDependencies(tree, projectName) {
9
10
  const compatVersions = (0, version_utils_1.versions)(tree);
10
11
  const angularEslintVersionToInstall = compatVersions.angularEslintVersion;
11
- const devDependencies = (0, flat_config_1.useFlatConfig)(tree)
12
+ const usesEslintFlatConfig = (0, flat_config_1.useFlatConfig)(tree);
13
+ const devDependencies = usesEslintFlatConfig
12
14
  ? {
13
15
  'angular-eslint': angularEslintVersionToInstall,
14
16
  }
@@ -18,8 +20,9 @@ function addAngularEsLintDependencies(tree, projectName) {
18
20
  '@angular-eslint/template-parser': angularEslintVersionToInstall,
19
21
  };
20
22
  if ('typescriptEslintVersion' in compatVersions) {
21
- devDependencies['@typescript-eslint/utils'] =
22
- compatVersions.typescriptEslintVersion;
23
+ devDependencies['@typescript-eslint/utils'] = usesEslintFlatConfig
24
+ ? versions_1.eslint9__typescriptESLintVersion
25
+ : compatVersions.typescriptEslintVersion;
23
26
  }
24
27
  if ((0, buildable_project_1.isBuildableLibraryProject)(tree, projectName)) {
25
28
  const jsoncEslintParserVersionToInstall = (0, version_utils_1.versions)(tree).jsoncEslintParserVersion;
@@ -2,14 +2,16 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.applicationGenerator = applicationGenerator;
4
4
  const devkit_1 = require("@nx/devkit");
5
+ const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-project-command");
5
6
  const js_1 = require("@nx/js");
7
+ const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
6
8
  const init_1 = require("../init/init");
7
9
  const setup_ssr_1 = require("../setup-ssr/setup-ssr");
8
10
  const setup_tailwind_1 = require("../setup-tailwind/setup-tailwind");
9
11
  const ensure_angular_dependencies_1 = require("../utils/ensure-angular-dependencies");
10
12
  const lib_1 = require("./lib");
11
- const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-project-command");
12
13
  async function applicationGenerator(tree, schema) {
14
+ (0, ts_solution_setup_1.assertNotUsingTsSolutionSetup)(tree, 'angular', 'application');
13
15
  const options = await (0, lib_1.normalizeOptions)(tree, schema);
14
16
  const rootOffset = (0, devkit_1.offsetFromRoot)(options.appProjectRoot);
15
17
  await (0, js_1.initGenerator)(tree, {
@@ -4,14 +4,16 @@ exports.host = host;
4
4
  const tslib_1 = require("tslib");
5
5
  const devkit_1 = require("@nx/devkit");
6
6
  const project_name_and_root_utils_1 = require("@nx/devkit/src/generators/project-name-and-root-utils");
7
+ const js_1 = require("@nx/js");
8
+ const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
7
9
  const test_runners_1 = require("../../utils/test-runners");
8
10
  const application_1 = tslib_1.__importDefault(require("../application/application"));
9
11
  const remote_1 = tslib_1.__importDefault(require("../remote/remote"));
10
12
  const setup_mf_1 = require("../setup-mf/setup-mf");
11
- const lib_1 = require("./lib");
12
13
  const add_mf_env_to_inputs_1 = require("../utils/add-mf-env-to-inputs");
13
- const js_1 = require("@nx/js");
14
+ const lib_1 = require("./lib");
14
15
  async function host(tree, schema) {
16
+ (0, ts_solution_setup_1.assertNotUsingTsSolutionSetup)(tree, 'angular', 'host');
15
17
  const { typescriptConfiguration = true, ...options } = schema;
16
18
  options.standalone = options.standalone ?? true;
17
19
  const projects = (0, devkit_1.getProjects)(tree);
@@ -3,9 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.angularInitGenerator = angularInitGenerator;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const add_plugin_1 = require("@nx/devkit/src/utils/add-plugin");
6
- const version_utils_1 = require("../utils/version-utils");
6
+ const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
7
7
  const plugin_1 = require("../../plugins/plugin");
8
+ const version_utils_1 = require("../utils/version-utils");
8
9
  async function angularInitGenerator(tree, options) {
10
+ (0, ts_solution_setup_1.assertNotUsingTsSolutionSetup)(tree, 'angular', 'init');
9
11
  ignoreAngularCacheDirectory(tree);
10
12
  const installTask = installAngularDevkitCoreIfMissing(tree, options);
11
13
  // For Angular inference plugin, we only want it during import since our
@@ -22,7 +22,9 @@ const add_jest_1 = require("../utils/add-jest");
22
22
  const set_generator_defaults_1 = require("./lib/set-generator-defaults");
23
23
  const ensure_angular_dependencies_1 = require("../utils/ensure-angular-dependencies");
24
24
  const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-project-command");
25
+ const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
25
26
  async function libraryGenerator(tree, schema) {
27
+ (0, ts_solution_setup_1.assertNotUsingTsSolutionSetup)(tree, 'angular', 'library');
26
28
  // Do some validation checks
27
29
  if (!schema.routing && schema.lazy) {
28
30
  throw new Error(`To use "--lazy" option, "--routing" must also be set.`);
@@ -3,13 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.remote = remote;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const project_name_and_root_utils_1 = require("@nx/devkit/src/generators/project-name-and-root-utils");
6
+ const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
7
+ const versions_1 = require("@nx/js/src/utils/versions");
6
8
  const test_runners_1 = require("../../utils/test-runners");
7
9
  const application_1 = require("../application/application");
8
10
  const setup_mf_1 = require("../setup-mf/setup-mf");
9
- const lib_1 = require("./lib");
10
- const versions_1 = require("@nx/js/src/utils/versions");
11
11
  const add_mf_env_to_inputs_1 = require("../utils/add-mf-env-to-inputs");
12
+ const lib_1 = require("./lib");
12
13
  async function remote(tree, schema) {
14
+ (0, ts_solution_setup_1.assertNotUsingTsSolutionSetup)(tree, 'angular', 'remote');
13
15
  const { typescriptConfiguration = true, ...options } = schema;
14
16
  options.standalone = options.standalone ?? true;
15
17
  const projects = (0, devkit_1.getProjects)(tree);
@@ -31,7 +31,7 @@ async function withModuleFederationForSSR(options, configOverride) {
31
31
  plugins: [
32
32
  ...(config.plugins ?? []),
33
33
  new (require('@module-federation/enhanced').ModuleFederationPlugin)({
34
- name: options.name,
34
+ name: options.name.replace(/-/g, '_'),
35
35
  filename: 'remoteEntry.js',
36
36
  exposes: options.exposes,
37
37
  remotes: mappedRemotes,
@@ -34,7 +34,7 @@ async function withModuleFederation(options, configOverride) {
34
34
  plugins: [
35
35
  ...(config.plugins ?? []),
36
36
  new webpack_1.ModuleFederationPlugin({
37
- name: options.name,
37
+ name: options.name.replace(/-/g, '_'),
38
38
  filename: 'remoteEntry.mjs',
39
39
  exposes: options.exposes,
40
40
  remotes: mappedRemotes,