Skip to content

Commit

Permalink
Update dependencies and ESLint config
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Feb 10, 2025
1 parent 9f4e5ec commit 9cdc64c
Show file tree
Hide file tree
Showing 9 changed files with 1,245 additions and 889 deletions.
11 changes: 11 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import loguxTsConfig from '@logux/eslint-config/ts'

export default [
...loguxTsConfig,
{
files: ['test/update.js'],
rules: {
'n/no-missing-require': 'off'
}
}
]
2 changes: 1 addition & 1 deletion get.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
let https = require('node:https')
let pico = require('picocolors')
let zlib = require('node:zlib')
let pico = require('picocolors')

function showError(url, message) {
process.stderr.write(
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
let testOnReal = require('./test-on-real')
let eachTest = require('./each-test')
let testPath = require('./test-path')
let jsonify = require('./jsonify')
let testOnReal = require('./test-on-real')
let testPath = require('./test-path')

module.exports = { eachTest, jsonify, testOnReal, testPath }
6 changes: 3 additions & 3 deletions index.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import testOnReal from './test-on-real.js'
import eachTest from './each-test.js'
import testPath from './test-path.js'
import jsonify from './jsonify.js'
import testOnReal from './test-on-real.js'
import testPath from './test-path.js'

export { jsonify, testPath, eachTest, testOnReal }
export { eachTest, jsonify, testOnReal, testPath }
30 changes: 6 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
],
"dependencies": {
"picocolors": "^1.0.0"
"picocolors": "^1.1.1"
},
"exports": {
".": {
Expand All @@ -37,31 +37,13 @@
"./package.json": "./package.json"
},
"devDependencies": {
"@logux/eslint-config": "^52.0.1",
"clean-publish": "^4.2.0",
"eslint": "^8.51.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-node-import": "^1.0.4",
"eslint-plugin-perfectionist": "^2.1.0",
"eslint-plugin-prefer-let": "^3.0.1",
"eslint-plugin-promise": "^6.1.1",
"postcss": "^8.4.31",
"typescript": "^5.2.2",
"@logux/eslint-config": "^53.5.1",
"clean-publish": "^5.1.0",
"eslint": "^9.20.0",
"postcss": "^8.5.1",
"typescript": "^5.7.3",
"uvu": "^0.5.6"
},
"eslintConfig": {
"extends": "@logux/eslint-config",
"overrides": [
{
"files": "test/update.js",
"rules": {
"n/no-missing-require": "off"
}
}
]
},
"prettier": {
"arrowParens": "avoid",
"jsxSingleQuote": false,
Expand Down
Loading

0 comments on commit 9cdc64c

Please sign in to comment.