create-stylus 0.1.10 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/package.json +1 -1
  2. package/templates/base/.lintstagedrc.js +2 -2
  3. package/templates/base/package.json +1 -1
  4. package/templates/base/packages/nextjs/components/Header.tsx +1 -2
  5. package/templates/base/packages/nextjs/components/ThemeProvider.tsx +1 -2
  6. package/templates/base/packages/nextjs/components/scaffold-eth/Faucet.tsx +0 -1
  7. package/templates/base/packages/nextjs/components/scaffold-eth/FaucetButton.tsx +0 -1
  8. package/templates/base/packages/nextjs/components/scaffold-eth/Input/EtherInput.tsx +1 -0
  9. package/templates/base/packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/AddressInfoDropdown.tsx +8 -7
  10. package/templates/base/packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/WrongNetworkDropdown.tsx +8 -2
  11. package/templates/base/packages/nextjs/eslint.config.mjs +8 -18
  12. package/templates/base/packages/nextjs/hooks/scaffold-eth/useScaffoldWriteContract.ts +48 -17
  13. package/templates/base/packages/nextjs/next-env.d.ts +1 -1
  14. package/templates/base/packages/nextjs/next.config.js +0 -8
  15. package/templates/base/packages/nextjs/package.json +29 -30
  16. package/templates/base/packages/nextjs/postcss.config.js +1 -2
  17. package/templates/base/packages/nextjs/scaffold.config.ts +10 -0
  18. package/templates/base/packages/nextjs/styles/globals.css +128 -4
  19. package/templates/base/packages/nextjs/tsconfig.json +3 -3
  20. package/templates/base/packages/stylus/scripts/utils/command.ts +38 -0
  21. package/templates/base/readme.md +2 -2
  22. package/templates/base/yarn.lock +6035 -3448
  23. package/templates/base/packages/nextjs/.eslintignore +0 -11
  24. package/templates/base/packages/nextjs/.eslintrc.json +0 -15
  25. package/templates/base/packages/nextjs/tailwind.config.js +0 -102
@@ -67,12 +67,12 @@ Check the [Rust installation guide](https://www.rust-lang.org/tools/install) for
67
67
  Then install the Stylus CLI tools:
68
68
 
69
69
  ```bash
70
- cargo install --force cargo-stylus cargo-stylus-check
70
+ cargo install --force --locked cargo-stylus@0.6.3
71
71
  ```
72
72
 
73
73
  **Prerequisite:**
74
74
 
75
- - `cargo-stylus` version `^0.6.1`
75
+ - `cargo-stylus` version `0.6.3`
76
76
  - `rustc` version match with `packages/stylus/your-contract/rust-toolchain.toml`
77
77
 
78
78
  Set default `toolchain` match `rust-toolchain.toml` and add the `wasm32-unknown-unknown` build target to your Rust compiler: