@wular/pnext 0.1.7 → 0.1.8

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.
Files changed (172) hide show
  1. package/dist/server/_chunks/{aliases-j47a10ce.js → aliases-pycbtjt1.js} +7 -5
  2. package/dist/server/_chunks/{analyze-arswqe6s.js → analyze-4d9e00g9.js} +17 -13
  3. package/dist/server/_chunks/{boot-af0mv3dy.js → boot-bhemypxz.js} +13 -11
  4. package/dist/server/_chunks/{build-spy3dxp4.js → build-c991dv65.js} +7 -5
  5. package/dist/server/_chunks/{build-t9h0hec3.js → build-kh5e3x48.js} +977 -1186
  6. package/dist/server/_chunks/{build-tier-m7yvqz61.js → build-tier-0a96kmx3.js} +59 -75
  7. package/dist/server/_chunks/{compile-53j02j27.js → compile-040r79gj.js} +2 -2
  8. package/dist/server/_chunks/{config-n2z7yxps.js → config-0tvz03a6.js} +6 -4
  9. package/dist/server/_chunks/{config-1yzwexq6.js → config-27rj7830.js} +12 -3
  10. package/dist/server/_chunks/{create-meec9hs6.js → create-9rvwshsp.js} +4 -3
  11. package/dist/server/_chunks/{dev-fjmqg6en.js → dev-ex9exynt.js} +2 -2
  12. package/dist/server/_chunks/{generate-n9sh6hzt.js → generate-myw9hef7.js} +5 -4
  13. package/dist/server/_chunks/{index-91x12ykq.js → index-0r5eqfc7.js} +6 -1
  14. package/dist/server/_chunks/{index-3xbr4eyv.js → index-0yjv5v47.js} +3 -3
  15. package/dist/server/_chunks/{index-ncnes8c6.js → index-11xpbfej.js} +2 -2
  16. package/dist/server/_chunks/{index-357na4a8.js → index-141vcwk6.js} +1 -1
  17. package/dist/server/_chunks/{index-nyrba2kr.js → index-1pzm1hdy.js} +11 -11
  18. package/dist/server/_chunks/{index-fkp000p1.js → index-29pq0kax.js} +2 -2
  19. package/dist/server/_chunks/{index-wpfhfbs4.js → index-38xpdxwd.js} +4 -4
  20. package/dist/server/_chunks/{index-tvqkq6e6.js → index-3e075kny.js} +1 -1
  21. package/dist/server/_chunks/{index-kq8kpzye.js → index-3ycf5ckv.js} +3 -3
  22. package/dist/server/_chunks/{index-20ppawv7.js → index-4da76t62.js} +3 -3
  23. package/dist/server/_chunks/{index-cf4rvxv6.js → index-52k54ykj.js} +1 -1
  24. package/dist/server/_chunks/{index-x93hv0sc.js → index-71885zaq.js} +23 -10
  25. package/dist/server/_chunks/{index-jepjvcrf.js → index-8ct7rqy3.js} +1 -1
  26. package/dist/server/_chunks/{index-sjpckxqn.js → index-9f49w76j.js} +1 -1
  27. package/dist/server/_chunks/{index-4hgjrqh7.js → index-9hz3s0m8.js} +2 -2
  28. package/dist/server/_chunks/{index-9n2914ww.js → index-akkrvjn6.js} +1 -1
  29. package/dist/server/_chunks/{index-9ych9ma8.js → index-b7j671dj.js} +2 -2
  30. package/dist/server/_chunks/index-bzd2ef7t.js +10 -0
  31. package/dist/server/_chunks/{index-p77b4kcx.js → index-cn86z041.js} +1 -1
  32. package/dist/server/_chunks/{index-hkdfj58q.js → index-cvr4z22m.js} +1 -1
  33. package/dist/server/_chunks/{index-y2jr2n72.js → index-d158y67j.js} +4 -4
  34. package/dist/server/_chunks/{index-yz54pxrh.js → index-d1jsmhhk.js} +4 -9
  35. package/dist/server/_chunks/{index-ggk2j965.js → index-dgr390q7.js} +56 -50
  36. package/dist/server/_chunks/{index-sctcgyvv.js → index-drwv61cc.js} +2 -2
  37. package/dist/server/_chunks/{index-9hx2641q.js → index-entm8bmz.js} +1 -1
  38. package/dist/server/_chunks/{index-jx7bqvw1.js → index-evhd413j.js} +1 -1
  39. package/dist/server/_chunks/{index-1011cscr.js → index-fjv96re1.js} +61 -29
  40. package/dist/server/_chunks/{index-c0g2wf3z.js → index-gcmj16xy.js} +1 -1
  41. package/dist/server/_chunks/{index-ytjvpbm2.js → index-gkndxkxf.js} +3 -3
  42. package/dist/server/_chunks/index-hdbwtdv2.js +352 -0
  43. package/dist/server/_chunks/{index-z84ab1w0.js → index-he6n2bvp.js} +3 -3
  44. package/dist/server/_chunks/{index-eajaspjk.js → index-j0m1jxqa.js} +1 -1
  45. package/dist/server/_chunks/{index-4q2gbfwk.js → index-j681c48a.js} +2 -2
  46. package/dist/server/_chunks/index-jbj7ehef.js +50 -0
  47. package/dist/server/_chunks/{index-8k7pfejn.js → index-jn9rbhrx.js} +7 -7
  48. package/dist/server/_chunks/index-jt8e1pje.js +12 -0
  49. package/dist/server/_chunks/{index-eeaanp2e.js → index-kdhxpwyq.js} +3 -3
  50. package/dist/server/_chunks/{index-6e4fqv30.js → index-m63czgq5.js} +2 -0
  51. package/dist/server/_chunks/{index-2dv4y4wd.js → index-n629dy38.js} +16 -10
  52. package/dist/server/_chunks/{index-sv8m6789.js → index-nf3df4jy.js} +5 -5
  53. package/dist/server/_chunks/{index-06nyqntx.js → index-q3r9z8mq.js} +1 -1
  54. package/dist/server/_chunks/{index-3b3at80h.js → index-qcrvt6er.js} +6 -3
  55. package/dist/server/_chunks/{index-egykcqg3.js → index-rgj5mx84.js} +1 -1
  56. package/dist/server/_chunks/{index-vvmmknm1.js → index-rjegyfx4.js} +19 -15
  57. package/dist/server/_chunks/{index-ym67zqxp.js → index-tf4j19ge.js} +1 -1
  58. package/dist/server/_chunks/{index-5gyr4emz.js → index-tq3b39a5.js} +4 -4
  59. package/dist/server/_chunks/{index-qn4z5s3c.js → index-typcbcsv.js} +3 -3
  60. package/dist/server/_chunks/{index-11sfk4hb.js → index-vmr35jjw.js} +1 -1
  61. package/dist/server/_chunks/{index-danncfhy.js → index-wm36rj4v.js} +1 -1
  62. package/dist/server/_chunks/{index-3tf1xjsp.js → index-x2m17v9c.js} +11 -11
  63. package/dist/server/_chunks/{index-z4z9zv3b.js → index-x9c55pzy.js} +141 -3
  64. package/dist/server/_chunks/{index-k1g3epw0.js → index-xh1nbk46.js} +10 -10
  65. package/dist/server/_chunks/{index-0374j2b9.js → index-y4d02znn.js} +1 -1
  66. package/dist/server/_chunks/{index-qm6kmhqs.js → index-y7mzvq2q.js} +1 -1
  67. package/dist/server/_chunks/{index-rn8dyr1f.js → index-yrjkqtfj.js} +8 -48
  68. package/dist/server/_chunks/{index-tq0pc7eg.js → index-zfrwq472.js} +3 -3
  69. package/dist/server/_chunks/{loader-7yw0j98z.js → loader-5en7wpt5.js} +12 -10
  70. package/dist/server/_chunks/{modules-jn8bmbn8.js → modules-t92favpj.js} +14 -12
  71. package/dist/server/_chunks/{pipeline-yy9jhydf.js → pipeline-4t9q43ht.js} +25 -21
  72. package/dist/server/_chunks/{production-jar9ztm3.js → production-385bw8df.js} +14 -3
  73. package/dist/server/_chunks/{proxy-config-j84dgksn.js → proxy-config-60gprphe.js} +7 -5
  74. package/dist/server/_chunks/{proxy-w1d0wmsn.js → proxy-gfhmktbk.js} +12 -10
  75. package/dist/server/_chunks/{router-k1reahfn.js → router-xnrva921.js} +10 -7
  76. package/dist/server/_chunks/{routes-2s277fc6.js → routes-ht868pdc.js} +12 -10
  77. package/dist/server/_chunks/{run-pvd8bs1t.js → run-d40d63ag.js} +5 -4
  78. package/dist/server/_chunks/{server-mt4a994c.js → server-2p8fgqq2.js} +38 -34
  79. package/dist/server/_chunks/{tsconfig-defaults-1nb3308g.js → tsconfig-defaults-bcn34eqb.js} +5 -4
  80. package/dist/server/_chunks/{typegen-0qr0459b.js → typegen-dvtcjtaw.js} +15 -13
  81. package/dist/server/cli/index.js +12 -15
  82. package/dist/server/cli/start.js +35 -14
  83. package/dist/server/compat/next/cache.js +5 -5
  84. package/dist/server/compat/next/config-headers.js +8 -6
  85. package/dist/server/compat/next/config-loader.js +1 -1
  86. package/dist/server/compat/next/dist/server/web/spec-extension/revalidate.js +5 -5
  87. package/dist/server/compat/next/dist/server/web/spec-extension/unstable-cache.js +5 -5
  88. package/dist/server/compat/next/dist/server/web/spec-extension/unstable-no-store.js +5 -5
  89. package/dist/server/compat/next/dynamic.js +3 -14
  90. package/dist/server/compat/next/font/cache.js +6 -4
  91. package/dist/server/compat/next/font/local.js +7 -5
  92. package/dist/server/compat/next/font/runtime.js +7 -5
  93. package/dist/server/compat/next/headers.js +4 -4
  94. package/dist/server/compat/next/image/config.js +2 -2
  95. package/dist/server/compat/next/image/optimizer.js +3 -3
  96. package/dist/server/compat/next/image/static-metadata.js +4 -4
  97. package/dist/server/compat/next/legacy-request-apis.js +3 -3
  98. package/dist/server/compat/next/link-transform.js +4 -3
  99. package/dist/server/compat/next/navigation.js +5 -4
  100. package/dist/server/compat/next/redirects.js +8 -6
  101. package/dist/server/compat/next/resource-hints.js +2 -2
  102. package/dist/server/compat/next/rewrites.js +7 -5
  103. package/dist/server/compat/next/root-params.js +3 -3
  104. package/dist/server/compat/next/route-state.js +2 -2
  105. package/dist/server/compat/next/script.js +2 -2
  106. package/dist/server/compat/next/server.js +5 -5
  107. package/dist/server/generation.json +1 -1
  108. package/package.json +1 -1
  109. package/reference/compat.md +1 -1
  110. package/reference/config.md +2 -2
  111. package/reference/dev.md +1 -1
  112. package/reference/getting-started.md +1 -1
  113. package/reference/rendering.md +4 -4
  114. package/src/api/dynamic.tsx +84 -4
  115. package/src/cli/adapters/vercel-warm.ts +40 -29
  116. package/src/cli/adapters/vercel.ts +95 -1262
  117. package/src/cli/analyze.ts +3 -2
  118. package/src/cli/build/cache.ts +6 -6
  119. package/src/cli/build.ts +33 -33
  120. package/src/cli/index.ts +4 -6
  121. package/src/cli/serve/pipeline.ts +16 -10
  122. package/src/cli/serve/standalone-worker.ts +8 -0
  123. package/src/cli/serve/standalone.ts +703 -0
  124. package/src/cli/start.ts +29 -8
  125. package/src/client/build.ts +1 -1
  126. package/src/client/reference-stub.ts +2 -34
  127. package/src/compat/actions/extensions.ts +3 -2
  128. package/src/compat/bundler/require-context.ts +2 -1
  129. package/src/compat/bundler/webpack-loaders.ts +3 -2
  130. package/src/compat/bundler/worker.ts +2 -2
  131. package/src/compat/css/inline-css.ts +1 -1
  132. package/src/compat/export/build-complete.ts +1 -1
  133. package/src/compat/export/emit.ts +4 -4
  134. package/src/compat/export/standalone.ts +30 -65
  135. package/src/compat/image-optimizer/optimize.ts +1 -1
  136. package/src/compat/lifecycle/instrumentation-client.ts +4 -3
  137. package/src/compat/metadata-artifacts.ts +1 -1
  138. package/src/compat/next/config-loader.ts +3 -0
  139. package/src/compat/next/dynamic.tsx +10 -23
  140. package/src/compat/next/font/cache.ts +2 -1
  141. package/src/compat/next/font/runtime.ts +1 -1
  142. package/src/compat/register/image.ts +1 -1
  143. package/src/compat/typecheck/check.ts +6 -4
  144. package/src/config.ts +28 -5
  145. package/src/css/assets.ts +1 -1
  146. package/src/css/build.ts +16 -9
  147. package/src/dev/client-chunk-store.ts +2 -1
  148. package/src/dev/restart/client-key.ts +2 -1
  149. package/src/dev/restart/global-css.ts +2 -1
  150. package/src/dev/restart/route-bundle-key.ts +2 -1
  151. package/src/dev/restart/route-facts.ts +2 -1
  152. package/src/dev/server.ts +8 -7
  153. package/src/out-paths.ts +10 -0
  154. package/src/render/renderer.ts +1 -1
  155. package/src/resolve/dynamic.ts +4 -0
  156. package/src/resolve/engine.ts +2 -12
  157. package/src/resolve/scan-facts.ts +185 -1
  158. package/src/routing/metadata-files.ts +1 -1
  159. package/src/runtime/loader.ts +5 -3
  160. package/src/runtime/module-cache.ts +2 -1
  161. package/src/runtime/modules.ts +50 -16
  162. package/src/runtime/prebundle.ts +23 -3
  163. package/src/runtime/production.ts +105 -40
  164. package/src/runtime/release-graph.ts +21 -13
  165. package/src/runtime/vendor-build.ts +45 -23
  166. package/src/types.ts +2 -3
  167. package/src/utils/directive.ts +40 -0
  168. package/src/utils/fs.ts +7 -2
  169. package/src/utils/resource-query.ts +12 -0
  170. package/dist/server/_chunks/index-tqn2qnnn.js +0 -241
  171. package/dist/server/_chunks/index-y36a0ybw.js +0 -57
  172. package/src/cli/serve/entry.ts +0 -52
@@ -14,16 +14,18 @@ import {
14
14
  reactCompilerOptions,
15
15
  reactServerLayerAliases,
16
16
  rewriteNextFontSource
17
- } from "./index-eeaanp2e.js";
18
- import"./index-3xbr4eyv.js";
17
+ } from "./index-kdhxpwyq.js";
18
+ import"./index-0yjv5v47.js";
19
19
  import"./index-6q7zvrap.js";
20
- import"./index-20ppawv7.js";
21
- import"./index-x93hv0sc.js";
22
- import"./index-tqn2qnnn.js";
20
+ import"./index-4da76t62.js";
21
+ import"./index-71885zaq.js";
22
+ import"./index-bzd2ef7t.js";
23
+ import"./index-hdbwtdv2.js";
23
24
  import"./index-grta8ap3.js";
24
25
  import"./index-kresp2n8.js";
25
26
  import"./index-e3a6yx84.js";
26
27
  import"./index-pym1cezq.js";
28
+ import"./index-jt8e1pje.js";
27
29
  import"./index-qjj6gddn.js";
28
30
  import"./index-rt9qq1va.js";
29
31
  export {
@@ -1,27 +1,30 @@
1
1
  // @bun
2
- import"./index-8k7pfejn.js";
3
- import"./index-91x12ykq.js";
2
+ import"./index-jn9rbhrx.js";
3
+ import"./index-0r5eqfc7.js";
4
4
  import {
5
5
  matchRoute
6
- } from "./index-jepjvcrf.js";
7
- import"./index-2dv4y4wd.js";
6
+ } from "./index-8ct7rqy3.js";
7
+ import"./index-n629dy38.js";
8
8
  import"./index-73z4esab.js";
9
9
  import {
10
10
  emittedAssetName,
11
11
  publishEmittedAssets,
12
12
  routeCssAssetNames
13
- } from "./index-y2jr2n72.js";
13
+ } from "./index-d158y67j.js";
14
14
  import"./index-web361b8.js";
15
15
  import"./index-fp8r0sqs.js";
16
16
  import"./index-cjgqs13g.js";
17
- import"./index-p77b4kcx.js";
17
+ import"./index-cn86z041.js";
18
18
  import {
19
19
  listFiles
20
- } from "./index-20ppawv7.js";
20
+ } from "./index-4da76t62.js";
21
21
  import {
22
22
  loadConfig
23
- } from "./index-x93hv0sc.js";
24
- import"./index-tqn2qnnn.js";
23
+ } from "./index-71885zaq.js";
24
+ import"./index-bzd2ef7t.js";
25
+ import {
26
+ buildManifestFile
27
+ } from "./index-hdbwtdv2.js";
25
28
  import {
26
29
  bold,
27
30
  cyan,
@@ -31,10 +34,11 @@ import"./index-ras0sdab.js";
31
34
  import"./index-grta8ap3.js";
32
35
  import"./index-kresp2n8.js";
33
36
  import"./index-e3a6yx84.js";
34
- import"./index-z4z9zv3b.js";
35
- import"./index-yz54pxrh.js";
37
+ import"./index-x9c55pzy.js";
38
+ import"./index-d1jsmhhk.js";
36
39
  import"./index-7wc9n8be.js";
37
40
  import"./index-pym1cezq.js";
41
+ import"./index-jt8e1pje.js";
38
42
  import"./index-zqpqyg8p.js";
39
43
  import"./index-qjj6gddn.js";
40
44
  import"./index-rt9qq1va.js";
@@ -77,7 +81,7 @@ async function analyzeProject(root, options = {}) {
77
81
  };
78
82
  }
79
83
  async function analyzeRouteBundles(outPath, publicPath, files, routeFilter) {
80
- const manifestPath = path.join(outPath, "manifest.json");
84
+ const manifestPath = buildManifestFile(outPath);
81
85
  if (!existsSync(manifestPath))
82
86
  return [];
83
87
  const manifest = JSON.parse(await readFile(manifestPath, "utf8"));
@@ -280,7 +284,7 @@ function prerenderedPathname(route) {
280
284
  });
281
285
  }
282
286
  function analyzeTarget(outPath) {
283
- const publicPath = path.join(outPath, "public");
287
+ const publicPath = path.join(outPath, "static");
284
288
  return existsSync(publicPath) ? { root: publicPath } : null;
285
289
  }
286
290
  function compressedSize(bytes, compression) {
@@ -1,33 +1,35 @@
1
1
  // @bun
2
2
  import {
3
3
  registerCompatBootExtensions
4
- } from "./index-k1g3epw0.js";
4
+ } from "./index-xh1nbk46.js";
5
5
  import"./index-2wfv4kvx.js";
6
- import"./index-danncfhy.js";
7
- import"./index-jepjvcrf.js";
8
- import"./index-eeaanp2e.js";
9
- import"./index-kq8kpzye.js";
10
- import"./index-3xbr4eyv.js";
6
+ import"./index-wm36rj4v.js";
7
+ import"./index-8ct7rqy3.js";
8
+ import"./index-kdhxpwyq.js";
9
+ import"./index-3ycf5ckv.js";
10
+ import"./index-0yjv5v47.js";
11
11
  import"./index-6q7zvrap.js";
12
12
  import"./index-z88qv16t.js";
13
13
  import"./index-2vz0wzdn.js";
14
- import"./index-6e4fqv30.js";
14
+ import"./index-m63czgq5.js";
15
15
  import"./index-cjgqs13g.js";
16
16
  import"./index-jks0x0a1.js";
17
17
  import"./index-6b009mt0.js";
18
18
  import"./index-4zzebszd.js";
19
19
  import"./index-sq3kvz3g.js";
20
20
  import"./index-ckkdpht5.js";
21
- import"./index-20ppawv7.js";
22
- import"./index-x93hv0sc.js";
21
+ import"./index-4da76t62.js";
22
+ import"./index-71885zaq.js";
23
+ import"./index-bzd2ef7t.js";
23
24
  import"./index-jcsjq3d1.js";
24
- import"./index-tqn2qnnn.js";
25
+ import"./index-hdbwtdv2.js";
25
26
  import"./index-grta8ap3.js";
26
27
  import"./index-kresp2n8.js";
27
28
  import"./index-e3a6yx84.js";
28
- import"./index-yz54pxrh.js";
29
+ import"./index-d1jsmhhk.js";
29
30
  import"./index-7wc9n8be.js";
30
31
  import"./index-pym1cezq.js";
32
+ import"./index-jt8e1pje.js";
31
33
  import"./index-zqpqyg8p.js";
32
34
  import"./index-qjj6gddn.js";
33
35
  import"./index-rt9qq1va.js";
@@ -19,7 +19,7 @@ import {
19
19
  stopCssWorker,
20
20
  warmCssPipeline,
21
21
  warmCssWorker
22
- } from "./index-2dv4y4wd.js";
22
+ } from "./index-n629dy38.js";
23
23
  import"./index-73z4esab.js";
24
24
  import {
25
25
  assetHref,
@@ -35,16 +35,18 @@ import {
35
35
  routeCssAssetNames,
36
36
  routeCssHref,
37
37
  withAssetPrefix
38
- } from "./index-y2jr2n72.js";
38
+ } from "./index-d158y67j.js";
39
39
  import"./index-web361b8.js";
40
40
  import"./index-fp8r0sqs.js";
41
41
  import"./index-cjgqs13g.js";
42
- import"./index-20ppawv7.js";
43
- import"./index-tqn2qnnn.js";
42
+ import"./index-4da76t62.js";
43
+ import"./index-bzd2ef7t.js";
44
+ import"./index-hdbwtdv2.js";
44
45
  import"./index-6kp9r0d9.js";
45
- import"./index-yz54pxrh.js";
46
+ import"./index-d1jsmhhk.js";
46
47
  import"./index-7wc9n8be.js";
47
48
  import"./index-pym1cezq.js";
49
+ import"./index-jt8e1pje.js";
48
50
  import"./index-zqpqyg8p.js";
49
51
  import"./index-qjj6gddn.js";
50
52
  import"./index-rt9qq1va.js";