Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump all (dev)Dependencies #13

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
48 changes: 23 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dev": "vitest",
"docs:build": "vite build docs --emptyOutDir",
"docs:dev": "vite docs",
"lint": "concurrently 'yarn:lint:*'",
"lint": "concurrently -r 'yarn:lint:*'",
"lint:es": "eslint . --cache -f friendly --max-warnings 10",
"lint:style": "stylelint . --cache",
"lint:tsc": "tsc --noEmit",
Expand All @@ -45,50 +45,48 @@
"tslib": "^2.6.2"
},
"devDependencies": {
"@1stg/app-config": "^9.0.1",
"@1stg/lib-config": "^12.0.1",
"@1stg/app-config": "^10.0.1",
"@1stg/lib-config": "^13.0.0",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^18.4.3",
"@commitlint/cli": "^18.4.4",
"@edge-runtime/vm": "^3.1.7",
"@mdx-js/rollup": "^3.0.0",
"@pkgr/rollup": "^4.1.3",
"@size-limit/preset-small-lib": "^11.0.1",
"@pkgr/rollup": "^5.0.0",
"@size-limit/preset-small-lib": "^11.0.2",
"@types/mdx": "^2.0.10",
"@types/node": "^20.10.4",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.17",
"@types/web": "^0.0.127",
"@types/node": "^20.11.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/web": "^0.0.135",
"@vitejs/plugin-react-swc": "^3.5.0",
"@vitest/coverage-istanbul": "^1.0.4",
"@vitest/coverage-istanbul": "^1.2.1",
"concurrently": "^8.2.2",
"eslint": "^8.55.0",
"eslint": "^8.56.0",
"github-markdown-css": "^5.5.0",
"lint-staged": "^15.2.0",
"prettier": "^2.8.8",
"prettier": "^3.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.0",
"react-router-dom": "^6.21.2",
"rehype-slug": "^6.0.0",
"remark-gfm": "^4.0.0",
"simple-git-hooks": "^2.9.0",
"size-limit": "^11.0.1",
"stylelint": "^15.11.0",
"type-coverage": "^2.27.0",
"size-limit": "^11.0.2",
"stylelint": "^16.1.0",
"type-coverage": "^2.27.1",
"typescript": "^5.3.3",
"unplugin-auto-import": "^0.17.2",
"vite": "^5.0.8",
"vitest": "^1.0.4"
"unplugin-auto-import": "^0.17.3",
"vite": "^5.0.11",
"vitest": "^1.2.1"
},
"resolutions": {
"@commitlint/cli": "^18.4.3",
"lint-staged": "^15.2.0",
"prettier": "^2.8.8",
"rollup": "^4.3.0"
"prettier": "^3.2.4"
},
"size-limit": [
{
"path": "lib/index.js"
"path": "lib/index.js",
"limit": "1KB"
}
],
"typeCoverage": {
Expand Down
8 changes: 4 additions & 4 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export type AnyArray<T = unknown> = Readonlyable<T[]>
export type Arrayable<T, R extends boolean = false> = [R] extends [never]
? T | T[]
: R extends true
? Readonly<T> | readonly T[]
: R extends false
? AnyArray<T> | Readonlyable<T>
: never
? Readonly<T> | readonly T[]
: R extends false
? AnyArray<T> | Readonlyable<T>
: never

export type ValueOf<T> = T[keyof T]

Expand Down
Loading
Loading