-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve templates and error logging (#33)
- Loading branch information
Showing
17 changed files
with
44 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ | |
"@babel/plugin-transform-export-namespace-from": "^7.24.7", | ||
"@babel/plugin-transform-modules-commonjs": "^7.24.8", | ||
"@changesets/changelog-github": "^0.5.0", | ||
"@changesets/cli": "2.27.7", | ||
"@changesets/cli": "^2.27.8", | ||
"@edge-runtime/vm": "^4.0.0", | ||
"@effect/build-utils": "^0.7.7", | ||
"@effect/docgen": "^0.4.4", | ||
|
@@ -71,7 +71,6 @@ | |
"fast-check": "^3.21.0", | ||
"glob": "^11.0.0", | ||
"playwright": "^1.46.0", | ||
"prettier": "^3.3.3", | ||
"rimraf": "^6.0.1", | ||
"tsx": "^4.17.0", | ||
"typescript": "^5.6.2", | ||
|
@@ -96,7 +95,7 @@ | |
}, | ||
"patchedDependencies": { | ||
"@changesets/[email protected]": "patches/@[email protected]", | ||
"@changesets/[email protected].3": "patches/@[email protected].3.patch", | ||
"@changesets/[email protected].4": "patches/@[email protected].4.patch", | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
}, | ||
"devDependencies": { | ||
"@changesets/changelog-github": "^0.5.0", | ||
"@changesets/cli": "2.27.7", | ||
"@changesets/cli": "^2.27.8", | ||
"@effect/cli": "latest", | ||
"@effect/eslint-plugin": "^0.2.0", | ||
"@effect/language-service": "^0.1.0", | ||
|
@@ -49,7 +49,6 @@ | |
"fast-check": "^3.21.0", | ||
"glob": "^11.0.0", | ||
"playwright": "^1.46.0", | ||
"prettier": "^3.3.3", | ||
"rimraf": "^6.0.1", | ||
"tsup": "^8.2.4", | ||
"typescript": "^5.6.2", | ||
|
@@ -62,7 +61,7 @@ | |
}, | ||
"patchedDependencies": { | ||
"@changesets/[email protected]": "patches/@[email protected]", | ||
"@changesets/[email protected].3": "patches/@[email protected].3.patch" | ||
"@changesets/[email protected].4": "patches/@[email protected].4.patch" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/lib/index.js b/lib/index.js | ||
index 2182884e21874ebb37261e2375eec08ad956fc9a..ef5630199121c2830756e00c7cc48cf1078c8207 100644 | ||
--- a/lib/index.js | ||
+++ b/lib/index.js | ||
@@ -78,7 +78,7 @@ const isInAssignmentContext = path => { | ||
|
||
parentPath = _ref.parentPath; | ||
|
||
- if (parentPath.isVariableDeclaration() || parentPath.isAssignmentExpression()) { | ||
+ if (parentPath.isVariableDeclaration() || parentPath.isAssignmentExpression() || parentPath.isClassDeclaration()) { | ||
return true; | ||
} | ||
} while (parentPath !== statement); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ | |
"@babel/plugin-transform-export-namespace-from": "^7.24.7", | ||
"@babel/plugin-transform-modules-commonjs": "^7.24.8", | ||
"@changesets/changelog-github": "^0.5.0", | ||
"@changesets/cli": "2.27.7", | ||
"@changesets/cli": "^2.27.8", | ||
"@edge-runtime/vm": "^4.0.0", | ||
"@effect/build-utils": "^0.7.7", | ||
"@effect/eslint-plugin": "^0.2.0", | ||
|
@@ -63,7 +63,6 @@ | |
"fast-check": "^3.21.0", | ||
"glob": "^11.0.0", | ||
"playwright": "^1.46.0", | ||
"prettier": "^3.3.3", | ||
"rimraf": "^6.0.1", | ||
"tsx": "^4.17.0", | ||
"typescript": "^5.6.2", | ||
|
@@ -76,7 +75,7 @@ | |
}, | ||
"patchedDependencies": { | ||
"@changesets/[email protected]": "patches/@[email protected]", | ||
"@changesets/[email protected].3": "patches/@[email protected].3.patch", | ||
"@changesets/[email protected].4": "patches/@[email protected].4.patch", | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters