Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Jun 25, 2024
1 parent e49a1c0 commit 87d8a28
Show file tree
Hide file tree
Showing 4 changed files with 1,023 additions and 952 deletions.
17 changes: 17 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import loguxTsConfig from '@logux/eslint-config/ts'
import globals from 'globals'

/** @type {import('eslint').Linter.FlatConfig[]} */
export default [
{ ignores: ['**/errors.ts'] },
...loguxTsConfig,
{
languageOptions: {
globals: globals.browser
},
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'n/no-unsupported-features/node-builtins': 'off'
}
}
]
49 changes: 20 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,32 +44,33 @@
"nanostores": "^0.9.0 || ^0.10.0"
},
"devDependencies": {
"@logux/eslint-config": "^52.0.2",
"@nanostores/persistent": "^0.10.0",
"@size-limit/preset-small-lib": "^11.0.2",
"@types/node": "^20.11.19",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"better-node-test": "^0.5.0",
"c8": "^9.1.0",
"check-dts": "^0.7.2",
"clean-publish": "^4.2.0",
"@logux/eslint-config": "^53.2.0",
"@nanostores/persistent": "^0.10.1",
"@size-limit/preset-small-lib": "^11.1.4",
"@types/node": "^20.14.8",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"better-node-test": "^0.5.1",
"c8": "^10.1.2",
"check-dts": "^0.8.0",
"clean-publish": "^5.0.0",
"conditional-type-checks": "^1.0.6",
"eslint": "^8.56.0",
"eslint": "^9.5.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-n": "^17.9.0",
"eslint-plugin-node-imports": "^1.0.2",
"eslint-plugin-perfectionist": "^2.5.0",
"eslint-plugin-perfectionist": "^2.11.0",
"eslint-plugin-prefer-let": "^3.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-promise": "^6.2.0",
"globals": "^15.6.0",
"nanodelay": "^2.0.2",
"nanospy": "^1.0.0",
"nanostores": "^0.10.0",
"size-limit": "^11.0.2",
"tsx": "^4.7.1",
"typescript": "^5.3.3",
"vite": "^5.1.3"
"nanostores": "^0.10.3",
"size-limit": "^11.1.4",
"tsx": "^4.15.7",
"typescript": "^5.5.2",
"vite": "^5.3.1"
},
"prettier": {
"arrowParens": "avoid",
Expand All @@ -92,16 +93,6 @@
"skip-full": true,
"clean": true
},
"eslintConfig": {
"extends": "@logux/eslint-config/ts",
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"consistent-return": "off"
}
},
"eslintIgnore": [
"**/errors.ts"
],
"size-limit": [
{
"name": "Minimum",
Expand Down
4 changes: 2 additions & 2 deletions params/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import type {

type ExtractTemplateParams<Str extends string> =
Str extends `${infer Pre}{${infer Param}}${infer Post}`
? { [key in Param]: number | string } & ExtractTemplateParams<Pre> &
ExtractTemplateParams<Post>
? { [key in Param]: number | string } & ExtractTemplateParams<Post> &
ExtractTemplateParams<Pre>
: {}

interface Params {
Expand Down
Loading

0 comments on commit 87d8a28

Please sign in to comment.