Skip to content

Commit

Permalink
chore: update packages and fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpaj committed Apr 13, 2024
1 parent c5842a2 commit 4bc15b4
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 14,944 deletions.
14,910 changes: 0 additions & 14,910 deletions apps/docs/package-lock.json

This file was deleted.

26 changes: 13 additions & 13 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@
"test": "npm run lint"
},
"dependencies": {
"@docusaurus/core": "^3.2.0",
"@docusaurus/preset-classic": "^3.2.0",
"@mdx-js/react": "^3.0.0",
"@docusaurus/core": "^3.2.1",
"@docusaurus/preset-classic": "^3.2.1",
"@mdx-js/react": "^3.0.1",
"clsx": "^1.2.1",
"prism-react-renderer": "^2.1.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"roleplayer": "0.0.7"
"prism-react-renderer": "^2.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"roleplayer": "0.0.6"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.2.0",
"@docusaurus/tsconfig": "^3.2.0",
"@docusaurus/types": "^3.2.0",
"@docusaurus/module-type-aliases": "^3.2.1",
"@docusaurus/tsconfig": "^3.2.1",
"@docusaurus/types": "^3.2.1",
"docusaurus-plugin-typedoc": "^1.0.0-next.28",
"typedoc": "^0.25.12",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^4.0.0-next.54",
"typescript": "^5.4.2"
"typescript": "^5.4.0"
},
"browserslist": {
"production": [
Expand All @@ -51,4 +51,4 @@
"engines": {
"node": ">=18.0"
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@repo/typescript-config": "*",
"prettier": "^3.2.5",
"turbo": "^1.13.2",
"typescript": "^5.4.2"
"typescript": "^5.4.0"
},
"engines": {
"node": ">=18"
Expand Down
12 changes: 6 additions & 6 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"react-internal.js"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"@vercel/style-guide": "^6.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-turbo": "^1.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-turbo": "^1.13.2",
"eslint-plugin-only-warn": "^1.1.0",
"typescript": "^5.2.2"
"typescript": "^5.4.0"
}
}
}
18 changes: 9 additions & 9 deletions packages/roleplayer-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"generate:component": "turbo gen react-component"
},
"devDependencies": {
"@repo/eslint-config": "*",
"@repo/typescript-config": "*",
"@turbo/gen": "^1.10.12",
"@repo/eslint-config": "^0.0.0",
"@repo/typescript-config": "^0.0.0",
"@turbo/gen": "^1.13.2",
"@types/eslint": "^8.56.8",
"@types/node": "^20.5.2",
"@types/eslint": "^8.44.7",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"eslint": "^8.53.0",
"roleplayer": "0.0.7",
"@types/react": "^18.2.76",
"@types/react-dom": "^18.2.25",
"eslint": "^8.57.0",
"react": "^18.2.0",
"typescript": "^5.2.2"
"roleplayer": "0.0.6",
"typescript": "^5.4.0"
}
}
12 changes: 7 additions & 5 deletions packages/roleplayer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,19 @@
"devDependencies": {
"@repo/eslint-config": "*",
"@repo/typescript-config": "*",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.4",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.7",
"@types/uuid": "^9.0.8",
"jest": "^29.7.0",
"prettier": "^3.1.1",
"ts-jest": "^29.1.1",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsup": "^8.0.2",
"typescript": "^5.3.3"
"typescript": "^5.4.0"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"uuid": "^9.0.1"
},
"publishConfig": {
Expand Down
3 changes: 3 additions & 0 deletions packages/roleplayer/src/core/roleplayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ export class Roleplayer extends Observable<RoleplayerEvent> {
}

createEventsProxy(events: RoleplayerEvent[]) {

// TODO: Can we fix this in a nicer way?
// eslint-disable-next-line no-undef
return new Proxy(events, {
set: (target, property, value, receiver) => {
const index = Number(property);
Expand Down

0 comments on commit 4bc15b4

Please sign in to comment.