@bamboocss/dev 1.30.1 → 1.32.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 +13 -25
- package/dist/cli-default.mjs +14 -26
- package/dist/cli-main.cjs +14 -26
- package/dist/cli-main.mjs +15 -27
- package/dist/index.cjs +2 -21
- package/dist/index.d.cts +3 -6
- package/dist/index.d.mts +3 -6
- package/dist/index.mjs +2 -18
- package/dist/interactive.cjs +1 -1
- package/dist/interactive.mjs +1 -1
- package/dist/{mcp-init-BvhoBfuw.cjs → mcp-init-C0oaGoDl.cjs} +1 -1
- package/dist/{mcp-init-Cg37FkSz.mjs → mcp-init-CiYAgeNg.mjs} +1 -1
- package/dist/{package-BOnXC3Wi.cjs → package-DXgfGokJ.cjs} +1 -1
- package/dist/{package-CarQ3yB-.mjs → package-hGuUFPQk.mjs} +1 -1
- package/dist/presets.cjs +23 -25
- package/dist/presets.d.cts +1765 -2
- package/dist/presets.d.mts +1765 -2
- package/dist/presets.mjs +17 -3
- package/dist/types.d.cts +0 -3
- package/dist/types.d.mts +0 -3
- package/package.json +9 -9
package/dist/presets.mjs
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { preset as presetBamboo } from "@bamboocss/preset-bamboo";
|
|
2
|
+
import { preset as presetBase } from "@bamboocss/preset-base";
|
|
2
3
|
//#region src/presets.ts
|
|
3
|
-
|
|
4
|
+
/**
|
|
5
|
+
* The presets a config loads when it lists none.
|
|
6
|
+
*
|
|
7
|
+
* `presets` is authoritative, so a config that adds one has to say what it is adding to:
|
|
8
|
+
*
|
|
9
|
+
* ```ts
|
|
10
|
+
* import { defaultPresets } from '@bamboocss/dev/presets'
|
|
11
|
+
* export default defineConfig({ presets: [...defaultPresets, myPreset] })
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* Spread it — the array is shared.
|
|
15
|
+
*/
|
|
16
|
+
const defaultPresets = [presetBase, presetBamboo];
|
|
17
|
+
var presets_default = presetBamboo;
|
|
4
18
|
//#endregion
|
|
5
|
-
export { presets_default as default };
|
|
19
|
+
export { presets_default as default, defaultPresets, presetBamboo, presetBase };
|
package/dist/types.d.cts
CHANGED
|
@@ -14,13 +14,11 @@ interface CssGenCommandFlags {
|
|
|
14
14
|
silent?: boolean;
|
|
15
15
|
clean?: boolean;
|
|
16
16
|
outfile?: string;
|
|
17
|
-
minimal?: boolean;
|
|
18
17
|
watch?: boolean;
|
|
19
18
|
poll?: boolean;
|
|
20
19
|
cwd?: string;
|
|
21
20
|
config?: string;
|
|
22
21
|
minify?: boolean;
|
|
23
|
-
lightningcss?: boolean;
|
|
24
22
|
polyfill?: boolean;
|
|
25
23
|
cpuProf?: boolean;
|
|
26
24
|
logfile?: string;
|
|
@@ -69,7 +67,6 @@ interface MainCommandFlags extends Pick<Config, 'cwd' | 'poll' | 'watch'> {
|
|
|
69
67
|
exclude?: string[];
|
|
70
68
|
hash?: boolean;
|
|
71
69
|
emitTokensOnly?: boolean;
|
|
72
|
-
lightningcss?: boolean;
|
|
73
70
|
polyfill?: boolean;
|
|
74
71
|
cpuProf?: boolean;
|
|
75
72
|
logfile?: string;
|
package/dist/types.d.mts
CHANGED
|
@@ -14,13 +14,11 @@ interface CssGenCommandFlags {
|
|
|
14
14
|
silent?: boolean;
|
|
15
15
|
clean?: boolean;
|
|
16
16
|
outfile?: string;
|
|
17
|
-
minimal?: boolean;
|
|
18
17
|
watch?: boolean;
|
|
19
18
|
poll?: boolean;
|
|
20
19
|
cwd?: string;
|
|
21
20
|
config?: string;
|
|
22
21
|
minify?: boolean;
|
|
23
|
-
lightningcss?: boolean;
|
|
24
22
|
polyfill?: boolean;
|
|
25
23
|
cpuProf?: boolean;
|
|
26
24
|
logfile?: string;
|
|
@@ -69,7 +67,6 @@ interface MainCommandFlags extends Pick<Config, 'cwd' | 'poll' | 'watch'> {
|
|
|
69
67
|
exclude?: string[];
|
|
70
68
|
hash?: boolean;
|
|
71
69
|
emitTokensOnly?: boolean;
|
|
72
|
-
lightningcss?: boolean;
|
|
73
70
|
polyfill?: boolean;
|
|
74
71
|
cpuProf?: boolean;
|
|
75
72
|
logfile?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bamboocss/dev",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.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.32.0",
|
|
58
|
+
"@bamboocss/node": "1.32.0",
|
|
59
|
+
"@bamboocss/postcss": "1.32.0",
|
|
60
|
+
"@bamboocss/preset-bamboo": "1.32.0",
|
|
61
|
+
"@bamboocss/preset-base": "1.32.0",
|
|
62
|
+
"@bamboocss/shared": "1.32.0",
|
|
63
|
+
"@bamboocss/token-dictionary": "1.32.0",
|
|
64
|
+
"@bamboocss/types": "1.32.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@types/update-notifier": "6.0.8",
|