|
1 | | -// TODO: delete this file when the build container support custom microfrontends.json naming |
2 | 1 | { |
3 | 2 | "$schema": "https://openapi.vercel.sh/microfrontends.json", |
4 | 3 | "applications": { |
5 | 4 | "nextjs-app-marketing": { |
6 | 5 | "development": { |
7 | 6 | "local": 3000, |
8 | | - "fallback": "nextjs-app-marketing.vercel.app", |
9 | | - }, |
| 7 | + "fallback": "nextjs-app-marketing.vercel.app" |
| 8 | + } |
10 | 9 | }, |
11 | 10 | "nextjs-app-docs": { |
12 | 11 | "assetPrefix": "nextjs-app-docs", |
13 | 12 | "development": { |
14 | | - "local": 3001, |
| 13 | + "local": 3001 |
15 | 14 | }, |
16 | 15 | "routing": [ |
17 | 16 | { |
18 | 17 | "group": "docs", |
19 | | - "paths": ["/docs", "/docs/:path*", "/nextjs-app-docs/:path*"], |
| 18 | + "paths": ["/docs", "/docs/:path*", "/nextjs-app-docs/:path*"] |
20 | 19 | }, |
21 | 20 | { |
22 | 21 | "group": "flagged-docs-paths", |
23 | 22 | "flag": "is-flagged-docs-path-enabled", |
24 | | - "paths": ["/flagged/docs"], |
| 23 | + "paths": ["/flagged/docs"] |
25 | 24 | }, |
26 | 25 | { |
27 | 26 | "group": "mid-path-wildcard", |
28 | | - "paths": ["/some-:hash.js"], |
| 27 | + "paths": ["/some-:hash.js"] |
29 | 28 | }, |
30 | 29 | { |
31 | 30 | "group": "excluding regex", |
32 | | - "paths": ["/city/:path((?!berlin|amsterdam).*)"], |
| 31 | + "paths": ["/city/:path((?!berlin|amsterdam).*)"] |
33 | 32 | }, |
34 | 33 | { |
35 | 34 | "group": "special characters", |
36 | | - "paths": ["/foo/hello\\(world\\)"], |
| 35 | + "paths": ["/foo/hello\\(world\\)"] |
37 | 36 | }, |
38 | 37 | { |
39 | 38 | "group": "dashes", |
40 | | - "paths": ["/foo/hello-world", "/foo/hello~world", "/foo/hello_world"], |
| 39 | + "paths": ["/foo/hello-world", "/foo/hello~world", "/foo/hello_world"] |
41 | 40 | }, |
42 | 41 | { |
43 | 42 | "group": "regex with numbers", |
44 | | - "paths": ["/foo/:path(hello1|hello2)"], |
| 43 | + "paths": ["/foo/:path(hello1|hello2)"] |
45 | 44 | }, |
46 | 45 | { |
47 | 46 | "group": "regex with dashes", |
48 | | - "paths": ["/foo/:path(hello-1|hello-2)"], |
| 47 | + "paths": ["/foo/:path(hello-1|hello-2)"] |
49 | 48 | }, |
50 | 49 | { |
51 | 50 | "group": "regex with escaped characters", |
52 | | - "paths": ["/foo/:path(hello\\(1\\)|1)"], |
| 51 | + "paths": ["/foo/:path(hello\\(1\\)|1)"] |
53 | 52 | }, |
54 | 53 | { |
55 | 54 | "group": "excluding regex with dashes", |
56 | | - "paths": ["/foo/:path((?!hello\\-3).*)"], |
| 55 | + "paths": ["/foo/:path((?!hello\\-3).*)"] |
57 | 56 | }, |
58 | 57 | { |
59 | 58 | "group": "path with escaped characters", |
60 | | - "paths": ["/bar/hello\\(3\\)"], |
| 59 | + "paths": ["/bar/hello\\(3\\)"] |
61 | 60 | }, |
62 | 61 | { |
63 | 62 | "group": "child rate limit", |
64 | | - "paths": ["/api/check-rate-limit"], |
65 | | - }, |
66 | | - ], |
67 | | - }, |
68 | | - }, |
| 63 | + "paths": ["/api/check-rate-limit"] |
| 64 | + } |
| 65 | + ] |
| 66 | + } |
| 67 | + } |
69 | 68 | } |
0 commit comments