@bamboocss/node 1.58.0 → 1.58.1
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 +2 -2
- package/dist/index.mjs +2 -2
- package/dist/native/win32-x64-msvc.node +0 -0
- package/package.json +12 -12
package/dist/index.cjs
CHANGED
|
@@ -6492,11 +6492,11 @@ async function setupConfig(cwd, opts = {}) {
|
|
|
6492
6492
|
}
|
|
6493
6493
|
const { detect } = await import("package-manager-detector");
|
|
6494
6494
|
const pm = ((await detect({ cwd }))?.agent ?? "npm").split("@")[0];
|
|
6495
|
-
const cmd = pm === "npm" ? "
|
|
6495
|
+
const cmd = pm === "npm" ? "npx" : pm;
|
|
6496
6496
|
const file = (0, look_it_up.lookItUpSync)("tsconfig.json", cwd) ? "bamboo.config.ts" : "bamboo.config.mjs";
|
|
6497
|
-
_bamboocss_logger.logger.info("init:config", `creating bamboo config file: ${(0, _bamboocss_logger.quote)(file)}`);
|
|
6498
6497
|
if (!force && configFile) _bamboocss_logger.logger.warn("init:config", _bamboocss_core.messages.configExists(cmd));
|
|
6499
6498
|
else {
|
|
6499
|
+
_bamboocss_logger.logger.info("init:config", `creating bamboo config file: ${(0, _bamboocss_logger.quote)(file)}`);
|
|
6500
6500
|
const content = outdent.outdent`
|
|
6501
6501
|
import { defineConfig } from "@bamboocss/dev"
|
|
6502
6502
|
|
package/dist/index.mjs
CHANGED
|
@@ -6480,11 +6480,11 @@ async function setupConfig(cwd, opts = {}) {
|
|
|
6480
6480
|
}
|
|
6481
6481
|
const { detect } = await import("package-manager-detector");
|
|
6482
6482
|
const pm = ((await detect({ cwd }))?.agent ?? "npm").split("@")[0];
|
|
6483
|
-
const cmd = pm === "npm" ? "
|
|
6483
|
+
const cmd = pm === "npm" ? "npx" : pm;
|
|
6484
6484
|
const file = lookItUpSync("tsconfig.json", cwd) ? "bamboo.config.ts" : "bamboo.config.mjs";
|
|
6485
|
-
logger.info("init:config", `creating bamboo config file: ${quote(file)}`);
|
|
6486
6485
|
if (!force && configFile) logger.warn("init:config", messages.configExists(cmd));
|
|
6487
6486
|
else {
|
|
6487
|
+
logger.info("init:config", `creating bamboo config file: ${quote(file)}`);
|
|
6488
6488
|
const content = outdent`
|
|
6489
6489
|
import { defineConfig } from "@bamboocss/dev"
|
|
6490
6490
|
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bamboocss/node",
|
|
3
|
-
"version": "1.58.
|
|
3
|
+
"version": "1.58.1",
|
|
4
4
|
"description": "The core css bamboo library",
|
|
5
5
|
"homepage": "https://bamboocss.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -60,16 +60,16 @@
|
|
|
60
60
|
"pkg-types": "2.3.0",
|
|
61
61
|
"pluralize": "8.0.0",
|
|
62
62
|
"ts-pattern": "5.9.0",
|
|
63
|
-
"@bamboocss/config": "1.58.
|
|
64
|
-
"@bamboocss/core": "1.58.
|
|
65
|
-
"@bamboocss/generator": "1.58.
|
|
66
|
-
"@bamboocss/logger": "1.58.
|
|
67
|
-
"@bamboocss/plugin-svelte": "1.58.
|
|
68
|
-
"@bamboocss/plugin-vue": "1.58.
|
|
69
|
-
"@bamboocss/reporter": "1.58.
|
|
70
|
-
"@bamboocss/shared": "1.58.
|
|
71
|
-
"@bamboocss/token-dictionary": "1.58.
|
|
72
|
-
"@bamboocss/types": "1.58.
|
|
63
|
+
"@bamboocss/config": "1.58.1",
|
|
64
|
+
"@bamboocss/core": "1.58.1",
|
|
65
|
+
"@bamboocss/generator": "1.58.1",
|
|
66
|
+
"@bamboocss/logger": "1.58.1",
|
|
67
|
+
"@bamboocss/plugin-svelte": "1.58.1",
|
|
68
|
+
"@bamboocss/plugin-vue": "1.58.1",
|
|
69
|
+
"@bamboocss/reporter": "1.58.1",
|
|
70
|
+
"@bamboocss/shared": "1.58.1",
|
|
71
|
+
"@bamboocss/token-dictionary": "1.58.1",
|
|
72
|
+
"@bamboocss/types": "1.58.1"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@astrojs/compiler": "3.0.1",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@types/fs-extra": "11.0.4",
|
|
78
78
|
"@types/picomatch": "4.0.2",
|
|
79
79
|
"boxen": "8.0.1",
|
|
80
|
-
"@bamboocss/native-extractor": "1.58.
|
|
80
|
+
"@bamboocss/native-extractor": "1.58.1"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"@astrojs/compiler": ">=2",
|