@cedarjs/vite 3.0.0-canary.13596 → 3.0.0-canary.13598

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.
@@ -1,2 +1,2 @@
1
- export declare function cedarVitestPreset(): any[];
1
+ export declare function cedarVitestPreset(): (import("vite").Plugin<any> | import("vite").Plugin<any>[])[];
2
2
  //# sourceMappingURL=vite-plugin-cedar-vitest-api-preset.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vite-plugin-cedar-vitest-api-preset.d.ts","sourceRoot":"","sources":["../../src/api/vite-plugin-cedar-vitest-api-preset.ts"],"names":[],"mappings":"AAQA,wBAAgB,iBAAiB,UAOhC"}
1
+ {"version":3,"file":"vite-plugin-cedar-vitest-api-preset.d.ts","sourceRoot":"","sources":["../../src/api/vite-plugin-cedar-vitest-api-preset.ts"],"names":[],"mappings":"AAQA,wBAAgB,iBAAiB,kEAOhC"}
@@ -95,8 +95,10 @@ async function createServer() {
95
95
  // Server store has to be externalized, because it's a singleton (shared between FW and App)
96
96
  external: [
97
97
  "@prisma/client",
98
+ "@prisma/adapter-better-sqlite3",
98
99
  "@prisma/fetch-engine",
99
100
  "@prisma/internals",
101
+ "better-sqlite3",
100
102
  "@cedarjs/auth-dbauth-api",
101
103
  "@cedarjs/cookie-jar",
102
104
  "@cedarjs/server-store",
@@ -188,8 +190,10 @@ async function createServer() {
188
190
  // Server store has to be externalized, because it's a singleton (shared between FW and App)
189
191
  external: [
190
192
  "@prisma/client",
193
+ "@prisma/adapter-better-sqlite3",
191
194
  "@prisma/fetch-engine",
192
195
  "@prisma/internals",
196
+ "better-sqlite3",
193
197
  "@cedarjs/auth-dbauth-api",
194
198
  "@cedarjs/cookie-jar",
195
199
  "@cedarjs/server-store",
@@ -21,7 +21,9 @@ __export(registerFwGlobalsAndShims_exports, {
21
21
  registerFwGlobalsAndShims: () => registerFwGlobalsAndShims
22
22
  });
23
23
  module.exports = __toCommonJS(registerFwGlobalsAndShims_exports);
24
+ var import_node_module = require("node:module");
24
25
  var import_project_config = require("@cedarjs/project-config");
26
+ const import_meta = {};
25
27
  const registerFwGlobalsAndShims = () => {
26
28
  registerFwGlobals();
27
29
  registerFwShims();
@@ -98,6 +100,7 @@ function registerFwShims() {
98
100
  console.log("registerFwShims require id", id);
99
101
  return globalThis.__rw_module_cache__.get(id);
100
102
  };
103
+ globalThis.__non_webpack_require__ ||= (0, import_node_module.createRequire)(import_meta.url);
101
104
  }
102
105
  function swapLocalhostFor127(hostString) {
103
106
  return hostString.replace("localhost", "127.0.0.1");
@@ -60,8 +60,10 @@ async function rscBuildAnalyze() {
60
60
  // it means we can skip analyzing them, which means faster build times.
61
61
  external: [
62
62
  "@prisma/client",
63
+ "@prisma/adapter-better-sqlite3",
63
64
  "@prisma/fetch-engine",
64
65
  "@prisma/internals",
66
+ "better-sqlite3",
65
67
  "@cedarjs/auth-dbauth-api",
66
68
  "@cedarjs/cookie-jar",
67
69
  "@cedarjs/server-store",
@@ -62,8 +62,10 @@ async function rscBuildForServer(clientEntryFiles, serverEntryFiles, customModul
62
62
  // Server store has to be externalized, because it's a singleton (shared between FW and App)
63
63
  external: [
64
64
  "@prisma/client",
65
+ "@prisma/adapter-better-sqlite3",
65
66
  "@prisma/fetch-engine",
66
67
  "@prisma/internals",
68
+ "better-sqlite3",
67
69
  "@cedarjs/auth-dbauth-api",
68
70
  "@cedarjs/cookie-jar",
69
71
  "@cedarjs/server-store",
@@ -67,8 +67,10 @@ async function rscBuildForSsr({
67
67
  noExternal: true,
68
68
  external: [
69
69
  "@prisma/client",
70
+ "@prisma/adapter-better-sqlite3",
70
71
  "@prisma/fetch-engine",
71
72
  "@prisma/internals",
73
+ "better-sqlite3",
72
74
  "@cedarjs/auth-dbauth-api",
73
75
  "@cedarjs/cookie-jar",
74
76
  "@cedarjs/server-store",
@@ -75,8 +75,10 @@ async function createServer() {
75
75
  // Server store has to be externalized, because it's a singleton (shared between FW and App)
76
76
  external: [
77
77
  "@prisma/client",
78
+ "@prisma/adapter-better-sqlite3",
78
79
  "@prisma/fetch-engine",
79
80
  "@prisma/internals",
81
+ "better-sqlite3",
80
82
  "@cedarjs/auth-dbauth-api",
81
83
  "@cedarjs/cookie-jar",
82
84
  "@cedarjs/server-store",
@@ -168,8 +170,10 @@ async function createServer() {
168
170
  // Server store has to be externalized, because it's a singleton (shared between FW and App)
169
171
  external: [
170
172
  "@prisma/client",
173
+ "@prisma/adapter-better-sqlite3",
171
174
  "@prisma/fetch-engine",
172
175
  "@prisma/internals",
176
+ "better-sqlite3",
173
177
  "@cedarjs/auth-dbauth-api",
174
178
  "@cedarjs/cookie-jar",
175
179
  "@cedarjs/server-store",
@@ -1 +1 @@
1
- {"version":3,"file":"registerFwGlobalsAndShims.d.ts","sourceRoot":"","sources":["../../src/lib/registerFwGlobalsAndShims.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,eAAO,MAAM,yBAAyB,YAGrC,CAAA"}
1
+ {"version":3,"file":"registerFwGlobalsAndShims.d.ts","sourceRoot":"","sources":["../../src/lib/registerFwGlobalsAndShims.ts"],"names":[],"mappings":"AAIA;;;;;;;;;GASG;AACH,eAAO,MAAM,yBAAyB,YAGrC,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { createRequire } from "node:module";
1
2
  import { getConfig, getEnvVarDefinitions } from "@cedarjs/project-config";
2
3
  const registerFwGlobalsAndShims = () => {
3
4
  registerFwGlobals();
@@ -75,6 +76,7 @@ function registerFwShims() {
75
76
  console.log("registerFwShims require id", id);
76
77
  return globalThis.__rw_module_cache__.get(id);
77
78
  };
79
+ globalThis.__non_webpack_require__ ||= createRequire(import.meta.url);
78
80
  }
79
81
  function swapLocalhostFor127(hostString) {
80
82
  return hostString.replace("localhost", "127.0.0.1");
@@ -1 +1 @@
1
- {"version":3,"file":"rscBuildAnalyze.d.ts","sourceRoot":"","sources":["../../src/rsc/rscBuildAnalyze.ts"],"names":[],"mappings":"AAQA;;;;;;GAMG;AACH,wBAAsB,eAAe;;;;;;;GAgGpC"}
1
+ {"version":3,"file":"rscBuildAnalyze.d.ts","sourceRoot":"","sources":["../../src/rsc/rscBuildAnalyze.ts"],"names":[],"mappings":"AAQA;;;;;;GAMG;AACH,wBAAsB,eAAe;;;;;;;GAkGpC"}
@@ -37,8 +37,10 @@ async function rscBuildAnalyze() {
37
37
  // it means we can skip analyzing them, which means faster build times.
38
38
  external: [
39
39
  "@prisma/client",
40
+ "@prisma/adapter-better-sqlite3",
40
41
  "@prisma/fetch-engine",
41
42
  "@prisma/internals",
43
+ "better-sqlite3",
42
44
  "@cedarjs/auth-dbauth-api",
43
45
  "@cedarjs/cookie-jar",
44
46
  "@cedarjs/server-store",
@@ -1 +1 @@
1
- {"version":3,"file":"rscBuildForServer.d.ts","sourceRoot":"","sources":["../../src/rsc/rscBuildForServer.ts"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,wBAAsB,iBAAiB,CACrC,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACxC,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACxC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,+GAyItC"}
1
+ {"version":3,"file":"rscBuildForServer.d.ts","sourceRoot":"","sources":["../../src/rsc/rscBuildForServer.ts"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,wBAAsB,iBAAiB,CACrC,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACxC,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACxC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,+GA2ItC"}
@@ -39,8 +39,10 @@ async function rscBuildForServer(clientEntryFiles, serverEntryFiles, customModul
39
39
  // Server store has to be externalized, because it's a singleton (shared between FW and App)
40
40
  external: [
41
41
  "@prisma/client",
42
+ "@prisma/adapter-better-sqlite3",
42
43
  "@prisma/fetch-engine",
43
44
  "@prisma/internals",
45
+ "better-sqlite3",
44
46
  "@cedarjs/auth-dbauth-api",
45
47
  "@cedarjs/cookie-jar",
46
48
  "@cedarjs/server-store",
@@ -1 +1 @@
1
- {"version":3,"file":"rscBuildForSsr.d.ts","sourceRoot":"","sources":["../../src/rsc/rscBuildForSsr.ts"],"names":[],"mappings":"AAWA;;;GAGG;AACH,wBAAsB,cAAc,CAAC,EACnC,gBAAgB,EAChB,OAAe,GAChB,EAAE;IACD,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACxC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,+GA2IA"}
1
+ {"version":3,"file":"rscBuildForSsr.d.ts","sourceRoot":"","sources":["../../src/rsc/rscBuildForSsr.ts"],"names":[],"mappings":"AAWA;;;GAGG;AACH,wBAAsB,cAAc,CAAC,EACnC,gBAAgB,EAChB,OAAe,GAChB,EAAE;IACD,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACxC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,+GA6IA"}
@@ -34,8 +34,10 @@ async function rscBuildForSsr({
34
34
  noExternal: true,
35
35
  external: [
36
36
  "@prisma/client",
37
+ "@prisma/adapter-better-sqlite3",
37
38
  "@prisma/fetch-engine",
38
39
  "@prisma/internals",
40
+ "better-sqlite3",
39
41
  "@cedarjs/auth-dbauth-api",
40
42
  "@cedarjs/cookie-jar",
41
43
  "@cedarjs/server-store",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/vite",
3
- "version": "3.0.0-canary.13596+e3364d309",
3
+ "version": "3.0.0-canary.13598+4f325b500",
4
4
  "description": "Vite configuration package for CedarJS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -64,14 +64,14 @@
64
64
  "@babel/generator": "7.29.1",
65
65
  "@babel/parser": "7.29.0",
66
66
  "@babel/traverse": "7.29.0",
67
- "@cedarjs/auth": "3.0.0-canary.13596",
68
- "@cedarjs/babel-config": "3.0.0-canary.13596",
69
- "@cedarjs/cookie-jar": "3.0.0-canary.13596",
70
- "@cedarjs/internal": "3.0.0-canary.13596",
71
- "@cedarjs/project-config": "3.0.0-canary.13596",
72
- "@cedarjs/server-store": "3.0.0-canary.13596",
73
- "@cedarjs/testing": "3.0.0-canary.13596",
74
- "@cedarjs/web": "3.0.0-canary.13596",
67
+ "@cedarjs/auth": "3.0.0-canary.13598",
68
+ "@cedarjs/babel-config": "3.0.0-canary.13598",
69
+ "@cedarjs/cookie-jar": "3.0.0-canary.13598",
70
+ "@cedarjs/internal": "3.0.0-canary.13598",
71
+ "@cedarjs/project-config": "3.0.0-canary.13598",
72
+ "@cedarjs/server-store": "3.0.0-canary.13598",
73
+ "@cedarjs/testing": "3.0.0-canary.13598",
74
+ "@cedarjs/web": "3.0.0-canary.13598",
75
75
  "@swc/core": "1.15.18",
76
76
  "@vitejs/plugin-react": "4.7.0",
77
77
  "@whatwg-node/fetch": "0.10.13",
@@ -116,5 +116,5 @@
116
116
  "publishConfig": {
117
117
  "access": "public"
118
118
  },
119
- "gitHead": "e3364d3098475cbd73b315c90f60845f69838bc1"
119
+ "gitHead": "4f325b500632f005397e26cd80f46f8ab5a98494"
120
120
  }