Skip to content

Commit dbffbc2

Browse files
authored
Merge pull request #167 from PSDTools/bump
Bump dependencies
2 parents e1aa460 + b093985 commit dbffbc2

File tree

8 files changed

+2663
-2544
lines changed

8 files changed

+2663
-2544
lines changed

.npmrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v23.8.0
1+
v23.10.0

.pnpmfile.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ const allPackages = [
108108
"reflect.ownkeys",
109109
"regexp.prototype.flags",
110110
"safe-array-concat",
111+
"safe-buffer",
111112
"safe-regex-test",
113+
"safer-buffer",
112114
"set-function-length",
113115
"side-channel",
114116
"string.prototype.at",

knip.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
}
3030
},
3131
"ignore": [".pnpmfile.cjs", "**/eslint.config.ts"],
32-
"ignoreDependencies": ["deputy"],
3332
"ignoreExportsUsedInFile": true,
3433
"includeEntryExports": true
3534
}

package.json

Lines changed: 18 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -10,63 +10,36 @@
1010
"prepare": "husky",
1111
"format": "prettier . --write --cache --cache-location='node_modules/.cache/.prettiercache' --log-level=warn",
1212
"format:check": "prettier . --check --cache --cache-location='node_modules/.cache/.prettiercache'",
13-
"knip": "knip",
13+
"knip": "knip --treat-config-hints-as-errors",
1414
"manypkg": "manypkg check",
1515
"typesync": "typesync",
1616
"typesync:check": "typesync --dry=fail",
1717
"check-deduped-deps": "pnpm dedupe --check --prefer-offline",
1818
"merge-checks": "turbo run typecheck knip lint format:check manypkg typesync:check test"
1919
},
2020
"devDependencies": {
21-
"@commitlint/cli": "^19.8.0",
22-
"@commitlint/config-conventional": "^19.8.0",
23-
"@manypkg/cli": "^0.23.0",
24-
"husky": "^9.1.7",
25-
"knip": "^5.44.1",
26-
"prettier": "3.5.1",
27-
"prettier-plugin-svelte": "^3.3.3",
28-
"prettier-plugin-tailwindcss": "^0.6.11",
29-
"turbo": "^2.4.4",
30-
"typesync": "^0.14.1"
21+
"@commitlint/cli": "catalog:",
22+
"@commitlint/config-conventional": "catalog:",
23+
"@manypkg/cli": "catalog:",
24+
"husky": "catalog:",
25+
"knip": "catalog:",
26+
"prettier": "catalog:",
27+
"prettier-plugin-svelte": "catalog:",
28+
"prettier-plugin-tailwindcss": "catalog:",
29+
"turbo": "catalog:",
30+
"typesync": "catalog:"
3131
},
3232
"devEngines": {
33-
"runtime": [
34-
{
35-
"name": "node",
36-
"version": ">= 23.0.0"
37-
}
38-
],
39-
"packageManager": [
40-
{
41-
"name": "pnpm",
42-
"version": "^10.4.0"
43-
}
44-
]
45-
},
46-
"packageManager": "[email protected]+sha512.c753b6c3ad7afa13af388fa6d808035a008e30ea9993f58c6663e2bc5ff21679aa834db094987129aa4d488b86df57f7b634981b2f827cdcacc698cc0cfb88af",
47-
"pnpm": {
48-
"peerDependencyRules": {
49-
"allowedVersions": {
50-
"eslint": "9"
51-
}
52-
},
53-
"onlyBuiltDependencies": [
54-
"esbuild",
55-
"sharp"
56-
],
57-
"ignoredBuiltDependencies": [
58-
"eslint-config-sheriff",
59-
"mws",
60-
"svelte-preprocess"
61-
],
62-
"overrides": {
63-
"eslint-plugin-unicorn": "^56.0.1",
64-
"vitest>jsdom": "-"
33+
"runtime": {
34+
"name": "node",
35+
"version": ">= 23.0.0"
6536
},
66-
"patchedDependencies": {
67-
"eslint-config-sheriff": "patches/eslint-config-sheriff.patch"
37+
"packageManager": {
38+
"name": "pnpm",
39+
"version": "^10.6.4"
6840
}
6941
},
42+
"packageManager": "[email protected]+sha512.da3d715bfd22a9a105e6e8088cfc7826699332ded60c423b14ec613a185f1602206702ff0fe4c438cb15c979081ce4cb02568e364b15174503a63c7a8e2a5f6c",
7043
"manypkg": {
7144
"workspaceProtocol": "require"
7245
}

patches/eslint-config-sheriff.patch

Lines changed: 7 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,23 @@
11
diff --git a/dist/index.js b/dist/index.js
2-
index bb5f041bf6f7f42971b67849adc190e9cdcd63af..756d5e48c39dd9fd7b5784d9ed03a2b04fc342cc 100644
2+
index 2b83747e0517c5883b6cadc86a6bf3b78d5abfae..b8865ef3baa146e9eef1548510e15bf76ad70f66 100644
33
--- a/dist/index.js
44
+++ b/dist/index.js
5-
@@ -15,7 +15,8 @@ var tsExtensions = "ts,mts,cts";
5+
@@ -16,7 +16,8 @@ var tsExtensions = "ts,mts,cts";
66
var tsxExtensions = "tsx,mtsx";
77
var allJsExtensions = `${jsExtensions},${tsExtensions}`;
88
var allJsxExtensions = `${jsxExtensions},${tsxExtensions}`;
99
-var supportedFileTypes = `**/*{${allJsExtensions},${allJsxExtensions},astro}`;
1010
+var allSupportedExtensions = `${allJsExtensions},${allJsxExtensions},astro,svelte`;
1111
+var supportedFileTypes = `**/*.{${allSupportedExtensions}}`;
12-
var messages = {
13-
NO_ACCESS_MODIFIER: "Avoid access modifiers. In Javascript modules there is no need to limit developer access to properties."
14-
};
15-
@@ -159,7 +160,6 @@ import tsdoc from "eslint-plugin-tsdoc";
16-
import unicorn from "eslint-plugin-unicorn";
17-
import globals from "globals";
18-
import tseslint3 from "typescript-eslint";
19-
-import { fixupPluginRules } from "@eslint/compat";
20-
import eslintJs from "@eslint/js";
21-
import preferEarlyReturn from "@regru/eslint-plugin-prefer-early-return";
22-
import stylistic from "@stylistic/eslint-plugin";
23-
@@ -684,10 +684,10 @@ var getBaseConfig = (userConfigChoices) => {
24-
},
25-
{
26-
files: [
27-
- "**/*.stories.@(ts|tsx|js|jsx|mjs|cjs)",
28-
- "**/*.story.@(ts|tsx|js|jsx|mjs|cjs)"
29-
+ "**/*.stories.@(ts|tsx|js|jsx|mjs|cjs|svelte)",
30-
+ "**/*.story.@(ts|tsx|js|jsx|mjs|cjs|svelte)"
31-
],
32-
- plugins: { storybook: fixupPluginRules(storybook) },
33-
+ plugins: { storybook },
34-
rules: {
35-
...storybook.configs["flat/recommended"][1].rules,
36-
...storybook.configs["flat/csf"][1].rules,
37-
@@ -695,6 +695,7 @@ var getBaseConfig = (userConfigChoices) => {
38-
}
39-
},
40-
{
41-
+ plugins: { storybook },
42-
files: ["**/.storybook/main.@(js|cjs|mjs|ts)"],
43-
rules: { ...storybook.configs["flat/recommended"][2].rules }
44-
},
45-
@@ -714,7 +715,7 @@ var getBaseConfig = (userConfigChoices) => {
12+
var testsFilePatterns = [
13+
`**/*.{test,spec}.{${allJsExtensions}}`,
14+
`**/tests/**/*.{${allJsExtensions}}`,
15+
@@ -718,7 +719,7 @@ var getBaseConfig = (userConfigChoices) => {
4616
rules: { "fsecond/prefer-destructured-optionals": 2 }
4717
},
4818
{
4919
- files: [`**/*.config.{${allJsExtensions}}`],
50-
+ files: [`**/*.config.{${allJsExtensions}}`, `.storybook/*.{${allJsExtensions}}`],
20+
+ files: [`**/*.config.{${allJsExtensions}}`, `**/.storybook/*.{${allJsExtensions}}`],
5121
rules: {
5222
"import/no-default-export": 0,
5323
"import/no-anonymous-default-export": 0,

0 commit comments

Comments
 (0)