janejeon / dev Goto Github PK
View Code? Open in Web Editor NEWAll of my dev tooling, in one place!
License: GNU Lesser General Public License v2.1
All of my dev tooling, in one place!
License: GNU Lesser General Public License v2.1
Again, need to leverage lerna's cross-linking and task running abilities.
I'd like to be able to replicate CodeClimate's rules on complexity thru ESLint.
A few pointers:
(if I'm done replicating, I should delete the CodeClimate account)
For libraries? For applications?
Split out prettier
as peerDependencies, as they are now installed by default.
Make sure npm version is >=7 (which is when the "install peer deps by default" behaviour was added) via engines
key.
Specifically, for git hooks.
Also remove individual git hooks at the repository level.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@vitest/coverage-istanbul
, @vitest/ui
, vitest
)@commitlint/cli
, @commitlint/config-conventional
, @commitlint/config-lerna-scopes
, @commitlint/cz-commitlint
).gitmodules
packages/skip-ci/repo master@4b01fbf57648adc7303d3762a934ead866470a58
.github/workflows/ci.yml
actions/checkout v4
actions/setup-node v3
actions/checkout v4
actions/setup-node v3
actions/checkout v4
actions/setup-node v3
actions/checkout v4
actions/setup-node v3
.github/workflows/codeql-analysis.yml
actions/checkout v4
github/codeql-action v2
github/codeql-action v2
github/codeql-action v2
.github/workflows/ossar-analysis.yml
actions/checkout v4
github/ossar-action v1
github/codeql-action v2
package.json
@vitest/coverage-istanbul ^0.34.2
@vitest/ui ^0.34.2
lerna ^8.0.2
lint-staged ^15.0.0
npm-run-all2 ^6.0.0
typescript ^5.1.6
vitest ^0.34.2
packages/commitlint-config/package.json
@commitlint/cli ^17
@commitlint/config-conventional ^17
@commitlint/config-lerna-scopes ^17
@commitlint/cz-commitlint ^17
packages/eslint-config-typescript/package.json
@typescript-eslint/eslint-plugin ^7.0.0
@typescript-eslint/parser ^7.0.0
packages/eslint-config/package.json
eslint ^8
eslint-config-prettier ^9.0.0
eslint-config-standard ^17
eslint-plugin-import ^2
eslint-plugin-n ^15
eslint-plugin-promise ^6
packages/got/package.json
@types/express ^4.17.17
express ^4.18.2
got ^13
got-scraping ^3
got-ssrf ^2
packages/prettier-config/package.json
prettier ^3
packages/renovate-config/package.json
packages/skip-ci/package.json
node >=14
packages/tsconfig/package.json
.nvmrc
node 20
Instead of having different versions of packages cross-referencing each other installed in package.json, leverage lerna bootstrap
to just "link" all of the packages together as a "*" dependency.
Basically, the idea is to have a renovate.json
at the root repo, with something like
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>JaneJeon/renovate-config"]
}
pointing at the local JSON.
Have it as a separate package for peerDeps purposes
react
react-hooks
react-app
xss
eslint-plugin-import
for react/jsxe.g lint, lint-pr, prettier & eslint commands w/ caching
At the very least, they need to be pulled up to the root level.
jest
jest-formatting
jest-dom
testing-library
jest-async
Once I experiment with normalize-url-plus, update the eslint config as necessary!
Is there a shorthand for pointing within a monorepo?
Probably split them out into "universal", "backend", and "frontend"
Some ideas for prod:
nopp
: a small, universal package to prevent prototype pollution straight up?trace
and clarify
: backend packages to be run on init to help with debugging - do we still need this w/ VS Code, given that we're never going to use this in production?Dev dependencies:
husky
v8lint-staged
is-ci
skip-ci
jest
, jest-junit
, node-notifier
)typescript
, typescript-eslint
, ts-jest
)cross-env
onchange
concurrently
npm-run-all
wait-on
rimraf
copyfiles
For libraries, applications, infra repos…
The idea is that for most of my repos, the .lintstagedrc.yml
is going to look basically the same. Therefore, we export the JSON configuration as a package, and utilize .lintstagedrc.js
JS configuration for the lint-staged configuration (see: https://github.com/okonet/lint-staged/#using-js-configuration-files) so that we can simply require that JSON and export it (or add additional attributes if I have special needs).
@typescript-eslint/eslint-plugin
@typescript-eslint/parser
eslint-plugin-deprecation
eslint-plugin-import
for typescripthttps://github.com/standard/eslint-config-standard-with-typescript/blob/master/src/index.ts for rules
eslint
, eslint-config-prettier
, eslint-config-standard
, eslint-plugin-import
, eslint-plugin-n
, and eslint-plugin-promise
into peer dependenciesnode
to n
eslint-plugin-import
for regular javascriptplugin:promise/recommended
plugin:n/recommended
eslint-plugin-lodash
plugin and extend recommendedeslint-plugin-markdown
plugin and extend recommendedno-extend-native
and no-use-extend-native
regexp
sonarjs
security
eslint-config-turbo
for monorepo usageA declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.