@kyco-utils/types 0.1.1 → 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/dist/index.cjs CHANGED
@@ -1,4 +0,0 @@
1
- 'use strict';
2
-
3
- //# sourceMappingURL=index.cjs.map
4
- //# sourceMappingURL=index.cjs.map
package/dist/index.d.cts CHANGED
@@ -1,9 +1,8 @@
1
1
  /**
2
- * The thousands and decimal separators used to format numbers for a locale.
2
+ * The thousands and decimal separators used to format numbers.
3
3
  */
4
- type NumberSeparators = {
5
- thousandsSeparator: string;
6
- decimalSeparator: string;
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"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The thousands and decimal separators used to format numbers.
3
+ */
4
+ export type NumberSeparators = {
5
+ thousandsSeparator: string;
6
+ decimalSeparator: string;
7
+ };
8
+ //# sourceMappingURL=index.d.mts.map
@@ -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.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
- "types": "./dist/index.d.ts",
20
- "import": "./dist/index.js",
21
- "require": "./dist/index.cjs"
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.js",
26
- "types": "./dist/index.d.ts",
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": "tsup",
33
- "dev": "tsup --watch",
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
  }
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
package/dist/index.d.ts DELETED
@@ -1,9 +0,0 @@
1
- /**
2
- * The thousands and decimal separators used to format numbers for a locale.
3
- */
4
- type NumberSeparators = {
5
- thousandsSeparator: string;
6
- decimalSeparator: string;
7
- };
8
-
9
- export type { NumberSeparators };
package/dist/index.js DELETED
@@ -1,3 +0,0 @@
1
-
2
- //# sourceMappingURL=index.js.map
3
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}