one 1.1.427 → 1.1.428

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.
@@ -263,7 +263,7 @@ async function build(args) {
263
263
  });
264
264
  }
265
265
  const isDynamic = !!Object.keys(foundRoute.routeKeys).length;
266
- if (foundRoute.type !== "ssr" && isDynamic && !foundRoute.page.includes("+not-found") && !foundRoute.page.includes("_sitemap") && !exported.generateStaticParams) throw new Error(`[one] Error: Missing generateStaticParams
266
+ if (foundRoute.type === "ssg" && isDynamic && !foundRoute.page.includes("+not-found") && !foundRoute.page.includes("_sitemap") && !exported.generateStaticParams) throw new Error(`[one] Error: Missing generateStaticParams
267
267
 
268
268
  Route ${foundRoute.page} of type ${foundRoute.type} must export generateStaticParams so build can complete.
269
269
 
@@ -228,7 +228,7 @@ async function build(args) {
228
228
  });
229
229
  }
230
230
  const isDynamic = !!Object.keys(foundRoute.routeKeys).length;
231
- if (foundRoute.type !== "ssr" && isDynamic && !foundRoute.page.includes("+not-found") && !foundRoute.page.includes("_sitemap") && !exported.generateStaticParams)
231
+ if (foundRoute.type === "ssg" && isDynamic && !foundRoute.page.includes("+not-found") && !foundRoute.page.includes("_sitemap") && !exported.generateStaticParams)
232
232
  throw new Error(`[one] Error: Missing generateStaticParams
233
233
 
234
234
  Route ${foundRoute.page} of type ${foundRoute.type} must export generateStaticParams so build can complete.
@@ -281,7 +281,7 @@ async function build(args) {
281
281
  });
282
282
  }
283
283
  var isDynamic = !!Object.keys(foundRoute.routeKeys).length;
284
- if (foundRoute.type !== "ssr" && isDynamic && !foundRoute.page.includes("+not-found") && !foundRoute.page.includes("_sitemap") && !exported.generateStaticParams)
284
+ if (foundRoute.type === "ssg" && isDynamic && !foundRoute.page.includes("+not-found") && !foundRoute.page.includes("_sitemap") && !exported.generateStaticParams)
285
285
  throw new Error(`[one] Error: Missing generateStaticParams
286
286
 
287
287
  Route ${foundRoute.page} of type ${foundRoute.type} must export generateStaticParams so build can complete.
@@ -221,7 +221,7 @@ async function build(args) {
221
221
  });
222
222
  }
223
223
  const isDynamic = !!Object.keys(foundRoute.routeKeys).length;
224
- if (foundRoute.type !== "ssr" && isDynamic && !foundRoute.page.includes("+not-found") && !foundRoute.page.includes("_sitemap") && !exported.generateStaticParams)
224
+ if (foundRoute.type === "ssg" && isDynamic && !foundRoute.page.includes("+not-found") && !foundRoute.page.includes("_sitemap") && !exported.generateStaticParams)
225
225
  throw new Error(`[one] Error: Missing generateStaticParams
226
226
 
227
227
  Route ${foundRoute.page} of type ${foundRoute.type} must export generateStaticParams so build can complete.
@@ -226,7 +226,7 @@ async function build(args) {
226
226
  });
227
227
  }
228
228
  const isDynamic = !!Object.keys(foundRoute.routeKeys).length;
229
- if (foundRoute.type !== "ssr" && isDynamic && !foundRoute.page.includes("+not-found") && !foundRoute.page.includes("_sitemap") && !exported.generateStaticParams) throw new Error(`[one] Error: Missing generateStaticParams
229
+ if (foundRoute.type === "ssg" && isDynamic && !foundRoute.page.includes("+not-found") && !foundRoute.page.includes("_sitemap") && !exported.generateStaticParams) throw new Error(`[one] Error: Missing generateStaticParams
230
230
 
231
231
  Route ${foundRoute.page} of type ${foundRoute.type} must export generateStaticParams so build can complete.
232
232
 
@@ -266,7 +266,7 @@ async function build(args) {
266
266
  });
267
267
  }
268
268
  var isDynamic = !!Object.keys(foundRoute.routeKeys).length;
269
- if (foundRoute.type !== "ssr" && isDynamic && !foundRoute.page.includes("+not-found") && !foundRoute.page.includes("_sitemap") && !exported.generateStaticParams)
269
+ if (foundRoute.type === "ssg" && isDynamic && !foundRoute.page.includes("+not-found") && !foundRoute.page.includes("_sitemap") && !exported.generateStaticParams)
270
270
  throw new Error(`[one] Error: Missing generateStaticParams
271
271
 
272
272
  Route ${foundRoute.page} of type ${foundRoute.type} must export generateStaticParams so build can complete.
@@ -1 +1 @@
1
- {"version":3,"names":["loadUserOneOptions","run","args","patch","options","root","process","cwd","deps"],"sources":["../../../src/cli/patch.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,kBAAA,QAA0B;AAEnC,eAAsBC,IAAIC,IAAA,EAAU;EAClC,MAAM;MAAEC;IAAM,IAAI,MAAM,OAAO,MAAM;IAE/BC,OAAA,GAAU,MAAMJ,kBAAA,CAAmB,OAAO;EAEhD,MAAMG,KAAA,CAAM;IACVE,IAAA,EAAMC,OAAA,CAAQC,GAAA,CAAI;IAClBC,IAAA,EAAMJ,OAAA,CAAQI;EAChB,CAAC;AACH","ignoreList":[]}
1
+ {"version":3,"names":["loadUserOneOptions","run","args","patch","options","root","process","cwd","deps"],"sources":["../../../src/cli/patch.ts"],"sourcesContent":[null],"mappings":"AACA,SAASA,kBAAA,QAA0B;AAEnC,eAAsBC,IAAIC,IAAA,EAAU;EAClC,MAAM;MAAEC;IAAM,IAAI,MAAM,OAAO,MAAM;IAE/BC,OAAA,GAAU,MAAMJ,kBAAA,CAAmB,OAAO;EAEhD,MAAMG,KAAA,CAAM;IACVE,IAAA,EAAMC,OAAA,CAAQC,GAAA,CAAI;IAClBC,IAAA,EAAMJ,OAAA,CAAQI;EAChB,CAAC;AACH","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "one",
3
- "version": "1.1.427",
3
+ "version": "1.1.428",
4
4
  "license": "BSD-3-Clause",
5
5
  "sideEffects": [
6
6
  "setup.mjs",
@@ -94,15 +94,15 @@
94
94
  "@react-navigation/routers": "~7",
95
95
  "@swc/core": "^1.10.4",
96
96
  "@ungap/structured-clone": "^1.2.0",
97
- "@vxrn/compiler": "1.1.427",
98
- "@vxrn/resolve": "1.1.427",
99
- "@vxrn/tslib-lite": "1.1.427",
100
- "@vxrn/universal-color-scheme": "1.1.427",
101
- "@vxrn/use-isomorphic-layout-effect": "1.1.427",
97
+ "@vxrn/compiler": "1.1.428",
98
+ "@vxrn/resolve": "1.1.428",
99
+ "@vxrn/tslib-lite": "1.1.428",
100
+ "@vxrn/universal-color-scheme": "1.1.428",
101
+ "@vxrn/use-isomorphic-layout-effect": "1.1.428",
102
102
  "babel-dead-code-elimination": "^1.0.6",
103
103
  "citty": "^0.1.6",
104
104
  "core-js": "^3.38.1",
105
- "create-vxrn": "1.1.427",
105
+ "create-vxrn": "1.1.428",
106
106
  "escape-string-regexp": "^5.0.0",
107
107
  "expo-linking": "~6.3.1",
108
108
  "expo-modules-core": "2.1.2",
@@ -129,12 +129,12 @@
129
129
  "vite": "^6.0.11",
130
130
  "vite-plugin-barrel": "^0.4.1",
131
131
  "vite-tsconfig-paths": "^5.0.1",
132
- "vxrn": "1.1.427",
132
+ "vxrn": "1.1.428",
133
133
  "ws": "^8.18.0",
134
134
  "xxhashjs": "^0.2.2"
135
135
  },
136
136
  "devDependencies": {
137
- "@tamagui/build": "^1.123.7",
137
+ "@tamagui/build": "^1.123.9",
138
138
  "@types/node": "^22.1.0",
139
139
  "@types/react-dom": "^18.2.25",
140
140
  "@types/xxhashjs": "^0.2.4",
package/src/cli/build.ts CHANGED
@@ -387,7 +387,7 @@ export async function build(args: {
387
387
  const isDynamic = !!Object.keys(foundRoute.routeKeys).length
388
388
 
389
389
  if (
390
- foundRoute.type !== 'ssr' &&
390
+ foundRoute.type === 'ssg' &&
391
391
  isDynamic &&
392
392
  !foundRoute.page.includes('+not-found') &&
393
393
  !foundRoute.page.includes('_sitemap') &&