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

Update build process, adapt wasm and keychain CI #717

Merged
merged 17 commits into from
Sep 13, 2024
Merged

Conversation

steebchen
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Sep 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
cartridge-starknet-react-next ❌ Failed (Inspect) Sep 13, 2024 9:09pm
docs ✅ Ready (Inspect) Visit Preview Sep 13, 2024 9:09pm
keychain ❌ Failed (Inspect) Sep 13, 2024 9:09pm
keychain-storybook ❌ Failed (Inspect) Sep 13, 2024 9:09pm
profile ✅ Ready (Inspect) Visit Preview Sep 13, 2024 9:09pm
ui ✅ Ready (Inspect) Visit Preview Sep 13, 2024 9:09pm
ui-next ✅ Ready (Inspect) Visit Preview Sep 13, 2024 9:09pm

branches: [main]
jobs:
test:
if: always() == 'skip' # temporarily skip cc @jun
Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes 🙏

This comment was marked as outdated.

turbo.json Outdated
Comment on lines 5 to 7
"build-wasm": {
"outputs": ["packages/account-wasm/pkg/**"]
},
Copy link
Collaborator

@JunichiSugiura JunichiSugiura Sep 13, 2024

Choose a reason for hiding this comment

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

It's prob simpler to rename the script to build:deps in packages/account-wasm/package.json so pnpm turbo build:deps handles the all lib build

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we probably don't want to build wasm everywhere though as it has more deps and requires more resources

Copy link
Collaborator

Choose a reason for hiding this comment

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

ah I see, I guess that's why pkg is committed. Makes sense

Copy link
Collaborator

@JunichiSugiura JunichiSugiura left a comment

Choose a reason for hiding this comment

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

Just one thing about pnpm vm, otherwise it's working fine locally!

.tool-versions Outdated
@@ -1,3 +1,4 @@
scarb 2.7.0
starknet-foundry 0.18.0
nodejs v20.11.1
pnpm 9.7.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

pnpm version should be managed by corepack

# once Node.js is installed via asdf or whatever vm,
corepack enable pnpm

Copy link
Contributor Author

Choose a reason for hiding this comment

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

can we have it here anyway? I am using asdf for pnpm

Copy link
Collaborator

Choose a reason for hiding this comment

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

I prefer to avoid duplication of versioning

"packageManager": "[email protected]",

@steebchen steebchen merged commit c97b439 into main Sep 13, 2024
16 checks passed
@steebchen steebchen deleted the chore/build branch September 13, 2024 21:26
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.

2 participants