@iota/create-dapp 0.2.1 → 0.3.1
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/CHANGELOG.md +25 -0
- package/README.md +5 -1
- package/package.json +4 -4
- package/templates/react-client-dapp/README.md +1 -1
- package/templates/react-client-dapp/eslint.config.js +28 -0
- package/templates/react-client-dapp/package.json +10 -8
- package/templates/react-e2e-counter/README.md +2 -2
- package/templates/react-e2e-counter/eslint.config.js +28 -0
- package/templates/react-e2e-counter/package.json +10 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @iota/create-dapp
|
|
2
2
|
|
|
3
|
+
## 0.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5214d28: Update documentation urls
|
|
8
|
+
- Updated dependencies [5214d28]
|
|
9
|
+
- Updated dependencies [04e84b1]
|
|
10
|
+
- @iota/iota-sdk@0.4.1
|
|
11
|
+
- @iota/dapp-kit@0.3.3
|
|
12
|
+
|
|
13
|
+
## 0.3.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- 8c3a220: Update some outdated eslint dependencies of the `@iota/create-dapp` templates, to their
|
|
18
|
+
eslint v9-compatible versions
|
|
19
|
+
|
|
20
|
+
## 0.2.2
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [9864dcb]
|
|
25
|
+
- @iota/iota-sdk@0.4.0
|
|
26
|
+
- @iota/dapp-kit@0.3.2
|
|
27
|
+
|
|
3
28
|
## 0.2.1
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @iota/create-dapp
|
|
2
2
|
|
|
3
|
+
`@iota/create-dapp` is part of the **IOTA Rebased SDK**, designed specifically for interacting with the IOTA Rebased protocol.
|
|
4
|
+
|
|
5
|
+
> **Note**: This package is currently supported **only in Testnet and Devnet**, it is **not yet supported in Mainnet**.
|
|
6
|
+
|
|
3
7
|
`@iota/create-dapp` is a CLI tool that helps you to create a new dApp project.
|
|
4
8
|
|
|
5
9
|
You can get started quickly by running the following command:
|
|
@@ -27,7 +31,7 @@ you including:
|
|
|
27
31
|
- [Vite](https://vitejs.dev/)
|
|
28
32
|
- [Radix UI](https://www.radix-ui.com/)
|
|
29
33
|
- [ESLint](https://eslint.org/)
|
|
30
|
-
- [`@iota/dapp-kit`](https://docs.iota.org/
|
|
34
|
+
- [`@iota/dapp-kit`](https://docs.iota.org/ts-sdk/dapp-kit)
|
|
31
35
|
|
|
32
36
|
These templates are still new, and would love to get feedback and suggestions for improvements or
|
|
33
37
|
future templates. Please open an issue on GitHub if you have any feedback.
|
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"name": "@iota/create-dapp",
|
|
3
3
|
"author": "IOTA Foundation <info@iota.org>",
|
|
4
4
|
"description": "A CLI for creating new IOTA dApps",
|
|
5
|
-
"homepage": "https://docs.iota.org/
|
|
6
|
-
"version": "0.
|
|
5
|
+
"homepage": "https://docs.iota.org/ts-sdk/typescript/",
|
|
6
|
+
"version": "0.3.1",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"files": [
|
|
9
9
|
"CHANGELOG.md",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@types/node": "^20.14.10",
|
|
29
29
|
"enquirer": "^2.4.1",
|
|
30
|
-
"@iota/dapp-kit": "0.3.
|
|
31
|
-
"@iota/iota-sdk": "0.
|
|
30
|
+
"@iota/dapp-kit": "0.3.3",
|
|
31
|
+
"@iota/iota-sdk": "0.4.1"
|
|
32
32
|
},
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"bin": "./bin/index.js",
|
|
@@ -8,7 +8,7 @@ Client dApp using the following tools:
|
|
|
8
8
|
- [Vite](https://vitejs.dev/) for build tooling
|
|
9
9
|
- [Radix UI](https://www.radix-ui.com/) for pre-built UI components
|
|
10
10
|
- [ESLint](https://eslint.org/)
|
|
11
|
-
- [`@iota/dapp-kit`](https://docs.iota.org/
|
|
11
|
+
- [`@iota/dapp-kit`](https://docs.iota.org/ts-sdk/dapp-kit) for
|
|
12
12
|
connecting to wallets and loading data
|
|
13
13
|
- [pnpm](https://pnpm.io/) for package management
|
|
14
14
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import eslint from "@eslint/js";
|
|
2
|
+
import tseslint from "typescript-eslint";
|
|
3
|
+
import react from "eslint-plugin-react";
|
|
4
|
+
import reactHooks from "eslint-plugin-react-hooks";
|
|
5
|
+
import reactRefresh from "eslint-plugin-react-refresh";
|
|
6
|
+
|
|
7
|
+
export default tseslint.config(
|
|
8
|
+
{
|
|
9
|
+
files: ["**/*.{js,jsx,mjs,cjs,ts,tsx}"],
|
|
10
|
+
plugins: {
|
|
11
|
+
react,
|
|
12
|
+
reactHooks,
|
|
13
|
+
reactRefresh,
|
|
14
|
+
},
|
|
15
|
+
settings: {
|
|
16
|
+
version: "18",
|
|
17
|
+
},
|
|
18
|
+
languageOptions: {
|
|
19
|
+
parserOptions: {
|
|
20
|
+
ecmaFeatures: {
|
|
21
|
+
jsx: true,
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
eslint.configs.recommended,
|
|
27
|
+
tseslint.configs.recommended,
|
|
28
|
+
);
|
|
@@ -6,28 +6,30 @@
|
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
8
8
|
"build": "tsc && vite build",
|
|
9
|
-
"lint": "eslint .
|
|
10
|
-
"preview": "vite preview"
|
|
9
|
+
"lint": "eslint .",
|
|
10
|
+
"preview": "vite preview",
|
|
11
|
+
"format": "prettier -w ."
|
|
11
12
|
},
|
|
12
13
|
"dependencies": {
|
|
13
14
|
"@iota/dapp-kit": "workspace:*",
|
|
14
15
|
"@iota/iota-sdk": "workspace:*",
|
|
15
|
-
"@radix-ui/colors": "^3.0.0",
|
|
16
|
-
"@radix-ui/react-icons": "^1.3.0",
|
|
17
16
|
"@radix-ui/themes": "^3.1.1",
|
|
18
17
|
"@tanstack/react-query": "^5.50.1",
|
|
19
18
|
"react": "^18.3.1",
|
|
20
19
|
"react-dom": "^18.3.1"
|
|
21
20
|
},
|
|
22
21
|
"devDependencies": {
|
|
22
|
+
"@eslint/js": "^9.17.0",
|
|
23
23
|
"@types/react": "^18.3.3",
|
|
24
24
|
"@types/react-dom": "^18.3.0",
|
|
25
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
26
|
-
"@typescript-eslint/parser": "^
|
|
25
|
+
"@typescript-eslint/eslint-plugin": "^8.18.0",
|
|
26
|
+
"@typescript-eslint/parser": "^8.18.0",
|
|
27
27
|
"@vitejs/plugin-react-swc": "^3.7.0",
|
|
28
|
-
"eslint": "^9.
|
|
29
|
-
"eslint-plugin-react-hooks": "^
|
|
28
|
+
"eslint": "^9.17.0",
|
|
29
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
30
30
|
"eslint-plugin-react-refresh": "^0.4.7",
|
|
31
|
+
"eslint-plugin-react": "^7.37.2",
|
|
32
|
+
"typescript-eslint": "^8.18.0",
|
|
31
33
|
"prettier": "^3.3.2",
|
|
32
34
|
"typescript": "^5.5.3",
|
|
33
35
|
"vite": "^5.3.3"
|
|
@@ -8,7 +8,7 @@ Client dApp using the following tools:
|
|
|
8
8
|
- [Vite](https://vitejs.dev/) for build tooling
|
|
9
9
|
- [Radix UI](https://www.radix-ui.com/) for pre-built UI components
|
|
10
10
|
- [ESLint](https://eslint.org/) for linting
|
|
11
|
-
- [`@iota/dapp-kit`](https://docs.iota.org/
|
|
11
|
+
- [`@iota/dapp-kit`](https://docs.iota.org/ts-sdk/dapp-kit) for
|
|
12
12
|
connecting to wallets and loading data
|
|
13
13
|
- [pnpm](https://pnpm.io/) for package management
|
|
14
14
|
|
|
@@ -33,7 +33,7 @@ If you haven't set up an address in the iota client yet, you can use the
|
|
|
33
33
|
following command to get a new address:
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
|
-
iota client new-address secp256k1
|
|
36
|
+
iota client new-address --key-scheme secp256k1
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
This well generate a new address and recover phrase for you. You can mark a
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import eslint from "@eslint/js";
|
|
2
|
+
import tseslint from "typescript-eslint";
|
|
3
|
+
import react from "eslint-plugin-react";
|
|
4
|
+
import reactHooks from "eslint-plugin-react-hooks";
|
|
5
|
+
import reactRefresh from "eslint-plugin-react-refresh";
|
|
6
|
+
|
|
7
|
+
export default tseslint.config(
|
|
8
|
+
{
|
|
9
|
+
files: ["**/*.{js,jsx,mjs,cjs,ts,tsx}"],
|
|
10
|
+
plugins: {
|
|
11
|
+
react,
|
|
12
|
+
reactHooks,
|
|
13
|
+
reactRefresh,
|
|
14
|
+
},
|
|
15
|
+
settings: {
|
|
16
|
+
version: "18",
|
|
17
|
+
},
|
|
18
|
+
languageOptions: {
|
|
19
|
+
parserOptions: {
|
|
20
|
+
ecmaFeatures: {
|
|
21
|
+
jsx: true,
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
eslint.configs.recommended,
|
|
27
|
+
tseslint.configs.recommended,
|
|
28
|
+
);
|
|
@@ -6,28 +6,30 @@
|
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
8
8
|
"build": "tsc && vite build",
|
|
9
|
-
"lint": "eslint .
|
|
10
|
-
"preview": "vite preview"
|
|
9
|
+
"lint": "eslint .",
|
|
10
|
+
"preview": "vite preview",
|
|
11
|
+
"format": "prettier -w ."
|
|
11
12
|
},
|
|
12
13
|
"dependencies": {
|
|
13
14
|
"@iota/dapp-kit": "workspace:*",
|
|
14
15
|
"@iota/iota-sdk": "workspace:*",
|
|
15
|
-
"@radix-ui/colors": "^3.0.0",
|
|
16
|
-
"@radix-ui/react-icons": "^1.3.0",
|
|
17
16
|
"@radix-ui/themes": "^3.1.1",
|
|
18
17
|
"@tanstack/react-query": "^5.50.1",
|
|
19
18
|
"react": "^18.3.1",
|
|
20
19
|
"react-dom": "^18.3.1"
|
|
21
20
|
},
|
|
22
21
|
"devDependencies": {
|
|
22
|
+
"@eslint/js": "^9.17.0",
|
|
23
23
|
"@types/react": "^18.3.3",
|
|
24
24
|
"@types/react-dom": "^18.3.0",
|
|
25
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
26
|
-
"@typescript-eslint/parser": "^
|
|
25
|
+
"@typescript-eslint/eslint-plugin": "^8.18.0",
|
|
26
|
+
"@typescript-eslint/parser": "^8.18.0",
|
|
27
27
|
"@vitejs/plugin-react-swc": "^3.7.0",
|
|
28
|
-
"eslint": "^
|
|
29
|
-
"eslint-plugin-react-hooks": "^
|
|
28
|
+
"eslint": "^9.17.0",
|
|
29
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
30
30
|
"eslint-plugin-react-refresh": "^0.4.7",
|
|
31
|
+
"eslint-plugin-react": "^7.37.2",
|
|
32
|
+
"typescript-eslint": "^8.18.0",
|
|
31
33
|
"prettier": "^3.3.2",
|
|
32
34
|
"typescript": "^5.5.3",
|
|
33
35
|
"vite": "^5.3.3"
|