@bamboocss/config 1.55.3 → 1.55.5
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.d.cts +5 -5
- package/dist/index.d.mts +5 -5
- package/dist/merge-config.d.cts +2 -2
- package/dist/merge-config.d.mts +2 -2
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BambooHooks
|
|
1
|
+
import { BambooHooks, BambooPlugin, Config, ConfigTsOptions, DiffConfigResult, LoadConfigResult } from "@bamboocss/types";
|
|
2
2
|
import { preset as presetBase } from "@bamboocss/preset-base";
|
|
3
3
|
import { preset as presetBamboo } from "@bamboocss/preset-bamboo";
|
|
4
4
|
import { CompilerOptions, TypeAcquisition } from "typescript";
|
|
@@ -1837,13 +1837,13 @@ type ExtendableConfig$1 = Extendable$1<Config>;
|
|
|
1837
1837
|
/**
|
|
1838
1838
|
* Recursively merge all presets into a single config (depth-first using stack)
|
|
1839
1839
|
*/
|
|
1840
|
-
declare function getResolvedConfig(config: ExtendableConfig$1, cwd: string, hooks?: Partial<BambooHooks
|
|
1840
|
+
declare function getResolvedConfig(config: ExtendableConfig$1, cwd: string, hooks?: Partial<BambooHooks>): Promise<Config>;
|
|
1841
1841
|
//#endregion
|
|
1842
1842
|
//#region src/load-config.d.ts
|
|
1843
1843
|
/**
|
|
1844
1844
|
* Find, load and resolve the final config (including presets)
|
|
1845
1845
|
*/
|
|
1846
|
-
declare function loadConfig(options: ConfigFileOptions): Promise<LoadConfigResult>;
|
|
1846
|
+
declare function loadConfig(options: ConfigFileOptions): Promise<import("@bamboocss/types").LoadConfigResult>;
|
|
1847
1847
|
//#endregion
|
|
1848
1848
|
//#region src/resolve-config.d.ts
|
|
1849
1849
|
/**
|
|
@@ -1856,10 +1856,10 @@ declare function loadConfig(options: ConfigFileOptions): Promise<LoadConfigResul
|
|
|
1856
1856
|
* was neither additive nor replacing, and `presets: []` meant "base only" rather than
|
|
1857
1857
|
* "none". Both of those had to be discovered by reading this function.
|
|
1858
1858
|
*/
|
|
1859
|
-
declare function resolveConfig(result: BundleConfigResult, cwd: string): Promise<LoadConfigResult
|
|
1859
|
+
declare function resolveConfig(result: BundleConfigResult, cwd: string): Promise<LoadConfigResult>;
|
|
1860
1860
|
//#endregion
|
|
1861
1861
|
//#region src/merge-hooks.d.ts
|
|
1862
|
-
declare const mergeHooks: (plugins: BambooPlugin[]) => BambooHooks
|
|
1862
|
+
declare const mergeHooks: (plugins: BambooPlugin[]) => Partial<BambooHooks>;
|
|
1863
1863
|
//#endregion
|
|
1864
1864
|
//#region src/merge-config.d.ts
|
|
1865
1865
|
type Extendable<T> = T & {
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { preset as presetBase } from "@bamboocss/preset-base";
|
|
2
2
|
import { preset as presetBamboo } from "@bamboocss/preset-bamboo";
|
|
3
|
-
import { BambooHooks
|
|
3
|
+
import { BambooHooks, BambooPlugin, Config, ConfigTsOptions, DiffConfigResult, LoadConfigResult } from "@bamboocss/types";
|
|
4
4
|
import { CompilerOptions, TypeAcquisition } from "typescript";
|
|
5
5
|
|
|
6
6
|
//#region src/types.d.ts
|
|
@@ -1837,13 +1837,13 @@ type ExtendableConfig$1 = Extendable$1<Config>;
|
|
|
1837
1837
|
/**
|
|
1838
1838
|
* Recursively merge all presets into a single config (depth-first using stack)
|
|
1839
1839
|
*/
|
|
1840
|
-
declare function getResolvedConfig(config: ExtendableConfig$1, cwd: string, hooks?: Partial<BambooHooks
|
|
1840
|
+
declare function getResolvedConfig(config: ExtendableConfig$1, cwd: string, hooks?: Partial<BambooHooks>): Promise<Config>;
|
|
1841
1841
|
//#endregion
|
|
1842
1842
|
//#region src/load-config.d.ts
|
|
1843
1843
|
/**
|
|
1844
1844
|
* Find, load and resolve the final config (including presets)
|
|
1845
1845
|
*/
|
|
1846
|
-
declare function loadConfig(options: ConfigFileOptions): Promise<LoadConfigResult>;
|
|
1846
|
+
declare function loadConfig(options: ConfigFileOptions): Promise<import("@bamboocss/types").LoadConfigResult>;
|
|
1847
1847
|
//#endregion
|
|
1848
1848
|
//#region src/resolve-config.d.ts
|
|
1849
1849
|
/**
|
|
@@ -1856,10 +1856,10 @@ declare function loadConfig(options: ConfigFileOptions): Promise<LoadConfigResul
|
|
|
1856
1856
|
* was neither additive nor replacing, and `presets: []` meant "base only" rather than
|
|
1857
1857
|
* "none". Both of those had to be discovered by reading this function.
|
|
1858
1858
|
*/
|
|
1859
|
-
declare function resolveConfig(result: BundleConfigResult, cwd: string): Promise<LoadConfigResult
|
|
1859
|
+
declare function resolveConfig(result: BundleConfigResult, cwd: string): Promise<LoadConfigResult>;
|
|
1860
1860
|
//#endregion
|
|
1861
1861
|
//#region src/merge-hooks.d.ts
|
|
1862
|
-
declare const mergeHooks: (plugins: BambooPlugin[]) => BambooHooks
|
|
1862
|
+
declare const mergeHooks: (plugins: BambooPlugin[]) => Partial<BambooHooks>;
|
|
1863
1863
|
//#endregion
|
|
1864
1864
|
//#region src/merge-config.d.ts
|
|
1865
1865
|
type Extendable<T> = T & {
|
package/dist/merge-config.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BambooPlugin, Config } from "@bamboocss/types";
|
|
1
|
+
import { BambooHooks, BambooPlugin, Config } from "@bamboocss/types";
|
|
2
2
|
|
|
3
3
|
//#region src/merge-hooks.d.ts
|
|
4
|
-
declare const mergeHooks: (plugins: BambooPlugin[]) => BambooHooks
|
|
4
|
+
declare const mergeHooks: (plugins: BambooPlugin[]) => Partial<BambooHooks>;
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/merge-config.d.ts
|
|
7
7
|
type Extendable<T> = T & {
|
package/dist/merge-config.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BambooPlugin, Config } from "@bamboocss/types";
|
|
1
|
+
import { BambooHooks, BambooPlugin, Config } from "@bamboocss/types";
|
|
2
2
|
|
|
3
3
|
//#region src/merge-hooks.d.ts
|
|
4
|
-
declare const mergeHooks: (plugins: BambooPlugin[]) => BambooHooks
|
|
4
|
+
declare const mergeHooks: (plugins: BambooPlugin[]) => Partial<BambooHooks>;
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/merge-config.d.ts
|
|
7
7
|
type Extendable<T> = T & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bamboocss/config",
|
|
3
|
-
"version": "1.55.
|
|
3
|
+
"version": "1.55.5",
|
|
4
4
|
"description": "Find and load bamboo config",
|
|
5
5
|
"homepage": "https://bamboocss.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
"escalade": "3.2.0",
|
|
65
65
|
"microdiff": "1.5.0",
|
|
66
66
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
67
|
-
"@bamboocss/logger": "1.55.
|
|
68
|
-
"@bamboocss/preset-bamboo": "1.55.
|
|
69
|
-
"@bamboocss/preset-base": "1.55.
|
|
70
|
-
"@bamboocss/shared": "1.55.
|
|
71
|
-
"@bamboocss/types": "1.55.
|
|
67
|
+
"@bamboocss/logger": "1.55.5",
|
|
68
|
+
"@bamboocss/preset-bamboo": "1.55.5",
|
|
69
|
+
"@bamboocss/preset-base": "1.55.5",
|
|
70
|
+
"@bamboocss/shared": "1.55.5",
|
|
71
|
+
"@bamboocss/types": "1.55.5"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"pkg-types": "2.3.0"
|