@cedarjs/vite 5.0.0-canary.2540 → 5.0.0-canary.2542
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 +2 -2
- package/dist/utils.js +2 -2
- package/package.json +12 -13
package/dist/cjs/utils.js
CHANGED
|
@@ -27,8 +27,8 @@ __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");
|
|
31
30
|
var import_project_config = require("@cedarjs/project-config");
|
|
31
|
+
var import_packageManager = require("@cedarjs/project-config/packageManager");
|
|
32
32
|
function stripQueryStringAndHashFromPath(url) {
|
|
33
33
|
return url.split("?")[0].split("#")[0];
|
|
34
34
|
}
|
|
@@ -37,7 +37,7 @@ function ensureProcessDirWeb(webDir = (0, import_project_config.getPaths)().web.
|
|
|
37
37
|
console.error("\u26A0\uFE0F Warning: CWD is ", process.cwd());
|
|
38
38
|
console.warn("~".repeat(50));
|
|
39
39
|
console.warn(
|
|
40
|
-
`The cwd must be web/. Please use \`${(0,
|
|
40
|
+
`The cwd must be web/. Please use \`${(0, import_packageManager.prettyPrintCedarCommand)(["<command>"])}\` or run the command from the web/ directory.`
|
|
41
41
|
);
|
|
42
42
|
console.log(`Changing cwd to ${webDir}....`);
|
|
43
43
|
console.log();
|
package/dist/utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { pathToFileURL } from "node:url";
|
|
2
|
-
import { formatCedarCommand } from "@cedarjs/cli-helpers/packageManager/display";
|
|
3
2
|
import { getPaths } from "@cedarjs/project-config";
|
|
3
|
+
import { prettyPrintCedarCommand } from "@cedarjs/project-config/packageManager";
|
|
4
4
|
function stripQueryStringAndHashFromPath(url) {
|
|
5
5
|
return url.split("?")[0].split("#")[0];
|
|
6
6
|
}
|
|
@@ -9,7 +9,7 @@ function ensureProcessDirWeb(webDir = getPaths().web.base) {
|
|
|
9
9
|
console.error("\u26A0\uFE0F Warning: CWD is ", process.cwd());
|
|
10
10
|
console.warn("~".repeat(50));
|
|
11
11
|
console.warn(
|
|
12
|
-
`The cwd must be web/. Please use \`${
|
|
12
|
+
`The cwd must be web/. Please use \`${prettyPrintCedarCommand(["<command>"])}\` or run the command from the web/ directory.`
|
|
13
13
|
);
|
|
14
14
|
console.log(`Changing cwd to ${webDir}....`);
|
|
15
15
|
console.log();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/vite",
|
|
3
|
-
"version": "5.0.0-canary.
|
|
3
|
+
"version": "5.0.0-canary.2542",
|
|
4
4
|
"description": "Vite configuration package for CedarJS",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -70,18 +70,17 @@
|
|
|
70
70
|
"@babel/parser": "7.29.7",
|
|
71
71
|
"@babel/traverse": "7.29.7",
|
|
72
72
|
"@babel/types": "7.29.7",
|
|
73
|
-
"@cedarjs/api": "5.0.0-canary.
|
|
74
|
-
"@cedarjs/auth": "5.0.0-canary.
|
|
75
|
-
"@cedarjs/babel-config": "5.0.0-canary.
|
|
76
|
-
"@cedarjs/
|
|
77
|
-
"@cedarjs/
|
|
78
|
-
"@cedarjs/
|
|
79
|
-
"@cedarjs/
|
|
80
|
-
"@cedarjs/
|
|
81
|
-
"@cedarjs/
|
|
82
|
-
"@cedarjs/
|
|
83
|
-
"@cedarjs/
|
|
84
|
-
"@cedarjs/web": "5.0.0-canary.2540",
|
|
73
|
+
"@cedarjs/api": "5.0.0-canary.2542",
|
|
74
|
+
"@cedarjs/auth": "5.0.0-canary.2542",
|
|
75
|
+
"@cedarjs/babel-config": "5.0.0-canary.2542",
|
|
76
|
+
"@cedarjs/context": "5.0.0-canary.2542",
|
|
77
|
+
"@cedarjs/cookie-jar": "5.0.0-canary.2542",
|
|
78
|
+
"@cedarjs/graphql-server": "5.0.0-canary.2542",
|
|
79
|
+
"@cedarjs/internal": "5.0.0-canary.2542",
|
|
80
|
+
"@cedarjs/project-config": "5.0.0-canary.2542",
|
|
81
|
+
"@cedarjs/server-store": "5.0.0-canary.2542",
|
|
82
|
+
"@cedarjs/testing": "5.0.0-canary.2542",
|
|
83
|
+
"@cedarjs/web": "5.0.0-canary.2542",
|
|
85
84
|
"@fastify/url-data": "6.0.3",
|
|
86
85
|
"@swc/core": "1.15.41",
|
|
87
86
|
"@universal-deploy/store": "^0.2.1",
|