@danielsimonjr/mathts-parser 0.1.25 → 0.1.27
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/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -55
- package/dist/re-export-types.d.ts +2 -0
- package/package.json +19 -9
package/dist/index.d.ts
CHANGED
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
* @packageDocumentation
|
|
22
22
|
*/
|
|
23
23
|
export { createParse, createParserClass, createParser, createNode, createAccessorNode, createArrayNode, createAssignmentNode, createBlockNode, createConditionalNode, createConstantNode, createFunctionAssignmentNode, createFunctionNode, createIndexNode, createObjectNode, createOperatorNode, createParenthesisNode, createRangeNode, createRelationalNode, createSymbolNode, keywords, properties, getPrecedence, getAssociativity, isAssociativeWith, getOperator, } from '@danielsimonjr/mathts-expression';
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
25
|
+
export type * from "./re-export-types.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,YAAY,EAGZ,UAAU,EACV,kBAAkB,EAClB,eAAe,EACf,oBAAoB,EACpB,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,4BAA4B,EAC5B,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,oBAAoB,EACpB,gBAAgB,EAGhB,QAAQ,EACR,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,WAAW,GACZ,MAAM,kCAAkC,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,YAAY,EAGZ,UAAU,EACV,kBAAkB,EAClB,eAAe,EACf,oBAAoB,EACpB,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,4BAA4B,EAC5B,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,oBAAoB,EACpB,gBAAgB,EAGhB,QAAQ,EACR,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,WAAW,GACZ,MAAM,kCAAkC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,55 +1 @@
|
|
|
1
|
-
|
|
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.
|
|
4
|
-
"description": "Standalone expression parser for MathTS
|
|
3
|
+
"version": "0.1.27",
|
|
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": "
|
|
23
|
-
"dev": "
|
|
22
|
+
"build": "tsdown src/index.ts --format esm && tsc -p tsconfig.dts.json && node ../tools/append-re-export-types.mjs",
|
|
23
|
+
"dev": "tsdown src/index.ts --format esm --watch --on-success \"tsc -p tsconfig.dts.json && node ../tools/append-re-export-types.mjs\"",
|
|
24
24
|
"test": "bun test",
|
|
25
25
|
"test:watch": "vitest",
|
|
26
26
|
"test:coverage": "bun test --coverage",
|
|
@@ -28,16 +28,26 @@
|
|
|
28
28
|
"lint": "oxlint src",
|
|
29
29
|
"lint:fix": "oxlint src --fix",
|
|
30
30
|
"clean": "rm -rf dist",
|
|
31
|
-
"build:prod": "
|
|
31
|
+
"build:prod": "tsdown src/index.ts --format esm --minify && tsc -p tsconfig.dts.json && node ../tools/append-re-export-types.mjs"
|
|
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.
|
|
35
|
-
"@danielsimonjr/mathts-expression": "^0.
|
|
36
|
-
"typed-function": "^4.0.0"
|
|
45
|
+
"@danielsimonjr/mathts-core": "^0.20.0",
|
|
46
|
+
"@danielsimonjr/mathts-expression": "^0.11.0"
|
|
37
47
|
},
|
|
38
48
|
"devDependencies": {
|
|
39
49
|
"@types/node": "^26.4.0",
|
|
40
|
-
"
|
|
50
|
+
"tsdown": "^0.23.0",
|
|
41
51
|
"typescript": "^7.0.2",
|
|
42
52
|
"vitest": "^5.0.0"
|
|
43
53
|
},
|