@pandacss/studio 0.0.0-dev-20231023175831 → 0.0.0-dev-20231024143230
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/studio.d.mts +3 -1
- package/dist/studio.d.ts +3 -1
- package/dist/studio.js +2 -2
- package/dist/studio.mjs +2 -2
- package/package.json +7 -7
package/dist/studio.d.mts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
type BuildOpts = {
|
|
2
2
|
outDir: string;
|
|
3
3
|
configPath: string;
|
|
4
|
+
port?: string;
|
|
5
|
+
host?: boolean;
|
|
4
6
|
};
|
|
5
7
|
declare function buildStudio({ outDir, configPath }: BuildOpts): Promise<void>;
|
|
6
|
-
declare function serveStudio({ configPath }: BuildOpts): Promise<void>;
|
|
8
|
+
declare function serveStudio({ configPath, port, host }: BuildOpts): Promise<void>;
|
|
7
9
|
declare function previewStudio({ outDir }: BuildOpts): Promise<void>;
|
|
8
10
|
declare function printUrls(options: {
|
|
9
11
|
host: string;
|
package/dist/studio.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
type BuildOpts = {
|
|
2
2
|
outDir: string;
|
|
3
3
|
configPath: string;
|
|
4
|
+
port?: string;
|
|
5
|
+
host?: boolean;
|
|
4
6
|
};
|
|
5
7
|
declare function buildStudio({ outDir, configPath }: BuildOpts): Promise<void>;
|
|
6
|
-
declare function serveStudio({ configPath }: BuildOpts): Promise<void>;
|
|
8
|
+
declare function serveStudio({ configPath, port, host }: BuildOpts): Promise<void>;
|
|
7
9
|
declare function previewStudio({ outDir }: BuildOpts): Promise<void>;
|
|
8
10
|
declare function printUrls(options: {
|
|
9
11
|
host: string;
|
package/dist/studio.js
CHANGED
|
@@ -2079,8 +2079,8 @@ async function buildStudio({ outDir, configPath }) {
|
|
|
2079
2079
|
});
|
|
2080
2080
|
import_logger.logger.log(stdout);
|
|
2081
2081
|
}
|
|
2082
|
-
async function serveStudio({ configPath }) {
|
|
2083
|
-
const result = execa(astroBin, ["dev", "--root", appPath], {
|
|
2082
|
+
async function serveStudio({ configPath, port, host }) {
|
|
2083
|
+
const result = execa(astroBin, ["dev", "--root", appPath, "--port", port ?? "", host ? "--host" : ""], {
|
|
2084
2084
|
stdio: "inherit",
|
|
2085
2085
|
cwd: appPath,
|
|
2086
2086
|
env: {
|
package/dist/studio.mjs
CHANGED
|
@@ -2075,8 +2075,8 @@ async function buildStudio({ outDir, configPath }) {
|
|
|
2075
2075
|
});
|
|
2076
2076
|
logger.log(stdout);
|
|
2077
2077
|
}
|
|
2078
|
-
async function serveStudio({ configPath }) {
|
|
2079
|
-
const result = execa(astroBin, ["dev", "--root", appPath], {
|
|
2078
|
+
async function serveStudio({ configPath, port, host }) {
|
|
2079
|
+
const result = execa(astroBin, ["dev", "--root", appPath, "--port", port ?? "", host ? "--host" : ""], {
|
|
2080
2080
|
stdio: "inherit",
|
|
2081
2081
|
cwd: appPath,
|
|
2082
2082
|
env: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/studio",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20231024143230",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"react": "18.2.0",
|
|
34
34
|
"react-dom": "18.2.0",
|
|
35
35
|
"vite": "4.4.11",
|
|
36
|
-
"@pandacss/config": "0.0.0-dev-
|
|
37
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
38
|
-
"@pandacss/node": "0.0.0-dev-
|
|
39
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
40
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
41
|
-
"@pandacss/types": "0.0.0-dev-
|
|
36
|
+
"@pandacss/config": "0.0.0-dev-20231024143230",
|
|
37
|
+
"@pandacss/logger": "0.0.0-dev-20231024143230",
|
|
38
|
+
"@pandacss/node": "0.0.0-dev-20231024143230",
|
|
39
|
+
"@pandacss/shared": "0.0.0-dev-20231024143230",
|
|
40
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20231024143230",
|
|
41
|
+
"@pandacss/types": "0.0.0-dev-20231024143230"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/react": "18.2.22",
|