Skip to content

Commit

Permalink
[optimize] Web Polyfill Selector page layout
Browse files Browse the repository at this point in the history
[optimize] update Upstream packages
[remove] useless Example files
  • Loading branch information
TechQuery committed Mar 13, 2024
1 parent 97457f9 commit bcdf25e
Show file tree
Hide file tree
Showing 17 changed files with 1,187 additions and 1,572 deletions.
20 changes: 0 additions & 20 deletions components/BlockEditor.tsx

This file was deleted.

19 changes: 0 additions & 19 deletions components/HTMLEditor.tsx

This file was deleted.

30 changes: 9 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,43 +7,31 @@
"node": ">=18"
},
"dependencies": {
"@editorjs/code": "^2.9.0",
"@editorjs/editorjs": "^2.29.0",
"@editorjs/header": "^2.8.1",
"@editorjs/image": "^2.9.0",
"@editorjs/link": "^2.6.2",
"@editorjs/list": "^1.9.0",
"@editorjs/paragraph": "^2.11.3",
"@editorjs/quote": "^2.6.0",
"@mdx-js/loader": "^3.0.1",
"@mdx-js/react": "^3.0.1",
"@next/mdx": "^14.1.1",
"@sentry/nextjs": "^7.104.0",
"@next/mdx": "^14.1.3",
"@sentry/nextjs": "^7.106.1",
"copy-webpack-plugin": "^12.0.2",
"editorjs-html": "^3.4.3",
"idea-react": "^2.0.0-rc.2",
"koajax": "^0.9.6",
"less": "^4.2.0",
"less-loader": "^12.2.0",
"license-filter": "^0.2.4",
"lodash": "^4.17.21",
"marked": "^12.0.0",
"marked": "^12.0.1",
"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.1",
"next": "^14.1.3",
"next-pwa": "~5.6.0",
"next-ssr-middleware": "^0.7.0",
"next-with-less": "^3.0.1",
"primereact": "^10.5.1",
"prismjs": "^1.29.0",
"react": "^18.2.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",
Expand All @@ -55,17 +43,17 @@
"@babel/plugin-transform-typescript": "^7.23.6",
"@babel/preset-react": "^7.23.3",
"@octokit/openapi-types": "^20.0.0",
"@types/lodash": "^4.14.202",
"@types/node": "^18.19.21",
"@types/react": "^18.2.61",
"@types/lodash": "^4.17.0",
"@types/node": "^18.19.23",
"@types/react": "^18.2.65",
"eslint": "^8.57.0",
"eslint-config-next": "^14.1.1",
"eslint-config-next": "^14.1.3",
"eslint-config-prettier": "^9.1.0",
"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"
"typescript": "~5.4.2"
},
"prettier": {
"singleQuote": true,
Expand Down
6 changes: 3 additions & 3 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ export default function Document() {
return (
<Html>
<Head>
<link rel="icon" href="/favicon.ico" />
<link rel="icon" href="https://kaiyuanshe.cn/image/KaiYuanShe.png" />

<link rel="manifest" href="/manifest.json" />
<script src="https://polyfill.web-cell.dev/feature/PWAManifest.js"></script>

<link
rel="stylesheet"
href="https://unpkg.com/[email protected].2/dist/css/bootstrap.min.css"
href="https://unpkg.com/[email protected].3/dist/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="https://unpkg.com/[email protected].1/font/bootstrap-icons.css"
href="https://unpkg.com/[email protected].3/font/bootstrap-icons.css"
/>
</Head>

Expand Down
12 changes: 0 additions & 12 deletions pages/api/hello.ts

This file was deleted.

78 changes: 0 additions & 78 deletions pages/api/home.ts

This file was deleted.

16 changes: 0 additions & 16 deletions pages/api/rich-edit.json

This file was deleted.

77 changes: 0 additions & 77 deletions pages/component.tsx

This file was deleted.

76 changes: 0 additions & 76 deletions pages/pagination.tsx

This file was deleted.

Loading

1 comment on commit bcdf25e

@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 oss-toolbox ready!

✅ Preview
https://oss-toolbox-3oqa7yh68-techquery.vercel.app

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

Please sign in to comment.