Skip to content

Commit

Permalink
Merge pull request #123 from mittwald/chore/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
mfal authored Dec 18, 2023
2 parents 33a9105 + fcf3100 commit 5662718
Show file tree
Hide file tree
Showing 157 changed files with 2,000 additions and 1,389 deletions.
1,281 changes: 791 additions & 490 deletions .pnp.cjs

Large diffs are not rendered by default.

89 changes: 63 additions & 26 deletions .pnp.loader.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/** @type {import("prettier").Config} */

const config = {
semi: true,
singleQuote: false,
printWidth: 80,
tabWidth: 2,
quoteProps: "as-needed",
jsxSingleQuote: false,
trailingComma: "all",
bracketSpacing: true,
arrowParens: "always",
proseWrap: "always",
htmlWhitespaceSensitivity: "css",
overrides: [
{
files: ["*.json", "*.yaml", "*.yml"],
options: {
tabWidth: 2,
},
},
],
plugins: [
await import("prettier-plugin-sort-json"),
await import("prettier-plugin-jsdoc"),
await import("prettier-plugin-pkgsort"),
],
};

export default config;
24 changes: 0 additions & 24 deletions .prettierrc.yaml

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .yarn/cache/fsevents-patch-6b67494872-10.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/sade-npm-1.8.1-4759dc74c1-1c67ba03c9.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/uvu-npm-0.5.6-c8507ad49b-66ba25afc6.zip
Binary file not shown.
Binary file not shown.
670 changes: 335 additions & 335 deletions .yarn/releases/yarn-4.0.1.cjs → .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

nodeLinker: pnp

yarnPath: .yarn/releases/yarn-4.0.1.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
108 changes: 51 additions & 57 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,38 @@
{
"name": "@mittwald/react-use-promise",
"version": "1.0.0",
"packageManager": "[email protected]",
"author": "Mittwald CM Service GmbH & Co. KG <[email protected]>",
"contributors": [
"Marco Falkenberg <[email protected]>"
],
"type": "module",
"description": "Simple and declarative use of Promises in your React components. Observe their state and refresh them in various advanced ways.",
"license": "MIT",
"repository": "github:mittwald/react-use-promise",
"author": {
"name": "Mittwald CM Service GmbH & Co. KG",
"email": "[email protected]"
},
"keywords": [
"async",
"cache",
"custom-hook",
"data",
"data-fetching",
"fetch",
"hooks",
"react",
"react-cache",
"react-hook",
"react-hooks",
"react-suspense",
"reactjs",
"suspense"
],
"homepage": "https://github.com/mittwald/react-use-promise#readme",
"type": "module",
"repository": "github:mittwald/react-use-promise",
"license": "MIT",
"exports": {
".": "./dist/index.mjs"
},
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"format": "prettier --write '**/*.{ts,tsx,yaml,yml,json,md,mdx}'",
Expand All @@ -24,71 +44,45 @@
"test:lint": "eslint . --cache",
"test:packages": "yarn all run test"
},
"files": [
"dist"
],
"keywords": [
"react",
"reactjs",
"async",
"data",
"fetch",
"cache",
"suspense",
"hooks",
"custom-hook",
"react-hook",
"react-hooks",
"react-cache",
"react-suspense",
"data-fetching"
],
"peerDependencies": {
"react": ">=17.0"
},
"dependencies": {
"@types/luxon": "3.3.4",
"luxon": "~3.4.3",
"@types/luxon": "3.3.7",
"luxon": "~3.4.4",
"minimatch": "^9.0.3",
"object-code": "^1.3.0"
"object-code": "^1.3.2"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@testing-library/dom": "^9.3.3",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.7",
"@types/react": "^18.2.36",
"@types/react-dom": "^18.2.14",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@yarnpkg/pnpify": "^4.0.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@types/jest": "^29.5.11",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@yarnpkg/pnpify": "^4.0.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"license-checker-rseidelsohn": "^4.2.10",
"prettier": "^2.8.8",
"prettier-plugin-jsdoc": "^0.4.2",
"prettier-plugin-package": "^1.3.1",
"prettier-plugin-sort-json": "^2.0.0",
"license-checker-rseidelsohn": "^4.3.0",
"prettier": "^3.1.1",
"prettier-plugin-jsdoc": "^1.1.1",
"prettier-plugin-pkgsort": "^0.2.1",
"prettier-plugin-sort-json": "^3.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"tsd": "^0.29.0",
"typescript": "^5.2.2",
"tsd": "^0.30.0",
"typescript": "^5.3.3",
"unbuild": "^2.0.0"
},
"contributors": [
{
"name": "Marco Falkenberg",
"email": "[email protected]"
}
],
"packageManager": "[email protected]",
"peerDependencies": {
"react": ">=17.0"
},
"unbuild": {
"declaration": true
}
Expand Down
Loading

0 comments on commit 5662718

Please sign in to comment.