Skip to content

Commit

Permalink
[optimize] update Upstream packages
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery committed Mar 2, 2024
1 parent 16a5056 commit 4e893d0
Show file tree
Hide file tree
Showing 4 changed files with 402 additions and 343 deletions.
26 changes: 14 additions & 12 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
module.exports = {
presets: [
// https://babeljs.io/docs/babel-preset-typescript
[
'@babel/preset-typescript',
{
allowDeclareFields: true,
allowNamespaces: true,
allExtensions: true,
isTSX: true,
},
],
// https://babeljs.io/docs/babel-preset-react
[
'@babel/preset-react',
Expand All @@ -19,6 +9,18 @@ module.exports = {
},
],
],
// https://babeljs.io/docs/babel-plugin-proposal-decorators#note-compatibility-with-babelplugin-transform-class-properties
plugins: [['@babel/plugin-proposal-decorators', { version: '2023-05' }]],
plugins: [
// https://github.com/babel/babel/issues/16262#issuecomment-1962832499
[
'@babel/plugin-transform-typescript',
{
allowDeclareFields: true,
allowNamespaces: true,
allExtensions: true,
isTSX: true,
},
],
// https://babeljs.io/docs/babel-plugin-proposal-decorators#note-compatibility-with-babelplugin-transform-class-properties
['@babel/plugin-proposal-decorators', { version: '2023-05' }],
],
};
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,53 +15,53 @@
"@editorjs/list": "^1.9.0",
"@editorjs/paragraph": "^2.11.3",
"@editorjs/quote": "^2.6.0",
"@mdx-js/loader": "^3.0.0",
"@mdx-js/react": "^3.0.0",
"@next/mdx": "^14.1.0",
"@sentry/nextjs": "^7.98.0",
"@mdx-js/loader": "^3.0.1",
"@mdx-js/react": "^3.0.1",
"@next/mdx": "^14.1.1",
"@sentry/nextjs": "^7.104.0",
"copy-webpack-plugin": "^12.0.2",
"editorjs-html": "^3.4.3",
"idea-react": "^2.0.0-rc.0",
"idea-react": "^2.0.0-rc.2",
"koajax": "^0.9.6",
"less": "^4.2.0",
"less-loader": "^12.1.0",
"less-loader": "^12.2.0",
"lodash": "^4.17.21",
"mobx": "^6.12.0",
"mobx-i18n": "^0.5.0",
"mobx-react": "^9.1.0",
"mobx-restful": "^0.7.0-rc.0",
"mobx-restful-table": "^2.0.0-rc.0",
"next": "^14.1.0",
"next": "^14.1.1",
"next-pwa": "~5.6.0",
"next-ssr-middleware": "^0.7.0",
"next-with-less": "^3.0.1",
"prismjs": "^1.29.0",
"react": "^18.2.0",
"react-bootstrap": "^2.10.0",
"react-bootstrap-editor": "^2.0.0",
"react-bootstrap": "^2.10.1",
"react-bootstrap-editor": "^2.0.1",
"react-dom": "^18.2.0",
"react-editor-js": "^2.1.0",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.0",
"remark-mdx-frontmatter": "^4.0.0",
"web-utility": "^4.1.3",
"webpack": "^5.90.0"
"web-utility": "^4.3.0",
"webpack": "^5.90.3"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.23.9",
"@babel/plugin-proposal-decorators": "^7.24.0",
"@babel/plugin-transform-typescript": "^7.23.6",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@octokit/openapi-types": "^19.1.0",
"@octokit/openapi-types": "^20.0.0",
"@types/lodash": "^4.14.202",
"@types/node": "^18.19.10",
"@types/react": "^18.2.48",
"eslint": "^8.56.0",
"eslint-config-next": "^14.1.0",
"@types/node": "^18.19.21",
"@types/react": "^18.2.61",
"eslint": "^8.57.0",
"eslint-config-next": "^14.1.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^9.0.7",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"eslint-plugin-simple-import-sort": "^12.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"typescript": "~5.3.3"
},
"prettier": {
Expand Down
Loading

1 comment on commit 4e893d0

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for next-bootstrap-ts ready!

✅ Preview
https://next-bootstrap-2mc5bc4xr-stevending1st.vercel.app

Built with commit 4e893d0.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.