Skip to content

Commit

Permalink
chore(deps): update dependency kkt & react 18
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 15, 2022
1 parent 19503fd commit 4366922
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 33 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"assert"
],
"devDependencies": {
"jest-watch-typeahead": "1.0.0",
"lerna": "4.0.0",
"tsbb": "3.5.4"
"jest-watch-typeahead": "~1.1.0",
"lerna": "~4.0.0",
"tsbb": "~3.7.2"
}
}
2 changes: 1 addition & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ To develop, Install dependencies, Get the code:
$ git https://github.com/jaywcjlove/validator.js.git
$ cd validator.js # Into the directory
$ npm install # or yarn install
$ npm run bootstrap # Install monorepo dependency
$ npm install --workspaces # Install monorepo dependency
```

To develop, run the self-reloading build:
Expand Down
2 changes: 1 addition & 1 deletion packages/core/dist/validator.js

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

2 changes: 1 addition & 1 deletion packages/core/dist/validator.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/core/dist/validator.min.js

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

2 changes: 1 addition & 1 deletion packages/core/dist/validator.min.js.map

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
],
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "21.0.1",
"@rollup/plugin-node-resolve": "13.1.1",
"@rollup/plugin-typescript": "8.3.0",
"bannerjs": "2.1.0",
"rollup": "2.62.0",
"rollup-plugin-terser": "7.0.2"
"@rollup/plugin-commonjs": "~22.0.0",
"@rollup/plugin-node-resolve": "~13.3.0",
"@rollup/plugin-typescript": "~8.3.2",
"bannerjs": "~2.1.0",
"rollup": "~2.73.0",
"rollup-plugin-terser": "~7.0.2"
}
}
2 changes: 2 additions & 0 deletions packages/core/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default [{
nodeResolve(),
typescript({
tsconfig: './tsconfig.json',
exclude: ['node_modules']
}),
commonjs(),
]
Expand All @@ -59,6 +60,7 @@ export default [{
plugins: [
typescript({
tsconfig: './tsconfig.json',
exclude: ['node_modules']
}),
terser({}),
]
Expand Down
2 changes: 1 addition & 1 deletion packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
"target": "es5"
},
"include": ["src"],
"exclude": ["dist", "__tests__"],
"exclude": ["dist", "__tests__", "node_modules"]
}
8 changes: 4 additions & 4 deletions packages/hook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
},
"devDependencies": {
"@babel/runtime": "7.16.3",
"@types/react": "17.0.38",
"@types/react-dom": "17.0.11",
"react": "17.0.2",
"react-dom": "17.0.2"
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.4",
"react": "^18.1.0",
"react-dom": "^18.1.0"
}
}
20 changes: 10 additions & 10 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
"validator.tool": "2.2.3"
},
"devDependencies": {
"@kkt/less-modules": "7.0.0",
"@kkt/raw-modules": "7.0.0",
"@kkt/scope-plugin-options": "7.0.0",
"@types/react": "17.0.38",
"@types/react-dom": "17.0.11",
"@uiw/react-github-corners": "1.5.3",
"@kkt/less-modules": "^7.1.2",
"@kkt/raw-modules": "^7.1.2",
"@kkt/scope-plugin-options": "^7.1.2",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.4",
"@uiw/react-github-corners": "^1.5.14",
"@uiw/react-markdown-preview": "3.4.5",
"@uiw/reset.css": "1.0.5",
"kkt": "7.0.0",
"react": "17.0.2",
"react-dom": "17.0.2"
"@uiw/reset.css": "^1.0.6",
"kkt": "^7.1.2",
"react": "^18.1.0",
"react-dom": "^18.1.0"
},
"browserslist": {
"production": [
Expand Down
7 changes: 4 additions & 3 deletions website/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import { createRoot } from 'react-dom/client';
import '@uiw/reset.css';

ReactDOM.render(<App />, document.getElementById('root'));
const container = document.getElementById('root');
const root = createRoot(container!);
root.render(<App />);
3 changes: 2 additions & 1 deletion website/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
],
"compilerOptions": {
"baseUrl": "."
}
},
"exclude": ["node_modules"]
}

0 comments on commit 4366922

Please sign in to comment.