veryfront 0.1.1029 → 0.1.1030

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/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "veryfront",
3
- "version": "0.1.1029",
3
+ "version": "0.1.1030",
4
4
  "license": "Apache-2.0",
5
5
  "nodeModulesDir": "auto",
6
6
  "minimumDependencyAge": {
@@ -1 +1 @@
1
- {"version":3,"file":"preflight-imports.d.ts","sourceRoot":"","sources":["../../../../../src/src/modules/react-loader/ssr-module-loader/preflight-imports.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAE3F,UAAU,sBAAsB;IAC9B,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,cAAc,EAAE,aAAa,EAAE,CAAC;CACjC;AAED,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,WAAW,EAAE,EACtB,QAAQ,EAAE,MAAM,EAChB,EAAE,GAAE;IAAE,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,MAAM,EAAE,OAAO,CAAA;KAAE,CAAC,CAAA;CAAuB,GAChF,OAAO,CAAC,sBAAsB,CAAC,CAgCjC"}
1
+ {"version":3,"file":"preflight-imports.d.ts","sourceRoot":"","sources":["../../../../../src/src/modules/react-loader/ssr-module-loader/preflight-imports.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAE3F,UAAU,sBAAsB;IAC9B,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,cAAc,EAAE,aAAa,EAAE,CAAC;CACjC;AAED,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,WAAW,EAAE,EACtB,QAAQ,EAAE,MAAM,EAChB,EAAE,GAAE;IAAE,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,MAAM,EAAE,OAAO,CAAA;KAAE,CAAC,CAAA;CAAuB,GAChF,OAAO,CAAC,sBAAsB,CAAC,CAmCjC"}
@@ -1,14 +1,17 @@
1
1
  import { createFileSystem } from "../../../platform/compat/fs.js";
2
+ import { isFrameworkSourcePath } from "../../../platform/compat/framework-source-resolver.js";
2
3
  export async function preflightLocalImports(imports, filePath, fs = createFileSystem()) {
3
4
  const validImports = [];
4
5
  const missingImports = [];
6
+ const localFs = createFileSystem();
5
7
  for (const imp of imports) {
6
8
  if (!imp.absolutePath.startsWith("/")) {
7
9
  validImports.push(imp);
8
10
  continue;
9
11
  }
12
+ const statFs = isFrameworkSourcePath(imp.absolutePath) ? localFs : fs;
10
13
  try {
11
- const stat = await fs.stat(imp.absolutePath);
14
+ const stat = await statFs.stat(imp.absolutePath);
12
15
  if (stat?.isFile) {
13
16
  validImports.push(imp);
14
17
  }
@@ -1,3 +1,3 @@
1
1
  /** Shared version value. */
2
- export declare const VERSION = "0.1.1029";
2
+ export declare const VERSION = "0.1.1030";
3
3
  //# sourceMappingURL=version-constant.d.ts.map
@@ -1,4 +1,4 @@
1
1
  // Keep in sync with deno.json version.
2
2
  // scripts/release.ts updates this constant during releases.
3
3
  /** Shared version value. */
4
- export const VERSION = "0.1.1029";
4
+ export const VERSION = "0.1.1030";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "veryfront",
3
- "version": "0.1.1029",
3
+ "version": "0.1.1030",
4
4
  "description": "The simplest way to build AI-powered apps",
5
5
  "keywords": [
6
6
  "react",
@@ -326,9 +326,9 @@
326
326
  "@types/react": "19.2.14",
327
327
  "@types/react-dom": "19.2.3",
328
328
  "ws": "8.21.0",
329
- "@veryfront/ext-bundler-esbuild": "0.1.1029",
330
- "@veryfront/ext-content-mdx": "0.1.1029",
331
- "@veryfront/ext-css-tailwind": "0.1.1029"
329
+ "@veryfront/ext-bundler-esbuild": "0.1.1030",
330
+ "@veryfront/ext-content-mdx": "0.1.1030",
331
+ "@veryfront/ext-css-tailwind": "0.1.1030"
332
332
  },
333
333
  "devDependencies": {
334
334
  "@types/node": "20.9.0"