@willbooster/shared-lib-node 6.0.6 → 6.1.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/glob.cjs +2 -0
- package/dist/glob.cjs.map +1 -0
- package/dist/glob.d.ts +38 -0
- package/dist/glob.js +2 -0
- package/dist/glob.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/package.json +4 -3
package/dist/glob.cjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("node:fs"),s=require("node:path");function n(e,n){if(!n)return!1;const o=s.join(e.parentPath,e.name).replaceAll("\\","/");return n.some((e=>e.test(o)))}exports.glob=async function*(o,l){if(process.versions.bun){const e=new((await import("bun")).Glob)(o);for await(const o of e.scan({cwd:l.cwd,onlyFiles:l.onlyFiles})){const e=s.parse(o),i={name:e.base,parentPath:s.resolve(l.cwd??".",e.dir)};n(i,l.excludes)||(yield i)}}else for await(const s of e.promises.glob(o,{...l,exclude:l.excludes?.length?e=>n(e,l.excludes):void 0,withFileTypes:!0}))l.onlyFiles&&!s.isFile()||s.isFile()&&n(s,l.excludes)||(yield s)},exports.globSync=function(o,l){if(process.versions.bun){const e=new(require("bun").Glob)(o),i=[];for(const o of e.scanSync({cwd:l.cwd,onlyFiles:l.onlyFiles})){const e=s.parse(o),r={name:e.base,parentPath:s.resolve(l.cwd??".",e.dir)};n(r,l.excludes)||i.push(r)}return i}return e.globSync(o,{...l,exclude:l.excludes?e=>n(e,l.excludes):void 0,withFileTypes:!0}).filter((e=>!(l.onlyFiles&&!e.isFile()||e.isFile()&&n(e,l.excludes))))};
|
|
2
|
+
//# sourceMappingURL=glob.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"glob.cjs","sources":["../src/glob.ts"],"sourcesContent":["import fs from 'node:fs';\nimport path from 'node:path';\n\nimport type { Glob } from 'bun';\n\n/**\n * Represents a file system entry with name and parent path information.\n */\ntype NodeJsDirentLike = {\n /** The name of the file or directory */\n name: string;\n /** The absolute path to the parent directory */\n parentPath: string;\n};\n\n/**\n * Asynchronously glob for files and directories.\n * @param pattern - The glob pattern to match files and directories\n * @param options - Configuration options for globbing\n * @param options.cwd - The working directory to start globbing from\n * @param options.excludes - Regular expressions to exclude from the results\n * @param options.onlyFiles - If true, only return files (not directories)\n * @returns An async iterator of matching files and directories\n */\nexport async function* glob(\n pattern: string,\n options: { cwd?: string; excludes?: RegExp[]; onlyFiles: boolean }\n): NodeJS.AsyncIterator<NodeJsDirentLike> {\n // cf. https://bun.sh/guides/util/detect-bun\n if (process.versions.bun) {\n const bun = await import('bun');\n const bunGlob = new bun.Glob(pattern);\n for await (const direntPath of bunGlob.scan({ cwd: options.cwd, onlyFiles: options.onlyFiles })) {\n const parsedDirentPath = path.parse(direntPath);\n const dirent = {\n name: parsedDirentPath.base,\n parentPath: path.resolve(options.cwd ?? '.', parsedDirentPath.dir),\n };\n if (isExcluded(dirent, options.excludes)) continue;\n\n yield dirent;\n }\n } else {\n for await (const dirent of fs.promises.glob(pattern, {\n ...options,\n exclude: options.excludes?.length ? (dirent) => isExcluded(dirent, options.excludes) : undefined,\n withFileTypes: true,\n })) {\n if (options.onlyFiles && !dirent.isFile()) continue;\n // We need double-check here because files are ignored by `exclude` option.\n if (dirent.isFile() && isExcluded(dirent, options.excludes)) continue;\n\n yield dirent;\n }\n }\n}\n\n/**\n * Synchronously glob for files and directories.\n * @param pattern - The glob pattern to match files and directories\n * @param options - Configuration options for globbing\n * @param options.cwd - The working directory to start globbing from\n * @param options.excludes - Regular expressions to exclude from the results\n * @param options.onlyFiles - If true, only return files (not directories)\n * @returns An array of matching files and directories\n */\nexport function globSync(\n pattern: string,\n options: { cwd?: string; excludes?: RegExp[]; onlyFiles: boolean }\n): NodeJsDirentLike[] {\n // cf. https://bun.sh/guides/util/detect-bun\n if (process.versions.bun) {\n // eslint-disable-next-line @typescript-eslint/no-require-imports,unicorn/prefer-module\n const bun = require('bun');\n const bunGlob = new bun.Glob(pattern) as Glob;\n const dirents: NodeJsDirentLike[] = [];\n for (const direntPath of bunGlob.scanSync({ cwd: options.cwd, onlyFiles: options.onlyFiles })) {\n const parsedDirentPath = path.parse(direntPath);\n const dirent = {\n name: parsedDirentPath.base,\n parentPath: path.resolve(options.cwd ?? '.', parsedDirentPath.dir),\n };\n if (isExcluded(dirent, options.excludes)) continue;\n\n dirents.push(dirent);\n }\n return dirents;\n } else {\n return (\n fs\n .globSync(pattern, {\n ...options,\n exclude: options.excludes ? (dirent) => isExcluded(dirent, options.excludes) : undefined,\n withFileTypes: true,\n })\n // We need double-check here because files are ignored by `exclude` option.\n .filter(\n (dirent) =>\n !(options.onlyFiles && !dirent.isFile()) && !(dirent.isFile() && isExcluded(dirent, options.excludes))\n )\n );\n }\n}\n\nfunction isExcluded(dirent: NodeJsDirentLike, excludes?: RegExp[]): boolean {\n if (!excludes) return false;\n\n const targetPath = path.join(dirent.parentPath, dirent.name).replaceAll('\\\\', '/');\n return excludes.some((pattern) => pattern.test(targetPath));\n}\n"],"names":["isExcluded","dirent","excludes","targetPath","path","join","parentPath","name","replaceAll","some","pattern","test","async","options","process","versions","bun","bunGlob","import","Glob","direntPath","scan","cwd","onlyFiles","parsedDirentPath","parse","base","resolve","dir","fs","promises","glob","exclude","length","undefined","withFileTypes","isFile","require","dirents","scanSync","push","globSync","filter"],"mappings":"6DAwGA,SAASA,EAAWC,EAA0BC,GAC5C,IAAKA,EAAU,OAAO,EAEtB,MAAMC,EAAaC,EAAKC,KAAKJ,EAAOK,WAAYL,EAAOM,MAAMC,WAAW,KAAM,KAC9E,OAAON,EAASO,MAAMC,GAAYA,EAAQC,KAAKR,IACjD,cArFOS,gBACLF,EACAG,GAGA,GAAIC,QAAQC,SAASC,IAAK,CACxB,MACMC,EAAU,WADEC,OAAO,QACDC,MAAKT,GAC7B,UAAW,MAAMU,KAAcH,EAAQI,KAAK,CAAEC,IAAKT,EAAQS,IAAKC,UAAWV,EAAQU,YAAc,CAC/F,MAAMC,EAAmBpB,EAAKqB,MAAML,GAC9BnB,EAAS,CACbM,KAAMiB,EAAiBE,KACvBpB,WAAYF,EAAKuB,QAAQd,EAAQS,KAAO,IAAKE,EAAiBI,MAE5D5B,EAAWC,EAAQY,EAAQX,kBAEzBD,EACR,CACF,MACE,UAAW,MAAMA,KAAU4B,EAAGC,SAASC,KAAKrB,EAAS,IAChDG,EACHmB,QAASnB,EAAQX,UAAU+B,OAAUhC,GAAWD,EAAWC,EAAQY,EAAQX,eAAYgC,EACvFC,eAAe,IAEXtB,EAAQU,YAActB,EAAOmC,UAE7BnC,EAAOmC,UAAYpC,EAAWC,EAAQY,EAAQX,kBAE5CD,EAGZ,mBAWO,SACLS,EACAG,GAGA,GAAIC,QAAQC,SAASC,IAAK,CAExB,MACMC,EAAU,IADJoB,QAAQ,OACIlB,MAAKT,GACvB4B,EAA8B,GACpC,IAAK,MAAMlB,KAAcH,EAAQsB,SAAS,CAAEjB,IAAKT,EAAQS,IAAKC,UAAWV,EAAQU,YAAc,CAC7F,MAAMC,EAAmBpB,EAAKqB,MAAML,GAC9BnB,EAAS,CACbM,KAAMiB,EAAiBE,KACvBpB,WAAYF,EAAKuB,QAAQd,EAAQS,KAAO,IAAKE,EAAiBI,MAE5D5B,EAAWC,EAAQY,EAAQX,WAE/BoC,EAAQE,KAAKvC,EACf,CACA,OAAOqC,CACT,CACE,OACET,EACGY,SAAS/B,EAAS,IACdG,EACHmB,QAASnB,EAAQX,SAAYD,GAAWD,EAAWC,EAAQY,EAAQX,eAAYgC,EAC/EC,eAAe,IAGhBO,QACEzC,KACGY,EAAQU,YAActB,EAAOmC,UAAenC,EAAOmC,UAAYpC,EAAWC,EAAQY,EAAQX,YAIxG"}
|
package/dist/glob.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a file system entry with name and parent path information.
|
|
3
|
+
*/
|
|
4
|
+
type NodeJsDirentLike = {
|
|
5
|
+
/** The name of the file or directory */
|
|
6
|
+
name: string;
|
|
7
|
+
/** The absolute path to the parent directory */
|
|
8
|
+
parentPath: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Asynchronously glob for files and directories.
|
|
12
|
+
* @param pattern - The glob pattern to match files and directories
|
|
13
|
+
* @param options - Configuration options for globbing
|
|
14
|
+
* @param options.cwd - The working directory to start globbing from
|
|
15
|
+
* @param options.excludes - Regular expressions to exclude from the results
|
|
16
|
+
* @param options.onlyFiles - If true, only return files (not directories)
|
|
17
|
+
* @returns An async iterator of matching files and directories
|
|
18
|
+
*/
|
|
19
|
+
export declare function glob(pattern: string, options: {
|
|
20
|
+
cwd?: string;
|
|
21
|
+
excludes?: RegExp[];
|
|
22
|
+
onlyFiles: boolean;
|
|
23
|
+
}): NodeJS.AsyncIterator<NodeJsDirentLike>;
|
|
24
|
+
/**
|
|
25
|
+
* Synchronously glob for files and directories.
|
|
26
|
+
* @param pattern - The glob pattern to match files and directories
|
|
27
|
+
* @param options - Configuration options for globbing
|
|
28
|
+
* @param options.cwd - The working directory to start globbing from
|
|
29
|
+
* @param options.excludes - Regular expressions to exclude from the results
|
|
30
|
+
* @param options.onlyFiles - If true, only return files (not directories)
|
|
31
|
+
* @returns An array of matching files and directories
|
|
32
|
+
*/
|
|
33
|
+
export declare function globSync(pattern: string, options: {
|
|
34
|
+
cwd?: string;
|
|
35
|
+
excludes?: RegExp[];
|
|
36
|
+
onlyFiles: boolean;
|
|
37
|
+
}): NodeJsDirentLike[];
|
|
38
|
+
export {};
|
package/dist/glob.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"node:fs";import s from"node:path";async function*n(n,o){if(process.versions.bun){const e=new((await import("bun")).Glob)(n);for await(const n of e.scan({cwd:o.cwd,onlyFiles:o.onlyFiles})){const e=s.parse(n),l={name:e.base,parentPath:s.resolve(o.cwd??".",e.dir)};i(l,o.excludes)||(yield l)}}else for await(const s of e.promises.glob(n,{...o,exclude:o.excludes?.length?e=>i(e,o.excludes):void 0,withFileTypes:!0}))o.onlyFiles&&!s.isFile()||s.isFile()&&i(s,o.excludes)||(yield s)}function o(n,o){if(process.versions.bun){const e=new(require("bun").Glob)(n),l=[];for(const n of e.scanSync({cwd:o.cwd,onlyFiles:o.onlyFiles})){const e=s.parse(n),c={name:e.base,parentPath:s.resolve(o.cwd??".",e.dir)};i(c,o.excludes)||l.push(c)}return l}return e.globSync(n,{...o,exclude:o.excludes?e=>i(e,o.excludes):void 0,withFileTypes:!0}).filter((e=>!(o.onlyFiles&&!e.isFile()||e.isFile()&&i(e,o.excludes))))}function i(e,n){if(!n)return!1;const o=s.join(e.parentPath,e.name).replaceAll("\\","/");return n.some((e=>e.test(o)))}export{n as glob,o as globSync};
|
|
2
|
+
//# sourceMappingURL=glob.js.map
|
package/dist/glob.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"glob.js","sources":["../src/glob.ts"],"sourcesContent":["import fs from 'node:fs';\nimport path from 'node:path';\n\nimport type { Glob } from 'bun';\n\n/**\n * Represents a file system entry with name and parent path information.\n */\ntype NodeJsDirentLike = {\n /** The name of the file or directory */\n name: string;\n /** The absolute path to the parent directory */\n parentPath: string;\n};\n\n/**\n * Asynchronously glob for files and directories.\n * @param pattern - The glob pattern to match files and directories\n * @param options - Configuration options for globbing\n * @param options.cwd - The working directory to start globbing from\n * @param options.excludes - Regular expressions to exclude from the results\n * @param options.onlyFiles - If true, only return files (not directories)\n * @returns An async iterator of matching files and directories\n */\nexport async function* glob(\n pattern: string,\n options: { cwd?: string; excludes?: RegExp[]; onlyFiles: boolean }\n): NodeJS.AsyncIterator<NodeJsDirentLike> {\n // cf. https://bun.sh/guides/util/detect-bun\n if (process.versions.bun) {\n const bun = await import('bun');\n const bunGlob = new bun.Glob(pattern);\n for await (const direntPath of bunGlob.scan({ cwd: options.cwd, onlyFiles: options.onlyFiles })) {\n const parsedDirentPath = path.parse(direntPath);\n const dirent = {\n name: parsedDirentPath.base,\n parentPath: path.resolve(options.cwd ?? '.', parsedDirentPath.dir),\n };\n if (isExcluded(dirent, options.excludes)) continue;\n\n yield dirent;\n }\n } else {\n for await (const dirent of fs.promises.glob(pattern, {\n ...options,\n exclude: options.excludes?.length ? (dirent) => isExcluded(dirent, options.excludes) : undefined,\n withFileTypes: true,\n })) {\n if (options.onlyFiles && !dirent.isFile()) continue;\n // We need double-check here because files are ignored by `exclude` option.\n if (dirent.isFile() && isExcluded(dirent, options.excludes)) continue;\n\n yield dirent;\n }\n }\n}\n\n/**\n * Synchronously glob for files and directories.\n * @param pattern - The glob pattern to match files and directories\n * @param options - Configuration options for globbing\n * @param options.cwd - The working directory to start globbing from\n * @param options.excludes - Regular expressions to exclude from the results\n * @param options.onlyFiles - If true, only return files (not directories)\n * @returns An array of matching files and directories\n */\nexport function globSync(\n pattern: string,\n options: { cwd?: string; excludes?: RegExp[]; onlyFiles: boolean }\n): NodeJsDirentLike[] {\n // cf. https://bun.sh/guides/util/detect-bun\n if (process.versions.bun) {\n // eslint-disable-next-line @typescript-eslint/no-require-imports,unicorn/prefer-module\n const bun = require('bun');\n const bunGlob = new bun.Glob(pattern) as Glob;\n const dirents: NodeJsDirentLike[] = [];\n for (const direntPath of bunGlob.scanSync({ cwd: options.cwd, onlyFiles: options.onlyFiles })) {\n const parsedDirentPath = path.parse(direntPath);\n const dirent = {\n name: parsedDirentPath.base,\n parentPath: path.resolve(options.cwd ?? '.', parsedDirentPath.dir),\n };\n if (isExcluded(dirent, options.excludes)) continue;\n\n dirents.push(dirent);\n }\n return dirents;\n } else {\n return (\n fs\n .globSync(pattern, {\n ...options,\n exclude: options.excludes ? (dirent) => isExcluded(dirent, options.excludes) : undefined,\n withFileTypes: true,\n })\n // We need double-check here because files are ignored by `exclude` option.\n .filter(\n (dirent) =>\n !(options.onlyFiles && !dirent.isFile()) && !(dirent.isFile() && isExcluded(dirent, options.excludes))\n )\n );\n }\n}\n\nfunction isExcluded(dirent: NodeJsDirentLike, excludes?: RegExp[]): boolean {\n if (!excludes) return false;\n\n const targetPath = path.join(dirent.parentPath, dirent.name).replaceAll('\\\\', '/');\n return excludes.some((pattern) => pattern.test(targetPath));\n}\n"],"names":["async","glob","pattern","options","process","versions","bun","bunGlob","import","Glob","direntPath","scan","cwd","onlyFiles","parsedDirentPath","path","parse","dirent","name","base","parentPath","resolve","dir","isExcluded","excludes","fs","promises","exclude","length","undefined","withFileTypes","isFile","globSync","require","dirents","scanSync","push","filter","targetPath","join","replaceAll","some","test"],"mappings":"gDAwBOA,eAAgBC,EACrBC,EACAC,GAGA,GAAIC,QAAQC,SAASC,IAAK,CACxB,MACMC,EAAU,WADEC,OAAO,QACDC,MAAKP,GAC7B,UAAW,MAAMQ,KAAcH,EAAQI,KAAK,CAAEC,IAAKT,EAAQS,IAAKC,UAAWV,EAAQU,YAAc,CAC/F,MAAMC,EAAmBC,EAAKC,MAAMN,GAC9BO,EAAS,CACbC,KAAMJ,EAAiBK,KACvBC,WAAYL,EAAKM,QAAQlB,EAAQS,KAAO,IAAKE,EAAiBQ,MAE5DC,EAAWN,EAAQd,EAAQqB,kBAEzBP,EACR,CACF,MACE,UAAW,MAAMA,KAAUQ,EAAGC,SAASzB,KAAKC,EAAS,IAChDC,EACHwB,QAASxB,EAAQqB,UAAUI,OAAUX,GAAWM,EAAWN,EAAQd,EAAQqB,eAAYK,EACvFC,eAAe,IAEX3B,EAAQU,YAAcI,EAAOc,UAE7Bd,EAAOc,UAAYR,EAAWN,EAAQd,EAAQqB,kBAE5CP,EAGZ,CAWO,SAASe,EACd9B,EACAC,GAGA,GAAIC,QAAQC,SAASC,IAAK,CAExB,MACMC,EAAU,IADJ0B,QAAQ,OACIxB,MAAKP,GACvBgC,EAA8B,GACpC,IAAK,MAAMxB,KAAcH,EAAQ4B,SAAS,CAAEvB,IAAKT,EAAQS,IAAKC,UAAWV,EAAQU,YAAc,CAC7F,MAAMC,EAAmBC,EAAKC,MAAMN,GAC9BO,EAAS,CACbC,KAAMJ,EAAiBK,KACvBC,WAAYL,EAAKM,QAAQlB,EAAQS,KAAO,IAAKE,EAAiBQ,MAE5DC,EAAWN,EAAQd,EAAQqB,WAE/BU,EAAQE,KAAKnB,EACf,CACA,OAAOiB,CACT,CACE,OACET,EACGO,SAAS9B,EAAS,IACdC,EACHwB,QAASxB,EAAQqB,SAAYP,GAAWM,EAAWN,EAAQd,EAAQqB,eAAYK,EAC/EC,eAAe,IAGhBO,QACEpB,KACGd,EAAQU,YAAcI,EAAOc,UAAed,EAAOc,UAAYR,EAAWN,EAAQd,EAAQqB,YAIxG,CAEA,SAASD,EAAWN,EAA0BO,GAC5C,IAAKA,EAAU,OAAO,EAEtB,MAAMc,EAAavB,EAAKwB,KAAKtB,EAAOG,WAAYH,EAAOC,MAAMsB,WAAW,KAAM,KAC9E,OAAOhB,EAASiB,MAAMvC,GAAYA,EAAQwC,KAAKJ,IACjD"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("./env.cjs"),r=require("./exists.cjs"),s=require("./
|
|
1
|
+
"use strict";var e=require("./env.cjs"),r=require("./exists.cjs"),s=require("./glob.cjs"),n=require("./hash.cjs"),a=require("./spawn.cjs");exports.readAndApplyEnvironmentVariables=e.readAndApplyEnvironmentVariables,exports.readEnvironmentVariables=e.readEnvironmentVariables,exports.removeNpmAndYarnEnvironmentVariables=e.removeNpmAndYarnEnvironmentVariables,exports.yargsOptionsBuilderForEnv=e.yargsOptionsBuilderForEnv,exports.existsAsync=r.existsAsync,exports.glob=s.glob,exports.globSync=s.globSync,exports.calculateHashFromFiles=n.calculateHashFromFiles,exports.canSkipSeed=n.canSkipSeed,exports.updateHashFromFiles=n.updateHashFromFiles,exports.spawnAsync=a.spawnAsync;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { readEnvironmentVariables, readAndApplyEnvironmentVariables, removeNpmAndYarnEnvironmentVariables, yargsOptionsBuilderForEnv, } from './env.js';
|
|
2
2
|
export type { EnvReaderOptions } from './env.js';
|
|
3
3
|
export { existsAsync } from './exists.js';
|
|
4
|
+
export { glob, globSync } from './glob.js';
|
|
4
5
|
export { calculateHashFromFiles, canSkipSeed, updateHashFromFiles } from './hash.js';
|
|
5
6
|
export { spawnAsync } from './spawn.js';
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{readAndApplyEnvironmentVariables,readEnvironmentVariables,removeNpmAndYarnEnvironmentVariables,yargsOptionsBuilderForEnv}from"./env.js";export{existsAsync}from"./exists.js";export{calculateHashFromFiles,canSkipSeed,updateHashFromFiles}from"./hash.js";export{spawnAsync}from"./spawn.js";
|
|
1
|
+
export{readAndApplyEnvironmentVariables,readEnvironmentVariables,removeNpmAndYarnEnvironmentVariables,yargsOptionsBuilderForEnv}from"./env.js";export{existsAsync}from"./exists.js";export{glob,globSync}from"./glob.js";export{calculateHashFromFiles,canSkipSeed,updateHashFromFiles}from"./hash.js";export{spawnAsync}from"./spawn.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/shared-lib-node",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.1.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "WillBooster Inc.",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -31,11 +31,12 @@
|
|
|
31
31
|
"lint": "eslint --color \"./{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}\"",
|
|
32
32
|
"lint-fix": "yarn lint --fix",
|
|
33
33
|
"prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"",
|
|
34
|
-
"test": "vitest",
|
|
34
|
+
"test": "vitest tests/",
|
|
35
35
|
"typecheck": "tsc --noEmit --Pretty"
|
|
36
36
|
},
|
|
37
37
|
"prettier": "@willbooster/prettier-config",
|
|
38
38
|
"dependencies": {
|
|
39
|
+
"@types/bun": "1.1.17",
|
|
39
40
|
"dotenv": "16.4.7",
|
|
40
41
|
"tree-kill": "1.2.2"
|
|
41
42
|
},
|
|
@@ -47,7 +48,7 @@
|
|
|
47
48
|
"@typescript-eslint/parser": "8.20.0",
|
|
48
49
|
"@willbooster/eslint-config-ts": "10.6.1",
|
|
49
50
|
"@willbooster/prettier-config": "9.1.3",
|
|
50
|
-
"build-ts": "13.1.
|
|
51
|
+
"build-ts": "13.1.12",
|
|
51
52
|
"eslint": "8.57.0",
|
|
52
53
|
"eslint-config-prettier": "10.0.1",
|
|
53
54
|
"eslint-import-resolver-typescript": "3.7.0",
|