@cedarjs/vite 5.0.0-canary.2511 → 5.0.0-canary.2513

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/dist/cjs/utils.js CHANGED
@@ -27,6 +27,7 @@ __export(utils_exports, {
27
27
  });
28
28
  module.exports = __toCommonJS(utils_exports);
29
29
  var import_node_url = require("node:url");
30
+ var import_display = require("@cedarjs/cli-helpers/packageManager/display");
30
31
  var import_project_config = require("@cedarjs/project-config");
31
32
  function stripQueryStringAndHashFromPath(url) {
32
33
  return url.split("?")[0].split("#")[0];
@@ -36,7 +37,7 @@ function ensureProcessDirWeb(webDir = (0, import_project_config.getPaths)().web.
36
37
  console.error("\u26A0\uFE0F Warning: CWD is ", process.cwd());
37
38
  console.warn("~".repeat(50));
38
39
  console.warn(
39
- "The cwd must be web/. Please use `yarn cedar <command>` or run the command from the web/ directory."
40
+ `The cwd must be web/. Please use \`${(0, import_display.formatCedarCommand)(["<command>"])}\` or run the command from the web/ directory.`
40
41
  );
41
42
  console.log(`Changing cwd to ${webDir}....`);
42
43
  console.log();
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,SAAS,CAAA;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;AAIzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAE7C,wBAAgB,+BAA+B,CAAC,GAAG,EAAE,MAAM,UAE1D;AAID,wBAAgB,mBAAmB,CAAC,MAAM,GAAE,MAA4B,QAYvE;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,UAExC;AAED,wBAAsB,kBAAkB,CAAC,aAAa,EAAE,aAAa,wBAYpE;AAED,wBAAgB,qBAAqB,CACnC,sBAAsB,EAAE,cAAc,CAAC,iBAAiB,CAAC,WAc1D;AAED,eAAO,MAAM,UAAU,GAAI,KAAK,cAAc,EAAE,YAAY,OAAO,WAiBlE,CAAA"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,SAAS,CAAA;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;AAKzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAE7C,wBAAgB,+BAA+B,CAAC,GAAG,EAAE,MAAM,UAE1D;AAID,wBAAgB,mBAAmB,CAAC,MAAM,GAAE,MAA4B,QAYvE;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,UAExC;AAED,wBAAsB,kBAAkB,CAAC,aAAa,EAAE,aAAa,wBAYpE;AAED,wBAAgB,qBAAqB,CACnC,sBAAsB,EAAE,cAAc,CAAC,iBAAiB,CAAC,WAc1D;AAED,eAAO,MAAM,UAAU,GAAI,KAAK,cAAc,EAAE,YAAY,OAAO,WAiBlE,CAAA"}
package/dist/utils.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import { pathToFileURL } from "node:url";
2
+ import { formatCedarCommand } from "@cedarjs/cli-helpers/packageManager/display";
2
3
  import { getPaths } from "@cedarjs/project-config";
3
4
  function stripQueryStringAndHashFromPath(url) {
4
5
  return url.split("?")[0].split("#")[0];
@@ -8,7 +9,7 @@ function ensureProcessDirWeb(webDir = getPaths().web.base) {
8
9
  console.error("\u26A0\uFE0F Warning: CWD is ", process.cwd());
9
10
  console.warn("~".repeat(50));
10
11
  console.warn(
11
- "The cwd must be web/. Please use `yarn cedar <command>` or run the command from the web/ directory."
12
+ `The cwd must be web/. Please use \`${formatCedarCommand(["<command>"])}\` or run the command from the web/ directory.`
12
13
  );
13
14
  console.log(`Changing cwd to ${webDir}....`);
14
15
  console.log();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/vite",
3
- "version": "5.0.0-canary.2511",
3
+ "version": "5.0.0-canary.2513",
4
4
  "description": "Vite configuration package for CedarJS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -69,17 +69,18 @@
69
69
  "@babel/generator": "7.29.1",
70
70
  "@babel/parser": "7.29.3",
71
71
  "@babel/traverse": "7.29.0",
72
- "@cedarjs/api": "5.0.0-canary.2511",
73
- "@cedarjs/auth": "5.0.0-canary.2511",
74
- "@cedarjs/babel-config": "5.0.0-canary.2511",
75
- "@cedarjs/context": "5.0.0-canary.2511",
76
- "@cedarjs/cookie-jar": "5.0.0-canary.2511",
77
- "@cedarjs/graphql-server": "5.0.0-canary.2511",
78
- "@cedarjs/internal": "5.0.0-canary.2511",
79
- "@cedarjs/project-config": "5.0.0-canary.2511",
80
- "@cedarjs/server-store": "5.0.0-canary.2511",
81
- "@cedarjs/testing": "5.0.0-canary.2511",
82
- "@cedarjs/web": "5.0.0-canary.2511",
72
+ "@cedarjs/api": "5.0.0-canary.2513",
73
+ "@cedarjs/auth": "5.0.0-canary.2513",
74
+ "@cedarjs/babel-config": "5.0.0-canary.2513",
75
+ "@cedarjs/cli-helpers": "5.0.0-canary.2513",
76
+ "@cedarjs/context": "5.0.0-canary.2513",
77
+ "@cedarjs/cookie-jar": "5.0.0-canary.2513",
78
+ "@cedarjs/graphql-server": "5.0.0-canary.2513",
79
+ "@cedarjs/internal": "5.0.0-canary.2513",
80
+ "@cedarjs/project-config": "5.0.0-canary.2513",
81
+ "@cedarjs/server-store": "5.0.0-canary.2513",
82
+ "@cedarjs/testing": "5.0.0-canary.2513",
83
+ "@cedarjs/web": "5.0.0-canary.2513",
83
84
  "@fastify/url-data": "6.0.3",
84
85
  "@swc/core": "1.15.41",
85
86
  "@universal-deploy/store": "^0.2.1",