@iota/create-dapp 0.2.1 → 0.3.0
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 +15 -0
- package/README.md +4 -0
- package/package.json +3 -3
- package/templates/react-client-dapp/eslint.config.js +28 -0
- package/templates/react-client-dapp/package.json +10 -8
- 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,20 @@
|
|
|
1
1
|
# @iota/create-dapp
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8c3a220: Update some outdated eslint dependencies of the `@iota/create-dapp` templates, to their
|
|
8
|
+
eslint v9-compatible versions
|
|
9
|
+
|
|
10
|
+
## 0.2.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [9864dcb]
|
|
15
|
+
- @iota/iota-sdk@0.4.0
|
|
16
|
+
- @iota/dapp-kit@0.3.2
|
|
17
|
+
|
|
3
18
|
## 0.2.1
|
|
4
19
|
|
|
5
20
|
### 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:
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "IOTA Foundation <info@iota.org>",
|
|
4
4
|
"description": "A CLI for creating new IOTA dApps",
|
|
5
5
|
"homepage": "https://docs.iota.org/references/ts-sdk/typescript/",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.3.0",
|
|
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.2",
|
|
31
|
+
"@iota/iota-sdk": "0.4.0"
|
|
32
32
|
},
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"bin": "./bin/index.js",
|
|
@@ -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"
|
|
@@ -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"
|