Closed ap0nia closed 1 year ago
🚀 Staging instances deployed! API - https://staging-53.api-next.peterportal.org Docs - https://staging-53-docs.api-next.peterportal.org
Ok, will make a new PR to this branch specifically. Will turn off commit hooks and only submit the config changes for review. Then will do a project-wide lint and format after everything looks good.
really massive codebase cleanup lol
Caveat
Files Changed ...
Should ignore the project files, like
.ts
because those were just formatted..commitlintrc.json - removed because the same config is already in package json
.lintstagedrc.yml - extracted out from the root package.json
docs --> apps/documentation
.eslintrc.cjs --> simplified config, also added support for react because of the docs
.pretterrc.cjs --> prettier.config.cjs (for some reason this specific config file is better with plugins)
tsconfig.json --> edited
docusaurus.config.js --> docusaurus.config.cjs
sidebars.js --> sidebars.cjs
babel.config.js --> babel.config.cjs
changing these files in the documentation project don't seem to affect functionality, but it helps fix linting/TS errors complaining that they should be modules
Other miscellaneous notes:
.cts
and.mts
are the equivalent TS file extensions for.cjs
and.mjs
? It looks kinda goofy and I've rarely ever seen them used