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

refactor: flatten deps and improve repo folder #821

Merged
merged 26 commits into from
Sep 2, 2024

Conversation

Yohe-Am
Copy link
Contributor

@Yohe-Am Yohe-Am commented Aug 26, 2024

  • Renames libs/ to src/.
  • Moves typegate/, meta-cli, typegraph/, meta-lsp/ to src/.
  • Renames dev/ to tools/
  • Moves website/ to docs/metatype.dev/
  • Moves src/typegate/tests to tests/
  • Moves src/typegraph/deno/dev to tools/jsr/
  • Moves src/typegraph/deno/sdk to src/typegraph/deno/
  • Renames src/deno to src/mt_deno
  • Bumps deno to 1.46.1
  • Bumps rust toolchain to 1.80.1
  • Moves all rust dependencies to workspace section
  • Moves tools/task-*.ts to tools/task/*.ts
  • Moves cliff.toml, Cross.toml, ruff.toml to tools/
  • Uses deno workspaces to organize src/typegraph/deno, src/typegate, tools/, tests/ and more.
  • Closes MET-607
  • Updates poetry to 1.8.3
  • Bumps metatype to version 0.4.9-rc1
  • Update CONTRIBUTING.md
  • Fix CI workflows
  • Fix Dockerfile
  • Fix all tests

Migration notes

  • No end user changes required

  • The change comes with new or modified tests

  • Hard-to-understand functions have explanatory comments

  • End-user documentation is updated to reflect the change

Copy link

linear bot commented Aug 26, 2024

Copy link
Contributor Author

@Yohe-Am Yohe-Am left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is best viewed inside the vscode github pr extension.

@Yohe-Am Yohe-Am mentioned this pull request Aug 26, 2024
3 tasks
Copy link
Contributor Author

@Yohe-Am Yohe-Am left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is 99% renames actually.

@Yohe-Am Yohe-Am marked this pull request as ready for review August 28, 2024 22:32
Yohe-Am and others added 8 commits August 29, 2024 02:45
…on docs (#822)

<!--
Pull requests are squashed and merged using:
- their title as the commit message
- their description as the commit body

Having a good title and description is important for the users to get
readable changelog.
-->

<!-- 1. Explain WHAT the change is about -->

- [x] add a warning that envs are not set.

<!-- 2. Explain WHY the change cannot be made simpler -->

[MET-635](https://linear.app/metatypedev/issue/MET-635/cli-ensure-documentation-is-pushing-for-meta-dev-instead-of-meta)

<!-- 3. Explain HOW users should update their code -->

_No Migration Needed_

- [ ] The change comes with new or modified tests
- [ ] Hard-to-understand functions have explanatory comments
- [ ] End-user documentation is updated to reflect the change
Copy link

codecov bot commented Sep 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.95%. Comparing base (1c740bc) to head (880a69e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #821      +/-   ##
==========================================
+ Coverage   69.05%   75.95%   +6.90%     
==========================================
  Files         144      144              
  Lines       16704    16696       -8     
  Branches     1481     1639     +158     
==========================================
+ Hits        11535    12682    +1147     
+ Misses       5143     3991    -1152     
+ Partials       26       23       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Yohe-Am Yohe-Am requested review from zifeo, michael-0acf4 and a team and removed request for zifeo September 1, 2024 19:12
@Yohe-Am
Copy link
Contributor Author

Yohe-Am commented Sep 1, 2024

Note, I've updated this to a release candidate version just to make sure the changes to the release pipeline are good before anything.

Copy link
Member

@zifeo zifeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Massive!

There are 2 files left under website, likely due to a clashing merge:
CleanShot 2024-09-01 at 22 28 57@2x

michael-0acf4
michael-0acf4 previously approved these changes Sep 1, 2024
.github/workflows/release.yml Show resolved Hide resolved
@Yohe-Am Yohe-Am merged commit d84e4ed into main Sep 2, 2024
12 checks passed
@Yohe-Am Yohe-Am deleted the feat/MET-607/flatten-deps branch September 2, 2024 08:28
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.

4 participants