tree-sitter-arkts 1.0.0 → 1.0.1
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/binding.gyp
CHANGED
|
@@ -33,15 +33,25 @@
|
|
|
33
33
|
"xcode_settings": {
|
|
34
34
|
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
|
|
35
35
|
"CLANG_CXX_LIBRARY": "libc++",
|
|
36
|
-
"MACOSX_DEPLOYMENT_TARGET": "10.7"
|
|
36
|
+
"MACOSX_DEPLOYMENT_TARGET": "10.7",
|
|
37
|
+
"CLANG_CXX_LANGUAGE_STANDARD": "c++20"
|
|
37
38
|
}
|
|
38
39
|
}],
|
|
39
40
|
["OS=='win'", {
|
|
40
41
|
"msvs_settings": {
|
|
41
42
|
"VCCLCompilerTool": {
|
|
42
|
-
"ExceptionHandling": 1
|
|
43
|
+
"ExceptionHandling": 1,
|
|
44
|
+
"LanguageStandard": "stdcpp20"
|
|
43
45
|
}
|
|
44
46
|
}
|
|
47
|
+
}],
|
|
48
|
+
["OS=='linux'", {
|
|
49
|
+
"cflags_cc": [
|
|
50
|
+
"-fexceptions"
|
|
51
|
+
],
|
|
52
|
+
"ldflags": [
|
|
53
|
+
"-fexceptions"
|
|
54
|
+
]
|
|
45
55
|
}]
|
|
46
56
|
]
|
|
47
57
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tree-sitter-arkts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "ArkTS grammar for tree-sitter",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -51,7 +51,8 @@
|
|
|
51
51
|
"postinstall": "npm run fix-tree-sitter && (npm rebuild tree-sitter || true)",
|
|
52
52
|
"test": "node test.js",
|
|
53
53
|
"test:structure": "node test-structure.js",
|
|
54
|
-
"prepublishOnly": "npm run generate && npm run build:ts"
|
|
54
|
+
"prepublishOnly": "npm run generate && npm run build:ts",
|
|
55
|
+
"prebuild:all": "npm run prebuild:linux && npm run prebuild:win32 && npm run prebuild:darwin"
|
|
55
56
|
},
|
|
56
57
|
"repository": {
|
|
57
58
|
"type": "git",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|