@cedarjs/vite 2.0.0 → 2.0.1-next.23

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.
@@ -15,7 +15,7 @@ const startDevServer = async () => {
15
15
 
16
16
  // Tries to maintain the same options as vite's dev cli
17
17
  // See here: https://github.com/vitejs/vite/blob/main/packages/vite/src/node/cli.ts#L103
18
- // e.g. yarn rw dev web --fwd="--force"
18
+ // e.g. yarn cedar dev web --fwd="--force"
19
19
  const {
20
20
  force: forceOptimize,
21
21
  forwardedServerArgs,
@@ -14,7 +14,7 @@ const buildFeServer = async ({ verbose, webDir } = {}) => {
14
14
  const streamingSsrEnabled = rwConfig.experimental?.streamingSsr?.enabled;
15
15
  if (!viteConfigPath) {
16
16
  throw new Error(
17
- "Vite config not found. You need to setup your project with Vite using `yarn rw setup vite`"
17
+ "Vite config not found. You need to setup your project with Vite using `yarn cedar setup vite`"
18
18
  );
19
19
  }
20
20
  if (!rwPaths.web.entryServer || !rwPaths.web.entryClient) {
@@ -37,7 +37,7 @@ const buildFeServer = async ({ verbose, webDir } = {}) => {
37
37
  const streamingSsrEnabled = rwConfig.experimental?.streamingSsr?.enabled;
38
38
  if (!viteConfigPath) {
39
39
  throw new Error(
40
- "Vite config not found. You need to setup your project with Vite using `yarn rw setup vite`"
40
+ "Vite config not found. You need to setup your project with Vite using `yarn cedar setup vite`"
41
41
  );
42
42
  }
43
43
  if (!rwPaths.web.entryServer || !rwPaths.web.entryClient) {
@@ -59,7 +59,7 @@ async function createServer() {
59
59
  }
60
60
  if (!rwPaths.web.viteConfig) {
61
61
  throw new Error(
62
- "Vite config not found. You need to setup your project with Vite using `yarn rw setup vite`"
62
+ "Vite config not found. You need to setup your project with Vite using `yarn cedar setup vite`"
63
63
  );
64
64
  }
65
65
  const vite = await (0, import_vite.createServer)({
package/dist/cjs/utils.js CHANGED
@@ -36,7 +36,7 @@ function ensureProcessDirWeb(webDir = (0, import_project_config.getPaths)().web.
36
36
  console.error("\u26A0\uFE0F Warning: CWD is ", process.cwd());
37
37
  console.warn("~".repeat(50));
38
38
  console.warn(
39
- "The cwd must be web/. Please use `yarn rw <command>` or run the command from the web/ directory."
39
+ "The cwd must be web/. Please use `yarn cedar <command>` or run the command from the web/ directory."
40
40
  );
41
41
  console.log(`Changing cwd to ${webDir}....`);
42
42
  console.log();
@@ -40,7 +40,7 @@ async function createServer() {
40
40
  }
41
41
  if (!rwPaths.web.viteConfig) {
42
42
  throw new Error(
43
- "Vite config not found. You need to setup your project with Vite using `yarn rw setup vite`"
43
+ "Vite config not found. You need to setup your project with Vite using `yarn cedar setup vite`"
44
44
  );
45
45
  }
46
46
  const vite = await createViteServer({
File without changes
package/dist/utils.js CHANGED
@@ -8,7 +8,7 @@ function ensureProcessDirWeb(webDir = getPaths().web.base) {
8
8
  console.error("\u26A0\uFE0F Warning: CWD is ", process.cwd());
9
9
  console.warn("~".repeat(50));
10
10
  console.warn(
11
- "The cwd must be web/. Please use `yarn rw <command>` or run the command from the web/ directory."
11
+ "The cwd must be web/. Please use `yarn cedar <command>` or run the command from the web/ directory."
12
12
  );
13
13
  console.log(`Changing cwd to ${webDir}....`);
14
14
  console.log();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/vite",
3
- "version": "2.0.0",
3
+ "version": "2.0.1-next.23+ee9637a66",
4
4
  "description": "Vite configuration package for CedarJS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -64,14 +64,14 @@
64
64
  "@babel/generator": "7.27.5",
65
65
  "@babel/parser": "7.27.5",
66
66
  "@babel/traverse": "7.27.4",
67
- "@cedarjs/auth": "2.0.0",
68
- "@cedarjs/babel-config": "2.0.0",
69
- "@cedarjs/cookie-jar": "2.0.0",
70
- "@cedarjs/internal": "2.0.0",
71
- "@cedarjs/project-config": "2.0.0",
72
- "@cedarjs/server-store": "2.0.0",
73
- "@cedarjs/testing": "2.0.0",
74
- "@cedarjs/web": "2.0.0",
67
+ "@cedarjs/auth": "2.0.1-next.23+ee9637a66",
68
+ "@cedarjs/babel-config": "2.0.1-next.23+ee9637a66",
69
+ "@cedarjs/cookie-jar": "2.0.1-next.23+ee9637a66",
70
+ "@cedarjs/internal": "2.0.1-next.23+ee9637a66",
71
+ "@cedarjs/project-config": "2.0.1-next.23+ee9637a66",
72
+ "@cedarjs/server-store": "2.0.1-next.23+ee9637a66",
73
+ "@cedarjs/testing": "2.0.1-next.23+ee9637a66",
74
+ "@cedarjs/web": "2.0.1-next.23+ee9637a66",
75
75
  "@swc/core": "1.13.5",
76
76
  "@vitejs/plugin-react": "4.3.4",
77
77
  "@whatwg-node/fetch": "0.9.21",
@@ -112,11 +112,11 @@
112
112
  "publint": "0.3.12",
113
113
  "rollup": "4.24.0",
114
114
  "tsx": "4.20.5",
115
- "typescript": "5.9.2",
115
+ "typescript": "5.9.3",
116
116
  "vitest": "3.2.4"
117
117
  },
118
118
  "publishConfig": {
119
119
  "access": "public"
120
120
  },
121
- "gitHead": "8ca868abf6694a49d0745a41437a60328aba31a4"
121
+ "gitHead": "ee9637a6646277cf451b4bc1f84718a97f336889"
122
122
  }