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

use npm packages #34

Merged
merged 4 commits into from
Jun 19, 2024
Merged

use npm packages #34

merged 4 commits into from
Jun 19, 2024

Conversation

turbocrime
Copy link
Contributor

@turbocrime turbocrime commented Jun 17, 2024

includes some rebased code that was dropped

Copy link

changeset-bot bot commented Jun 17, 2024

🦋 Changeset detected

Latest commit: 653f2a6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
prax-marketing-website Major
@repo/tailwind-config Major
@repo/eslint-config Major
@repo/tsconfig Major
@repo/context Major
chrome-extension Major
@repo/ui Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@grod220 grod220 mentioned this pull request Jun 17, 2024
17 tasks
@TalDerei
Copy link
Contributor

Looks good after green CI + external deps are swapped in

@turbocrime turbocrime marked this pull request as ready for review June 19, 2024 06:40
@turbocrime turbocrime force-pushed the turbocrime/use-packages branch 3 times, most recently from 7e36a0e to a636256 Compare June 19, 2024 15:52
@turbocrime turbocrime requested review from grod220, TalDerei and a team June 19, 2024 16:45
@turbocrime turbocrime changed the title try to use packages use npm packages Jun 19, 2024
@@ -7,6 +7,9 @@ on:
branches:
- main

env:
DO_NOT_TRACK: 1
Copy link
Contributor Author

Choose a reason for hiding this comment

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

replaces turbo telemetry disable command

key: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-built
restore-keys: ${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-compiled
key: ${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-publish
restore-keys: ${{ hashFiles('pnpm-lock.yaml') }}-${{ github.ref }}-${{ github.sha }}-test
Copy link
Contributor Author

Choose a reason for hiding this comment

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

possibly restore cache from a successful test run

@TalDerei
Copy link
Contributor

why doesn't locally linking package deps like this work?

Screenshot_2024-06-19_at_12 21 33_PM
Screenshot_2024-06-19_at_12 21 56_PM

@turbocrime
Copy link
Contributor Author

why doesn't locally linking package deps like this work?

part of this is syncpack, which doesn't know how to compare paths except by a literal string match, and can't compare semver matchers with paths

you may also be having problems with module resolution, which was not addressed by the packaging work, and package builds, which turbo won't assist with or understand for external packages

'link' is really only useful for packages that have no build step, or are a directory essentially equivalent to an unpacked tarball

Copy link
Contributor

@TalDerei TalDerei left a comment

Choose a reason for hiding this comment

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

confirmed published packages are working!

@turbocrime turbocrime merged commit e9b0d0d into main Jun 19, 2024
3 checks passed
@turbocrime turbocrime deleted the turbocrime/use-packages branch June 19, 2024 21:48
@grod220
Copy link
Contributor

grod220 commented Jun 20, 2024

Nice job here! 🎊

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.

3 participants