-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an initializer package for quickly creating a new EdgeDB project #809
Conversation
Partially addresses #807 , but I don't want to close that issue when this is merged since there is a lot we want to do before calling that issue "done". |
"@edgedb/generate": "1.x", | ||
"@typescript-eslint/eslint-plugin": "6.x", | ||
"@typescript-eslint/parser": "6.x", | ||
"@eslint/eslintrc": "2.x", | ||
"eslint": "8.x", | ||
"eslint-config-prettier": "9.x", | ||
"typescript": "5.x" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll update this in a separate PR once I test which versions actually work together the best.
|
||
const compat = new FlatCompat(); | ||
|
||
export default [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spicy: going to use the new "flat config" style of ESLint to avoid having to do a big overhaul in the future once ESLint 9 lands with this style on by default.
Open to anyone saying this is a bad idea 😂
04ea328
to
3aece6b
Compare
n.b. pathname includes the current file
3aece6b
to
371ee67
Compare
For now, this just sets up a super barebones project structure and is missing all of the most important parts of setting up each framework. However, this is working well enough to demonstrate the basic idea and we can now build "recipes" in parallel for each framework.
Note:
Going to explore the latest module syntax in this package since I think we need to update it everywhere else to support
node16
style module imports. So far, so good.Screen.Recording.2023-12-14.at.10.14.51.AM.mov