@bbodek/utils 0.0.15 → 0.0.16

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.
@@ -1,5 +1,5 @@
1
- import { ExtFnProps } from '../shared';
2
- export declare const parseExt: ({ accept, str }: ExtFnProps) => {
1
+ import { ExtFnParams } from '../shared';
2
+ export declare const parseExt: ({ accept, str }: ExtFnParams) => {
3
3
  removedExt: string;
4
4
  ext: string;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"parseExt.d.ts","sourceRoot":"","sources":["../../src/parseExt/parseExt.ts"],"names":[],"mappings":"AAEA,OAAO,EAAgB,UAAU,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,QAAQ,GAAI,iBAAgC,UAAU;;;CAkBlE,CAAC"}
1
+ {"version":3,"file":"parseExt.d.ts","sourceRoot":"","sources":["../../src/parseExt/parseExt.ts"],"names":[],"mappings":"AAEA,OAAO,EAAgB,WAAW,EAAE,MAAM,UAAU,CAAC;AAErD,eAAO,MAAM,QAAQ,GAAI,iBAAgC,WAAW;;;CAkBnE,CAAC"}
@@ -1,3 +1,3 @@
1
- import { ExtFnProps } from '../shared';
2
- export declare const removeExt: ({ accept, str }: ExtFnProps) => string;
1
+ import { ExtFnParams } from '../shared';
2
+ export declare const removeExt: ({ accept, str }: ExtFnParams) => string;
3
3
  //# sourceMappingURL=removeExt.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"removeExt.d.ts","sourceRoot":"","sources":["../../src/removeExt/removeExt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,UAAU,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,SAAS,GAAI,iBAAgC,UAAU,WAIjE,CAAC"}
1
+ {"version":3,"file":"removeExt.d.ts","sourceRoot":"","sources":["../../src/removeExt/removeExt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,WAAW,EAAE,MAAM,UAAU,CAAC;AAErD,eAAO,MAAM,SAAS,GAAI,iBAAgC,WAAW,WAIlE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { ACCEPT_FILE_EXT } from '../../shared/constants/ext';
2
2
  export type AcceptFileExt = (typeof ACCEPT_FILE_EXT)[keyof typeof ACCEPT_FILE_EXT];
3
- export interface ExtFnProps {
3
+ export interface ExtFnParams {
4
4
  str: string;
5
5
  accept?: AcceptFileExt[];
6
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Ext.d.ts","sourceRoot":"","sources":["../../../src/shared/types/Ext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,MAAM,MAAM,aAAa,GACvB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,aAAa,EAAE,CAAC;CAC1B"}
1
+ {"version":3,"file":"Ext.d.ts","sourceRoot":"","sources":["../../../src/shared/types/Ext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,MAAM,MAAM,aAAa,GACvB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,aAAa,EAAE,CAAC;CAC1B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbodek/utils",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -12,12 +12,6 @@
12
12
  "files": [
13
13
  "dist"
14
14
  ],
15
- "scripts": {
16
- "dev": "rollup -c --watch & tsc -p tsconfig.build.json --watch & tsc-alias -p tsconfig.build.json --watch",
17
- "build": "rollup -c && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
18
- "start": "next start",
19
- "lint": "next lint"
20
- },
21
15
  "dependencies": {
22
16
  "dayjs": "^1.11.13",
23
17
  "es-toolkit": "^1.39.8",
@@ -25,18 +19,13 @@
25
19
  "xlsx-js-style": "^1.2.0"
26
20
  },
27
21
  "peerDependencies": {
28
- "@bbodek/internal-ui": "^0.0.33",
22
+ "@bbodek/internal-ui": "^0.0.46",
29
23
  "next": "^15.3.1",
30
24
  "react": "^19.1.0",
31
25
  "react-dom": "^19.1.0"
32
26
  },
33
27
  "devDependencies": {
34
- "@bbodek/internal-ui": "^0.0.33",
35
- "@dotoli/eslint-config": "workspace:*",
36
- "@dotoli/typescript-config": "workspace:*",
37
- "@rollup/plugin-commonjs": "^28.0.6",
38
- "@rollup/plugin-node-resolve": "^16.0.1",
39
- "@rollup/plugin-terser": "^0.4.4",
28
+ "@bbodek/internal-ui": "^0.0.46",
40
29
  "@types/node": "^20",
41
30
  "@types/react": "^19",
42
31
  "@types/react-dom": "^19",
@@ -45,10 +34,17 @@
45
34
  "react": "^19.1.0",
46
35
  "react-dom": "^19.1.0",
47
36
  "rollup": "^4.40.2",
48
- "rollup-plugin-peer-deps-external": "^2.2.4",
49
- "rollup-plugin-typescript2": "^0.36.0",
50
37
  "tsc-alias": "^1.8.16",
51
38
  "tslib": "^2.8.1",
52
- "typescript": "^5.8.3"
39
+ "typescript": "^5.8.3",
40
+ "@dotoli/eslint-config": "0.0.0",
41
+ "@dotoli/typescript-config": "0.0.0",
42
+ "@dotoli/rollup-config": "0.0.0"
43
+ },
44
+ "scripts": {
45
+ "dev": "rollup -c --watch & tsc -p tsconfig.build.json --watch & tsc-alias -p tsconfig.build.json --watch",
46
+ "build": "rollup -c && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
47
+ "start": "next start",
48
+ "lint": "next lint"
53
49
  }
54
- }
50
+ }
@@ -1,2 +0,0 @@
1
- export * from './isServer';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/isServer/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const isServer: () => boolean;
2
- //# sourceMappingURL=isServer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isServer.d.ts","sourceRoot":"","sources":["../../src/isServer/isServer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,eAAsC,CAAC"}