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.
- package/package.json +1 -1
- package/templates/base/.lintstagedrc.js +2 -2
- package/templates/base/package.json +1 -1
- package/templates/base/packages/nextjs/components/Header.tsx +1 -2
- package/templates/base/packages/nextjs/components/ThemeProvider.tsx +1 -2
- package/templates/base/packages/nextjs/components/scaffold-eth/Faucet.tsx +0 -1
- package/templates/base/packages/nextjs/components/scaffold-eth/FaucetButton.tsx +0 -1
- package/templates/base/packages/nextjs/components/scaffold-eth/Input/EtherInput.tsx +1 -0
- package/templates/base/packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/AddressInfoDropdown.tsx +8 -7
- package/templates/base/packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/WrongNetworkDropdown.tsx +8 -2
- package/templates/base/packages/nextjs/eslint.config.mjs +8 -18
- package/templates/base/packages/nextjs/hooks/scaffold-eth/useScaffoldWriteContract.ts +48 -17
- package/templates/base/packages/nextjs/next-env.d.ts +1 -1
- package/templates/base/packages/nextjs/next.config.js +0 -8
- package/templates/base/packages/nextjs/package.json +29 -30
- package/templates/base/packages/nextjs/postcss.config.js +1 -2
- package/templates/base/packages/nextjs/scaffold.config.ts +10 -0
- package/templates/base/packages/nextjs/styles/globals.css +128 -4
- package/templates/base/packages/nextjs/tsconfig.json +3 -3
- package/templates/base/packages/stylus/scripts/utils/command.ts +38 -0
- package/templates/base/readme.md +2 -2
- package/templates/base/yarn.lock +6035 -3448
- package/templates/base/packages/nextjs/.eslintignore +0 -11
- package/templates/base/packages/nextjs/.eslintrc.json +0 -15
- package/templates/base/packages/nextjs/tailwind.config.js +0 -102
package/templates/base/readme.md
CHANGED
|
@@ -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
|
|
70
|
+
cargo install --force --locked cargo-stylus@0.6.3
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
**Prerequisite:**
|
|
74
74
|
|
|
75
|
-
- `cargo-stylus` version
|
|
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:
|