@willbooster/shared-lib 7.1.1 → 7.1.3
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 +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
- package/dist/env.cjs +0 -2
- package/dist/env.cjs.map +0 -1
- package/dist/env.d.ts +0 -1
- package/dist/env.js +0 -2
- package/dist/env.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("./assert.cjs"),r=require("./error.cjs"),s=require("./
|
|
1
|
+
"use strict";var e=require("./assert.cjs"),r=require("./error.cjs"),s=require("./humanize.cjs"),n=require("./mail.cjs"),t=require("./parseCommandLineArgs.cjs"),o=require("./shuffle.cjs"),i=require("./sleep.cjs"),a=require("./sqlite.cjs"),u=require("./zenkaku.cjs");exports.ensureTruthy=e.ensureTruthy,exports.errorify=r.errorify,exports.ignoreEnoent=r.ignoreEnoent,exports.ignoreEnoentAsync=r.ignoreEnoentAsync,exports.ignoreError=r.ignoreError,exports.ignoreErrorAsync=r.ignoreErrorAsync,exports.withRetry=r.withRetry,exports.humanizeNumber=s.humanizeNumber,exports.mailTemplates=n.mailTemplates,exports.parseCommandLineArgs=t.parseCommandLineArgs,exports.shuffle=o.shuffle,exports.sleep=i.sleep,exports.getConnectionLevelSqlitePragmas=a.getConnectionLevelSqlitePragmas,exports.getPersistentSqlitePragmas=a.getPersistentSqlitePragmas,exports.zenkakuAlphanumericalsToHankaku=u.zenkakuAlphanumericalsToHankaku;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { ensureTruthy } from './assert.js';
|
|
2
2
|
export { errorify, ignoreError, ignoreEnoent, ignoreErrorAsync, ignoreEnoentAsync, withRetry } from './error.js';
|
|
3
|
-
export { getRequiredEnvValue } from './env.js';
|
|
4
3
|
export { humanizeNumber } from './humanize.js';
|
|
5
4
|
export { mailTemplates } from './mail.js';
|
|
6
5
|
export { parseCommandLineArgs } from './parseCommandLineArgs.js';
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{ensureTruthy}from"./assert.js";export{errorify,ignoreEnoent,ignoreEnoentAsync,ignoreError,ignoreErrorAsync,withRetry}from"./error.js";export{
|
|
1
|
+
export{ensureTruthy}from"./assert.js";export{errorify,ignoreEnoent,ignoreEnoentAsync,ignoreError,ignoreErrorAsync,withRetry}from"./error.js";export{humanizeNumber}from"./humanize.js";export{mailTemplates}from"./mail.js";export{parseCommandLineArgs}from"./parseCommandLineArgs.js";export{shuffle}from"./shuffle.js";export{sleep}from"./sleep.js";export{getConnectionLevelSqlitePragmas,getPersistentSqlitePragmas}from"./sqlite.js";export{zenkakuAlphanumericalsToHankaku}from"./zenkaku.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/shared-lib",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.3",
|
|
4
4
|
"description": "Shared library for WillBooster projects",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"lint-fix": "yarn lint --fix",
|
|
41
41
|
"prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,java,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test{-,/}fixtures/**\" || true",
|
|
42
42
|
"test": "vitest",
|
|
43
|
-
"typecheck": "tsc --noEmit
|
|
43
|
+
"typecheck": "tsc --noEmit"
|
|
44
44
|
},
|
|
45
45
|
"prettier": "@willbooster/prettier-config",
|
|
46
46
|
"devDependencies": {
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
"eslint-plugin-sort-destructure-keys": "2.0.0",
|
|
59
59
|
"eslint-plugin-unicorn": "62.0.0",
|
|
60
60
|
"eslint-plugin-unused-imports": "4.3.0",
|
|
61
|
-
"globals": "
|
|
61
|
+
"globals": "17.0.0",
|
|
62
62
|
"lint-staged": "16.2.7",
|
|
63
63
|
"micromatch": "4.0.8",
|
|
64
64
|
"prettier": "3.8.0",
|
|
65
65
|
"prettier-plugin-java": "2.8.1",
|
|
66
66
|
"sort-package-json": "3.6.0",
|
|
67
67
|
"typescript": "5.9.3",
|
|
68
|
-
"typescript-eslint": "8.53.
|
|
68
|
+
"typescript-eslint": "8.53.1",
|
|
69
69
|
"vitest": "4.0.17"
|
|
70
70
|
},
|
|
71
71
|
"publishConfig": {
|
package/dist/env.cjs
DELETED
package/dist/env.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"env.cjs","sources":["../src/env.ts"],"sourcesContent":["export function getRequiredEnvValue(key: string): string {\n const value = process.env[key];\n if (!value) {\n throw new Error(`${key} environment variable is required.`);\n }\n return value;\n}\n"],"names":["key","value","process","env","Error"],"mappings":"yCAAO,SAA6BA,GAClC,MAAMC,EAAQC,QAAQC,IAAIH,GAC1B,IAAKC,EACH,MAAM,IAAIG,MAAM,GAAGJ,uCAErB,OAAOC,CACT"}
|
package/dist/env.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getRequiredEnvValue(key: string): string;
|
package/dist/env.js
DELETED
package/dist/env.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"env.js","sources":["../src/env.ts"],"sourcesContent":["export function getRequiredEnvValue(key: string): string {\n const value = process.env[key];\n if (!value) {\n throw new Error(`${key} environment variable is required.`);\n }\n return value;\n}\n"],"names":["getRequiredEnvValue","key","value","process","env","Error"],"mappings":"AAAO,SAASA,EAAoBC,GAClC,MAAMC,EAAQC,QAAQC,IAAIH,GAC1B,IAAKC,EACH,MAAM,IAAIG,MAAM,GAAGJ,uCAErB,OAAOC,CACT"}
|