@effect/tsgo 0.46.1 → 0.47.0
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 +6 -4
- package/dist/effect-tsgo.cjs +12495 -9736
- package/lib/getExePath.js +1 -1
- package/oxlint-schema.json +15 -0
- package/package.json +11 -11
package/lib/getExePath.js
CHANGED
|
@@ -62,7 +62,7 @@ export default function getExePath() {
|
|
|
62
62
|
|
|
63
63
|
const packageDir = path.dirname(packageJson);
|
|
64
64
|
const upstream = readJson(path.join(packageDir, "lib", "upstream.json"));
|
|
65
|
-
if (upstream.schemaVersion !==
|
|
65
|
+
if (upstream.schemaVersion !== 5 || typeof upstream.components?.typescript !== "object") {
|
|
66
66
|
throw new Error("Invalid " + platformPackageName + "/lib/upstream.json.");
|
|
67
67
|
}
|
|
68
68
|
|
package/oxlint-schema.json
CHANGED
|
@@ -2326,6 +2326,9 @@
|
|
|
2326
2326
|
"effecttsgo/effect-succeed-with-void": {
|
|
2327
2327
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2328
2328
|
},
|
|
2329
|
+
"effecttsgo/experimental-api-usage": {
|
|
2330
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2331
|
+
},
|
|
2329
2332
|
"effecttsgo/extends-native-error": {
|
|
2330
2333
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2331
2334
|
},
|
|
@@ -2581,6 +2584,9 @@
|
|
|
2581
2584
|
"effecttsgo/unsafe-effect-type-assertion": {
|
|
2582
2585
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2583
2586
|
},
|
|
2587
|
+
"effecttsgo/unstable-api-usage": {
|
|
2588
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2589
|
+
},
|
|
2584
2590
|
"eqeqeq": {
|
|
2585
2591
|
"anyOf": [
|
|
2586
2592
|
{
|
|
@@ -8241,6 +8247,9 @@
|
|
|
8241
8247
|
"typescript/no-for-in-array": {
|
|
8242
8248
|
"$ref": "#/definitions/RuleNoConfig"
|
|
8243
8249
|
},
|
|
8250
|
+
"typescript/no-generated-empty-object-type": {
|
|
8251
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
8252
|
+
},
|
|
8244
8253
|
"typescript/no-implied-eval": {
|
|
8245
8254
|
"$ref": "#/definitions/RuleNoConfig"
|
|
8246
8255
|
},
|
|
@@ -17114,6 +17123,12 @@
|
|
|
17114
17123
|
"OnlyExportComponentsConfig": {
|
|
17115
17124
|
"additionalProperties": false,
|
|
17116
17125
|
"properties": {
|
|
17126
|
+
"allowCompoundComponents": {
|
|
17127
|
+
"default": false,
|
|
17128
|
+
"description": "Allow an exported object when every property is a React component.\nThis matches Vite's compound component support. The object must be non-empty,\ncontain no nested objects, spreads, or accessors, and anonymous functions\nmust use a component name as a static property key.\n\n```jsx\n// Allowed when allowCompoundComponents: true\nconst Root = () =\u003e \u003cdiv /\u003e;\nconst Label = () =\u003e \u003cspan /\u003e;\nexport const Tag = { Root, Label };\n```",
|
|
17129
|
+
"markdownDescription": "Allow an exported object when every property is a React component.\nThis matches Vite's compound component support. The object must be non-empty,\ncontain no nested objects, spreads, or accessors, and anonymous functions\nmust use a component name as a static property key.\n\n```jsx\n// Allowed when allowCompoundComponents: true\nconst Root = () =\u003e \u003cdiv /\u003e;\nconst Label = () =\u003e \u003cspan /\u003e;\nexport const Tag = { Root, Label };\n```",
|
|
17130
|
+
"type": "boolean"
|
|
17131
|
+
},
|
|
17117
17132
|
"allowConstantExport": {
|
|
17118
17133
|
"default": false,
|
|
17119
17134
|
"description": "Allow exporting primitive constants (string/number/boolean/template literal)\nalongside component exports without triggering a violation. Recommended when your\nbundler’s Fast Refresh integration supports this (enabled by the plugin’s `vite`\npreset).\n\n```jsx\n// Allowed when allowConstantExport: true\nexport const VERSION = \"3\";\nexport const Foo = () =\u003e null;\n```",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/tsgo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,21 +41,21 @@
|
|
|
41
41
|
"schema.json"
|
|
42
42
|
],
|
|
43
43
|
"optionalDependencies": {
|
|
44
|
-
"@effect/tsgo-win32-x64": "0.
|
|
45
|
-
"@effect/tsgo-
|
|
46
|
-
"@effect/tsgo-
|
|
47
|
-
"@effect/tsgo-linux-arm64": "0.
|
|
48
|
-
"@effect/tsgo-linux-arm": "0.
|
|
49
|
-
"@effect/tsgo-darwin-x64": "0.
|
|
50
|
-
"@effect/tsgo-darwin-arm64": "0.
|
|
44
|
+
"@effect/tsgo-win32-x64": "0.47.0",
|
|
45
|
+
"@effect/tsgo-win32-arm64": "0.47.0",
|
|
46
|
+
"@effect/tsgo-linux-x64": "0.47.0",
|
|
47
|
+
"@effect/tsgo-linux-arm64": "0.47.0",
|
|
48
|
+
"@effect/tsgo-linux-arm": "0.47.0",
|
|
49
|
+
"@effect/tsgo-darwin-x64": "0.47.0",
|
|
50
|
+
"@effect/tsgo-darwin-arm64": "0.47.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@effect/platform-node": "^4.0.0-
|
|
54
|
-
"@effect/platform-node-shared": "^4.0.0-
|
|
53
|
+
"@effect/platform-node": "^4.0.0-rc.118",
|
|
54
|
+
"@effect/platform-node-shared": "^4.0.0-rc.118",
|
|
55
55
|
"@types/node": "^24.3.0",
|
|
56
56
|
"tsdown": "^0.20.1",
|
|
57
57
|
"typescript": "^5.9.2",
|
|
58
|
-
"effect": "^4.0.0-
|
|
58
|
+
"effect": "^4.0.0-rc.118",
|
|
59
59
|
"vitest": "^3.2.1"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|