Skip to content
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

Merged
merged 13 commits into from
Jan 3, 2024

Conversation

scotttrinh
Copy link
Collaborator

@scotttrinh scotttrinh commented Dec 14, 2023

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
image

@scotttrinh
Copy link
Collaborator Author

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".

Comment on lines 10 to 17
"@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"
Copy link
Collaborator Author

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 [
Copy link
Collaborator Author

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 😂

@scotttrinh scotttrinh force-pushed the 807-edgedb-create branch 2 times, most recently from 04ea328 to 3aece6b Compare December 15, 2023 16:05
@scotttrinh scotttrinh merged commit a9f782a into master Jan 3, 2024
7 checks passed
@scotttrinh scotttrinh deleted the 807-edgedb-create branch January 3, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant