@pandacss/node 0.0.0-dev-20221220144042 → 0.0.0-dev-20221222091205
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.js +6 -4
- package/dist/index.mjs +6 -4
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -2259,7 +2259,6 @@ async function watch(ctx, options) {
|
|
|
2259
2259
|
const contentWatcher = await createContentWatcher(ctx, options.onContentChange);
|
|
2260
2260
|
const configWatcher = await createConfigWatcher(ctx.conf);
|
|
2261
2261
|
async function close() {
|
|
2262
|
-
await configWatcher.close();
|
|
2263
2262
|
await chunkDirWatcher.close();
|
|
2264
2263
|
await contentWatcher.close();
|
|
2265
2264
|
}
|
|
@@ -2277,15 +2276,18 @@ process.on("uncaughtException", (err) => {
|
|
|
2277
2276
|
});
|
|
2278
2277
|
|
|
2279
2278
|
// src/generate.ts
|
|
2280
|
-
async function
|
|
2279
|
+
async function build(config, configPath) {
|
|
2281
2280
|
const ctx = await loadConfigAndCreateContext({ config, configPath });
|
|
2282
2281
|
await emitAndExtract(ctx);
|
|
2283
2282
|
import_logger8.logger.info(buildCompleteMessage(ctx));
|
|
2283
|
+
return ctx;
|
|
2284
|
+
}
|
|
2285
|
+
async function generate5(config, configPath) {
|
|
2286
|
+
const ctx = await build(config, configPath);
|
|
2284
2287
|
if (ctx.watch) {
|
|
2285
|
-
process.stdin.on("end", () => process.exit());
|
|
2286
2288
|
await watch(ctx, {
|
|
2287
2289
|
onConfigChange: () => {
|
|
2288
|
-
return
|
|
2290
|
+
return build(config, configPath);
|
|
2289
2291
|
},
|
|
2290
2292
|
onAssetChange() {
|
|
2291
2293
|
return bundleChunks(ctx);
|
package/dist/index.mjs
CHANGED
|
@@ -2220,7 +2220,6 @@ async function watch(ctx, options) {
|
|
|
2220
2220
|
const contentWatcher = await createContentWatcher(ctx, options.onContentChange);
|
|
2221
2221
|
const configWatcher = await createConfigWatcher(ctx.conf);
|
|
2222
2222
|
async function close() {
|
|
2223
|
-
await configWatcher.close();
|
|
2224
2223
|
await chunkDirWatcher.close();
|
|
2225
2224
|
await contentWatcher.close();
|
|
2226
2225
|
}
|
|
@@ -2238,15 +2237,18 @@ process.on("uncaughtException", (err) => {
|
|
|
2238
2237
|
});
|
|
2239
2238
|
|
|
2240
2239
|
// src/generate.ts
|
|
2241
|
-
async function
|
|
2240
|
+
async function build(config, configPath) {
|
|
2242
2241
|
const ctx = await loadConfigAndCreateContext({ config, configPath });
|
|
2243
2242
|
await emitAndExtract(ctx);
|
|
2244
2243
|
logger8.info(buildCompleteMessage(ctx));
|
|
2244
|
+
return ctx;
|
|
2245
|
+
}
|
|
2246
|
+
async function generate5(config, configPath) {
|
|
2247
|
+
const ctx = await build(config, configPath);
|
|
2245
2248
|
if (ctx.watch) {
|
|
2246
|
-
process.stdin.on("end", () => process.exit());
|
|
2247
2249
|
await watch(ctx, {
|
|
2248
2250
|
onConfigChange: () => {
|
|
2249
|
-
return
|
|
2251
|
+
return build(config, configPath);
|
|
2250
2252
|
},
|
|
2251
2253
|
onAssetChange() {
|
|
2252
2254
|
return bundleChunks(ctx);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/node",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20221222091205",
|
|
4
4
|
"description": "The core css panda library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"telejson": "7.0.4",
|
|
31
31
|
"ts-pattern": "4.0.6",
|
|
32
32
|
"ts-morph": "17.0.1",
|
|
33
|
-
"@pandacss/types": "0.0.0-dev-
|
|
34
|
-
"@pandacss/is-valid-prop": "0.0.0-dev-
|
|
35
|
-
"@pandacss/error": "0.0.0-dev-
|
|
36
|
-
"@pandacss/parser": "0.0.0-dev-
|
|
37
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
38
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
39
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
40
|
-
"@pandacss/core": "0.0.0-dev-
|
|
41
|
-
"@pandacss/config": "0.0.0-dev-
|
|
33
|
+
"@pandacss/types": "0.0.0-dev-20221222091205",
|
|
34
|
+
"@pandacss/is-valid-prop": "0.0.0-dev-20221222091205",
|
|
35
|
+
"@pandacss/error": "0.0.0-dev-20221222091205",
|
|
36
|
+
"@pandacss/parser": "0.0.0-dev-20221222091205",
|
|
37
|
+
"@pandacss/shared": "0.0.0-dev-20221222091205",
|
|
38
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20221222091205",
|
|
39
|
+
"@pandacss/logger": "0.0.0-dev-20221222091205",
|
|
40
|
+
"@pandacss/core": "0.0.0-dev-20221222091205",
|
|
41
|
+
"@pandacss/config": "0.0.0-dev-20221222091205"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/fs-extra": "9.0.13",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@types/glob-parent": "^5.1.1",
|
|
47
47
|
"@types/pluralize": "0.0.29",
|
|
48
48
|
"@types/lodash.merge": "4.6.7",
|
|
49
|
-
"@pandacss/fixture": "0.0.0-dev-
|
|
49
|
+
"@pandacss/fixture": "0.0.0-dev-20221222091205"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "tsup src/index.ts --format=cjs,esm --shims --dts",
|