@ast-grep/nursery 0.0.5 → 0.0.6
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/CHANGELOG.md +6 -0
- package/index.ts +1 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/index.ts
CHANGED
|
@@ -118,8 +118,7 @@ function generateLangNodeTypes(setupConfig: SetupConfig) {
|
|
|
118
118
|
try {
|
|
119
119
|
const nodeTypes = readLangNodeTypes(dirname)
|
|
120
120
|
const nodeTypeMap = processNodeTypes(nodeTypes)
|
|
121
|
-
const fileContent =
|
|
122
|
-
`// Auto-generated from ${treeSitterPackage}` +
|
|
121
|
+
const fileContent = `// Auto-generated from ${treeSitterPackage}` +
|
|
123
122
|
'\n' +
|
|
124
123
|
`type ${lang}Types = ${JSON.stringify(nodeTypeMap, null, 2)};` +
|
|
125
124
|
'\n' +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ast-grep/nursery",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"author": "",
|
|
9
9
|
"license": "ISC",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@ast-grep/napi": "0.
|
|
11
|
+
"@ast-grep/napi": "0.39.2"
|
|
12
12
|
},
|
|
13
13
|
"publishConfig": {
|
|
14
14
|
"access": "public",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"typescript": "^5.7.3",
|
|
19
|
-
"@types/node": "22.
|
|
19
|
+
"@types/node": "22.16.5"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"compile-ts": "tsc"
|