@nx/angular 19.6.0-canary.20240720-9410164 → 19.6.0-canary.20240723-c4f9d89

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/angular",
3
- "version": "19.6.0-canary.20240720-9410164",
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.20240720-9410164",
84
- "@nx/js": "19.6.0-canary.20240720-9410164",
85
- "@nx/eslint": "19.6.0-canary.20240720-9410164",
86
- "@nx/webpack": "19.6.0-canary.20240720-9410164",
87
- "@nx/web": "19.6.0-canary.20240720-9410164",
88
- "@nx/workspace": "19.6.0-canary.20240720-9410164",
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.20240720-9410164"
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",
@@ -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