webstudio 0.253.0 → 0.255.0
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/lib/cli.js
CHANGED
|
@@ -1884,11 +1884,10 @@ var DefaultPagePage = z.string().refine((path) => path !== "", "Can't be empty")
|
|
|
1884
1884
|
var OldPagePath = z.string().refine((path) => path !== "", "Can't be empty").refine((path) => path !== "/", "Can't be just a /").refine(
|
|
1885
1885
|
(path) => path === "" || path.startsWith("/"),
|
|
1886
1886
|
"Must start with a / or a full URL e.g. https://website.org"
|
|
1887
|
-
).refine((path) => path.endsWith("/") === false, "Can't end with a /").refine((path) => path.includes("//") === false, "Can't contain repeating /").refine(
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
).refine(
|
|
1887
|
+
).refine((path) => path.endsWith("/") === false, "Can't end with a /").refine((path) => path.includes("//") === false, "Can't contain repeating /").refine((path) => {
|
|
1888
|
+
const disallowedChars = /[\s<>"{}|\\^`[\]\u0000-\u001f\u007f]/;
|
|
1889
|
+
return !disallowedChars.test(path);
|
|
1890
|
+
}, "Path contains invalid characters (spaces or URL-unsafe characters are not allowed)").refine(
|
|
1892
1891
|
(path) => path !== "/s" && path.startsWith("/s/") === false,
|
|
1893
1892
|
"/s prefix is reserved for the system"
|
|
1894
1893
|
).refine(
|
|
@@ -1910,7 +1909,7 @@ var ProjectMeta = z.object({
|
|
|
1910
1909
|
faviconAssetId: z.string().optional(),
|
|
1911
1910
|
code: z.string().optional()
|
|
1912
1911
|
});
|
|
1913
|
-
var ProjectNewRedirectPath = z.string().refine((data) => {
|
|
1912
|
+
var ProjectNewRedirectPath = z.string().min(1, "Path is required").refine((data) => {
|
|
1914
1913
|
try {
|
|
1915
1914
|
new URL(data, "http://url.com");
|
|
1916
1915
|
return true;
|
|
@@ -9042,7 +9041,7 @@ const getDeploymentInstructions = (deployTarget) => {
|
|
|
9042
9041
|
}
|
|
9043
9042
|
};
|
|
9044
9043
|
const name = "webstudio";
|
|
9045
|
-
const version = "0.
|
|
9044
|
+
const version = "0.255.0";
|
|
9046
9045
|
const description = "Webstudio CLI";
|
|
9047
9046
|
const author = "Webstudio <github@webstudio.is>";
|
|
9048
9047
|
const homepage = "https://webstudio.is";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webstudio",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.255.0",
|
|
4
4
|
"description": "Webstudio CLI",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -71,17 +71,17 @@
|
|
|
71
71
|
"vite": "^6.3.4",
|
|
72
72
|
"vitest": "^3.1.2",
|
|
73
73
|
"wrangler": "^3.63.2",
|
|
74
|
-
"@webstudio-is/
|
|
75
|
-
"@webstudio-is/
|
|
76
|
-
"@webstudio-is/
|
|
77
|
-
"@webstudio-is/
|
|
78
|
-
"@webstudio-is/sdk": "0.
|
|
79
|
-
"@webstudio-is/sdk-components-react": "0.
|
|
80
|
-
"@webstudio-is/sdk-components-animation": "0.
|
|
81
|
-
"@webstudio-is/sdk-components-react-radix": "0.
|
|
82
|
-
"@webstudio-is/
|
|
83
|
-
"@webstudio-is/sdk-components-react-remix": "0.
|
|
84
|
-
"@webstudio-is/
|
|
74
|
+
"@webstudio-is/css-engine": "0.255.0",
|
|
75
|
+
"@webstudio-is/react-sdk": "0.255.0",
|
|
76
|
+
"@webstudio-is/http-client": "0.255.0",
|
|
77
|
+
"@webstudio-is/image": "0.255.0",
|
|
78
|
+
"@webstudio-is/sdk": "0.255.0",
|
|
79
|
+
"@webstudio-is/sdk-components-react": "0.255.0",
|
|
80
|
+
"@webstudio-is/sdk-components-animation": "0.255.0",
|
|
81
|
+
"@webstudio-is/sdk-components-react-radix": "0.255.0",
|
|
82
|
+
"@webstudio-is/tsconfig": "1.0.7",
|
|
83
|
+
"@webstudio-is/sdk-components-react-remix": "0.255.0",
|
|
84
|
+
"@webstudio-is/sdk-components-react-router": "0.255.0"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|
|
87
87
|
"typecheck": "tsgo --noEmit",
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"@remix-run/node": "2.16.5",
|
|
12
12
|
"@remix-run/react": "2.16.5",
|
|
13
13
|
"@remix-run/server-runtime": "2.16.5",
|
|
14
|
-
"@webstudio-is/image": "0.
|
|
15
|
-
"@webstudio-is/react-sdk": "0.
|
|
16
|
-
"@webstudio-is/sdk": "0.
|
|
17
|
-
"@webstudio-is/sdk-components-react": "0.
|
|
18
|
-
"@webstudio-is/sdk-components-animation": "0.
|
|
19
|
-
"@webstudio-is/sdk-components-react-radix": "0.
|
|
20
|
-
"@webstudio-is/sdk-components-react-remix": "0.
|
|
14
|
+
"@webstudio-is/image": "0.255.0",
|
|
15
|
+
"@webstudio-is/react-sdk": "0.255.0",
|
|
16
|
+
"@webstudio-is/sdk": "0.255.0",
|
|
17
|
+
"@webstudio-is/sdk-components-react": "0.255.0",
|
|
18
|
+
"@webstudio-is/sdk-components-animation": "0.255.0",
|
|
19
|
+
"@webstudio-is/sdk-components-react-radix": "0.255.0",
|
|
20
|
+
"@webstudio-is/sdk-components-react-remix": "0.255.0",
|
|
21
21
|
"isbot": "^5.1.25",
|
|
22
22
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
23
23
|
"react-dom": "18.3.0-canary-14898b6a9-20240318"
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@react-router/dev": "^7.5.3",
|
|
12
12
|
"@react-router/fs-routes": "^7.5.3",
|
|
13
|
-
"@webstudio-is/image": "0.
|
|
14
|
-
"@webstudio-is/react-sdk": "0.
|
|
15
|
-
"@webstudio-is/sdk": "0.
|
|
16
|
-
"@webstudio-is/sdk-components-animation": "0.
|
|
17
|
-
"@webstudio-is/sdk-components-react-radix": "0.
|
|
18
|
-
"@webstudio-is/sdk-components-react-router": "0.
|
|
19
|
-
"@webstudio-is/sdk-components-react": "0.
|
|
13
|
+
"@webstudio-is/image": "0.255.0",
|
|
14
|
+
"@webstudio-is/react-sdk": "0.255.0",
|
|
15
|
+
"@webstudio-is/sdk": "0.255.0",
|
|
16
|
+
"@webstudio-is/sdk-components-animation": "0.255.0",
|
|
17
|
+
"@webstudio-is/sdk-components-react-radix": "0.255.0",
|
|
18
|
+
"@webstudio-is/sdk-components-react-router": "0.255.0",
|
|
19
|
+
"@webstudio-is/sdk-components-react": "0.255.0",
|
|
20
20
|
"isbot": "^5.1.25",
|
|
21
21
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
22
22
|
"react-dom": "18.3.0-canary-14898b6a9-20240318",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"typecheck": "tsgo --noEmit"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@webstudio-is/image": "0.
|
|
12
|
-
"@webstudio-is/react-sdk": "0.
|
|
13
|
-
"@webstudio-is/sdk": "0.
|
|
14
|
-
"@webstudio-is/sdk-components-react": "0.
|
|
15
|
-
"@webstudio-is/sdk-components-animation": "0.
|
|
16
|
-
"@webstudio-is/sdk-components-react-radix": "0.
|
|
11
|
+
"@webstudio-is/image": "0.255.0",
|
|
12
|
+
"@webstudio-is/react-sdk": "0.255.0",
|
|
13
|
+
"@webstudio-is/sdk": "0.255.0",
|
|
14
|
+
"@webstudio-is/sdk-components-react": "0.255.0",
|
|
15
|
+
"@webstudio-is/sdk-components-animation": "0.255.0",
|
|
16
|
+
"@webstudio-is/sdk-components-react-radix": "0.255.0",
|
|
17
17
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
18
18
|
"react-dom": "18.3.0-canary-14898b6a9-20240318",
|
|
19
19
|
"vike": "^0.4.229"
|