@bamboocss/dev 1.45.4 → 1.46.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/dist/cli-default.cjs +5 -3
- package/dist/cli-default.mjs +6 -4
- package/dist/cli-main.cjs +6 -4
- package/dist/cli-main.mjs +6 -4
- package/dist/interactive.cjs +1 -1
- package/dist/interactive.mjs +1 -1
- package/dist/{mcp-init-D8F1wvPK.cjs → mcp-init-7DyiMDev.cjs} +1 -1
- package/dist/{mcp-init-C4UQNYB_.mjs → mcp-init-u65X3Eup.mjs} +1 -1
- package/dist/{package-yZY9RhGd.cjs → package-Cjl5xZuz.cjs} +1 -1
- package/dist/{package-BD2izzEI.mjs → package-VsZm2tsv.mjs} +1 -1
- package/package.json +9 -9
package/dist/cli-default.cjs
CHANGED
|
@@ -7627,7 +7627,7 @@ function isLocError(error) {
|
|
|
7627
7627
|
//#endregion
|
|
7628
7628
|
//#region package.json
|
|
7629
7629
|
var name = "@bamboocss/dev";
|
|
7630
|
-
var version = "1.
|
|
7630
|
+
var version = "1.46.0";
|
|
7631
7631
|
//#endregion
|
|
7632
7632
|
//#region src/interactive.ts
|
|
7633
7633
|
/**
|
|
@@ -7872,8 +7872,10 @@ async function main() {
|
|
|
7872
7872
|
poll
|
|
7873
7873
|
});
|
|
7874
7874
|
ctx.watchFiles(async (event, file) => {
|
|
7875
|
-
if (event === "unlink")
|
|
7876
|
-
|
|
7875
|
+
if (event === "unlink") {
|
|
7876
|
+
ctx.project.removeSourceFile(ctx.runtime.path.abs(cwd, file));
|
|
7877
|
+
await (0, _bamboocss_node.cssgen)(ctx, options);
|
|
7878
|
+
} else if (event === "change") {
|
|
7877
7879
|
ctx.project.reloadSourceFile(ctx.runtime.path.abs(cwd, file));
|
|
7878
7880
|
await (0, _bamboocss_node.cssgen)(ctx, options);
|
|
7879
7881
|
} else if (event === "add") {
|
package/dist/cli-default.mjs
CHANGED
|
@@ -4173,7 +4173,7 @@ var require_dist$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4173
4173
|
__exportStar(require_ca_file(), exports);
|
|
4174
4174
|
}));
|
|
4175
4175
|
//#endregion
|
|
4176
|
-
//#region ../../node_modules/.pnpm/tsdown@0.22.
|
|
4176
|
+
//#region ../../node_modules/.pnpm/tsdown@0.22.0_@typescript+typescript6@6.0.2_oxc-resolver@11.19.1_@emnapi+core@1.10.0_@emnapi+runtime@1.11.3__tsx@4.20.6/node_modules/tsdown/esm-shims.js
|
|
4177
4177
|
var getFilename, getDirname, __dirname$2;
|
|
4178
4178
|
var init_esm_shims = __esmMin((() => {
|
|
4179
4179
|
getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -7630,7 +7630,7 @@ function isLocError(error) {
|
|
|
7630
7630
|
//#endregion
|
|
7631
7631
|
//#region package.json
|
|
7632
7632
|
var name = "@bamboocss/dev";
|
|
7633
|
-
var version = "1.
|
|
7633
|
+
var version = "1.46.0";
|
|
7634
7634
|
//#endregion
|
|
7635
7635
|
//#region src/interactive.ts
|
|
7636
7636
|
/**
|
|
@@ -7875,8 +7875,10 @@ async function main() {
|
|
|
7875
7875
|
poll
|
|
7876
7876
|
});
|
|
7877
7877
|
ctx.watchFiles(async (event, file) => {
|
|
7878
|
-
if (event === "unlink")
|
|
7879
|
-
|
|
7878
|
+
if (event === "unlink") {
|
|
7879
|
+
ctx.project.removeSourceFile(ctx.runtime.path.abs(cwd, file));
|
|
7880
|
+
await cssgen(ctx, options);
|
|
7881
|
+
} else if (event === "change") {
|
|
7880
7882
|
ctx.project.reloadSourceFile(ctx.runtime.path.abs(cwd, file));
|
|
7881
7883
|
await cssgen(ctx, options);
|
|
7882
7884
|
} else if (event === "add") {
|
package/dist/cli-main.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_package = require("./package-
|
|
2
|
+
const require_package = require("./package-Cjl5xZuz.cjs");
|
|
3
3
|
let _bamboocss_logger = require("@bamboocss/logger");
|
|
4
4
|
let _bamboocss_node = require("@bamboocss/node");
|
|
5
5
|
let _bamboocss_shared = require("@bamboocss/shared");
|
|
@@ -250,8 +250,10 @@ async function main() {
|
|
|
250
250
|
poll
|
|
251
251
|
});
|
|
252
252
|
ctx.watchFiles(async (event, file) => {
|
|
253
|
-
if (event === "unlink")
|
|
254
|
-
|
|
253
|
+
if (event === "unlink") {
|
|
254
|
+
ctx.project.removeSourceFile(ctx.runtime.path.abs(cwd, file));
|
|
255
|
+
await (0, _bamboocss_node.cssgen)(ctx, options);
|
|
256
|
+
} else if (event === "change") {
|
|
255
257
|
ctx.project.reloadSourceFile(ctx.runtime.path.abs(cwd, file));
|
|
256
258
|
await (0, _bamboocss_node.cssgen)(ctx, options);
|
|
257
259
|
} else if (event === "add") {
|
|
@@ -457,7 +459,7 @@ async function main() {
|
|
|
457
459
|
process.exitCode = 1;
|
|
458
460
|
});
|
|
459
461
|
cli.command("init-mcp", "Initialize MCP configuration for AI clients").option("--cwd <cwd>", "Current working directory", { default: cwd }).option("--client <clients>", "AI clients to configure (claude, cursor, vscode, windsurf, codex)").action(async (mcpInitFlags) => {
|
|
460
|
-
const { initMcpConfig } = await Promise.resolve().then(() => require("./mcp-init-
|
|
462
|
+
const { initMcpConfig } = await Promise.resolve().then(() => require("./mcp-init-7DyiMDev.cjs"));
|
|
461
463
|
const resolvedCwd = (0, path.resolve)(mcpInitFlags.cwd ?? cwd);
|
|
462
464
|
let clients;
|
|
463
465
|
if (mcpInitFlags.client) clients = (Array.isArray(mcpInitFlags.client) ? mcpInitFlags.client : [mcpInitFlags.client]).flatMap((c) => c.split(",")).map((c) => c.trim());
|
package/dist/cli-main.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as version } from "./package-
|
|
1
|
+
import { t as version } from "./package-VsZm2tsv.mjs";
|
|
2
2
|
import { logger } from "@bamboocss/logger";
|
|
3
3
|
import { BambooContext, analyze, buildInfo, codegen, cssgen, debug, findViteConfig, generate, generatePackageExports, hasUncompilableSources, loadConfigAndCreateContext, setLogStream, setupConfig, setupGitIgnore, setupPostcss, spec, startProfiling } from "@bamboocss/node";
|
|
4
4
|
import { BambooError, compact } from "@bamboocss/shared";
|
|
@@ -248,8 +248,10 @@ async function main() {
|
|
|
248
248
|
poll
|
|
249
249
|
});
|
|
250
250
|
ctx.watchFiles(async (event, file) => {
|
|
251
|
-
if (event === "unlink")
|
|
252
|
-
|
|
251
|
+
if (event === "unlink") {
|
|
252
|
+
ctx.project.removeSourceFile(ctx.runtime.path.abs(cwd, file));
|
|
253
|
+
await cssgen(ctx, options);
|
|
254
|
+
} else if (event === "change") {
|
|
253
255
|
ctx.project.reloadSourceFile(ctx.runtime.path.abs(cwd, file));
|
|
254
256
|
await cssgen(ctx, options);
|
|
255
257
|
} else if (event === "add") {
|
|
@@ -455,7 +457,7 @@ async function main() {
|
|
|
455
457
|
process.exitCode = 1;
|
|
456
458
|
});
|
|
457
459
|
cli.command("init-mcp", "Initialize MCP configuration for AI clients").option("--cwd <cwd>", "Current working directory", { default: cwd }).option("--client <clients>", "AI clients to configure (claude, cursor, vscode, windsurf, codex)").action(async (mcpInitFlags) => {
|
|
458
|
-
const { initMcpConfig } = await import("./mcp-init-
|
|
460
|
+
const { initMcpConfig } = await import("./mcp-init-u65X3Eup.mjs");
|
|
459
461
|
const resolvedCwd = resolve(mcpInitFlags.cwd ?? cwd);
|
|
460
462
|
let clients;
|
|
461
463
|
if (mcpInitFlags.client) clients = (Array.isArray(mcpInitFlags.client) ? mcpInitFlags.client : [mcpInitFlags.client]).flatMap((c) => c.split(",")).map((c) => c.trim());
|
package/dist/interactive.cjs
CHANGED
|
@@ -25,7 +25,7 @@ let _bamboocss_node = require("@bamboocss/node");
|
|
|
25
25
|
let _clack_prompts = require("@clack/prompts");
|
|
26
26
|
_clack_prompts = __toESM(_clack_prompts);
|
|
27
27
|
//#region package.json
|
|
28
|
-
var version = "1.
|
|
28
|
+
var version = "1.46.0";
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/interactive.ts
|
|
31
31
|
/**
|
package/dist/interactive.mjs
CHANGED
|
@@ -21,7 +21,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
21
21
|
}) : target, mod));
|
|
22
22
|
//#endregion
|
|
23
23
|
//#region package.json
|
|
24
|
-
var version = "1.
|
|
24
|
+
var version = "1.46.0";
|
|
25
25
|
//#endregion
|
|
26
26
|
Object.defineProperty(exports, "__toESM", {
|
|
27
27
|
enumerable: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bamboocss/dev",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.46.0",
|
|
4
4
|
"description": "Build-time, type-safe, zero-runtime CSS-in-JS",
|
|
5
5
|
"homepage": "https://bamboocss.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@clack/prompts": "0.11.0",
|
|
56
56
|
"cac": "6.7.14",
|
|
57
|
-
"@bamboocss/logger": "1.
|
|
58
|
-
"@bamboocss/node": "1.
|
|
59
|
-
"@bamboocss/postcss": "1.
|
|
60
|
-
"@bamboocss/preset-bamboo": "1.
|
|
61
|
-
"@bamboocss/preset-base": "1.
|
|
62
|
-
"@bamboocss/shared": "1.
|
|
63
|
-
"@bamboocss/token-dictionary": "1.
|
|
64
|
-
"@bamboocss/types": "1.
|
|
57
|
+
"@bamboocss/logger": "1.46.0",
|
|
58
|
+
"@bamboocss/node": "1.46.0",
|
|
59
|
+
"@bamboocss/postcss": "1.46.0",
|
|
60
|
+
"@bamboocss/preset-bamboo": "1.46.0",
|
|
61
|
+
"@bamboocss/preset-base": "1.46.0",
|
|
62
|
+
"@bamboocss/shared": "1.46.0",
|
|
63
|
+
"@bamboocss/token-dictionary": "1.46.0",
|
|
64
|
+
"@bamboocss/types": "1.46.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@types/update-notifier": "6.0.8",
|