Skip to content

Commit 00cd0c6

Browse files
committed
chore: bump all (dev)Dependencies and fix related usage issues
1 parent f8b9eb8 commit 00cd0c6

23 files changed

+5078
-7017
lines changed

.github/FUNDING.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ github:
55
- rx-ts
66
- un-ts
77
patreon: 1stG
8-
open_collective: unts
8+
open_collective: pretty-quick
99
custom:
10+
- https://opencollective.com/prettier-eslint
1011
- https://opencollective.com/1stG
1112
- https://opencollective.com/rxts
12-
- https://afdian.net/@JounQin
13+
- https://opencollective.com/unrs
14+
- https://opencollective.com/unts
15+
- https://afdian.com/a/JounQin

.lintstagedrc.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

.nano-staged.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from '@1stg/nano-staged/tsc'

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

.prettierignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
coverage
2-
lib
3-
/.yarn
1+
.yarn

.simple-git-hooks.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

.simple-git-hooks.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from '@1stg/simple-git-hooks'

.yarnrc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ nodeLinker: node-modules
88

99
plugins:
1010
- path: .yarn/plugins/plugin-prepare-lifecycle.cjs
11-
spec: "https://github.com/un-es/yarn-plugin-prepare-lifecycle/releases/download/v0.0.1/index.js"
11+
spec: 'https://github.com/un-es/yarn-plugin-prepare-lifecycle/releases/download/v0.0.1/index.js'
1212
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
13-
spec: "@yarnpkg/plugin-interactive-tools"
13+
spec: '@yarnpkg/plugin-interactive-tools'
1414

1515
yarnPath: .yarn/releases/yarn-3.6.4.cjs

eslint.config.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import base from '@1stg/eslint-config'
2+
3+
export default [
4+
...base,
5+
{
6+
rules: {
7+
'@typescript-eslint/no-duplicate-type-constituents': 'off',
8+
'unicorn-x/prefer-node-protocol': 'off',
9+
},
10+
},
11+
]

package.json

Lines changed: 31 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,37 @@
11
{
22
"name": "pretty-quick",
33
"version": "4.1.1",
4+
"type": "commonjs",
45
"description": "Get Pretty Quick",
56
"repository": "prettier/pretty-quick",
67
"author": "Lucas Azzola <@azz>",
78
"maintainers": [
8-
"JounQin (https://www.1stG.me) <admin@1stg.me>"
9+
"JounQin <admin@1stg.me> (https://www.1stG.me)"
910
],
11+
"funding": "https://opencollective.com/pretty-quick",
1012
"license": "MIT",
1113
"packageManager": "yarn@3.6.4",
1214
"engines": {
1315
"node": ">=14"
1416
},
1517
"bin": "lib/cli.mjs",
1618
"main": "lib/index.js",
17-
"module": "lib/index.esm.mjs",
19+
"types": "lib/index.d.ts",
20+
"module": "lib/index.mjs",
1821
"exports": {
1922
".": {
20-
"types": "./lib/index.d.ts",
21-
"require": "./lib/index.js",
22-
"default": "./lib/index.esm.mjs"
23+
"import": {
24+
"types": "./lib/index.d.mts",
25+
"default": "./lib/index.mjs"
26+
},
27+
"require": {
28+
"types": "./lib/index.d.ts",
29+
"default": "./lib/index.js"
30+
}
2331
},
2432
"./*": "./lib/*.js",
2533
"./package.json": "./package.json"
2634
},
27-
"types": "lib/index.d.ts",
2835
"files": [
2936
"bin",
3037
"img",
@@ -44,8 +51,9 @@
4451
],
4552
"scripts": {
4653
"build": "run-p 'build:*'",
47-
"build:r": "r -f esm",
4854
"build:tsc": "tsc -b",
55+
"build:tsdown": "tsdown --no-clean -d lib",
56+
"format": "prettier --write .",
4957
"lint": "run-p 'lint:*'",
5058
"lint:es": "eslint . --cache",
5159
"lint:tsc": "tsc --noEmit",
@@ -57,66 +65,46 @@
5765
"prettier": "^3.0.0"
5866
},
5967
"dependencies": {
60-
"find-up": "^5.0.0",
61-
"ignore": "^7.0.3",
68+
"@pkgr/core": "^0.2.7",
69+
"ignore": "^7.0.5",
6270
"mri": "^1.2.0",
6371
"picocolors": "^1.1.1",
6472
"picomatch": "^4.0.2",
65-
"tinyexec": "^0.3.2",
73+
"tinyexec": "^1.0.1",
6674
"tslib": "^2.8.1"
6775
},
6876
"devDependencies": {
69-
"@1stg/lib-config": "^13.0.0",
77+
"@1stg/common-config": "^14.1.0",
7078
"@changesets/changelog-github": "^0.5.1",
71-
"@changesets/cli": "^2.28.1",
72-
"@commitlint/cli": "^18.6.1",
73-
"@pkgr/rollup": "^6.0.0",
79+
"@changesets/cli": "^2.29.4",
80+
"@commitlint/cli": "^19.8.1",
7481
"@total-typescript/ts-reset": "^0.6.1",
7582
"@types/jest": "^29.5.14",
7683
"@types/mock-fs": "^4.13.4",
77-
"@types/picomatch": "^3.0.2",
84+
"@types/picomatch": "^4.0.0",
7885
"@unts/patch-package": "^8.1.1",
79-
"clean-pkg-json": "^1.2.0",
80-
"eslint": "^8.57.1",
86+
"clean-pkg-json": "^1.3.0",
87+
"eslint": "^9.28.0",
8188
"jest": "^29.7.0",
82-
"lint-staged": "^15.4.3",
8389
"mock-fs": "^5.5.0",
90+
"nano-staged": "^0.8.0",
8491
"npm-run-all": "^4.1.5",
8592
"prettier": "^3.5.3",
8693
"pretty-quick": "link:.",
87-
"simple-git-hooks": "^2.9.0",
94+
"simple-git-hooks": "^2.13.0",
8895
"size-limit": "^11.2.0",
89-
"size-limit-preset-node-lib": "^0.3.0",
90-
"ts-jest": "^29.2.6",
96+
"size-limit-preset-node-lib": "^0.4.0",
97+
"ts-jest": "^29.3.4",
9198
"ts-node": "^10.9.2",
92-
"typescript": "^5.8.2"
99+
"tsdown": "^0.12.5",
100+
"typescript": "^5.8.3"
93101
},
94102
"resolutions": {
95-
"prettier": "^3.5.3",
96-
"rollup": "^3.29.5"
103+
"prettier": "^3.5.3"
97104
},
98105
"commitlint": {
99106
"extends": "@1stg"
100107
},
101-
"eslintConfig": {
102-
"extends": "@1stg",
103-
"rules": {
104-
"unicorn/prefer-node-protocol": "off"
105-
},
106-
"overrides": [
107-
{
108-
"files": "__mocks__/*.*",
109-
"env": {
110-
"jest": true
111-
}
112-
}
113-
]
114-
},
115-
"eslintIgnore": [
116-
"coverage",
117-
"lib",
118-
"!/.*.js"
119-
],
120108
"jest": {
121109
"preset": "ts-jest",
122110
"testMatch": [

0 commit comments

Comments
 (0)