@kyco-utils/types 0.1.0 → 0.1.2
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/README.md +7 -0
- package/dist/index.cjs +0 -4
- package/dist/index.d.cts +5 -6
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +8 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +14 -9
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.ts +0 -9
- package/dist/index.js +0 -3
- package/dist/index.js.map +0 -1
package/README.md
ADDED
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The thousands and decimal separators used to format numbers
|
|
2
|
+
* The thousands and decimal separators used to format numbers.
|
|
3
3
|
*/
|
|
4
|
-
type NumberSeparators = {
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
export type NumberSeparators = {
|
|
5
|
+
thousandsSeparator: string;
|
|
6
|
+
decimalSeparator: string;
|
|
7
7
|
};
|
|
8
|
-
|
|
9
|
-
export type { NumberSeparators };
|
|
8
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;YAGY;EACV;EACA"}
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;YAGY;EACV;EACA"}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kyco-utils/types",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Shared, dependency-free TypeScript types for kyco-utils.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -16,23 +16,28 @@
|
|
|
16
16
|
],
|
|
17
17
|
"exports": {
|
|
18
18
|
".": {
|
|
19
|
-
"
|
|
20
|
-
"import":
|
|
21
|
-
|
|
19
|
+
"@kyco-utils/source": "./src/index.ts",
|
|
20
|
+
"import": {
|
|
21
|
+
"types": "./dist/index.d.mts",
|
|
22
|
+
"default": "./dist/index.mjs"
|
|
23
|
+
},
|
|
24
|
+
"require": {
|
|
25
|
+
"types": "./dist/index.d.cts",
|
|
26
|
+
"default": "./dist/index.cjs"
|
|
27
|
+
}
|
|
22
28
|
}
|
|
23
29
|
},
|
|
24
30
|
"main": "./dist/index.cjs",
|
|
25
|
-
"module": "./dist/index.
|
|
26
|
-
"types": "./dist/index.d.
|
|
31
|
+
"module": "./dist/index.mjs",
|
|
32
|
+
"types": "./dist/index.d.cts",
|
|
27
33
|
"publishConfig": {
|
|
28
34
|
"access": "public",
|
|
29
35
|
"provenance": true
|
|
30
36
|
},
|
|
31
37
|
"scripts": {
|
|
32
|
-
"build": "
|
|
33
|
-
"dev": "
|
|
38
|
+
"build": "vp pack",
|
|
39
|
+
"dev": "vp pack --watch",
|
|
34
40
|
"typecheck": "tsc --noEmit",
|
|
35
|
-
"test": "vitest run --passWithNoTests",
|
|
36
41
|
"lint": "biome check ."
|
|
37
42
|
}
|
|
38
43
|
}
|
package/dist/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|