diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 61a684a20..2b351da19 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -30,15 +30,9 @@ jobs: # Apps - subdir: apps/battleship build: build - - subdir: apps/escrow - build: build - test: test --passWithNoTests - subdir: apps/galactic-express build: build test: test --passWithNoTests - - subdir: apps/game-of-chance - build: build - test: test --passWithNoTests - subdir: apps/nft-marketplace build: build test: test --passWithNoTests @@ -50,9 +44,6 @@ jobs: test: test --passWithNoTests - subdir: apps/racing-car-game build: build - - subdir: apps/supply-chain - build: build - test: test --passWithNoTests - subdir: apps/syndote build: build test: test --passWithNoTests diff --git a/frontend/apps/battleship/package.json b/frontend/apps/battleship/package.json index 8308f9e4f..2125b863c 100644 --- a/frontend/apps/battleship/package.json +++ b/frontend/apps/battleship/package.json @@ -25,6 +25,7 @@ "@radix-ui/react-dropdown-menu": "2.0.5", "@radix-ui/react-scroll-area": "1.0.4", "@radix-ui/react-select": "1.2.2", + "@tanstack/react-query": "5.29.0", "@tanstack/react-table": "8.9.3", "@types/node": "18.16.19", "@types/react": "18.2.33", @@ -41,6 +42,7 @@ "react-hook-form": "7.48.2", "react-router-dom": "6.10.0", "react-transition-group": "4.4.5", + "sails-js": "0.1.8", "sass": "1.62.0" }, "devDependencies": { diff --git a/frontend/apps/galactic-express/package.json b/frontend/apps/galactic-express/package.json index 4dc786fd5..bba0ab239 100644 --- a/frontend/apps/galactic-express/package.json +++ b/frontend/apps/galactic-express/package.json @@ -16,6 +16,7 @@ "@polkadot/util": "12.3.2", "@polkadot/wasm-crypto": "7.2.2", "@radix-ui/react-scroll-area": "1.0.4", + "@tanstack/react-query": "5.29.0", "@testing-library/jest-dom": "5.16.4", "@testing-library/react": "13.2.0", "@testing-library/user-event": "13.5.0", @@ -29,6 +30,7 @@ "react-router-dom": "6.10.0", "react-scripts": "5.0.1", "react-transition-group": "4.4.5", + "sails-js": "0.1.8", "sass": "1.62.0", "typescript": "4.9.5", "web-vitals": "3.3.1" diff --git a/frontend/apps/nft-marketplace/package.json b/frontend/apps/nft-marketplace/package.json index 43e28fe51..7c4c5e006 100644 --- a/frontend/apps/nft-marketplace/package.json +++ b/frontend/apps/nft-marketplace/package.json @@ -13,6 +13,7 @@ "@polkadot/types": "10.11.2", "@polkadot/util": "12.3.2", "@polkadot/wasm-crypto": "7.2.2", + "@tanstack/react-query": "5.29.0", "@testing-library/jest-dom": "5.16.4", "@testing-library/react": "13.2.0", "@testing-library/user-event": "13.5.0", @@ -30,6 +31,7 @@ "react-router-dom": "6.10.0", "react-scripts": "5.0.1", "react-transition-group": "4.4.5", + "sails-js": "0.1.8", "sass": "1.62.0", "typescript": "4.9.5", "web-vitals": "3.3.1" diff --git a/frontend/apps/nft-master/package.json b/frontend/apps/nft-master/package.json index 090e23fe0..8a3b3b866 100644 --- a/frontend/apps/nft-master/package.json +++ b/frontend/apps/nft-master/package.json @@ -19,6 +19,7 @@ "@polkadot/util": "12.3.2", "@polkadot/wasm-crypto": "7.2.2", "@radix-ui/react-scroll-area": "1.0.4", + "@tanstack/react-query": "5.29.0", "assert": "2.0.0", "buffer": "6.0.3", "class-variance-authority": "0.7.0", @@ -32,6 +33,7 @@ "react-router-dom": "6.10.0", "react-scripts": "5.0.1", "react-transition-group": "4.4.5", + "sails-js": "0.1.8", "urql": "^4.0.5" }, "devDependencies": { diff --git a/frontend/apps/non-fungible-token/package.json b/frontend/apps/non-fungible-token/package.json index 8c5da24a7..972b48d1a 100644 --- a/frontend/apps/non-fungible-token/package.json +++ b/frontend/apps/non-fungible-token/package.json @@ -32,6 +32,7 @@ "@polkadot/types": "10.11.2", "@polkadot/util": "12.3.2", "@polkadot/wasm-crypto": "7.2.2", + "@tanstack/react-query": "5.29.0", "@testing-library/jest-dom": "5.16.4", "@testing-library/react": "13.2.0", "@testing-library/user-event": "13.5.0", @@ -49,6 +50,7 @@ "react-router-dom": "6.10.0", "react-scripts": "5.0.1", "react-transition-group": "4.4.5", + "sails-js": "0.1.8", "sass": "1.62.0", "typescript": "4.9.5", "web-vitals": "3.3.1" diff --git a/frontend/apps/racing-car-game/package.json b/frontend/apps/racing-car-game/package.json index f61789e17..f4b6ca581 100644 --- a/frontend/apps/racing-car-game/package.json +++ b/frontend/apps/racing-car-game/package.json @@ -19,6 +19,7 @@ "@polkadot/types": "10.11.2", "@polkadot/util": "12.3.2", "@radix-ui/react-scroll-area": "1.0.4", + "@tanstack/react-query": "5.29.0", "assert": "2.1.0", "axios": "1.4.0", "babel-polyfill": "6.26.0", @@ -33,6 +34,7 @@ "react-router-dom": "6.10.0", "react-scripts": "5.0.1", "react-transition-group": "^4.4.5", + "sails-js": "0.1.8", "sass": "1.62.0" }, "devDependencies": { diff --git a/frontend/apps/syndote/package.json b/frontend/apps/syndote/package.json index 4b9e3d01c..91553383c 100644 --- a/frontend/apps/syndote/package.json +++ b/frontend/apps/syndote/package.json @@ -15,6 +15,7 @@ "@polkadot/types": "10.11.2", "@polkadot/util": "12.3.2", "@polkadot/wasm-crypto": "7.2.2", + "@tanstack/react-query": "5.29.0", "@testing-library/jest-dom": "5.16.4", "@testing-library/react": "13.2.0", "@testing-library/user-event": "13.5.0", @@ -31,6 +32,7 @@ "react-router-dom": "6.10.0", "react-scripts": "5.0.1", "react-transition-group": "4.4.5", + "sails-js": "0.1.8", "sass": "1.62.0", "simplebar-react": "2.4.3", "typescript": "4.9.5", diff --git a/frontend/apps/tamagotchi-battle/package.json b/frontend/apps/tamagotchi-battle/package.json index 83750f522..82f9c281b 100644 --- a/frontend/apps/tamagotchi-battle/package.json +++ b/frontend/apps/tamagotchi-battle/package.json @@ -26,6 +26,7 @@ "@polkadot/util": "12.3.2", "@polkadot/wasm-crypto": "7.2.2", "@radix-ui/react-scroll-area": "1.0.4", + "@tanstack/react-query": "5.29.0", "@types/react": "18.2.33", "@types/react-dom": "18.2.14", "assert": "2.0.0", @@ -40,6 +41,7 @@ "react-dom": "18.2.0", "react-router-dom": "6.10.0", "react-scripts": "5.0.1", + "sails-js": "0.1.8", "sass": "1.62.0" }, "devDependencies": { diff --git a/frontend/apps/tamagotchi/package.json b/frontend/apps/tamagotchi/package.json index 7361ebcdc..1b9e7bd52 100644 --- a/frontend/apps/tamagotchi/package.json +++ b/frontend/apps/tamagotchi/package.json @@ -22,13 +22,15 @@ "@polkadot/util": "12.3.2", "@polkadot/wasm-crypto": "7.2.2", "@radix-ui/react-scroll-area": "1.0.3", + "@tanstack/react-query": "5.29.0", "buffer": "6.0.3", "clsx": "1.2.1", "dayjs": "1.11.7", "react": "18.2.0", "react-dom": "18.2.0", "react-router-dom": "6.10.0", - "react-transition-group": "4.4.5" + "react-transition-group": "4.4.5", + "sails-js": "0.1.8" }, "devDependencies": { "@types/react": "18.2.33", diff --git a/frontend/apps/tequila-train/package.json b/frontend/apps/tequila-train/package.json index 83f0bd675..9f78815b7 100644 --- a/frontend/apps/tequila-train/package.json +++ b/frontend/apps/tequila-train/package.json @@ -24,6 +24,7 @@ "@polkadot/util": "12.3.2", "@polkadot/wasm-crypto": "7.2.2", "@radix-ui/react-scroll-area": "1.0.3", + "@tanstack/react-query": "5.29.0", "@testing-library/jest-dom": "5.16.4", "@testing-library/react": "13.2.0", "@testing-library/user-event": "13.5.0", @@ -40,6 +41,7 @@ "react-router-dom": "6.10.0", "react-scripts": "5.0.1", "react-transition-group": "4.4.5", + "sails-js": "0.1.8", "sass": "1.62.0", "typescript": "5.0.2", "web-vitals": "3.3.1" diff --git a/frontend/apps/tic-tac-toe/package.json b/frontend/apps/tic-tac-toe/package.json index 32d0f7172..993cc1c58 100644 --- a/frontend/apps/tic-tac-toe/package.json +++ b/frontend/apps/tic-tac-toe/package.json @@ -19,6 +19,7 @@ "@polkadot/util": "12.3.2", "@radix-ui/react-dialog": "1.0.4", "@radix-ui/react-scroll-area": "1.0.4", + "@tanstack/react-query": "5.29.0", "@types/node": "18.16.19", "@types/react": "18.2.33", "@types/react-dom": "18.2.14", @@ -34,6 +35,7 @@ "react-dom": "18.2.0", "react-router-dom": "6.10.0", "react-transition-group": "4.4.5", + "sails-js": "0.1.8", "sass": "1.62.0" }, "devDependencies": { diff --git a/frontend/apps/vara-man/package.json b/frontend/apps/vara-man/package.json index b6ec23f1d..7384d05c4 100644 --- a/frontend/apps/vara-man/package.json +++ b/frontend/apps/vara-man/package.json @@ -29,6 +29,7 @@ "@radix-ui/react-dialog": "1.1.1", "@radix-ui/react-scroll-area": "1.1.0", "@radix-ui/react-tabs": "1.1.0", + "@tanstack/react-query": "5.29.0", "@testing-library/jest-dom": "5.16.4", "@testing-library/react": "13.2.0", "@testing-library/user-event": "13.5.0", @@ -49,6 +50,7 @@ "react-router-dom": "6.10.0", "react-scripts": "5.0.1", "react-transition-group": "4.4.5", + "sails-js": "0.1.8", "sass": "1.62.0", "typescript": "5.0.2", "web-vitals": "3.3.1" diff --git a/frontend/apps/varatube/package.json b/frontend/apps/varatube/package.json index 236754b94..a6b74b499 100644 --- a/frontend/apps/varatube/package.json +++ b/frontend/apps/varatube/package.json @@ -15,6 +15,7 @@ "@polkadot/types": "10.11.2", "@polkadot/util": "12.3.2", "@polkadot/wasm-crypto": "7.2.2", + "@tanstack/react-query": "5.29.0", "@testing-library/jest-dom": "5.16.4", "@testing-library/react": "13.2.0", "@testing-library/user-event": "13.5.0", @@ -32,6 +33,7 @@ "react-router-dom": "6.10.0", "react-scripts": "5.0.1", "react-transition-group": "4.4.5", + "sails-js": "0.1.8", "sass": "1.62.0", "simplebar-react": "3.2.1", "typescript": "5.0.2", diff --git a/frontend/apps/w3bstreaming/package.json b/frontend/apps/w3bstreaming/package.json index aca30fe5f..fb716065b 100644 --- a/frontend/apps/w3bstreaming/package.json +++ b/frontend/apps/w3bstreaming/package.json @@ -32,6 +32,7 @@ "@polkadot/util-crypto": "12.3.2", "@polkadot/wasm-crypto": "7.2.2", "@radix-ui/react-scroll-area": "1.0.5", + "@tanstack/react-query": "5.29.0", "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "13.4.0", "@testing-library/user-event": "13.5.0", @@ -59,6 +60,7 @@ "react-time-picker": "6.2.0", "react-transition-group": "4.4.5", "react-webcam": "7.0.1", + "sails-js": "0.1.8", "sass": "1.62.0", "socket.io": "4.6.1", "socket.io-client": "4.6.1", diff --git a/frontend/package.json b/frontend/package.json index 72be91674..a753d71aa 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,6 +10,8 @@ "bump:ui": "yarn bump @gear-js/ui", "bump:vara-ui": "yarn bump @gear-js/vara-ui", "bump:polkadot": "yarn bump @polkadot/api @polkadot/types", + "bump:sails": "yarn bump sails-js", + "bump:query": "yarn bump @tanstack/react-query", "build:error-tracking": "yarn workspace @dapps-frontend/error-tracking build", "build:ui": "yarn workspace @dapps-frontend/ui build", "build:hooks": "yarn workspace @dapps-frontend/hooks build", diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 6ccf6f514..98455e133 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -10400,6 +10400,7 @@ __metadata: "@radix-ui/react-dropdown-menu": "npm:2.0.5" "@radix-ui/react-scroll-area": "npm:1.0.4" "@radix-ui/react-select": "npm:1.2.2" + "@tanstack/react-query": "npm:5.29.0" "@tanstack/react-table": "npm:8.9.3" "@types/node": "npm:18.16.19" "@types/react": "npm:18.2.33" @@ -10423,6 +10424,7 @@ __metadata: react-hook-form: "npm:7.48.2" react-router-dom: "npm:6.10.0" react-transition-group: "npm:4.4.5" + sails-js: "npm:0.1.8" sass: "npm:1.62.0" tailwindcss: "npm:3.3.2" typescript: "npm:4.9.5" @@ -14531,6 +14533,7 @@ __metadata: "@polkadot/util-crypto": "npm:12.3.2" "@polkadot/wasm-crypto": "npm:7.2.2" "@radix-ui/react-scroll-area": "npm:1.0.5" + "@tanstack/react-query": "npm:5.29.0" "@testing-library/jest-dom": "npm:5.16.5" "@testing-library/react": "npm:13.4.0" "@testing-library/user-event": "npm:13.5.0" @@ -14569,6 +14572,7 @@ __metadata: react-time-picker: "npm:6.2.0" react-transition-group: "npm:4.4.5" react-webcam: "npm:7.0.1" + sails-js: "npm:0.1.8" sass: "npm:1.62.0" socket.io: "npm:4.6.1" socket.io-client: "npm:4.6.1" @@ -14731,6 +14735,7 @@ __metadata: "@polkadot/util": "npm:12.3.2" "@polkadot/wasm-crypto": "npm:7.2.2" "@radix-ui/react-scroll-area": "npm:1.0.4" + "@tanstack/react-query": "npm:5.29.0" "@testing-library/jest-dom": "npm:5.16.4" "@testing-library/react": "npm:13.2.0" "@testing-library/user-event": "npm:13.5.0" @@ -14760,6 +14765,7 @@ __metadata: react-router-dom: "npm:6.10.0" react-scripts: "npm:5.0.1" react-transition-group: "npm:4.4.5" + sails-js: "npm:0.1.8" sass: "npm:1.62.0" typescript: "npm:4.9.5" web-vitals: "npm:3.3.1" @@ -18582,6 +18588,7 @@ __metadata: "@polkadot/types": "npm:10.11.2" "@polkadot/util": "npm:12.3.2" "@polkadot/wasm-crypto": "npm:7.2.2" + "@tanstack/react-query": "npm:5.29.0" "@testing-library/jest-dom": "npm:5.16.4" "@testing-library/react": "npm:13.2.0" "@testing-library/user-event": "npm:13.5.0" @@ -18610,6 +18617,7 @@ __metadata: react-router-dom: "npm:6.10.0" react-scripts: "npm:5.0.1" react-transition-group: "npm:4.4.5" + sails-js: "npm:0.1.8" sass: "npm:1.62.0" typescript: "npm:4.9.5" web-vitals: "npm:3.3.1" @@ -18630,6 +18638,7 @@ __metadata: "@polkadot/util": "npm:12.3.2" "@polkadot/wasm-crypto": "npm:7.2.2" "@radix-ui/react-scroll-area": "npm:1.0.4" + "@tanstack/react-query": "npm:5.29.0" "@types/node": "npm:18.17.1" "@types/react": "npm:18.2.33" "@types/react-dom": "npm:18.2.14" @@ -18658,6 +18667,7 @@ __metadata: react-router-dom: "npm:6.10.0" react-scripts: "npm:5.0.1" react-transition-group: "npm:4.4.5" + sails-js: "npm:0.1.8" sass: "npm:1.62.0" typescript: "npm:4.9.5" urql: "npm:^4.0.5" @@ -18807,6 +18817,7 @@ __metadata: "@polkadot/types": "npm:10.11.2" "@polkadot/util": "npm:12.3.2" "@polkadot/wasm-crypto": "npm:7.2.2" + "@tanstack/react-query": "npm:5.29.0" "@testing-library/jest-dom": "npm:5.16.4" "@testing-library/react": "npm:13.2.0" "@testing-library/user-event": "npm:13.5.0" @@ -18835,6 +18846,7 @@ __metadata: react-router-dom: "npm:6.10.0" react-scripts: "npm:5.0.1" react-transition-group: "npm:4.4.5" + sails-js: "npm:0.1.8" sass: "npm:1.62.0" typescript: "npm:4.9.5" web-vitals: "npm:3.3.1" @@ -20762,6 +20774,7 @@ __metadata: "@polkadot/types": "npm:10.11.2" "@polkadot/util": "npm:12.3.2" "@radix-ui/react-scroll-area": "npm:1.0.4" + "@tanstack/react-query": "npm:5.29.0" "@types/lodash.isequal": "npm:4.5.6" "@types/node": "npm:18.17.15" "@types/react": "npm:18.2.33" @@ -20790,6 +20803,7 @@ __metadata: react-router-dom: "npm:6.10.0" react-scripts: "npm:5.0.1" react-transition-group: "npm:^4.4.5" + sails-js: "npm:0.1.8" sass: "npm:1.62.0" types: "npm:*" typescript: "npm:4.9.5" @@ -23224,6 +23238,7 @@ __metadata: "@polkadot/types": "npm:10.11.2" "@polkadot/util": "npm:12.3.2" "@polkadot/wasm-crypto": "npm:7.2.2" + "@tanstack/react-query": "npm:5.29.0" "@testing-library/jest-dom": "npm:5.16.4" "@testing-library/react": "npm:13.2.0" "@testing-library/user-event": "npm:13.5.0" @@ -23251,6 +23266,7 @@ __metadata: react-router-dom: "npm:6.10.0" react-scripts: "npm:5.0.1" react-transition-group: "npm:4.4.5" + sails-js: "npm:0.1.8" sass: "npm:1.62.0" simplebar-react: "npm:2.4.3" typescript: "npm:4.9.5" @@ -23444,6 +23460,7 @@ __metadata: "@polkadot/util": "npm:12.3.2" "@polkadot/wasm-crypto": "npm:7.2.2" "@radix-ui/react-scroll-area": "npm:1.0.4" + "@tanstack/react-query": "npm:5.29.0" "@types/react": "npm:18.2.33" "@types/react-dom": "npm:18.2.14" "@typescript-eslint/eslint-plugin": "npm:5.61.0" @@ -23474,6 +23491,7 @@ __metadata: react-router-dom: "npm:6.10.0" react-scripts: "npm:5.0.1" react-transition-group: "npm:4.4.5" + sails-js: "npm:0.1.8" sass: "npm:1.62.0" tailwind-merge: "npm:1.13.2" tailwindcss: "npm:3.3.2" @@ -23498,6 +23516,7 @@ __metadata: "@polkadot/util": "npm:12.3.2" "@polkadot/wasm-crypto": "npm:7.2.2" "@radix-ui/react-scroll-area": "npm:1.0.3" + "@tanstack/react-query": "npm:5.29.0" "@types/react": "npm:18.2.33" "@types/react-dom": "npm:18.2.14" "@vitejs/plugin-react-swc": "npm:3.3.2" @@ -23514,6 +23533,7 @@ __metadata: react-dom: "npm:18.2.0" react-router-dom: "npm:6.10.0" react-transition-group: "npm:4.4.5" + sails-js: "npm:0.1.8" sass: "npm:1.62.0" tailwind-merge: "npm:1.13.2" tailwindcss: "npm:3.3.2" @@ -23593,6 +23613,7 @@ __metadata: "@polkadot/util": "npm:12.3.2" "@polkadot/wasm-crypto": "npm:7.2.2" "@radix-ui/react-scroll-area": "npm:1.0.3" + "@tanstack/react-query": "npm:5.29.0" "@testing-library/jest-dom": "npm:5.16.4" "@testing-library/react": "npm:13.2.0" "@testing-library/user-event": "npm:13.5.0" @@ -23624,6 +23645,7 @@ __metadata: react-router-dom: "npm:6.10.0" react-scripts: "npm:5.0.1" react-transition-group: "npm:4.4.5" + sails-js: "npm:0.1.8" sass: "npm:1.62.0" tailwind-merge: "npm:1.12.0" tailwindcss: "npm:3.3.1" @@ -23742,6 +23764,7 @@ __metadata: "@polkadot/util": "npm:12.3.2" "@radix-ui/react-dialog": "npm:1.0.4" "@radix-ui/react-scroll-area": "npm:1.0.4" + "@tanstack/react-query": "npm:5.29.0" "@types/lodash.isequal": "npm:4.5.6" "@types/node": "npm:18.16.19" "@types/react": "npm:18.2.33" @@ -23766,6 +23789,7 @@ __metadata: react-router-dom: "npm:6.10.0" react-transition-group: "npm:4.4.5" rollup-plugin-visualizer: "npm:5.9.2" + sails-js: "npm:0.1.8" sass: "npm:1.62.0" tailwindcss: "npm:3.3.3" typescript: "npm:4.9.5" @@ -24613,6 +24637,7 @@ __metadata: "@radix-ui/react-dialog": "npm:1.1.1" "@radix-ui/react-scroll-area": "npm:1.1.0" "@radix-ui/react-tabs": "npm:1.1.0" + "@tanstack/react-query": "npm:5.29.0" "@testing-library/jest-dom": "npm:5.16.4" "@testing-library/react": "npm:13.2.0" "@testing-library/user-event": "npm:13.5.0" @@ -24650,6 +24675,7 @@ __metadata: react-router-dom: "npm:6.10.0" react-scripts: "npm:5.0.1" react-transition-group: "npm:4.4.5" + sails-js: "npm:0.1.8" sass: "npm:1.62.0" tailwind-merge: "npm:1.12.0" tailwindcss: "npm:3.3.1" @@ -24680,6 +24706,7 @@ __metadata: "@polkadot/types": "npm:10.11.2" "@polkadot/util": "npm:12.3.2" "@polkadot/wasm-crypto": "npm:7.2.2" + "@tanstack/react-query": "npm:5.29.0" "@testing-library/jest-dom": "npm:5.16.4" "@testing-library/react": "npm:13.2.0" "@testing-library/user-event": "npm:13.5.0" @@ -24708,6 +24735,7 @@ __metadata: react-router-dom: "npm:6.10.0" react-scripts: "npm:5.0.1" react-transition-group: "npm:4.4.5" + sails-js: "npm:0.1.8" sass: "npm:1.62.0" simplebar-react: "npm:3.2.1" typescript: "npm:5.0.2"