@funish/basis 0.2.4 → 0.2.7
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/_chunks/common-ImpHew-F-C_Vy_bWl.mjs +563 -0
- package/dist/_chunks/config-DlKQJJuJ.mjs +1 -0
- package/dist/_chunks/dist-DmC4QnLo-DOtdNTJ9.mjs +1 -0
- package/dist/_chunks/jiti-4UP3iYSN.mjs +1 -0
- package/dist/_chunks/jiti-BTGRq7zm-CIyI5D4F.mjs +1 -0
- package/dist/_chunks/json5-jlDEA_LV-COBYYABw.mjs +1 -0
- package/dist/_chunks/json5-yz56pVhc.mjs +1 -0
- package/dist/_chunks/jsonc-BQ0-fIlR.mjs +1 -0
- package/dist/_chunks/jsonc-h2mYQXaC-DrYrX9nH.mjs +1 -0
- package/dist/_chunks/ohash-CBmXOb0i.mjs +1 -0
- package/dist/_chunks/ohash-auviw4oE-C1rS-sj5.mjs +1 -0
- package/dist/_chunks/prompt-B0wRZcxM.mjs +1 -0
- package/dist/_chunks/prompt-B56gTa4S-DU9z28wS-C5xwSzir.mjs +1 -0
- package/dist/_chunks/prompt-DWoeycZC-CrPLiZ-7.mjs +1 -0
- package/dist/_chunks/resolver-j7HY1N36-CYXyUckt-KaY2bzL2.mjs +1 -0
- package/dist/_chunks/rolldown-runtime-coR7_hWt.mjs +1 -0
- package/dist/_chunks/toml-Db_vu9L2.mjs +1 -0
- package/dist/_chunks/toml-DpopYhMQ-Cm2FvyAB.mjs +1 -0
- package/dist/_chunks/trace-DE8F1ZUa-BjFwYDv5.mjs +1 -0
- package/dist/_chunks/tsc-DYjBCyQo-W841VDnt.mjs +1 -0
- package/dist/_chunks/{types-D9xRZRDc.d.mts → types-D97hRU-z.d.mts} +7 -6
- package/dist/_chunks/vendor/common-BKG-EppI.mjs +352 -0
- package/dist/_chunks/vendor/common-BpqHhQqH.d.mts +359 -0
- package/dist/_chunks/yaml-Bk1o9q2C.mjs +1 -0
- package/dist/_chunks/yaml-rm6ZZAQq-BzQnHREY.mjs +1 -0
- package/dist/cli.mjs +19 -7
- package/dist/commands/fmt.mjs +1 -1
- package/dist/commands/git.mjs +1 -1
- package/dist/commands/lint.mjs +1 -1
- package/dist/commands/run.mjs +1 -1
- package/dist/config.d.mts +6968 -6
- package/dist/config.mjs +1 -1
- package/dist/index.d.mts +2 -1
- package/package.json +5 -4
- package/dist/_chunks/config-D9BuZxZJ.mjs +0 -1
- package/dist/commands/check.d.mts +0 -2
- package/dist/commands/check.mjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{E as e,h as t,v as n}from"./vendor/common-BKG-EppI.mjs";function r(e){return e}function i(e){return e}async function a(r={}){if(r.cwd)return await t({name:`basis`,cwd:r.cwd,...r,defaults:{...r.defaults}});let i=process.cwd(),a=await n(i);for(;;){let n=await t({name:`basis`,cwd:i,...r,defaults:{...r.defaults}});if(n._configFile||i===a)return n;i=e(i)}}export{a as n,r,i as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./common-ImpHew-F-C_Vy_bWl.mjs";export{e as createBirpc};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as e}from"./vendor/common-BKG-EppI.mjs";export{e as createJiti,e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as e}from"./common-ImpHew-F-C_Vy_bWl.mjs";export{e as createJiti,e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as e}from"./common-ImpHew-F-C_Vy_bWl.mjs";export{e as parseJSON5};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{T as e}from"./vendor/common-BKG-EppI.mjs";export{e as parseJSON5};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{w as e}from"./vendor/common-BKG-EppI.mjs";export{e as parseJSONC};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{w as e}from"./common-ImpHew-F-C_Vy_bWl.mjs";export{e as parseJSONC};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,r as t}from"./vendor/common-BKG-EppI.mjs";export{t as n,e as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{F as e,l as t}from"./common-ImpHew-F-C_Vy_bWl.mjs";export{t as n,e as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./vendor/common-BKG-EppI.mjs";export{e as prompt};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{S as e}from"./common-ImpHew-F-C_Vy_bWl.mjs";export{e as prompt};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{C as e}from"./common-ImpHew-F-C_Vy_bWl.mjs";export{e as prompt};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{P as e}from"./common-ImpHew-F-C_Vy_bWl.mjs";export{e as tscResolve};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createRequire as e}from"node:module";var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},l=(e,r,i)=>(i=e==null?{}:t(a(e)),c(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e)),u=e(import.meta.url);export{u as n,l as r,s as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{S as e}from"./vendor/common-BKG-EppI.mjs";export{e as parseTOML};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e}from"./common-ImpHew-F-C_Vy_bWl.mjs";export{e as parseTOML};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as e}from"./common-ImpHew-F-C_Vy_bWl.mjs";export{e as r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{N as e}from"./common-ImpHew-F-C_Vy_bWl.mjs";export{e as tscEmit};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { GitConfig } from "
|
|
2
|
-
import { JitiOptions } from "jiti";
|
|
1
|
+
import { a as GitConfig$1, i as JitiOptions } from "./vendor/common-BpqHhQqH.mjs";
|
|
3
2
|
|
|
4
3
|
//#region src/types.d.ts
|
|
5
4
|
interface BasisConfig {
|
|
5
|
+
/** Extend from another config file or package */
|
|
6
|
+
extends?: string | string[];
|
|
6
7
|
lint?: LintConfig;
|
|
7
8
|
fmt?: FmtConfig;
|
|
8
|
-
git?: GitConfig
|
|
9
|
+
git?: GitConfig;
|
|
9
10
|
run?: RunConfig;
|
|
10
11
|
audit?: AuditConfig;
|
|
11
12
|
version?: VersionConfig;
|
|
@@ -35,11 +36,11 @@ interface StagedConfig {
|
|
|
35
36
|
/**
|
|
36
37
|
* Git command configuration
|
|
37
38
|
*/
|
|
38
|
-
interface GitConfig
|
|
39
|
+
interface GitConfig {
|
|
39
40
|
/** Git hooks */
|
|
40
41
|
hooks?: Partial<Record<ValidGitHook, string>>;
|
|
41
42
|
/** Git configuration */
|
|
42
|
-
config?: GitConfig;
|
|
43
|
+
config?: GitConfig$1;
|
|
43
44
|
/** Commit message validation */
|
|
44
45
|
commitMsg?: CommitMsgConfig;
|
|
45
46
|
/** Staged files check */
|
|
@@ -191,4 +192,4 @@ interface PublishOptions {
|
|
|
191
192
|
otp?: string;
|
|
192
193
|
}
|
|
193
194
|
//#endregion
|
|
194
|
-
export { FmtConfig as a, LintConfig as c, RunConfig as d, StagedConfig as f, VersionOptions as g, VersionConfig as h, CommitMsgConfig as i, PublishConfig as l, ValidGitHook as m, BasisConfig as n, GitConfig
|
|
195
|
+
export { FmtConfig as a, LintConfig as c, RunConfig as d, StagedConfig as f, VersionOptions as g, VersionConfig as h, CommitMsgConfig as i, PublishConfig as l, ValidGitHook as m, BasisConfig as n, GitConfig as o, VALID_GIT_HOOKS as p, CommitMessage as r, InitOptions as s, AuditConfig as t, PublishOptions as u };
|