diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index d2e813f53a..b583df114c 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -36,7 +36,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: - path: ./apps/testapp/out + path: ./examples/testapp/out deploy: environment: diff --git a/apps/testapp/next-env.d.ts b/examples/testapp/next-env.d.ts similarity index 100% rename from apps/testapp/next-env.d.ts rename to examples/testapp/next-env.d.ts diff --git a/apps/testapp/package.json b/examples/testapp/package.json similarity index 100% rename from apps/testapp/package.json rename to examples/testapp/package.json diff --git a/apps/testapp/src/components/EventListeners/EventListenersCard.tsx b/examples/testapp/src/components/EventListeners/EventListenersCard.tsx similarity index 100% rename from apps/testapp/src/components/EventListeners/EventListenersCard.tsx rename to examples/testapp/src/components/EventListeners/EventListenersCard.tsx diff --git a/apps/testapp/src/components/Layout.tsx b/examples/testapp/src/components/Layout.tsx similarity index 100% rename from apps/testapp/src/components/Layout.tsx rename to examples/testapp/src/components/Layout.tsx diff --git a/apps/testapp/src/components/RpcMethods/RpcMethodCard.tsx b/examples/testapp/src/components/RpcMethods/RpcMethodCard.tsx similarity index 100% rename from apps/testapp/src/components/RpcMethods/RpcMethodCard.tsx rename to examples/testapp/src/components/RpcMethods/RpcMethodCard.tsx diff --git a/apps/testapp/src/components/RpcMethods/method/RpcRequestInput.ts b/examples/testapp/src/components/RpcMethods/method/RpcRequestInput.ts similarity index 100% rename from apps/testapp/src/components/RpcMethods/method/RpcRequestInput.ts rename to examples/testapp/src/components/RpcMethods/method/RpcRequestInput.ts diff --git a/apps/testapp/src/components/RpcMethods/method/connectionMethods.ts b/examples/testapp/src/components/RpcMethods/method/connectionMethods.ts similarity index 100% rename from apps/testapp/src/components/RpcMethods/method/connectionMethods.ts rename to examples/testapp/src/components/RpcMethods/method/connectionMethods.ts diff --git a/apps/testapp/src/components/RpcMethods/method/multiChainMethods.ts b/examples/testapp/src/components/RpcMethods/method/multiChainMethods.ts similarity index 100% rename from apps/testapp/src/components/RpcMethods/method/multiChainMethods.ts rename to examples/testapp/src/components/RpcMethods/method/multiChainMethods.ts diff --git a/apps/testapp/src/components/RpcMethods/method/readonlyJsonRpcMethods.ts b/examples/testapp/src/components/RpcMethods/method/readonlyJsonRpcMethods.ts similarity index 100% rename from apps/testapp/src/components/RpcMethods/method/readonlyJsonRpcMethods.ts rename to examples/testapp/src/components/RpcMethods/method/readonlyJsonRpcMethods.ts diff --git a/apps/testapp/src/components/RpcMethods/method/sendMethods.ts b/examples/testapp/src/components/RpcMethods/method/sendMethods.ts similarity index 100% rename from apps/testapp/src/components/RpcMethods/method/sendMethods.ts rename to examples/testapp/src/components/RpcMethods/method/sendMethods.ts diff --git a/apps/testapp/src/components/RpcMethods/method/signMessageMethods.ts b/examples/testapp/src/components/RpcMethods/method/signMessageMethods.ts similarity index 100% rename from apps/testapp/src/components/RpcMethods/method/signMessageMethods.ts rename to examples/testapp/src/components/RpcMethods/method/signMessageMethods.ts diff --git a/apps/testapp/src/components/RpcMethods/method/walletTxMethods.ts b/examples/testapp/src/components/RpcMethods/method/walletTxMethods.ts similarity index 100% rename from apps/testapp/src/components/RpcMethods/method/walletTxMethods.ts rename to examples/testapp/src/components/RpcMethods/method/walletTxMethods.ts diff --git a/apps/testapp/src/components/RpcMethods/shortcut/ShortcutType.ts b/examples/testapp/src/components/RpcMethods/shortcut/ShortcutType.ts similarity index 100% rename from apps/testapp/src/components/RpcMethods/shortcut/ShortcutType.ts rename to examples/testapp/src/components/RpcMethods/shortcut/ShortcutType.ts diff --git a/apps/testapp/src/components/RpcMethods/shortcut/const.ts b/examples/testapp/src/components/RpcMethods/shortcut/const.ts similarity index 100% rename from apps/testapp/src/components/RpcMethods/shortcut/const.ts rename to examples/testapp/src/components/RpcMethods/shortcut/const.ts diff --git a/apps/testapp/src/components/RpcMethods/shortcut/multipleChainShortcuts.ts b/examples/testapp/src/components/RpcMethods/shortcut/multipleChainShortcuts.ts similarity index 100% rename from apps/testapp/src/components/RpcMethods/shortcut/multipleChainShortcuts.ts rename to examples/testapp/src/components/RpcMethods/shortcut/multipleChainShortcuts.ts diff --git a/apps/testapp/src/components/RpcMethods/shortcut/readonlyJsonRpcShortcuts.ts b/examples/testapp/src/components/RpcMethods/shortcut/readonlyJsonRpcShortcuts.ts similarity index 100% rename from apps/testapp/src/components/RpcMethods/shortcut/readonlyJsonRpcShortcuts.ts rename to examples/testapp/src/components/RpcMethods/shortcut/readonlyJsonRpcShortcuts.ts diff --git a/apps/testapp/src/components/RpcMethods/shortcut/sendShortcuts.ts b/examples/testapp/src/components/RpcMethods/shortcut/sendShortcuts.ts similarity index 100% rename from apps/testapp/src/components/RpcMethods/shortcut/sendShortcuts.ts rename to examples/testapp/src/components/RpcMethods/shortcut/sendShortcuts.ts diff --git a/apps/testapp/src/components/RpcMethods/shortcut/signMessageShortcuts.ts b/examples/testapp/src/components/RpcMethods/shortcut/signMessageShortcuts.ts similarity index 100% rename from apps/testapp/src/components/RpcMethods/shortcut/signMessageShortcuts.ts rename to examples/testapp/src/components/RpcMethods/shortcut/signMessageShortcuts.ts diff --git a/apps/testapp/src/components/RpcMethods/shortcut/walletTxShortcuts.ts b/examples/testapp/src/components/RpcMethods/shortcut/walletTxShortcuts.ts similarity index 100% rename from apps/testapp/src/components/RpcMethods/shortcut/walletTxShortcuts.ts rename to examples/testapp/src/components/RpcMethods/shortcut/walletTxShortcuts.ts diff --git a/apps/testapp/src/context/CBWSDKReactContextProvider.tsx b/examples/testapp/src/context/CBWSDKReactContextProvider.tsx similarity index 100% rename from apps/testapp/src/context/CBWSDKReactContextProvider.tsx rename to examples/testapp/src/context/CBWSDKReactContextProvider.tsx diff --git a/apps/testapp/src/pages/_app.tsx b/examples/testapp/src/pages/_app.tsx similarity index 100% rename from apps/testapp/src/pages/_app.tsx rename to examples/testapp/src/pages/_app.tsx diff --git a/apps/testapp/src/pages/_document.tsx b/examples/testapp/src/pages/_document.tsx similarity index 100% rename from apps/testapp/src/pages/_document.tsx rename to examples/testapp/src/pages/_document.tsx diff --git a/apps/testapp/src/pages/index.tsx b/examples/testapp/src/pages/index.tsx similarity index 100% rename from apps/testapp/src/pages/index.tsx rename to examples/testapp/src/pages/index.tsx diff --git a/apps/testapp/src/theme/index.ts b/examples/testapp/src/theme/index.ts similarity index 100% rename from apps/testapp/src/theme/index.ts rename to examples/testapp/src/theme/index.ts diff --git a/apps/testapp/tsconfig.json b/examples/testapp/tsconfig.json similarity index 100% rename from apps/testapp/tsconfig.json rename to examples/testapp/tsconfig.json diff --git a/package.json b/package.json index ba63deca2e..137ab9bece 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "private": true, "workspaces": [ "packages/*", - "apps/*" + "examples/*" ], "scripts": { "lint": "yarn workspaces foreach -pt run lint", diff --git a/yarn.lock b/yarn.lock index 30bed7c19c..88ec90fd64 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9931,9 +9931,9 @@ __metadata: languageName: node linkType: hard -"sdk-playground@workspace:apps/testapp": +"sdk-playground@workspace:examples/testapp": version: 0.0.0-use.local - resolution: "sdk-playground@workspace:apps/testapp" + resolution: "sdk-playground@workspace:examples/testapp" dependencies: "@chakra-ui/icons": ^2.1.1 "@chakra-ui/react": ^2.8.0