From 2fa77b433a28f415bd5f155c1b6f0472de798a9b Mon Sep 17 00:00:00 2001 From: cb-jake <95890768+cb-jake@users.noreply.github.com> Date: Fri, 20 Sep 2024 12:56:00 -0600 Subject: [PATCH] rename apps --> examples (#1401) --- .github/workflows/build-and-deploy.yml | 2 +- {apps => examples}/testapp/next-env.d.ts | 0 {apps => examples}/testapp/package.json | 0 .../src/components/EventListeners/EventListenersCard.tsx | 0 {apps => examples}/testapp/src/components/Layout.tsx | 0 .../testapp/src/components/RpcMethods/RpcMethodCard.tsx | 0 .../src/components/RpcMethods/method/RpcRequestInput.ts | 0 .../src/components/RpcMethods/method/connectionMethods.ts | 0 .../src/components/RpcMethods/method/multiChainMethods.ts | 0 .../components/RpcMethods/method/readonlyJsonRpcMethods.ts | 0 .../testapp/src/components/RpcMethods/method/sendMethods.ts | 0 .../src/components/RpcMethods/method/signMessageMethods.ts | 0 .../src/components/RpcMethods/method/walletTxMethods.ts | 0 .../src/components/RpcMethods/shortcut/ShortcutType.ts | 0 .../testapp/src/components/RpcMethods/shortcut/const.ts | 0 .../components/RpcMethods/shortcut/multipleChainShortcuts.ts | 0 .../RpcMethods/shortcut/readonlyJsonRpcShortcuts.ts | 0 .../src/components/RpcMethods/shortcut/sendShortcuts.ts | 0 .../components/RpcMethods/shortcut/signMessageShortcuts.ts | 0 .../src/components/RpcMethods/shortcut/walletTxShortcuts.ts | 0 .../testapp/src/context/CBWSDKReactContextProvider.tsx | 0 {apps => examples}/testapp/src/pages/_app.tsx | 0 {apps => examples}/testapp/src/pages/_document.tsx | 0 {apps => examples}/testapp/src/pages/index.tsx | 0 {apps => examples}/testapp/src/theme/index.ts | 0 {apps => examples}/testapp/tsconfig.json | 0 package.json | 2 +- yarn.lock | 4 ++-- 28 files changed, 4 insertions(+), 4 deletions(-) rename {apps => examples}/testapp/next-env.d.ts (100%) rename {apps => examples}/testapp/package.json (100%) rename {apps => examples}/testapp/src/components/EventListeners/EventListenersCard.tsx (100%) rename {apps => examples}/testapp/src/components/Layout.tsx (100%) rename {apps => examples}/testapp/src/components/RpcMethods/RpcMethodCard.tsx (100%) rename {apps => examples}/testapp/src/components/RpcMethods/method/RpcRequestInput.ts (100%) rename {apps => examples}/testapp/src/components/RpcMethods/method/connectionMethods.ts (100%) rename {apps => examples}/testapp/src/components/RpcMethods/method/multiChainMethods.ts (100%) rename {apps => examples}/testapp/src/components/RpcMethods/method/readonlyJsonRpcMethods.ts (100%) rename {apps => examples}/testapp/src/components/RpcMethods/method/sendMethods.ts (100%) rename {apps => examples}/testapp/src/components/RpcMethods/method/signMessageMethods.ts (100%) rename {apps => examples}/testapp/src/components/RpcMethods/method/walletTxMethods.ts (100%) rename {apps => examples}/testapp/src/components/RpcMethods/shortcut/ShortcutType.ts (100%) rename {apps => examples}/testapp/src/components/RpcMethods/shortcut/const.ts (100%) rename {apps => examples}/testapp/src/components/RpcMethods/shortcut/multipleChainShortcuts.ts (100%) rename {apps => examples}/testapp/src/components/RpcMethods/shortcut/readonlyJsonRpcShortcuts.ts (100%) rename {apps => examples}/testapp/src/components/RpcMethods/shortcut/sendShortcuts.ts (100%) rename {apps => examples}/testapp/src/components/RpcMethods/shortcut/signMessageShortcuts.ts (100%) rename {apps => examples}/testapp/src/components/RpcMethods/shortcut/walletTxShortcuts.ts (100%) rename {apps => examples}/testapp/src/context/CBWSDKReactContextProvider.tsx (100%) rename {apps => examples}/testapp/src/pages/_app.tsx (100%) rename {apps => examples}/testapp/src/pages/_document.tsx (100%) rename {apps => examples}/testapp/src/pages/index.tsx (100%) rename {apps => examples}/testapp/src/theme/index.ts (100%) rename {apps => examples}/testapp/tsconfig.json (100%) 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