@pandacss/postcss 2.0.0-beta.4 → 2.0.0-beta.6
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/index.cjs +14 -0
- package/dist/index.js +14 -0
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -28,6 +28,7 @@ var pandacss = (options = {}) => {
|
|
|
28
28
|
ensureCodegen(state, { cwd, outdir: options.outdir });
|
|
29
29
|
driver.parseFiles();
|
|
30
30
|
registerDependencies(driver, result, cwd, fileName);
|
|
31
|
+
emitDiagnostics(root, result, _nullishCoalesce(driver.designSystemDiagnostics, () => ( [])));
|
|
31
32
|
const output = driver.cssgen({ emitLayerDeclaration: false });
|
|
32
33
|
emitDiagnostics(root, result, output.diagnostics);
|
|
33
34
|
root.append(output.css);
|
|
@@ -99,6 +100,19 @@ function registerDependencies(driver, result, cwd, parent) {
|
|
|
99
100
|
)
|
|
100
101
|
);
|
|
101
102
|
}
|
|
103
|
+
for (const target of _nullishCoalesce(_optionalChain([driver, 'access', _3 => _3.designSystemWatchTargets, 'optionalCall', _4 => _4()]), () => ( []))) {
|
|
104
|
+
for (const file of [target.manifestPath, target.buildInfoPath, target.presetPath, ...target.sourceFiles]) {
|
|
105
|
+
result.messages.push(
|
|
106
|
+
withPluginMetadata(
|
|
107
|
+
{
|
|
108
|
+
type: "dependency",
|
|
109
|
+
file: _path.normalize.call(void 0, file)
|
|
110
|
+
},
|
|
111
|
+
parent
|
|
112
|
+
)
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
102
116
|
}
|
|
103
117
|
function createSourceDependency(source) {
|
|
104
118
|
if (process.env.ROLLUP_WATCH === "true") {
|
package/dist/index.js
CHANGED
|
@@ -28,6 +28,7 @@ var pandacss = (options = {}) => {
|
|
|
28
28
|
ensureCodegen(state, { cwd, outdir: options.outdir });
|
|
29
29
|
driver.parseFiles();
|
|
30
30
|
registerDependencies(driver, result, cwd, fileName);
|
|
31
|
+
emitDiagnostics(root, result, driver.designSystemDiagnostics ?? []);
|
|
31
32
|
const output = driver.cssgen({ emitLayerDeclaration: false });
|
|
32
33
|
emitDiagnostics(root, result, output.diagnostics);
|
|
33
34
|
root.append(output.css);
|
|
@@ -99,6 +100,19 @@ function registerDependencies(driver, result, cwd, parent) {
|
|
|
99
100
|
)
|
|
100
101
|
);
|
|
101
102
|
}
|
|
103
|
+
for (const target of driver.designSystemWatchTargets?.() ?? []) {
|
|
104
|
+
for (const file of [target.manifestPath, target.buildInfoPath, target.presetPath, ...target.sourceFiles]) {
|
|
105
|
+
result.messages.push(
|
|
106
|
+
withPluginMetadata(
|
|
107
|
+
{
|
|
108
|
+
type: "dependency",
|
|
109
|
+
file: normalize(file)
|
|
110
|
+
},
|
|
111
|
+
parent
|
|
112
|
+
)
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
102
116
|
}
|
|
103
117
|
function createSourceDependency(source) {
|
|
104
118
|
if (process.env.ROLLUP_WATCH === "true") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/postcss",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.6",
|
|
4
4
|
"description": "PostCSS plugin for Panda CSS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"dist"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@pandacss/compiler": "2.0.0-beta.
|
|
34
|
-
"@pandacss/compiler-shared": "2.0.0-beta.
|
|
33
|
+
"@pandacss/compiler": "2.0.0-beta.6",
|
|
34
|
+
"@pandacss/compiler-shared": "2.0.0-beta.6"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"postcss": ">=8"
|