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

build: move bash commands in scripts to shx #3083

Merged
merged 3 commits into from
Aug 28, 2024
Merged

Conversation

frolic
Copy link
Member

@frolic frolic commented Aug 28, 2024

pulled out of #3078

we use shell commands like cp, touch, rm, and mkdir in scripts, but only had rimraf and mkdirp as options for windows-safe versions of these commands

shx seems to be a more complete offering of shell commands via node

Copy link

changeset-bot bot commented Aug 28, 2024

🦋 Changeset detected

Latest commit: 112f534

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

This PR includes changesets to release 26 packages
Name Type
create-mud Patch
@latticexyz/abi-ts Patch
@latticexyz/block-logs-stream Patch
@latticexyz/cli Patch
@latticexyz/common Patch
@latticexyz/config Patch
@latticexyz/dev-tools Patch
@latticexyz/explorer Patch
@latticexyz/faucet Patch
@latticexyz/gas-report Patch
@latticexyz/protocol-parser Patch
@latticexyz/query Patch
@latticexyz/react Patch
@latticexyz/recs Patch
@latticexyz/schema-type Patch
solhint-config-mud Patch
solhint-plugin-mud Patch
@latticexyz/store-indexer Patch
@latticexyz/store-sync Patch
@latticexyz/store Patch
@latticexyz/utils Patch
@latticexyz/world-module-metadata Patch
@latticexyz/world-modules Patch
@latticexyz/world Patch
mock-game-contracts Patch
ts-benchmarks Patch

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

"clean": "turbo run clean",
"dev": "TSUP_SKIP_DTS=true turbo run dev --concurrency 100 --filter=!@latticexyz/explorer",
"dist-tag-rm": "pnpm recursive exec -- sh -c 'npm dist-tag rm $(cat package.json | jq -r \".name\") $TAG || true'",
"docs:generate:api": "bun scripts/render-api-docs.ts",
"docs:generate:api": "tsx scripts/render-api-docs.ts",
Copy link
Member Author

@frolic frolic Aug 28, 2024

Choose a reason for hiding this comment

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

bun, or at least this version, doesn't run on windows, and we're only using it in these two spots, so figured we could standardize on tsx like everywhere else until we're ready to actually transition over to bun

@frolic frolic marked this pull request as ready for review August 28, 2024 16:35
@frolic frolic requested a review from alvrs as a code owner August 28, 2024 16:35
@frolic frolic merged commit 28fd732 into main Aug 28, 2024
14 checks passed
@frolic frolic deleted the holic/win-bash-commands branch August 28, 2024 16:43
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