@bamboocss/dev 1.11.3 → 1.12.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/errors.cjs CHANGED
@@ -1,3 +1,120 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_errors = require("./errors-BhazEH_W.cjs");
3
- exports.handleError = require_errors.handleError;
2
+ let worker_threads = require("worker_threads");
3
+ let _bamboocss_shared = require("@bamboocss/shared");
4
+ //#region ../../node_modules/.pnpm/kleur@4.1.5/node_modules/kleur/index.mjs
5
+ let FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM, isTTY = true;
6
+ if (typeof process !== "undefined") {
7
+ ({FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM} = process.env || {});
8
+ isTTY = process.stdout && process.stdout.isTTY;
9
+ }
10
+ const $ = {
11
+ enabled: !NODE_DISABLE_COLORS && NO_COLOR == null && TERM !== "dumb" && (FORCE_COLOR != null && FORCE_COLOR !== "0" || isTTY),
12
+ reset: init(0, 0),
13
+ bold: init(1, 22),
14
+ dim: init(2, 22),
15
+ italic: init(3, 23),
16
+ underline: init(4, 24),
17
+ inverse: init(7, 27),
18
+ hidden: init(8, 28),
19
+ strikethrough: init(9, 29),
20
+ black: init(30, 39),
21
+ red: init(31, 39),
22
+ green: init(32, 39),
23
+ yellow: init(33, 39),
24
+ blue: init(34, 39),
25
+ magenta: init(35, 39),
26
+ cyan: init(36, 39),
27
+ white: init(37, 39),
28
+ gray: init(90, 39),
29
+ grey: init(90, 39),
30
+ bgBlack: init(40, 49),
31
+ bgRed: init(41, 49),
32
+ bgGreen: init(42, 49),
33
+ bgYellow: init(43, 49),
34
+ bgBlue: init(44, 49),
35
+ bgMagenta: init(45, 49),
36
+ bgCyan: init(46, 49),
37
+ bgWhite: init(47, 49)
38
+ };
39
+ function run(arr, str) {
40
+ let i = 0, tmp, beg = "", end = "";
41
+ for (; i < arr.length; i++) {
42
+ tmp = arr[i];
43
+ beg += tmp.open;
44
+ end += tmp.close;
45
+ if (!!~str.indexOf(tmp.close)) str = str.replace(tmp.rgx, tmp.close + tmp.open);
46
+ }
47
+ return beg + str + end;
48
+ }
49
+ function chain(has, keys) {
50
+ let ctx = {
51
+ has,
52
+ keys
53
+ };
54
+ ctx.reset = $.reset.bind(ctx);
55
+ ctx.bold = $.bold.bind(ctx);
56
+ ctx.dim = $.dim.bind(ctx);
57
+ ctx.italic = $.italic.bind(ctx);
58
+ ctx.underline = $.underline.bind(ctx);
59
+ ctx.inverse = $.inverse.bind(ctx);
60
+ ctx.hidden = $.hidden.bind(ctx);
61
+ ctx.strikethrough = $.strikethrough.bind(ctx);
62
+ ctx.black = $.black.bind(ctx);
63
+ ctx.red = $.red.bind(ctx);
64
+ ctx.green = $.green.bind(ctx);
65
+ ctx.yellow = $.yellow.bind(ctx);
66
+ ctx.blue = $.blue.bind(ctx);
67
+ ctx.magenta = $.magenta.bind(ctx);
68
+ ctx.cyan = $.cyan.bind(ctx);
69
+ ctx.white = $.white.bind(ctx);
70
+ ctx.gray = $.gray.bind(ctx);
71
+ ctx.grey = $.grey.bind(ctx);
72
+ ctx.bgBlack = $.bgBlack.bind(ctx);
73
+ ctx.bgRed = $.bgRed.bind(ctx);
74
+ ctx.bgGreen = $.bgGreen.bind(ctx);
75
+ ctx.bgYellow = $.bgYellow.bind(ctx);
76
+ ctx.bgBlue = $.bgBlue.bind(ctx);
77
+ ctx.bgMagenta = $.bgMagenta.bind(ctx);
78
+ ctx.bgCyan = $.bgCyan.bind(ctx);
79
+ ctx.bgWhite = $.bgWhite.bind(ctx);
80
+ return ctx;
81
+ }
82
+ function init(open, close) {
83
+ let blk = {
84
+ open: `\x1b[${open}m`,
85
+ close: `\x1b[${close}m`,
86
+ rgx: new RegExp(`\\x1b\\[${close}m`, "g")
87
+ };
88
+ return function(txt) {
89
+ if (this !== void 0 && this.has !== void 0) {
90
+ ~this.has.indexOf(open) || (this.has.push(open), this.keys.push(blk));
91
+ return txt === void 0 ? this : $.enabled ? run(this.keys, txt + "") : txt + "";
92
+ }
93
+ return txt === void 0 ? chain([open], [blk]) : $.enabled ? run([blk], txt + "") : txt + "";
94
+ };
95
+ }
96
+ //#endregion
97
+ //#region src/errors.ts
98
+ function handleError(error) {
99
+ if (error instanceof _bamboocss_shared.BambooError) {
100
+ console.error($.red(`${error.code}: ${error.message}`));
101
+ if (error.hint) console.error($.dim(error.hint));
102
+ if (error.cause instanceof Error) console.error($.dim(`Caused by: ${error.cause.message}`));
103
+ } else if (isLocError(error)) {
104
+ console.error($.bold($.red(`Error parsing: ${error.loc.file}:${error.loc.line}:${error.loc.column}`)));
105
+ if (error.frame) {
106
+ console.error($.red(error.message));
107
+ console.error($.dim(error.frame));
108
+ } else console.error($.red(error.message));
109
+ } else {
110
+ const message = error instanceof Error ? error.message : String(error);
111
+ console.error($.red(message));
112
+ }
113
+ process.exitCode = 1;
114
+ if (!worker_threads.isMainThread && worker_threads.parentPort) worker_threads.parentPort.postMessage("error");
115
+ }
116
+ function isLocError(error) {
117
+ return typeof error === "object" && error !== null && "loc" in error && typeof error.loc === "object" && "message" in error;
118
+ }
119
+ //#endregion
120
+ exports.handleError = handleError;
package/dist/errors.mjs CHANGED
@@ -1,2 +1,119 @@
1
- import { t as handleError } from "./errors-DyRfueHt.mjs";
1
+ import { isMainThread, parentPort } from "worker_threads";
2
+ import { BambooError } from "@bamboocss/shared";
3
+ //#region ../../node_modules/.pnpm/kleur@4.1.5/node_modules/kleur/index.mjs
4
+ let FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM, isTTY = true;
5
+ if (typeof process !== "undefined") {
6
+ ({FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM} = process.env || {});
7
+ isTTY = process.stdout && process.stdout.isTTY;
8
+ }
9
+ const $ = {
10
+ enabled: !NODE_DISABLE_COLORS && NO_COLOR == null && TERM !== "dumb" && (FORCE_COLOR != null && FORCE_COLOR !== "0" || isTTY),
11
+ reset: init(0, 0),
12
+ bold: init(1, 22),
13
+ dim: init(2, 22),
14
+ italic: init(3, 23),
15
+ underline: init(4, 24),
16
+ inverse: init(7, 27),
17
+ hidden: init(8, 28),
18
+ strikethrough: init(9, 29),
19
+ black: init(30, 39),
20
+ red: init(31, 39),
21
+ green: init(32, 39),
22
+ yellow: init(33, 39),
23
+ blue: init(34, 39),
24
+ magenta: init(35, 39),
25
+ cyan: init(36, 39),
26
+ white: init(37, 39),
27
+ gray: init(90, 39),
28
+ grey: init(90, 39),
29
+ bgBlack: init(40, 49),
30
+ bgRed: init(41, 49),
31
+ bgGreen: init(42, 49),
32
+ bgYellow: init(43, 49),
33
+ bgBlue: init(44, 49),
34
+ bgMagenta: init(45, 49),
35
+ bgCyan: init(46, 49),
36
+ bgWhite: init(47, 49)
37
+ };
38
+ function run(arr, str) {
39
+ let i = 0, tmp, beg = "", end = "";
40
+ for (; i < arr.length; i++) {
41
+ tmp = arr[i];
42
+ beg += tmp.open;
43
+ end += tmp.close;
44
+ if (!!~str.indexOf(tmp.close)) str = str.replace(tmp.rgx, tmp.close + tmp.open);
45
+ }
46
+ return beg + str + end;
47
+ }
48
+ function chain(has, keys) {
49
+ let ctx = {
50
+ has,
51
+ keys
52
+ };
53
+ ctx.reset = $.reset.bind(ctx);
54
+ ctx.bold = $.bold.bind(ctx);
55
+ ctx.dim = $.dim.bind(ctx);
56
+ ctx.italic = $.italic.bind(ctx);
57
+ ctx.underline = $.underline.bind(ctx);
58
+ ctx.inverse = $.inverse.bind(ctx);
59
+ ctx.hidden = $.hidden.bind(ctx);
60
+ ctx.strikethrough = $.strikethrough.bind(ctx);
61
+ ctx.black = $.black.bind(ctx);
62
+ ctx.red = $.red.bind(ctx);
63
+ ctx.green = $.green.bind(ctx);
64
+ ctx.yellow = $.yellow.bind(ctx);
65
+ ctx.blue = $.blue.bind(ctx);
66
+ ctx.magenta = $.magenta.bind(ctx);
67
+ ctx.cyan = $.cyan.bind(ctx);
68
+ ctx.white = $.white.bind(ctx);
69
+ ctx.gray = $.gray.bind(ctx);
70
+ ctx.grey = $.grey.bind(ctx);
71
+ ctx.bgBlack = $.bgBlack.bind(ctx);
72
+ ctx.bgRed = $.bgRed.bind(ctx);
73
+ ctx.bgGreen = $.bgGreen.bind(ctx);
74
+ ctx.bgYellow = $.bgYellow.bind(ctx);
75
+ ctx.bgBlue = $.bgBlue.bind(ctx);
76
+ ctx.bgMagenta = $.bgMagenta.bind(ctx);
77
+ ctx.bgCyan = $.bgCyan.bind(ctx);
78
+ ctx.bgWhite = $.bgWhite.bind(ctx);
79
+ return ctx;
80
+ }
81
+ function init(open, close) {
82
+ let blk = {
83
+ open: `\x1b[${open}m`,
84
+ close: `\x1b[${close}m`,
85
+ rgx: new RegExp(`\\x1b\\[${close}m`, "g")
86
+ };
87
+ return function(txt) {
88
+ if (this !== void 0 && this.has !== void 0) {
89
+ ~this.has.indexOf(open) || (this.has.push(open), this.keys.push(blk));
90
+ return txt === void 0 ? this : $.enabled ? run(this.keys, txt + "") : txt + "";
91
+ }
92
+ return txt === void 0 ? chain([open], [blk]) : $.enabled ? run([blk], txt + "") : txt + "";
93
+ };
94
+ }
95
+ //#endregion
96
+ //#region src/errors.ts
97
+ function handleError(error) {
98
+ if (error instanceof BambooError) {
99
+ console.error($.red(`${error.code}: ${error.message}`));
100
+ if (error.hint) console.error($.dim(error.hint));
101
+ if (error.cause instanceof Error) console.error($.dim(`Caused by: ${error.cause.message}`));
102
+ } else if (isLocError(error)) {
103
+ console.error($.bold($.red(`Error parsing: ${error.loc.file}:${error.loc.line}:${error.loc.column}`)));
104
+ if (error.frame) {
105
+ console.error($.red(error.message));
106
+ console.error($.dim(error.frame));
107
+ } else console.error($.red(error.message));
108
+ } else {
109
+ const message = error instanceof Error ? error.message : String(error);
110
+ console.error($.red(message));
111
+ }
112
+ process.exitCode = 1;
113
+ if (!isMainThread && parentPort) parentPort.postMessage("error");
114
+ }
115
+ function isLocError(error) {
116
+ return typeof error === "object" && error !== null && "loc" in error && typeof error.loc === "object" && "message" in error;
117
+ }
118
+ //#endregion
2
119
  export { handleError };
package/dist/index.cjs CHANGED
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("./chunk-C2EiDwsr.cjs");
3
2
  let _bamboocss_shared = require("@bamboocss/shared");
4
3
  //#region src/index.ts
5
4
  function defineConfig(config) {
@@ -1,3 +1,138 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_interactive = require("./interactive-BD639MCr.cjs");
3
- exports.interactive = require_interactive.interactive;
2
+ //#region \0rolldown/runtime.js
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
+ get: ((k) => from[k]).bind(null, key),
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
20
+ value: mod,
21
+ enumerable: true
22
+ }) : target, mod));
23
+ //#endregion
24
+ let _clack_prompts = require("@clack/prompts");
25
+ _clack_prompts = __toESM(_clack_prompts);
26
+ //#region package.json
27
+ var version = "1.12.0";
28
+ //#endregion
29
+ //#region src/interactive.ts
30
+ const interactive = async () => {
31
+ _clack_prompts.intro(`bamboo v${version}`);
32
+ const initFlags = await _clack_prompts.group({
33
+ usePostcss: () => _clack_prompts.select({
34
+ message: "Would you like to use PostCSS ?",
35
+ initialValue: "yes",
36
+ options: [{
37
+ value: "yes",
38
+ label: "Yes"
39
+ }, {
40
+ value: "no",
41
+ label: "No"
42
+ }]
43
+ }),
44
+ useMjsExtension: () => _clack_prompts.select({
45
+ message: "Use the mjs extension ?",
46
+ initialValue: "yes",
47
+ options: [{
48
+ value: "yes",
49
+ label: "Yes"
50
+ }, {
51
+ value: "no",
52
+ label: "No"
53
+ }]
54
+ }),
55
+ jsxOptions: () => _clack_prompts.group({
56
+ styleProps: () => _clack_prompts.select({
57
+ message: "Would you like to use JSX Style Props ?",
58
+ initialValue: "yes",
59
+ options: [{
60
+ value: "yes",
61
+ label: "Yes"
62
+ }, {
63
+ value: "no",
64
+ label: "No"
65
+ }]
66
+ }),
67
+ jsxFramework: () => _clack_prompts.select({
68
+ message: "What JSX framework?",
69
+ initialValue: "react",
70
+ options: [
71
+ {
72
+ value: "react",
73
+ label: "React"
74
+ },
75
+ {
76
+ value: "vue",
77
+ label: "Vue"
78
+ },
79
+ {
80
+ value: "solid",
81
+ label: "Solid"
82
+ },
83
+ {
84
+ value: "qwik",
85
+ label: "Qwik"
86
+ }
87
+ ]
88
+ })
89
+ }),
90
+ whatSyntax: () => _clack_prompts.select({
91
+ message: "What css syntax would you like to use?",
92
+ initialValue: "object",
93
+ options: [{
94
+ value: "object-literal",
95
+ label: "Object"
96
+ }, {
97
+ value: "template-literal",
98
+ label: "Template literal"
99
+ }]
100
+ }),
101
+ withStrictTokens: () => _clack_prompts.select({
102
+ message: "Use strict tokens to enforce full type-safety?",
103
+ initialValue: "no",
104
+ options: [{
105
+ value: "yes",
106
+ label: "Yes"
107
+ }, {
108
+ value: "no",
109
+ label: "No"
110
+ }]
111
+ }),
112
+ shouldUpdateGitignore: () => _clack_prompts.select({
113
+ message: "Update gitignore?",
114
+ initialValue: "yes",
115
+ options: [{
116
+ value: "yes",
117
+ label: "Yes"
118
+ }, {
119
+ value: "no",
120
+ label: "No"
121
+ }]
122
+ })
123
+ }, { onCancel: () => {
124
+ _clack_prompts.cancel("Operation cancelled.");
125
+ process.exit(0);
126
+ } });
127
+ _clack_prompts.outro("Let's get started! 🐼");
128
+ return {
129
+ postcss: initFlags.usePostcss === "yes",
130
+ outExtension: initFlags.useMjsExtension === "yes" ? "mjs" : "js",
131
+ jsxFramework: initFlags.jsxOptions.jsxFramework,
132
+ syntax: initFlags.whatSyntax,
133
+ strictTokens: initFlags.withStrictTokens === "yes",
134
+ gitignore: initFlags.shouldUpdateGitignore === "yes"
135
+ };
136
+ };
137
+ //#endregion
138
+ exports.interactive = interactive;
@@ -1,2 +1,114 @@
1
- import { t as interactive } from "./interactive-D22006je.mjs";
1
+ import * as p from "@clack/prompts";
2
+ //#region package.json
3
+ var version = "1.12.0";
4
+ //#endregion
5
+ //#region src/interactive.ts
6
+ const interactive = async () => {
7
+ p.intro(`bamboo v${version}`);
8
+ const initFlags = await p.group({
9
+ usePostcss: () => p.select({
10
+ message: "Would you like to use PostCSS ?",
11
+ initialValue: "yes",
12
+ options: [{
13
+ value: "yes",
14
+ label: "Yes"
15
+ }, {
16
+ value: "no",
17
+ label: "No"
18
+ }]
19
+ }),
20
+ useMjsExtension: () => p.select({
21
+ message: "Use the mjs extension ?",
22
+ initialValue: "yes",
23
+ options: [{
24
+ value: "yes",
25
+ label: "Yes"
26
+ }, {
27
+ value: "no",
28
+ label: "No"
29
+ }]
30
+ }),
31
+ jsxOptions: () => p.group({
32
+ styleProps: () => p.select({
33
+ message: "Would you like to use JSX Style Props ?",
34
+ initialValue: "yes",
35
+ options: [{
36
+ value: "yes",
37
+ label: "Yes"
38
+ }, {
39
+ value: "no",
40
+ label: "No"
41
+ }]
42
+ }),
43
+ jsxFramework: () => p.select({
44
+ message: "What JSX framework?",
45
+ initialValue: "react",
46
+ options: [
47
+ {
48
+ value: "react",
49
+ label: "React"
50
+ },
51
+ {
52
+ value: "vue",
53
+ label: "Vue"
54
+ },
55
+ {
56
+ value: "solid",
57
+ label: "Solid"
58
+ },
59
+ {
60
+ value: "qwik",
61
+ label: "Qwik"
62
+ }
63
+ ]
64
+ })
65
+ }),
66
+ whatSyntax: () => p.select({
67
+ message: "What css syntax would you like to use?",
68
+ initialValue: "object",
69
+ options: [{
70
+ value: "object-literal",
71
+ label: "Object"
72
+ }, {
73
+ value: "template-literal",
74
+ label: "Template literal"
75
+ }]
76
+ }),
77
+ withStrictTokens: () => p.select({
78
+ message: "Use strict tokens to enforce full type-safety?",
79
+ initialValue: "no",
80
+ options: [{
81
+ value: "yes",
82
+ label: "Yes"
83
+ }, {
84
+ value: "no",
85
+ label: "No"
86
+ }]
87
+ }),
88
+ shouldUpdateGitignore: () => p.select({
89
+ message: "Update gitignore?",
90
+ initialValue: "yes",
91
+ options: [{
92
+ value: "yes",
93
+ label: "Yes"
94
+ }, {
95
+ value: "no",
96
+ label: "No"
97
+ }]
98
+ })
99
+ }, { onCancel: () => {
100
+ p.cancel("Operation cancelled.");
101
+ process.exit(0);
102
+ } });
103
+ p.outro("Let's get started! 🐼");
104
+ return {
105
+ postcss: initFlags.usePostcss === "yes",
106
+ outExtension: initFlags.useMjsExtension === "yes" ? "mjs" : "js",
107
+ jsxFramework: initFlags.jsxOptions.jsxFramework,
108
+ syntax: initFlags.whatSyntax,
109
+ strictTokens: initFlags.withStrictTokens === "yes",
110
+ gitignore: initFlags.shouldUpdateGitignore === "yes"
111
+ };
112
+ };
113
+ //#endregion
2
114
  export { interactive };
package/dist/presets.cjs CHANGED
@@ -1,6 +1,27 @@
1
- const require_chunk = require("./chunk-C2EiDwsr.cjs");
1
+ //#region \0rolldown/runtime.js
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
+ key = keys[i];
11
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
+ get: ((k) => from[k]).bind(null, key),
13
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
+ });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
19
+ value: mod,
20
+ enumerable: true
21
+ }) : target, mod));
22
+ //#endregion
2
23
  let _bamboocss_preset_bamboo = require("@bamboocss/preset-bamboo");
3
- _bamboocss_preset_bamboo = require_chunk.__toESM(_bamboocss_preset_bamboo);
24
+ _bamboocss_preset_bamboo = __toESM(_bamboocss_preset_bamboo);
4
25
  //#region src/presets.ts
5
26
  var presets_default = _bamboocss_preset_bamboo.default;
6
27
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bamboocss/dev",
3
- "version": "1.11.3",
3
+ "version": "1.12.0",
4
4
  "description": "The user facing package for bamboo css",
5
5
  "homepage": "https://bamboo-css.com",
6
6
  "license": "MIT",
@@ -54,16 +54,16 @@
54
54
  "dependencies": {
55
55
  "@clack/prompts": "0.11.0",
56
56
  "cac": "6.7.14",
57
- "@bamboocss/config": "1.11.3",
58
- "@bamboocss/logger": "1.11.3",
59
- "@bamboocss/mcp": "1.11.3",
60
- "@bamboocss/postcss": "1.11.3",
61
- "@bamboocss/node": "1.11.3",
62
- "@bamboocss/shared": "1.11.3",
63
- "@bamboocss/token-dictionary": "1.11.3",
64
- "@bamboocss/preset-base": "1.11.3",
65
- "@bamboocss/preset-bamboo": "1.11.3",
66
- "@bamboocss/types": "1.11.3"
57
+ "@bamboocss/config": "1.12.0",
58
+ "@bamboocss/logger": "1.12.0",
59
+ "@bamboocss/mcp": "1.12.0",
60
+ "@bamboocss/node": "1.12.0",
61
+ "@bamboocss/postcss": "1.12.0",
62
+ "@bamboocss/shared": "1.12.0",
63
+ "@bamboocss/preset-base": "1.12.0",
64
+ "@bamboocss/preset-bamboo": "1.12.0",
65
+ "@bamboocss/token-dictionary": "1.12.0",
66
+ "@bamboocss/types": "1.12.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@types/update-notifier": "6.0.8",
@@ -71,8 +71,8 @@
71
71
  "update-notifier": "7.3.1"
72
72
  },
73
73
  "scripts": {
74
- "build": "tsdown 'src/*.ts' --format=esm,cjs --dts --shims",
75
- "build-fast": "tsdown --dts=false 'src/*.ts' --format=esm,cjs --shims",
74
+ "build": "tsdown --dts",
75
+ "build-fast": "tsdown --dts=false",
76
76
  "dev": "pnpm build-fast --watch src"
77
77
  }
78
78
  }
@@ -1,35 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
- key = keys[i];
12
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
- get: ((k) => from[k]).bind(null, key),
14
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
- });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
20
- value: mod,
21
- enumerable: true
22
- }) : target, mod));
23
- //#endregion
24
- Object.defineProperty(exports, "__commonJSMin", {
25
- enumerable: true,
26
- get: function() {
27
- return __commonJSMin;
28
- }
29
- });
30
- Object.defineProperty(exports, "__toESM", {
31
- enumerable: true,
32
- get: function() {
33
- return __toESM;
34
- }
35
- });