forked from TuanManhCao/digital-garden
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: cleanup dependencies and tools (TuanManhCao#19)
* chore: fix dev command * chore: remove unused libraries * chore: remove unused document * chore: ignore public file contents * chore: replace linter/formatter to rome * style: format codes * ci: fix lint command
- Loading branch information
Showing
27 changed files
with
1,144 additions
and
4,969 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,8 @@ | |
/build | ||
/posts | ||
!/posts/.gitkeep | ||
/public | ||
!/public/favicon.ico | ||
|
||
# misc | ||
.DS_Store | ||
|
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
module.exports = { | ||
swcMinify: true, | ||
webpack: (config) => { | ||
config.resolve.fallback = { | ||
fs: false, | ||
buffer: false | ||
}; | ||
return config; | ||
}, | ||
output: "standalone", | ||
async redirects() { | ||
return [ | ||
{ | ||
source: "/", | ||
destination: "/README", | ||
permanent: true | ||
} | ||
] | ||
} | ||
swcMinify: true, | ||
webpack: (config) => { | ||
config.resolve.fallback = { | ||
fs: false, | ||
buffer: false, | ||
}; | ||
return config; | ||
}, | ||
output: "standalone", | ||
async redirects() { | ||
return [ | ||
{ | ||
source: "/", | ||
destination: "/README", | ||
permanent: true, | ||
}, | ||
]; | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,14 @@ | |
"private": true, | ||
"scripts": { | ||
"preinstall": "npx only-allow pnpm", | ||
"dev": "next dev", | ||
"dev": "pnpm run build:kotlin && next dev", | ||
"build": "pnpm run build:kotlin && pnpm run build:next", | ||
"build:next": "next build", | ||
"build:kotlin": "cd kotlin && ./gradlew build --stacktrace", | ||
"start": "next start", | ||
"deploy": "pnpm build && git add . && git commit -m '...' && git push", | ||
"format": "prettier --write \"src/**/*.{ts,tsx,js}\"", | ||
"lint": "eslint --fix .", | ||
"format": "rome format --write src *.js && rome check --apply-suggested src *.js", | ||
"lint": "rome check src *.js", | ||
"export": "next export" | ||
}, | ||
"dependencies": { | ||
|
@@ -22,48 +22,23 @@ | |
"@mui/icons-material": "latest", | ||
"@mui/lab": "latest", | ||
"@mui/material": "latest", | ||
"@mui/system": "^5.11.8", | ||
"@types/wanakana": "^4.0.3", | ||
"cytoscape-d3-force": "^1.1.4", | ||
"cytoscape-node-html-label": "^1.2.1", | ||
"d3": "^6.2.0", | ||
"directory-tree": "^3.2.2", | ||
"fs": "^0.0.1-security", | ||
"fuse.js": "^6.6.2", | ||
"gray-matter": "^4.0.2", | ||
"hast-util-to-html": "^8.0.4", | ||
"jotai": "^2.0.1", | ||
"jsnetworkx": "^0.3.4", | ||
"mdast-util-to-string": "^3.1.0", | ||
"next": "^12.1.0", | ||
"path": "^0.12.7", | ||
"react": "^18.2.0", | ||
"react-cytoscapejs": "^1.2.1", | ||
"react-dom": "^18.2.0", | ||
"react-folder-tree": "^5.0.3", | ||
"refractor": "^4.8.1", | ||
"rehype-prism-plus": "^1.3.2", | ||
"rehype-react": "^7.0.4", | ||
"rehype-stringify": "^9.0.3", | ||
"remark": "^13.0.0", | ||
"remark-collapse": "^0.1.2", | ||
"remark-external-links": "^8.0.0", | ||
"remark-highlight.js": "^6.0.0", | ||
"remark-html": "^13.0.1", | ||
"remark-parse": "^9.0.0", | ||
"remark-preset-lint-markdown-style-guide": "^4.0.0", | ||
"remark-rehype": "^10.1.0", | ||
"remark-wiki-link": "^1.0.0", | ||
"to-vfile": "^6.1.0", | ||
"ts-pattern": "^4.1.4", | ||
"unified": "^9.2.0", | ||
"unist-util-visit": "^4.1.0", | ||
"vfile-reporter": "^6.0.1", | ||
"volglass-backend": "link:kotlin/build/productionLibrary", | ||
"wanakana": "^5.0.2" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.20.12", | ||
"@types/babel__core": "^7.20.0", | ||
"@types/cytoscape": "^3.19.9", | ||
"@types/d3": "^6.7.5", | ||
|
@@ -74,30 +49,12 @@ | |
"@types/react-dom": "^18.0.11", | ||
"@types/unist": "^2.0.6", | ||
"@types/uuid": "^8.3.4", | ||
"@typescript-eslint/eslint-plugin": "^5.48.2", | ||
"@typescript-eslint/parser": "^5.48.2", | ||
"autoprefixer": "^10.4.13", | ||
"bimap": "^0.0.15", | ||
"cytoscape": "^3.17.0", | ||
"eslint": "8.13.0", | ||
"eslint-config-next": "12.1.5", | ||
"eslint-config-prettier": "^8.6.0", | ||
"eslint-config-standard-with-typescript": "^31.0.0", | ||
"eslint-plugin-import": "^2.25.2", | ||
"eslint-plugin-n": "^15.0.0", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"eslint-plugin-react": "^7.32.1", | ||
"eslint-plugin-tailwindcss": "^3.8.3", | ||
"postcss": "^8.4.21", | ||
"prettier": "^2.8.3", | ||
"prettier-plugin-tailwindcss": "^0.2.2", | ||
"remark-frontmatter": "^3.0.0", | ||
"remark-react": "^8.0.0", | ||
"remark-stringify": "^9.0.0", | ||
"rome": "^11.0.0", | ||
"tailwindcss": "^3.2.4", | ||
"typescript": "^4.9.4", | ||
"typesync": "^0.9.2", | ||
"uuid": "^8.3.2" | ||
"typescript": "^4.9.4" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.