@farm.js/core 0.1.0-beta.44 → 0.1.0-beta.45
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/dist/{chunk-LIIZPHDO.mjs → chunk-6NCLVPI7.mjs} +5 -5
- package/dist/{chunk-MYNLKNAW.mjs → chunk-EHUGMAWL.mjs} +2 -2
- package/dist/{chunk-FY34HLY7.mjs → chunk-FLGRRGVU.mjs} +2 -2
- package/dist/{chunk-FY34HLY7.mjs.map → chunk-FLGRRGVU.mjs.map} +1 -1
- package/dist/{chunk-4MYKKWR4.mjs → chunk-IWPBMZGE.mjs} +5 -5
- package/dist/{chunk-BQWTEZSS.mjs → chunk-QLCUQD3U.mjs} +2 -2
- package/dist/{chunk-X4MNGHCU.mjs → chunk-XR7M5VXU.mjs} +2 -2
- package/dist/{chunk-TUYEGV7H.mjs → chunk-YKAUAZA4.mjs} +7 -3
- package/dist/chunk-YKAUAZA4.mjs.map +1 -0
- package/dist/client/lifecycle.mjs +2 -2
- package/dist/client-plugins.cjs +1 -1
- package/dist/client-plugins.cjs.map +1 -1
- package/dist/client-plugins.mjs +2 -2
- package/dist/client.cjs +1 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.mjs +2 -2
- package/dist/{devtools-3MSKJ4TE.mjs → devtools-BUFIHBX3.mjs} +3 -3
- package/dist/docs.cjs.map +1 -1
- package/dist/docs.mjs +3 -3
- package/dist/index.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/internal/build-runtime.cjs +7 -3
- package/dist/internal/build-runtime.cjs.map +1 -1
- package/dist/internal/build-runtime.mjs +6 -6
- package/dist/internal/client-runtime.cjs +1 -1
- package/dist/internal/client-runtime.cjs.map +1 -1
- package/dist/internal/client-runtime.mjs +2 -2
- package/dist/internal/config-runtime.cjs +6 -2
- package/dist/internal/config-runtime.cjs.map +1 -1
- package/dist/internal/config-runtime.mjs +2 -2
- package/dist/{layers-3ZHU4XTZ.mjs → layers-KJI5XUAP.mjs} +2 -2
- package/dist/plugin.cjs +1 -1
- package/dist/plugin.cjs.map +1 -1
- package/dist/plugin.mjs +3 -3
- package/dist/server.cjs +7 -3
- package/dist/server.cjs.map +1 -1
- package/dist/server.mjs +4 -4
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +7 -3
- package/dist/vite.cjs.map +1 -1
- package/dist/vite.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunk-TUYEGV7H.mjs.map +0 -1
- /package/dist/{chunk-LIIZPHDO.mjs.map → chunk-6NCLVPI7.mjs.map} +0 -0
- /package/dist/{chunk-MYNLKNAW.mjs.map → chunk-EHUGMAWL.mjs.map} +0 -0
- /package/dist/{chunk-4MYKKWR4.mjs.map → chunk-IWPBMZGE.mjs.map} +0 -0
- /package/dist/{chunk-BQWTEZSS.mjs.map → chunk-QLCUQD3U.mjs.map} +0 -0
- /package/dist/{chunk-X4MNGHCU.mjs.map → chunk-XR7M5VXU.mjs.map} +0 -0
- /package/dist/{devtools-3MSKJ4TE.mjs.map → devtools-BUFIHBX3.mjs.map} +0 -0
- /package/dist/{layers-3ZHU4XTZ.mjs.map → layers-KJI5XUAP.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-5ZGPRGWV.mjs";
|
|
10
10
|
import {
|
|
11
11
|
build
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IWPBMZGE.mjs";
|
|
13
13
|
import "./chunk-SL6HTIOK.mjs";
|
|
14
14
|
import "./chunk-4S3ORGFA.mjs";
|
|
15
15
|
import {
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
isFarmDocsRequest,
|
|
26
26
|
loadFarmDocsPage,
|
|
27
27
|
resolveFarmDocsContentDir
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XR7M5VXU.mjs";
|
|
29
29
|
import "./chunk-V7RBCSDJ.mjs";
|
|
30
30
|
import {
|
|
31
31
|
usePathname,
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
resolveDeployConfig,
|
|
105
105
|
resolveDeployOutputPath,
|
|
106
106
|
resolveMigrationsConfig
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-EHUGMAWL.mjs";
|
|
108
108
|
import {
|
|
109
109
|
defineConfig,
|
|
110
110
|
defineFarmConfig
|
|
@@ -208,7 +208,7 @@ import {
|
|
|
208
208
|
createClientPluginManager,
|
|
209
209
|
installChunkErrorRecovery,
|
|
210
210
|
isChunkLoadError
|
|
211
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-QLCUQD3U.mjs";
|
|
212
212
|
import {
|
|
213
213
|
analyzeStaticRouteCandidate,
|
|
214
214
|
collectSSGPages,
|
|
@@ -227,7 +227,7 @@ import {
|
|
|
227
227
|
parseRouteRenderingDirective,
|
|
228
228
|
resolveRouteRenderingConfig,
|
|
229
229
|
resolveRouteRenderingConfigFromFile
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-6NCLVPI7.mjs";
|
|
231
231
|
import {
|
|
232
232
|
APITypeGenerator
|
|
233
233
|
} from "./chunk-XJTDE4L4.mjs";
|
|
@@ -270,7 +270,7 @@ import {
|
|
|
270
270
|
getFarmLayerAliases,
|
|
271
271
|
getFarmSourceRoots,
|
|
272
272
|
resolveFarmLayers
|
|
273
|
-
} from "./chunk-
|
|
273
|
+
} from "./chunk-YKAUAZA4.mjs";
|
|
274
274
|
import "./chunk-7ZVN3YZI.mjs";
|
|
275
275
|
import "./chunk-GY2STC2S.mjs";
|
|
276
276
|
import {
|
|
@@ -566,7 +566,7 @@ import {
|
|
|
566
566
|
runWithFarmSpan
|
|
567
567
|
} from "./chunk-7ZMKVETU.mjs";
|
|
568
568
|
import "./chunk-FXG2PS27.mjs";
|
|
569
|
-
import "./chunk-
|
|
569
|
+
import "./chunk-FLGRRGVU.mjs";
|
|
570
570
|
import {
|
|
571
571
|
createCompressionPlugin,
|
|
572
572
|
createEnvPlugin,
|
|
@@ -4759,6 +4759,9 @@ function getFarmLayerAliases(layers) {
|
|
|
4759
4759
|
(layers ?? []).map((layer) => [`#layers/${layer.name}`, import_node_path.default.join(layer.root, layer.srcDir)])
|
|
4760
4760
|
);
|
|
4761
4761
|
}
|
|
4762
|
+
function toExternalSpecifier(resolvedPath) {
|
|
4763
|
+
return import_node_path.default.isAbsolute(resolvedPath) ? (0, import_node_url.pathToFileURL)(resolvedPath).href : resolvedPath;
|
|
4764
|
+
}
|
|
4762
4765
|
function createFarmConfigResolutionPlugin(options) {
|
|
4763
4766
|
const configEntryChecks = /* @__PURE__ */ new Map();
|
|
4764
4767
|
return {
|
|
@@ -4783,7 +4786,7 @@ function createFarmConfigResolutionPlugin(options) {
|
|
|
4783
4786
|
});
|
|
4784
4787
|
if (resolved.errors.length > 0 || !resolved.path) return;
|
|
4785
4788
|
return {
|
|
4786
|
-
path: resolved.path,
|
|
4789
|
+
path: toExternalSpecifier(resolved.path),
|
|
4787
4790
|
external: true,
|
|
4788
4791
|
warnings: resolved.warnings
|
|
4789
4792
|
};
|
|
@@ -4804,7 +4807,7 @@ function createFarmConfigResolutionPlugin(options) {
|
|
|
4804
4807
|
return { path: args.path, external: true };
|
|
4805
4808
|
}
|
|
4806
4809
|
return {
|
|
4807
|
-
path: resolved.path,
|
|
4810
|
+
path: toExternalSpecifier(resolved.path),
|
|
4808
4811
|
external: true,
|
|
4809
4812
|
warnings: resolved.warnings
|
|
4810
4813
|
};
|
|
@@ -5090,6 +5093,7 @@ var init_layers = __esm({
|
|
|
5090
5093
|
__name(getFarmAppDirectories, "getFarmAppDirectories");
|
|
5091
5094
|
__name(getFarmLayerAliases, "getFarmLayerAliases");
|
|
5092
5095
|
WINDOWS_ABSOLUTE_PATH_RE = /^(?:[A-Za-z]:[\\/]|\\\\)/;
|
|
5096
|
+
__name(toExternalSpecifier, "toExternalSpecifier");
|
|
5093
5097
|
__name(createFarmConfigResolutionPlugin, "createFarmConfigResolutionPlugin");
|
|
5094
5098
|
__name(loadFarmConfigFile, "loadFarmConfigFile");
|
|
5095
5099
|
__name(onlyImportsFarmConfigHelpers, "onlyImportsFarmConfigHelpers");
|
|
@@ -14847,7 +14851,7 @@ var init_server3 = __esm({
|
|
|
14847
14851
|
var version;
|
|
14848
14852
|
var init_package = __esm({
|
|
14849
14853
|
"package.json"() {
|
|
14850
|
-
version = "0.1.0-beta.
|
|
14854
|
+
version = "0.1.0-beta.45";
|
|
14851
14855
|
}
|
|
14852
14856
|
});
|
|
14853
14857
|
|