@danielsimonjr/mathts-numbers 0.1.20 → 0.1.21

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 -53
  2. package/package.json +17 -6
package/dist/index.js CHANGED
@@ -1,53 +1 @@
1
- // src/index.ts
2
- import {
3
- Complex,
4
- isComplex,
5
- I,
6
- COMPLEX_ZERO,
7
- COMPLEX_ONE,
8
- COMPLEX_NEG_ONE,
9
- Fraction,
10
- isFraction,
11
- FRACTION_ZERO,
12
- FRACTION_ONE,
13
- FRACTION_NEG_ONE,
14
- FRACTION_HALF,
15
- FRACTION_THIRD,
16
- FRACTION_QUARTER,
17
- BigNumber,
18
- isBigNumber,
19
- BIGNUMBER_ZERO,
20
- BIGNUMBER_ONE,
21
- BIGNUMBER_NEG_ONE,
22
- BIGNUMBER_TEN,
23
- BIGNUMBER_PI,
24
- BIGNUMBER_E,
25
- BIGNUMBER_LN2,
26
- BIGNUMBER_LN10
27
- } from "@danielsimonjr/mathts-core";
28
- export {
29
- BIGNUMBER_E,
30
- BIGNUMBER_LN10,
31
- BIGNUMBER_LN2,
32
- BIGNUMBER_NEG_ONE,
33
- BIGNUMBER_ONE,
34
- BIGNUMBER_PI,
35
- BIGNUMBER_TEN,
36
- BIGNUMBER_ZERO,
37
- BigNumber,
38
- COMPLEX_NEG_ONE,
39
- COMPLEX_ONE,
40
- COMPLEX_ZERO,
41
- Complex,
42
- FRACTION_HALF,
43
- FRACTION_NEG_ONE,
44
- FRACTION_ONE,
45
- FRACTION_QUARTER,
46
- FRACTION_THIRD,
47
- FRACTION_ZERO,
48
- Fraction,
49
- I,
50
- isBigNumber,
51
- isComplex,
52
- isFraction
53
- };
1
+ export { BIGNUMBER_E, BIGNUMBER_LN10, BIGNUMBER_LN2, BIGNUMBER_NEG_ONE, BIGNUMBER_ONE, BIGNUMBER_PI, BIGNUMBER_TEN, BIGNUMBER_ZERO, BigNumber, COMPLEX_NEG_ONE, COMPLEX_ONE, COMPLEX_ZERO, Complex, FRACTION_HALF, FRACTION_NEG_ONE, FRACTION_ONE, FRACTION_QUARTER, FRACTION_THIRD, FRACTION_ZERO, Fraction, I, isBigNumber, isComplex, isFraction } from "@danielsimonjr/mathts-core";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielsimonjr/mathts-numbers",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "Standalone numeric types for MathTS -- Complex, Fraction, and BigNumber, 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,14 +28,25 @@
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-core": "^0.18.0"
45
+ "@danielsimonjr/mathts-core": "^0.19.0"
35
46
  },
36
47
  "devDependencies": {
37
48
  "@types/node": "^26.4.0",
38
- "tsup": "^8.0.0",
49
+ "tsdown": "^0.23.0",
39
50
  "typescript": "^7.0.2",
40
51
  "vitest": "^5.0.0"
41
52
  },