@danielsimonjr/mathts-ast 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/README.md +3 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/re-export-types.d.ts +2 -0
- package/package.json +6 -7
package/README.md
CHANGED
|
@@ -5,7 +5,9 @@ Standalone AST node constructors for [MathTS](https://github.com/danielsimonjr/m
|
|
|
5
5
|
A focused entry point over the AST nodes in
|
|
6
6
|
[`@danielsimonjr/mathts-expression`](https://www.npmjs.com/package/@danielsimonjr/mathts-expression).
|
|
7
7
|
The implementation is re-exported, not duplicated. Useful for tooling that builds,
|
|
8
|
-
walks, transforms, or pretty-prints expression trees
|
|
8
|
+
walks, transforms, or pretty-prints expression trees via the node constructors only (this
|
|
9
|
+
package does not re-export `compile` / `evaluate`; it still depends on
|
|
10
|
+
`@danielsimonjr/mathts-expression`, which ships the full engine).
|
|
9
11
|
|
|
10
12
|
## Install
|
|
11
13
|
|
package/dist/index.d.ts
CHANGED
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
* @packageDocumentation
|
|
12
12
|
*/
|
|
13
13
|
export { createNode, createAccessorNode, createArrayNode, createAssignmentNode, createBlockNode, createConditionalNode, createConstantNode, createFunctionAssignmentNode, createFunctionNode, createIndexNode, createObjectNode, createOperatorNode, createParenthesisNode, createRangeNode, createRelationalNode, createSymbolNode, } from '@danielsimonjr/mathts-expression';
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
15
|
+
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;;;;;;;;;;;GAWG;AAEH,OAAO,EACL,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,GACjB,MAAM,kCAAkC,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EACL,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,GACjB,MAAM,kCAAkC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danielsimonjr/mathts-ast",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.27",
|
|
4
4
|
"description": "Standalone AST node constructors for MathTS expressions, 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": "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\"",
|
|
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,7 +28,7 @@
|
|
|
28
28
|
"lint": "oxlint src",
|
|
29
29
|
"lint:fix": "oxlint src --fix",
|
|
30
30
|
"clean": "rm -rf dist",
|
|
31
|
-
"build:prod": "tsdown src/index.ts --format esm --minify && tsc -p tsconfig.dts.json"
|
|
31
|
+
"build:prod": "tsdown src/index.ts --format esm --minify && tsc -p tsconfig.dts.json && node ../tools/append-re-export-types.mjs"
|
|
32
32
|
},
|
|
33
33
|
"tsdown": {
|
|
34
34
|
"fixedExtension": false,
|
|
@@ -42,9 +42,8 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@danielsimonjr/mathts-core": "^0.
|
|
46
|
-
"@danielsimonjr/mathts-expression": "^0.
|
|
47
|
-
"typed-function": "^4.0.0"
|
|
45
|
+
"@danielsimonjr/mathts-core": "^0.21.0",
|
|
46
|
+
"@danielsimonjr/mathts-expression": "^0.11.1"
|
|
48
47
|
},
|
|
49
48
|
"devDependencies": {
|
|
50
49
|
"@types/node": "^26.4.0",
|