@pandacss/studio 1.12.1 → 1.12.2
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.js +10 -12
- package/dist/studio.mjs +11 -13
- package/package.json +7 -7
package/dist/studio.js
CHANGED
|
@@ -44,18 +44,16 @@ async function buildStudio({ outDir, configPath, base }) {
|
|
|
44
44
|
const astro = await import("astro");
|
|
45
45
|
const { default: react } = await import("@astrojs/react");
|
|
46
46
|
const { default: studio } = await import("@pandacss/astro-plugin-studio");
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
console.log(error);
|
|
58
|
-
}
|
|
47
|
+
process.env.PUBLIC_CONFIG_PATH = configPath;
|
|
48
|
+
await astro.build({
|
|
49
|
+
outDir,
|
|
50
|
+
root: appPath,
|
|
51
|
+
integrations: [react(), studio()],
|
|
52
|
+
devToolbar: { enabled: false },
|
|
53
|
+
base,
|
|
54
|
+
// prerender chunks are written to outDir, which may not be able to resolve studio's dependencies
|
|
55
|
+
vite: { resolve: { noExternal: true } }
|
|
56
|
+
});
|
|
59
57
|
}
|
|
60
58
|
async function serveStudio({ configPath, port, host, outDir, base }) {
|
|
61
59
|
const astro = await import("astro");
|
package/dist/studio.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_@swc+helpers@0.5.17__jiti@2.6.1_postcss@8.5.
|
|
1
|
+
// ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_@swc+helpers@0.5.17__jiti@2.6.1_postcss@8.5.31_supports-col_ffbe13cd562ccc2432bdf2a4ee134ac9/node_modules/tsup/assets/esm_shims.js
|
|
2
2
|
import path from "path";
|
|
3
3
|
import { fileURLToPath } from "url";
|
|
4
4
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -14,18 +14,16 @@ async function buildStudio({ outDir, configPath, base }) {
|
|
|
14
14
|
const astro = await import("astro");
|
|
15
15
|
const { default: react } = await import("@astrojs/react");
|
|
16
16
|
const { default: studio } = await import("@pandacss/astro-plugin-studio");
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
console.log(error);
|
|
28
|
-
}
|
|
17
|
+
process.env.PUBLIC_CONFIG_PATH = configPath;
|
|
18
|
+
await astro.build({
|
|
19
|
+
outDir,
|
|
20
|
+
root: appPath,
|
|
21
|
+
integrations: [react(), studio()],
|
|
22
|
+
devToolbar: { enabled: false },
|
|
23
|
+
base,
|
|
24
|
+
// prerender chunks are written to outDir, which may not be able to resolve studio's dependencies
|
|
25
|
+
vite: { resolve: { noExternal: true } }
|
|
26
|
+
});
|
|
29
27
|
}
|
|
30
28
|
async function serveStudio({ configPath, port, host, outDir, base }) {
|
|
31
29
|
const astro = await import("astro");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/studio",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.2",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"react": "19.2.0",
|
|
51
51
|
"react-dom": "19.2.0",
|
|
52
52
|
"vite": "7.3.2",
|
|
53
|
-
"@pandacss/config": "1.12.
|
|
54
|
-
"@pandacss/
|
|
55
|
-
"@pandacss/
|
|
56
|
-
"@pandacss/
|
|
57
|
-
"@pandacss/
|
|
58
|
-
"@pandacss/types": "1.12.
|
|
53
|
+
"@pandacss/config": "1.12.2",
|
|
54
|
+
"@pandacss/logger": "1.12.2",
|
|
55
|
+
"@pandacss/shared": "1.12.2",
|
|
56
|
+
"@pandacss/token-dictionary": "1.12.2",
|
|
57
|
+
"@pandacss/astro-plugin-studio": "1.12.2",
|
|
58
|
+
"@pandacss/types": "1.12.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@testing-library/react": "16.3.0",
|