@cedarjs/vite 6.0.0 → 6.0.1-rc.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/vite",
3
- "version": "6.0.0",
3
+ "version": "6.0.1-rc.6",
4
4
  "description": "Vite configuration package for CedarJS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -52,18 +52,18 @@
52
52
  "@babel/parser": "7.29.8",
53
53
  "@babel/traverse": "7.29.8",
54
54
  "@babel/types": "7.29.8",
55
- "@cedarjs/api": "6.0.0",
56
- "@cedarjs/api-server": "6.0.0",
57
- "@cedarjs/babel-config": "6.0.0",
58
- "@cedarjs/context": "6.0.0",
59
- "@cedarjs/graphql-server": "6.0.0",
60
- "@cedarjs/internal": "6.0.0",
61
- "@cedarjs/jobs": "6.0.0",
62
- "@cedarjs/project-config": "6.0.0",
63
- "@cedarjs/server-store": "6.0.0",
64
- "@cedarjs/structure": "6.0.0",
65
- "@cedarjs/testing": "6.0.0",
66
- "@swc/core": "1.16.0",
55
+ "@cedarjs/api": "6.0.1-rc.6",
56
+ "@cedarjs/api-server": "6.0.1-rc.6",
57
+ "@cedarjs/babel-config": "6.0.1-rc.6",
58
+ "@cedarjs/context": "6.0.1-rc.6",
59
+ "@cedarjs/graphql-server": "6.0.1-rc.6",
60
+ "@cedarjs/internal": "6.0.1-rc.6",
61
+ "@cedarjs/jobs": "6.0.1-rc.6",
62
+ "@cedarjs/project-config": "6.0.1-rc.6",
63
+ "@cedarjs/server-store": "6.0.1-rc.6",
64
+ "@cedarjs/structure": "6.0.1-rc.6",
65
+ "@cedarjs/testing": "6.0.1-rc.6",
66
+ "@swc/core": "1.16.1",
67
67
  "@universal-deploy/store": "^0.2.1",
68
68
  "@universal-deploy/vite": "^0.1.9",
69
69
  "@vitejs/plugin-react": "4.7.0",
@@ -81,7 +81,6 @@
81
81
  "isbot": "5.2.1",
82
82
  "magic-string": "0.30.21",
83
83
  "oxc-parser": "0.144.0",
84
- "react": "18.3.1",
85
84
  "react-server-dom-webpack": "19.2.7",
86
85
  "unimport": "5.7.0",
87
86
  "unplugin-auto-import": "19.3.0",
@@ -93,10 +92,10 @@
93
92
  "yargs-parser": "21.1.1"
94
93
  },
95
94
  "devDependencies": {
96
- "@cedarjs/auth": "6.0.0",
97
- "@cedarjs/framework-tools": "6.0.0",
98
- "@cedarjs/router": "6.0.0",
99
- "@cedarjs/web": "6.0.0",
95
+ "@cedarjs/auth": "6.0.1-rc.6",
96
+ "@cedarjs/framework-tools": "6.0.1-rc.6",
97
+ "@cedarjs/router": "6.0.1-rc.6",
98
+ "@cedarjs/web": "6.0.1-rc.6",
100
99
  "@dr.pogodin/react-helmet": "2.0.4",
101
100
  "@hyrious/esbuild-plugin-commonjs": "0.2.6",
102
101
  "@jridgewell/trace-mapping": "0.3.31",
@@ -110,15 +109,19 @@
110
109
  "concurrently": "9.2.4",
111
110
  "memfs": "4.68.1",
112
111
  "publint": "0.3.23",
112
+ "react": "18.3.1",
113
+ "react-dom": "18.3.1",
113
114
  "rollup": "4.60.4",
114
115
  "ts-dedent": "2.3.0",
115
116
  "typescript": "5.9.3",
116
117
  "vitest": "4.1.10"
117
118
  },
118
119
  "peerDependencies": {
119
- "@cedarjs/auth": "6.0.0",
120
- "@cedarjs/router": "6.0.0",
121
- "@cedarjs/web": "6.0.0"
120
+ "@cedarjs/auth": "6.0.1-rc.6",
121
+ "@cedarjs/router": "6.0.1-rc.6",
122
+ "@cedarjs/web": "6.0.1-rc.6",
123
+ "react": "18.3.1",
124
+ "react-dom": "18.3.1"
122
125
  },
123
126
  "engines": {
124
127
  "node": ">=24"
@@ -1,2 +0,0 @@
1
- export declare function createWebSocketServer(): void;
2
- //# sourceMappingURL=rscWebSocketServer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rscWebSocketServer.d.ts","sourceRoot":"","sources":["../../src/rsc/rscWebSocketServer.ts"],"names":[],"mappings":"AAEA,wBAAgB,qBAAqB,SAwBpC"}
@@ -1,22 +0,0 @@
1
- import WebSocket, { WebSocketServer } from "ws";
2
- function createWebSocketServer() {
3
- const wsServer = new WebSocketServer({ port: 18998 });
4
- wsServer.on("connection", (ws) => {
5
- console.log("A new client connected.");
6
- ws.on("message", (data) => {
7
- const message = data.toString();
8
- console.log("Received message:", message);
9
- wsServer.clients.forEach((client) => {
10
- if (client.readyState === WebSocket.OPEN) {
11
- client.send(message);
12
- }
13
- });
14
- });
15
- ws.on("close", () => {
16
- console.log("A client disconnected.");
17
- });
18
- });
19
- }
20
- export {
21
- createWebSocketServer
22
- };
@@ -1,10 +0,0 @@
1
- import type { default as RSDWServerModule } from 'react-server-dom-webpack/server.edge';
2
- type RSDWServerType = typeof RSDWServerModule;
3
- /**
4
- * This function ensures we load the version of React that's been imported with
5
- * the react-server condition.
6
- */
7
- export declare function importRscReact(): Promise<any>;
8
- export declare function importRsdwServer(): Promise<RSDWServerType>;
9
- export {};
10
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/rsc/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,sCAAsC,CAAA;AAEvF,KAAK,cAAc,GAAG,OAAO,gBAAgB,CAAA;AAE7C;;;GAGG;AACH,wBAAsB,cAAc,iBAQnC;AAED,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,cAAc,CAAC,CAUhE"}
package/dist/rsc/utils.js DELETED
@@ -1,21 +0,0 @@
1
- async function importRscReact() {
2
- if (globalThis.__cedarjs__vite_rsc_runtime) {
3
- const reactMod = await globalThis.__cedarjs__vite_rsc_runtime.import("react");
4
- return reactMod.default;
5
- }
6
- return import("react");
7
- }
8
- async function importRsdwServer() {
9
- if (globalThis.__cedarjs__vite_rsc_runtime) {
10
- const rsdwServerMod = await globalThis.__cedarjs__vite_rsc_runtime.import(
11
- "react-server-dom-webpack/server.edge"
12
- );
13
- return rsdwServerMod.default;
14
- } else {
15
- return import("react-server-dom-webpack/server.edge");
16
- }
17
- }
18
- export {
19
- importRscReact,
20
- importRsdwServer
21
- };