@danielsimonjr/mathts-parser 0.1.24 → 0.1.26

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 -55
  2. package/package.json +19 -8
package/dist/index.js CHANGED
@@ -1,55 +1 @@
1
- // src/index.ts
2
- import {
3
- createParse,
4
- createParserClass,
5
- createParser,
6
- createNode,
7
- createAccessorNode,
8
- createArrayNode,
9
- createAssignmentNode,
10
- createBlockNode,
11
- createConditionalNode,
12
- createConstantNode,
13
- createFunctionAssignmentNode,
14
- createFunctionNode,
15
- createIndexNode,
16
- createObjectNode,
17
- createOperatorNode,
18
- createParenthesisNode,
19
- createRangeNode,
20
- createRelationalNode,
21
- createSymbolNode,
22
- keywords,
23
- properties,
24
- getPrecedence,
25
- getAssociativity,
26
- isAssociativeWith,
27
- getOperator
28
- } from "@danielsimonjr/mathts-expression";
29
- export {
30
- createAccessorNode,
31
- createArrayNode,
32
- createAssignmentNode,
33
- createBlockNode,
34
- createConditionalNode,
35
- createConstantNode,
36
- createFunctionAssignmentNode,
37
- createFunctionNode,
38
- createIndexNode,
39
- createNode,
40
- createObjectNode,
41
- createOperatorNode,
42
- createParenthesisNode,
43
- createParse,
44
- createParser,
45
- createParserClass,
46
- createRangeNode,
47
- createRelationalNode,
48
- createSymbolNode,
49
- getAssociativity,
50
- getOperator,
51
- getPrecedence,
52
- isAssociativeWith,
53
- keywords,
54
- properties
55
- };
1
+ export { createAccessorNode, createArrayNode, createAssignmentNode, createBlockNode, createConditionalNode, createConstantNode, createFunctionAssignmentNode, createFunctionNode, createIndexNode, createNode, createObjectNode, createOperatorNode, createParenthesisNode, createParse, createParser, createParserClass, createRangeNode, createRelationalNode, createSymbolNode, getAssociativity, getOperator, getPrecedence, isAssociativeWith, keywords, properties } from "@danielsimonjr/mathts-expression";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@danielsimonjr/mathts-parser",
3
- "version": "0.1.24",
4
- "description": "Standalone expression parser for MathTS \u2014 the parse function and Parser class, re-exported as a focused package",
3
+ "version": "0.1.26",
4
+ "description": "Standalone expression parser for MathTS — the parse function and Parser class, re-exported as a focused package",
5
5
  "author": "Daniel Simon Jr.",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -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,16 +28,27 @@
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.17.0",
35
- "@danielsimonjr/mathts-expression": "^0.10.1",
45
+ "@danielsimonjr/mathts-core": "^0.19.0",
46
+ "@danielsimonjr/mathts-expression": "^0.10.3",
36
47
  "typed-function": "^4.0.0"
37
48
  },
38
49
  "devDependencies": {
39
50
  "@types/node": "^26.4.0",
40
- "tsup": "^8.0.0",
51
+ "tsdown": "^0.23.0",
41
52
  "typescript": "^7.0.2",
42
53
  "vitest": "^5.0.0"
43
54
  },