@nx/angular 19.6.0-canary.20240719-83b88a1 → 19.6.0-canary.20240723-c4f9d89

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/angular",
3
- "version": "19.6.0-canary.20240719-83b88a1",
3
+ "version": "19.6.0-canary.20240723-c4f9d89",
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,14 +80,14 @@
80
80
  "webpack-merge": "^5.8.0",
81
81
  "webpack": "^5.88.0",
82
82
  "@module-federation/enhanced": "~0.2.3",
83
- "@nx/devkit": "19.6.0-canary.20240719-83b88a1",
84
- "@nx/js": "19.6.0-canary.20240719-83b88a1",
85
- "@nx/eslint": "19.6.0-canary.20240719-83b88a1",
86
- "@nx/webpack": "19.6.0-canary.20240719-83b88a1",
87
- "@nx/web": "19.6.0-canary.20240719-83b88a1",
88
- "@nx/workspace": "19.6.0-canary.20240719-83b88a1",
83
+ "@nx/devkit": "19.6.0-canary.20240723-c4f9d89",
84
+ "@nx/js": "19.6.0-canary.20240723-c4f9d89",
85
+ "@nx/eslint": "19.6.0-canary.20240723-c4f9d89",
86
+ "@nx/webpack": "19.6.0-canary.20240723-c4f9d89",
87
+ "@nx/web": "19.6.0-canary.20240723-c4f9d89",
88
+ "@nx/workspace": "19.6.0-canary.20240723-c4f9d89",
89
89
  "piscina": "^4.4.0",
90
- "@nrwl/angular": "19.6.0-canary.20240719-83b88a1"
90
+ "@nrwl/angular": "19.6.0-canary.20240723-c4f9d89"
91
91
  },
92
92
  "peerDependencies": {
93
93
  "@angular-devkit/build-angular": ">= 16.0.0 < 19.0.0",
@@ -45,6 +45,7 @@ function startStaticRemotesFileServer(staticRemotesConfig, context, options) {
45
45
  ssl: options.ssl,
46
46
  sslCert: options.sslCert,
47
47
  sslKey: options.sslKey,
48
+ cacheSeconds: -1,
48
49
  }, context);
49
50
  return staticRemotesIter;
50
51
  }
@@ -32,6 +32,7 @@ async function* moduleFederationDevServerExecutor(schema, context) {
32
32
  spa: false,
33
33
  withDeps: false,
34
34
  cors: true,
35
+ cacheSeconds: -1,
35
36
  }, context)
36
37
  : (0, rxjs_for_await_1.eachValueFrom)((0, dev_server_impl_1.executeDevServerBuilder)(options, await (0, ngcli_adapter_1.createBuilderContext)({
37
38
  builderName: '@nx/angular:webpack-browser',
@@ -23,13 +23,15 @@ export function app(): express.Express {
23
23
  // Example Express Rest API endpoints
24
24
  // server.get('/api/**', (req, res) => { });
25
25
  // Serve static files from /browser
26
- server.get('**', express.static(distFolder, {
27
- maxAge: '1y',
28
- index: 'index.html'
29
- }));
26
+ server.get(
27
+ '*.*',
28
+ express.static(distFolder, {
29
+ maxAge: '1y',
30
+ })
31
+ );
30
32
 
31
33
  // All regular routes use the Angular engine
32
- server.get('**', (req, res, next) => {
34
+ server.get('*', (req, res, next) => {
33
35
  const { protocol, originalUrl, baseUrl, headers } = req;
34
36
 
35
37
  commonEngine