Skip to content

Commit 9172e56

Browse files
committed
Use more constants from registry package
1 parent 1150943 commit 9172e56

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

.dep-stats.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"@npmcli/promise-spawn": "^8.0.2",
77
"@socketregistry/hyrious__bun.lockb": "1.0.4",
88
"@socketsecurity/config": "^2.1.3",
9-
"@socketsecurity/registry": "^1.0.25",
9+
"@socketsecurity/registry": "^1.0.26",
1010
"@socketsecurity/sdk": "^1.3.0",
1111
"blessed": "^0.1.81",
1212
"blessed-contrib": "^4.11.0",
@@ -64,7 +64,7 @@
6464
"@npmcli/promise-spawn": "^8.0.2",
6565
"@socketregistry/hyrious__bun.lockb": "1.0.4",
6666
"@socketsecurity/config": "^2.1.3",
67-
"@socketsecurity/registry": "^1.0.25",
67+
"@socketsecurity/registry": "^1.0.26",
6868
"@socketsecurity/sdk": "^1.3.0",
6969
"blessed": "^0.1.81",
7070
"blessed-contrib": "^4.11.0",

eslint.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ const unicornPlugin = require('eslint-plugin-unicorn')
1212
const tsEslint = require('typescript-eslint')
1313

1414
const constants = require('@socketsecurity/registry/lib/constants')
15+
const { GIT_IGNORE, PRETTIER_IGNORE, TSCONFIG_JSON } = constants
1516

1617
const { flatConfigs: origImportXFlatConfigs } = importXPlugin
1718

1819
const rootPath = __dirname
19-
const rootTsConfigPath = path.join(rootPath, 'tsconfig.json')
20+
const rootTsConfigPath = path.join(rootPath, TSCONFIG_JSON)
2021

21-
const gitignorePath = path.resolve(rootPath, '.gitignore')
22-
const prettierignorePath = path.resolve(rootPath, '.prettierignore')
22+
const gitignorePath = path.resolve(rootPath, GIT_IGNORE)
23+
const prettierignorePath = path.resolve(rootPath, PRETTIER_IGNORE)
2324

2425
const sharedPlugins = {
2526
'sort-destructure-keys': sortDestructureKeysPlugin,

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@npmcli/promise-spawn": "^8.0.2",
4646
"@socketregistry/hyrious__bun.lockb": "1.0.4",
4747
"@socketsecurity/config": "^2.1.3",
48-
"@socketsecurity/registry": "^1.0.25",
48+
"@socketsecurity/registry": "^1.0.26",
4949
"@socketsecurity/sdk": "^1.3.0",
5050
"blessed": "^0.1.81",
5151
"blessed-contrib": "^4.11.0",

0 commit comments

Comments
 (0)