Skip to content

Commit

Permalink
chore: upgrade type defs
Browse files Browse the repository at this point in the history
  • Loading branch information
nadilas committed Apr 7, 2024
1 parent 71f7cb6 commit 6f7b9d2
Show file tree
Hide file tree
Showing 7 changed files with 72 additions and 86 deletions.
4 changes: 2 additions & 2 deletions apps/ogre-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@sindresorhus/tsconfig": "^3.0.1",
"@types/color-convert": "^2.0.3",
"@types/lodash": "^4.14.202",
"@types/node": "^17.0.45",
"@types/node": "^20.12.5",
"@types/react": "^18.0.32",
"@vdemedes/prettier-config": "^2.0.1",
"auto-changelog": "^2.4.0",
Expand All @@ -41,7 +41,7 @@
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^2.8.7",
"ts-node": "^10.9.1",
"typescript": "^5.0.3"
"typescript": "^5.4.4"
},
"ava": {
"extensions": {
Expand Down
8 changes: 4 additions & 4 deletions apps/ogre-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"lint": "next lint"
},
"dependencies": {
"@dotinc/ogre": "^0.9.0",
"@dotinc/ogre-react": "^0.9.0",
"@dotinc/ogre": "*",
"@dotinc/ogre-react": "*",
"next": "12.1.0",
"next-plausible": "^3.12.0",
"next-transpile-modules": "^9.1.0",
Expand All @@ -20,12 +20,12 @@
"react-live": "3.2.0"
},
"devDependencies": {
"@types/node": "17.0.45",
"@types/node": "^20.12.5",
"@types/react": "17.0.39",
"config": "^0.2.0",
"eslint": "8.56.0",
"eslint-config-next": "12.3.4",
"tsconfig": "*",
"typescript": "4.7.4"
"typescript": "^5.4.4"
}
}
16 changes: 13 additions & 3 deletions apps/ogre-demo/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"extends": "tsconfig/nextjs.json",
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
Expand All @@ -17,6 +21,12 @@
"incremental": true,
"downlevelIteration": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"node_modules"
]
}
112 changes: 41 additions & 71 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions packages/ogre-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"url": "https://github.com/dotindustries/ogre.git"
},
"dependencies": {
"@dotinc/ogre": "^0.9.0",
"@dotinc/ogre": "*",
"@gitgraph/react": "^1.6.0"
},
"devDependencies": {
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.13",
"config": "^0.2.0",
"tsconfig": "^0.1.1",
"typescript": "^4.7.4"
"typescript": "^5.4.4"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
Expand Down
10 changes: 8 additions & 2 deletions packages/ogre-react/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"extends": "tsconfig/react-library.json",
"include": ["."],
"exclude": ["dist", "build", "node_modules"],
"include": [
"."
],
"exclude": [
"dist",
"build",
"node_modules"
],
"compilerOptions": {
"downlevelIteration": true
}
Expand Down
Loading

0 comments on commit 6f7b9d2

Please sign in to comment.