@danielsimonjr/mathts-trigonometry 0.1.70 → 0.1.72

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 -45
  2. package/package.json +17 -7
package/dist/index.js CHANGED
@@ -1,45 +1 @@
1
- // src/index.ts
2
- import {
3
- sin,
4
- cos,
5
- tan,
6
- csc,
7
- sec,
8
- cot,
9
- asin,
10
- acos,
11
- atan,
12
- atan2,
13
- acsc,
14
- asec,
15
- acot,
16
- asinh,
17
- acosh,
18
- atanh,
19
- toRadians,
20
- toDegrees,
21
- hypot,
22
- typedTrigonometry
23
- } from "@danielsimonjr/mathts-functions";
24
- export {
25
- acos,
26
- acosh,
27
- acot,
28
- acsc,
29
- asec,
30
- asin,
31
- asinh,
32
- atan,
33
- atan2,
34
- atanh,
35
- cos,
36
- cot,
37
- csc,
38
- hypot,
39
- sec,
40
- sin,
41
- tan,
42
- toDegrees,
43
- toRadians,
44
- typedTrigonometry
45
- };
1
+ export { acos, acosh, acot, acsc, asec, asin, asinh, atan, atan2, atanh, cos, cot, csc, hypot, sec, sin, tan, toDegrees, toRadians, typedTrigonometry } from "@danielsimonjr/mathts-functions";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielsimonjr/mathts-trigonometry",
3
- "version": "0.1.70",
3
+ "version": "0.1.72",
4
4
  "description": "Standalone trigonometric 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,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-functions": "^0.68.0",
35
- "typed-function": "^4.0.0"
45
+ "@danielsimonjr/mathts-functions": "^0.70.0"
36
46
  },
37
47
  "devDependencies": {
38
48
  "@types/node": "^26.4.0",
39
- "tsup": "^8.0.0",
49
+ "tsdown": "^0.23.0",
40
50
  "typescript": "^7.0.2",
41
51
  "vitest": "^5.0.0"
42
52
  },