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

chore: fix whitespace in shx commands #3089

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/packages/client-vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"scripts": {
"build": "vite build",
"clean": "shx rm -rf dist",
"clean": "shx rm -rf dist",
"dev": "vite"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion e2e/packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"build": "mud build",
"clean": "forge clean && shx rm -rf src/codegen",
"clean": "forge clean && shx rm -rf src/codegen",
"deploy:local": "mud deploy",
"test": "mud test",
"test:ci": "pnpm run test"
Expand Down
2 changes: 1 addition & 1 deletion examples/local-explorer/packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"build": "mud build",
"clean": "forge clean && shx rm -rf src/codegen",
"clean": "forge clean && shx rm -rf src/codegen",
"deploy:garnet": "mud deploy --profile=garnet",
"deploy:local": "mud deploy",
"deploy:redstone": "mud deploy --profile=redstone",
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"build": "mud build",
"clean": "forge clean && shx rm -rf src/codegen",
"clean": "forge clean && shx rm -rf src/codegen",
"deploy:local": "mud deploy",
"dev": "mud dev-contracts",
"faucet": "DEBUG=mud:faucet faucet-server",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"build": "mud build",
"clean": "forge clean && shx rm -rf src/codegen",
"clean": "forge clean && shx rm -rf src/codegen",
"deploy:local": "mud deploy",
"dev": "mud dev-contracts",
"lint": "pnpm run prettier && pnpm run solhint",
Expand Down
2 changes: 1 addition & 1 deletion packages/abi-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
"scripts": {
"build": "tsup",
"clean": "shx rm -rf dist",
"clean": "shx rm -rf dist",
"dev": "tsup --watch",
"test": "vitest typecheck --run --passWithNoTests && vitest --run --passWithNoTests",
"test:ci": "pnpm run test"
Expand Down
2 changes: 1 addition & 1 deletion packages/block-logs-stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"build": "pnpm run build:js",
"build:js": "tsup",
"clean": "pnpm run clean:js",
"clean:js": "shx rm -rf dist",
"clean:js": "shx rm -rf dist",
"dev": "tsup --watch",
"lint": "eslint .",
"test": "vitest typecheck --run --passWithNoTests && vitest --run --passWithNoTests",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"build:js": "tsup && chmod +x ./dist/mud.js",
"build:test-tables": "tsx ./scripts/generate-test-tables.ts",
"clean": "pnpm run clean:js && pnpm run clean:test-tables",
"clean:js": "shx rm -rf dist",
"clean:test-tables": "shx rm -rf src/codegen",
"clean:js": "shx rm -rf dist",
"clean:test-tables": "shx rm -rf src/codegen",
"dev": "tsup --watch",
"lint": "eslint . --ext .ts",
"test": "tsc --noEmit && forge test",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"build": "pnpm run build:js",
"build:js": "tsup",
"clean": "pnpm run clean:js",
"clean:js": "shx rm -rf dist",
"clean:js": "shx rm -rf dist",
"dev": "tsup --watch",
"test": "vitest typecheck --run --passWithNoTests && vitest --run",
"test:ci": "pnpm run test"
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"build": "pnpm run build:js",
"build:js": "tsup",
"clean": "pnpm run clean:js",
"clean:js": "shx rm -rf dist",
"clean:js": "shx rm -rf dist",
"dev": "tsup --watch",
"test": "tsc --noEmit",
"test:ci": "pnpm run test"
Expand Down
12 changes: 6 additions & 6 deletions packages/create-mud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"build": "pnpm run build:js",
"build:js": "tsup && tsx ./scripts/copy-templates.ts",
"clean": "pnpm run clean:js",
"clean:js": "shx rm -rf dist",
"clean:js": "shx rm -rf dist",
"dev": "tsup --watch",
"prepublishOnly": "npm run clean && npm run build",
"test": "pnpm run test:vanilla && pnpm run test:react && pnpm run test:react-ecs && pnpm run test:phaser && pnpm run test:threejs",
"test:ci": "pnpm run test",
"test:phaser": "dist/cli.js test-project --template phaser && shx rm -rf test-project",
"test:react": "dist/cli.js test-project --template react && shx rm -rf test-project",
"test:react-ecs": "dist/cli.js test-project --template react-ecs && shx rm -rf test-project",
"test:threejs": "dist/cli.js test-project --template threejs && shx rm -rf test-project",
"test:vanilla": "dist/cli.js test-project --template vanilla && shx rm -rf test-project"
"test:phaser": "dist/cli.js test-project --template phaser && shx rm -rf test-project",
"test:react": "dist/cli.js test-project --template react && shx rm -rf test-project",
"test:react-ecs": "dist/cli.js test-project --template react-ecs && shx rm -rf test-project",
"test:threejs": "dist/cli.js test-project --template threejs && shx rm -rf test-project",
"test:vanilla": "dist/cli.js test-project --template vanilla && shx rm -rf test-project"
},
"dependencies": {
"create-create-app": "git+https://github.com/holic/create-create-app#74376c59b48a04aabbe94d9cacfe9cb1cecccd63"
Expand Down
2 changes: 1 addition & 1 deletion packages/dev-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"build": "pnpm run build:js",
"build:js": "tsup",
"clean": "pnpm run clean:js",
"clean:js": "shx rm -rf dist",
"clean:js": "shx rm -rf dist",
"dev": "tsup --watch",
"test": "tsc --noEmit",
"test:ci": "pnpm run test"
Expand Down
6 changes: 3 additions & 3 deletions packages/explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"scripts": {
"build": "pnpm run build:explorer && pnpm run build:bin",
"build:bin": "tsup",
"build:explorer": "next build && shx cp -r .next/static .next/standalone/packages/explorer/.next",
"build:explorer": "next build && shx cp -r .next/static .next/standalone/packages/explorer/.next",
"clean": "pnpm run clean:explorer && pnpm run clean:bin",
"clean:bin": "shx rm -rf dist",
"clean:explorer": "shx rm -rf .next .turbo",
"clean:bin": "shx rm -rf dist",
"clean:explorer": "shx rm -rf .next .turbo",
"dev": "next dev",
"lint": "next lint",
"start": "node .next/standalone/packages/explorer/server.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/faucet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"build": "pnpm run build:js",
"build:js": "tsup",
"clean": "pnpm run clean:js",
"clean:js": "shx rm -rf dist",
"clean:js": "shx rm -rf dist",
"dev": "tsup --watch",
"lint": "eslint .",
"start": "tsx bin/faucet-server",
Expand Down
2 changes: 1 addition & 1 deletion packages/gas-report/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
"scripts": {
"build": "tsup",
"clean": "shx rm -rf dist",
"clean": "shx rm -rf dist",
"dev": "tsup --watch",
"test": "vitest typecheck --run --passWithNoTests && vitest --run --passWithNoTests && forge test",
"test:ci": "pnpm run test"
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"build": "pnpm run build:js",
"build:js": "tsup",
"clean": "pnpm run clean:js",
"clean:js": "shx rm -rf dist",
"clean:js": "shx rm -rf dist",
"dev": "tsup --watch",
"lint": "eslint .",
"test": "vitest typecheck --run && vitest --run",
Expand Down
2 changes: 1 addition & 1 deletion packages/query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
"scripts": {
"build": "tsup",
"clean": "shx rm -rf dist",
"clean": "shx rm -rf dist",
"dev": "tsup --watch",
"test": "vitest typecheck --run --passWithNoTests && vitest --run --passWithNoTests",
"test:ci": "pnpm run test"
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"build": "pnpm run build:js",
"build:js": "tsup",
"clean": "pnpm run clean:js",
"clean:js": "shx rm -rf dist",
"clean:js": "shx rm -rf dist",
"dev": "tsup --watch",
"test": "tsc --noEmit && vitest",
"test:ci": "tsc --noEmit && vitest --run"
Expand Down
2 changes: 1 addition & 1 deletion packages/recs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"build": "pnpm run build:js",
"build:js": "tsup",
"clean": "pnpm run clean:js",
"clean:js": "shx rm -rf dist",
"clean:js": "shx rm -rf dist",
"dev": "tsup --watch",
"lint": "eslint . --ext .ts",
"test": "tsc --noEmit && jest",
Expand Down
2 changes: 1 addition & 1 deletion packages/schema-type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"build": "pnpm run build:js",
"build:js": "tsup",
"clean": "pnpm run clean:js",
"clean:js": "shx rm -rf dist/typescript",
"clean:js": "shx rm -rf dist/typescript",
"dev": "tsup --watch",
"gas-report": "gas-report --save gas-report.json",
"test": "vitest typecheck --run && vitest --run && forge test",
Expand Down
2 changes: 1 addition & 1 deletion packages/solhint-config-mud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"build": "pnpm run build:js",
"build:js": "tsup",
"clean": "pnpm run clean:js",
"clean:js": "shx rm -rf dist"
"clean:js": "shx rm -rf dist"
},
"devDependencies": {
"tsup": "^6.7.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/solhint-plugin-mud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"build": "pnpm run build:js",
"build:js": "tsup",
"clean": "pnpm run clean:js",
"clean:js": "shx rm -rf dist"
"clean:js": "shx rm -rf dist"
},
"dependencies": {
"@solidity-parser/parser": "^0.16.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/store-indexer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"build": "pnpm run build:js",
"build:js": "tsup",
"clean": "pnpm run clean:js",
"clean:js": "shx rm -rf dist",
"clean:js": "shx rm -rf dist",
"dev": "tsup --watch",
"lint": "eslint .",
"start:postgres": "concurrently -n indexer,frontend -c cyan,magenta 'tsx bin/postgres-indexer' 'tsx bin/postgres-frontend'",
Expand Down
2 changes: 1 addition & 1 deletion packages/store-sync/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"build": "pnpm run build:js",
"build:js": "tsup",
"clean": "pnpm run clean:js",
"clean:js": "shx rm -rf dist",
"clean:js": "shx rm -rf dist",
"dev": "tsup --watch",
"lint": "eslint .",
"test": "DATABASE_URL=http://127.0.0.1:5432/postgres vitest",
Expand Down
4 changes: 2 additions & 2 deletions packages/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"build:tightcoder": "tsx ./ts/scripts/generate-tightcoder.ts",
"clean": "pnpm run clean:abi && pnpm run clean:js && pnpm run clean:mud",
"clean:abi": "forge clean",
"clean:js": "shx rm -rf dist",
"clean:mud": "shx rm -rf src/codegen && shx rm -rf test/codegen",
"clean:js": "shx rm -rf dist",
"clean:mud": "shx rm -rf src/codegen && shx rm -rf test/codegen",
"dev": "tsup --watch",
"gas-report": "gas-report --save gas-report.json",
"lint": "solhint --config ./.solhint.json 'src/**/*.sol'",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"build": "pnpm run build:js",
"build:js": "tsup",
"clean": "pnpm run clean:js",
"clean:js": "shx rm -rf dist",
"clean:js": "shx rm -rf dist",
"dev": "tsup --watch",
"lint": "eslint . --ext .ts",
"test": "tsc --noEmit && jest",
Expand Down
4 changes: 2 additions & 2 deletions packages/world-module-metadata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"build:mud": "tsx ./ts/build.ts",
"clean": "pnpm run clean:abi && pnpm run clean:js && pnpm run clean:mud",
"clean:abi": "forge clean",
"clean:js": "shx rm -rf dist",
"clean:mud": "shx rm -rf src/**/codegen",
"clean:js": "shx rm -rf dist",
"clean:mud": "shx rm -rf src/**/codegen",
"dev": "tsup --watch",
"gas-report": "gas-report --save gas-report.json",
"lint": "solhint --config ./.solhint.json 'src/**/*.sol'",
Expand Down
4 changes: 2 additions & 2 deletions packages/world-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"build:mud": "mud build",
"clean": "pnpm run clean:abi && pnpm run clean:js && pnpm run clean:mud",
"clean:abi": "forge clean",
"clean:js": "shx rm -rf dist",
"clean:mud": "shx rm -rf src/codegen",
"clean:js": "shx rm -rf dist",
"clean:mud": "shx rm -rf src/codegen",
"dev": "tsup --watch",
"gas-report": "gas-report --save gas-report.json",
"lint": "solhint --config ./.solhint.json 'src/**/*.sol'",
Expand Down
4 changes: 2 additions & 2 deletions packages/world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"build:mud": "tsx ./ts/scripts/build.ts && tsx ./ts/scripts/generate-test-tables.ts",
"clean": "pnpm run clean:abi && pnpm run clean:js && pnpm run clean:mud",
"clean:abi": "forge clean",
"clean:js": "shx rm -rf dist",
"clean:mud": "shx rm -rf src/codegen && shx rm -rf test/codegen",
"clean:js": "shx rm -rf dist",
"clean:mud": "shx rm -rf src/codegen && shx rm -rf test/codegen",
"dev": "tsup --watch",
"gas-report": "gas-report --save gas-report.json",
"lint": "solhint --config ./.solhint.json 'src/**/*.sol'",
Expand Down
2 changes: 1 addition & 1 deletion templates/phaser/packages/art/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"compile-extensions": "tsc ./tiled/extensions/*.ts --outDir ./tiled/extensions/",
"export": "yarn generate-multiatlas-sprites && yarn export-tiled-types",
"export-tiled-types": "ts-node ./scripts/export-tiled-types.ts && shx cp tilesets/images/* ../client/public/assets/tilesets/",
"export-tiled-types": "ts-node ./scripts/export-tiled-types.ts && shx cp tilesets/images/* ../client/public/assets/tilesets/",
"generate-multiatlas-sprites": "node ./scripts/cli.mjs --project ./config-sprites.json"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion templates/phaser/packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"build": "mud build",
"clean": "forge clean && shx rm -rf src/codegen",
"clean": "forge clean && shx rm -rf src/codegen",
"deploy:garnet": "mud deploy --profile=garnet",
"deploy:local": "mud deploy",
"deploy:redstone": "mud deploy --profile=redstone",
Expand Down
2 changes: 1 addition & 1 deletion templates/react-ecs/packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"build": "mud build",
"clean": "forge clean && shx rm -rf src/codegen",
"clean": "forge clean && shx rm -rf src/codegen",
"deploy:garnet": "mud deploy --profile=garnet",
"deploy:local": "mud deploy",
"deploy:redstone": "mud deploy --profile=redstone",
Expand Down
2 changes: 1 addition & 1 deletion templates/react/packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"build": "mud build",
"clean": "forge clean && shx rm -rf src/codegen",
"clean": "forge clean && shx rm -rf src/codegen",
"deploy:garnet": "mud deploy --profile=garnet",
"deploy:local": "mud deploy",
"deploy:redstone": "mud deploy --profile=redstone",
Expand Down
2 changes: 1 addition & 1 deletion templates/threejs/packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"build": "mud build",
"clean": "forge clean && shx rm -rf src/codegen",
"clean": "forge clean && shx rm -rf src/codegen",
"deploy:garnet": "mud deploy --profile=garnet",
"deploy:local": "mud deploy",
"deploy:redstone": "mud deploy --profile=redstone",
Expand Down
2 changes: 1 addition & 1 deletion templates/vanilla/packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"build": "mud build",
"clean": "forge clean && shx rm -rf src/codegen",
"clean": "forge clean && shx rm -rf src/codegen",
"deploy:garnet": "mud deploy --profile=garnet",
"deploy:local": "mud deploy",
"deploy:redstone": "mud deploy --profile=redstone",
Expand Down
2 changes: 1 addition & 1 deletion test/mock-game-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"build": "mud build",
"clean": "forge clean && shx rm -rf src/codegen",
"clean": "forge clean && shx rm -rf src/codegen",
"deploy:local": "DEBUG=mud:* mud deploy"
},
"devDependencies": {
Expand Down
Loading