@danielsimonjr/mathts-arithmetic 0.1.69 → 0.1.71

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -97
  2. package/package.json +17 -6
package/dist/index.js CHANGED
@@ -1,97 +1 @@
1
- // src/index.ts
2
- import {
3
- add,
4
- subtract,
5
- multiply,
6
- divide,
7
- unaryMinus,
8
- unaryPlus,
9
- abs,
10
- sign,
11
- pow,
12
- sqrt,
13
- square,
14
- cube,
15
- cbrt,
16
- nthRoot,
17
- exp,
18
- log,
19
- log10,
20
- log2,
21
- log1p,
22
- expm1,
23
- round,
24
- floor,
25
- ceil,
26
- fix,
27
- mod,
28
- gcd,
29
- lcm,
30
- xgcd,
31
- norm,
32
- sinh,
33
- cosh,
34
- tanh,
35
- equal,
36
- smaller,
37
- larger,
38
- smallerEq,
39
- largerEq,
40
- compare,
41
- min,
42
- max,
43
- sum,
44
- mean,
45
- variance,
46
- std,
47
- dot,
48
- typedArithmetic
49
- } from "@danielsimonjr/mathts-functions";
50
- export {
51
- abs,
52
- add,
53
- cbrt,
54
- ceil,
55
- compare,
56
- cosh,
57
- cube,
58
- divide,
59
- dot,
60
- equal,
61
- exp,
62
- expm1,
63
- fix,
64
- floor,
65
- gcd,
66
- larger,
67
- largerEq,
68
- lcm,
69
- log,
70
- log10,
71
- log1p,
72
- log2,
73
- max,
74
- mean,
75
- min,
76
- mod,
77
- multiply,
78
- norm,
79
- nthRoot,
80
- pow,
81
- round,
82
- sign,
83
- sinh,
84
- smaller,
85
- smallerEq,
86
- sqrt,
87
- square,
88
- std,
89
- subtract,
90
- sum,
91
- tanh,
92
- typedArithmetic,
93
- unaryMinus,
94
- unaryPlus,
95
- variance,
96
- xgcd
97
- };
1
+ export { abs, add, cbrt, ceil, compare, cosh, cube, divide, dot, equal, exp, expm1, fix, floor, gcd, larger, largerEq, lcm, log, log10, log1p, log2, max, mean, min, mod, multiply, norm, nthRoot, pow, round, sign, sinh, smaller, smallerEq, sqrt, square, std, subtract, sum, tanh, typedArithmetic, unaryMinus, unaryPlus, variance, xgcd } from "@danielsimonjr/mathts-functions";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielsimonjr/mathts-arithmetic",
3
- "version": "0.1.69",
3
+ "version": "0.1.71",
4
4
  "description": "Standalone arithmetic functions for MathTS, re-exported as a focused package",
5
5
  "author": "Daniel Simon Jr.",
6
6
  "license": "MIT",
@@ -19,8 +19,8 @@
19
19
  "README.md"
20
20
  ],
21
21
  "scripts": {
22
- "build": "tsup src/index.ts --format esm --clean && tsc -p tsconfig.dts.json",
23
- "dev": "tsup src/index.ts --format esm --watch --onSuccess \"tsc -p tsconfig.dts.json\"",
22
+ "build": "tsdown src/index.ts --format esm && tsc -p tsconfig.dts.json",
23
+ "dev": "tsdown src/index.ts --format esm --watch --on-success \"tsc -p tsconfig.dts.json\"",
24
24
  "test": "bun test",
25
25
  "test:watch": "vitest",
26
26
  "test:coverage": "bun test --coverage",
@@ -28,15 +28,26 @@
28
28
  "lint": "oxlint src",
29
29
  "lint:fix": "oxlint src --fix",
30
30
  "clean": "rm -rf dist",
31
- "build:prod": "tsup src/index.ts --format esm --clean --minify --treeshake && tsc -p tsconfig.dts.json"
31
+ "build:prod": "tsdown src/index.ts --format esm --minify && tsc -p tsconfig.dts.json"
32
+ },
33
+ "tsdown": {
34
+ "fixedExtension": false,
35
+ "dts": false,
36
+ "outputOptions": {
37
+ "comments": {
38
+ "legal": true,
39
+ "annotation": true,
40
+ "jsdoc": false
41
+ }
42
+ }
32
43
  },
33
44
  "dependencies": {
34
- "@danielsimonjr/mathts-functions": "^0.67.0",
45
+ "@danielsimonjr/mathts-functions": "^0.69.0",
35
46
  "typed-function": "^4.0.0"
36
47
  },
37
48
  "devDependencies": {
38
49
  "@types/node": "^26.4.0",
39
- "tsup": "^8.0.0",
50
+ "tsdown": "^0.23.0",
40
51
  "typescript": "^7.0.2",
41
52
  "vitest": "^5.0.0"
42
53
  },