uom-types 1.0.1 → 1.0.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/functions-ho.d.cts +2 -2
- package/dist/functions-ho.d.mts +2 -2
- package/dist/functions.d.cts +2 -2
- package/dist/functions.d.mts +2 -2
- package/dist/si-units.d.cts +1 -1
- package/dist/si-units.d.mts +1 -1
- package/package.json +9 -4
package/dist/functions-ho.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Multiply, Divide, UnknownUnit, Inverse } from '
|
|
2
|
-
import { Decimal } from '
|
|
1
|
+
import { Multiply, Divide, UnknownUnit, Inverse } from '#uom-types';
|
|
2
|
+
import { Decimal } from '#uom-types/si-units';
|
|
3
3
|
|
|
4
4
|
type OperationIO<T extends number> = T extends UnknownUnit ? T : number;
|
|
5
5
|
/**
|
package/dist/functions-ho.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Multiply, Divide, UnknownUnit, Inverse } from '
|
|
2
|
-
import { Decimal } from '
|
|
1
|
+
import { Multiply, Divide, UnknownUnit, Inverse } from '#uom-types';
|
|
2
|
+
import { Decimal } from '#uom-types/si-units';
|
|
3
3
|
|
|
4
4
|
type OperationIO<T extends number> = T extends UnknownUnit ? T : number;
|
|
5
5
|
/**
|
package/dist/functions.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Multiply, Divide, Inverse, UnknownUnit } from '
|
|
2
|
-
import { Decimal } from '
|
|
1
|
+
import { Multiply, Divide, Inverse, UnknownUnit } from '#uom-types';
|
|
2
|
+
import { Decimal } from '#uom-types/si-units';
|
|
3
3
|
|
|
4
4
|
type OperationIO<T extends number> = T extends UnknownUnit ? T : number;
|
|
5
5
|
/**
|
package/dist/functions.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Multiply, Divide, Inverse, UnknownUnit } from '
|
|
2
|
-
import { Decimal } from '
|
|
1
|
+
import { Multiply, Divide, Inverse, UnknownUnit } from '#uom-types';
|
|
2
|
+
import { Decimal } from '#uom-types/si-units';
|
|
3
3
|
|
|
4
4
|
type OperationIO<T extends number> = T extends UnknownUnit ? T : number;
|
|
5
5
|
/**
|
package/dist/si-units.d.cts
CHANGED
package/dist/si-units.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uom-types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Typesafe units with no runtime overhead.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"uom",
|
|
@@ -22,6 +22,13 @@
|
|
|
22
22
|
"email": "rebecca.stevens@outlook.co.nz"
|
|
23
23
|
},
|
|
24
24
|
"type": "module",
|
|
25
|
+
"imports": {
|
|
26
|
+
"#uom-types": "./src/base/index.ts",
|
|
27
|
+
"#uom-types/functions": "./src/functions/index.ts",
|
|
28
|
+
"#uom-types/functions/higher-order": "./src/functions-ho/index.ts",
|
|
29
|
+
"#uom-types/si-units": "./src/si-units/index.ts",
|
|
30
|
+
"#uom-types/si-units/converters": "./src/si-units-converters/index.ts"
|
|
31
|
+
},
|
|
25
32
|
"exports": {
|
|
26
33
|
".": {
|
|
27
34
|
"types": {
|
|
@@ -81,8 +88,7 @@
|
|
|
81
88
|
"lint:prettier-fix": "prettier \"**/*\" --ignore-unknown --write",
|
|
82
89
|
"lint:spelling": "cspell \"**\" \".github/**/*\"",
|
|
83
90
|
"prepare": "husky install",
|
|
84
|
-
"release": "pnpm run release:
|
|
85
|
-
"release:pre": "node --no-warnings=ExperimentalWarning --loader=ts-paths-esm-loader/transpile-only --experimental-specifier-resolution=node ./scripts/pre-release.ts",
|
|
91
|
+
"release": "pnpm run release:semantic",
|
|
86
92
|
"release:semantic": "semantic-release",
|
|
87
93
|
"test": "pnpm run test:js",
|
|
88
94
|
"test:js": "c8 ava",
|
|
@@ -93,7 +99,6 @@
|
|
|
93
99
|
"@commitlint/config-conventional": "17.6.6",
|
|
94
100
|
"@cspell/dict-cryptocurrencies": "3.0.1",
|
|
95
101
|
"@rebeccastevens/eslint-config": "1.7.8",
|
|
96
|
-
"@rollup/plugin-node-resolve": "15.1.0",
|
|
97
102
|
"@rollup/plugin-typescript": "11.1.2",
|
|
98
103
|
"@semantic-release/changelog": "6.0.3",
|
|
99
104
|
"@semantic-release/commit-analyzer": "10.0.1",
|