Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade dprint and other dependencies #13

Merged
merged 1 commit into from
Jul 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/proud-trainers-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect/eslint-plugin": minor
---

upgrade dprint dependencies
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ node_modules/
yarn-error.log
.ultra.cache.json
.DS_Store
.direnv
tmp/
build/
dist/
Expand Down
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"eslint.validate": ["markdown", "javascript", "typescript"],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"editor.quickSuggestions": {
"other": true,
Expand All @@ -37,7 +37,7 @@
"editor.tabCompletion": "off",
"editor.suggest.localityBonus": true,
"editor.suggestSelection": "recentlyUsed",
"editor.wordBasedSuggestions": true,
"editor.wordBasedSuggestions": "matchingDocuments",
"editor.parameterHints.enabled": true,
"files.watcherExclude": {
"**/target": true
Expand Down
21 changes: 0 additions & 21 deletions LICENSE copy

This file was deleted.

6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

91 changes: 50 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"url": "https://github.com/Effect-TS/eslint-plugin/issues"
},
"homepage": "https://github.com/Effect-TS/eslint-plugin",
"description": "A Language-Service Plugin to Refactor and Diagnostic effect-ts projects",
"description": "A set of ESlint and TypeScript rules to work with Effect",
"tags": [
"typescript",
"algebraic-data-types",
Expand Down Expand Up @@ -53,57 +53,66 @@
}
},
"dependencies": {
"@dprint/formatter": "^0.2.0",
"@dprint/typescript": "^0.85.1",
"@dprint/formatter": "^0.4.1",
"@dprint/typescript": "^0.91.3",
"prettier-linter-helpers": "^1.0.0"
},
"devDependencies": {
"@babel/cli": "^7.22.9",
"@babel/core": "^7.22.9",
"@babel/plugin-transform-modules-commonjs": "^7.22.5",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@babel/cli": "^7.24.7",
"@babel/core": "^7.24.7",
"@babel/plugin-transform-modules-commonjs": "^7.24.7",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.7",
"@effect-ts/build-utils": "0.40.7",
"@rollup/pluginutils": "^5.0.2",
"@types/benchmark": "^2.1.2",
"@types/chai": "^4.3.5",
"@rollup/pluginutils": "^5.1.0",
"@types/benchmark": "^2.1.5",
"@types/chai": "^4.3.16",
"@types/diff": "^5.2.1",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.3",
"@types/node": "^20.4.5",
"@types/prettier": "2",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.10",
"@types/prettier-linter-helpers": "^1.0.4",
"@types/rimraf": "^4.0.5",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"@typescript-eslint/rule-tester": "^6.2.1",
"@typescript-eslint/scope-manager": "6.2.1",
"@typescript-eslint/type-utils": "6.2.1",
"@typescript-eslint/types": "^6.2.1",
"@typescript-eslint/utils": "6.2.1",
"@vitest/coverage-v8": "^0.33.0",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"@typescript-eslint/rule-tester": "^7.16.0",
"@typescript-eslint/scope-manager": "7.16.0",
"@typescript-eslint/type-utils": "7.16.0",
"@typescript-eslint/types": "^7.16.0",
"@typescript-eslint/utils": "7.16.0",
"@vitest/coverage-v8": "^2.0.2",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"concurrently": "^8.2.0",
"concurrently": "^8.2.2",
"cpx": "^1.5.0",
"eslint": "^8.46.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-codegen": "0.17.0",
"eslint-plugin-deprecation": "^1.5.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-sort-destructure-keys": "^1.5.0",
"fast-check": "^3.12.0",
"glob": "^10.3.3",
"madge": "^6.1.0",
"picocolors": "^1.0.0",
"prettier": "2",
"rimraf": "^5.0.1",
"ts-node": "^10.9.1",
"ts-patch": "^3.0.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-codegen": "0.28.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sort-destructure-keys": "^2.0.0",
"fast-check": "^3.19.0",
"glob": "^11.0.0",
"madge": "^7.0.0",
"picocolors": "^1.0.1",
"prettier": "^3.3.2",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"ts-patch": "^3.2.1",
"tslint": "^6.1.3",
"typescript": "^5.1.6",
"typescript": "^5.5.3",
"ultra-runner": "^3.10.5",
"vite": "^4.4.7",
"vitest": "0.33.0"
"vite": "^5.3.3",
"vitest": "2.0.2"
},
"pnpm": {
"patchedDependencies": {
"@changesets/[email protected]": "patches/@[email protected]"
},
"updateConfig": {
"ignoreDependencies": [
"eslint"
]
}
},
"config": {
"side": [],
Expand Down
48 changes: 48 additions & 0 deletions patches/@[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
diff --git a/dist/changesets-get-github-info.cjs.js b/dist/changesets-get-github-info.cjs.js
index a74df59f8a5988f458a3476087399f5e6dfe4818..ce5e60ef9916eb0cb76ab1e9dd422abcad752bf6 100644
--- a/dist/changesets-get-github-info.cjs.js
+++ b/dist/changesets-get-github-info.cjs.js
@@ -251,18 +251,13 @@ async function getInfo(request) {
b = new Date(b.mergedAt);
return a > b ? 1 : a < b ? -1 : 0;
})[0] : null;
-
- if (associatedPullRequest) {
- user = associatedPullRequest.author;
- }
-
return {
user: user ? user.login : null,
pull: associatedPullRequest ? associatedPullRequest.number : null,
links: {
commit: `[\`${request.commit.slice(0, 7)}\`](${data.commitUrl})`,
pull: associatedPullRequest ? `[#${associatedPullRequest.number}](${associatedPullRequest.url})` : null,
- user: user ? `[@${user.login}](${user.url})` : null
+ user: user ? `@${user.login}` : null
}
};
}
diff --git a/dist/changesets-get-github-info.esm.js b/dist/changesets-get-github-info.esm.js
index 27e5c972ab1202ff16f5124b471f4bbcc46be2b5..3940a8fe86e10cb46d8ff6436dea1103b1839927 100644
--- a/dist/changesets-get-github-info.esm.js
+++ b/dist/changesets-get-github-info.esm.js
@@ -242,18 +242,13 @@ async function getInfo(request) {
b = new Date(b.mergedAt);
return a > b ? 1 : a < b ? -1 : 0;
})[0] : null;
-
- if (associatedPullRequest) {
- user = associatedPullRequest.author;
- }
-
return {
user: user ? user.login : null,
pull: associatedPullRequest ? associatedPullRequest.number : null,
links: {
commit: `[\`${request.commit.slice(0, 7)}\`](${data.commitUrl})`,
pull: associatedPullRequest ? `[#${associatedPullRequest.number}](${associatedPullRequest.url})` : null,
- user: user ? `[@${user.login}](${user.url})` : null
+ user: user ? `@${user.login}` : null
}
};
}
Loading
Loading