From 1579f50acbf1822cef6fad26aaff05f6378d3dc2 Mon Sep 17 00:00:00 2001 From: Junichi Sugiura Date: Thu, 7 Nov 2024 18:10:11 +0100 Subject: [PATCH] Rename example names and update readme (#996) * Rename example names and update readme * Commit abi files for next example * Rename vercel project name --------- Co-authored-by: Luca Steeb --- .github/workflows/deploy.yml | 8 +-- README.md | 62 ++++++++++++------ .../.env.development | 0 .../.env.production | 0 .../.eslintrc.json | 0 .../{starknet-react-next => next}/.gitignore | 1 + .../CHANGELOG.md | 0 .../{starknet-react-next => next}/README.md | 0 .../next-env.d.ts | 0 .../next.config.js | 0 .../package.json | 2 +- .../playwright.config.ts | 0 .../postcss.config.js | 0 .../src/abi/counter.json | 0 .../src/abi/erc20.json | 0 .../src/app/favicon.ico | Bin .../src/app/globals.css | 0 .../src/app/layout.tsx | 0 .../src/app/page.tsx | 0 .../src/app/token/page.tsx | 0 .../src/components/ColorModeToggle.tsx | 0 .../src/components/ConnectWallet.tsx | 0 .../src/components/DelegateAccount.tsx | 0 .../src/components/FetchControllers.tsx | 0 .../src/components/IncrementCounter.tsx | 0 .../src/components/InvalidTxn.tsx | 0 .../src/components/ManualTransferEth.tsx | 0 .../src/components/Profile.tsx | 0 .../src/components/RegisterSession.tsx | 0 .../src/components/Settings.tsx | 0 .../src/components/SignMessage.tsx | 0 .../src/components/TransferEth.tsx | 0 .../components/providers/StarknetProvider.tsx | 0 .../components/providers/ThemeProvider.tsx | 0 .../src/components/providers/index.tsx | 0 .../src/hooks/counter.ts | 0 .../src/hooks/token.ts | 0 .../tailwind.config.ts | 0 .../tests/connect.spec.ts | 0 .../tests/keychain.ts | 0 .../tests/metadata.spec.ts | 0 .../tests/webauthn.ts | 0 .../tsconfig.json | 0 .../{starknet-react-next => next}/vercel.json | 0 examples/svelte/package.json | 2 +- package.json | 3 +- pnpm-lock.yaml | 20 +++--- pnpm-workspace.yaml | 2 +- 48 files changed, 63 insertions(+), 37 deletions(-) rename examples/{starknet-react-next => next}/.env.development (100%) rename examples/{starknet-react-next => next}/.env.production (100%) rename examples/{starknet-react-next => next}/.eslintrc.json (100%) rename examples/{starknet-react-next => next}/.gitignore (88%) rename examples/{starknet-react-next => next}/CHANGELOG.md (100%) rename examples/{starknet-react-next => next}/README.md (100%) rename examples/{starknet-react-next => next}/next-env.d.ts (100%) rename examples/{starknet-react-next => next}/next.config.js (100%) rename examples/{starknet-react-next => next}/package.json (95%) rename examples/{starknet-react-next => next}/playwright.config.ts (100%) rename examples/{starknet-react-next => next}/postcss.config.js (100%) rename examples/{starknet-react-next => next}/src/abi/counter.json (100%) rename examples/{starknet-react-next => next}/src/abi/erc20.json (100%) rename examples/{starknet-react-next => next}/src/app/favicon.ico (100%) rename examples/{starknet-react-next => next}/src/app/globals.css (100%) rename examples/{starknet-react-next => next}/src/app/layout.tsx (100%) rename examples/{starknet-react-next => next}/src/app/page.tsx (100%) rename examples/{starknet-react-next => next}/src/app/token/page.tsx (100%) rename examples/{starknet-react-next => next}/src/components/ColorModeToggle.tsx (100%) rename examples/{starknet-react-next => next}/src/components/ConnectWallet.tsx (100%) rename examples/{starknet-react-next => next}/src/components/DelegateAccount.tsx (100%) rename examples/{starknet-react-next => next}/src/components/FetchControllers.tsx (100%) rename examples/{starknet-react-next => next}/src/components/IncrementCounter.tsx (100%) rename examples/{starknet-react-next => next}/src/components/InvalidTxn.tsx (100%) rename examples/{starknet-react-next => next}/src/components/ManualTransferEth.tsx (100%) rename examples/{starknet-react-next => next}/src/components/Profile.tsx (100%) rename examples/{starknet-react-next => next}/src/components/RegisterSession.tsx (100%) rename examples/{starknet-react-next => next}/src/components/Settings.tsx (100%) rename examples/{starknet-react-next => next}/src/components/SignMessage.tsx (100%) rename examples/{starknet-react-next => next}/src/components/TransferEth.tsx (100%) rename examples/{starknet-react-next => next}/src/components/providers/StarknetProvider.tsx (100%) rename examples/{starknet-react-next => next}/src/components/providers/ThemeProvider.tsx (100%) rename examples/{starknet-react-next => next}/src/components/providers/index.tsx (100%) rename examples/{starknet-react-next => next}/src/hooks/counter.ts (100%) rename examples/{starknet-react-next => next}/src/hooks/token.ts (100%) rename examples/{starknet-react-next => next}/tailwind.config.ts (100%) rename examples/{starknet-react-next => next}/tests/connect.spec.ts (100%) rename examples/{starknet-react-next => next}/tests/keychain.ts (100%) rename examples/{starknet-react-next => next}/tests/metadata.spec.ts (100%) rename examples/{starknet-react-next => next}/tests/webauthn.ts (100%) rename examples/{starknet-react-next => next}/tsconfig.json (100%) rename examples/{starknet-react-next => next}/vercel.json (100%) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 121613566..3137b6592 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -240,10 +240,10 @@ jobs: steps.vars.outputs.sha_short }}.preview.cartridge.gg --scope=cartridge --token=${{ secrets.VERCEL_TOKEN }} - cartridge-starknet-react-next: + controller-example-next: runs-on: ubuntu-latest env: - VERCEL_PROJECT_ID: "cartridge-starknet-react-next" + VERCEL_PROJECT_ID: "controller-example-next" steps: - name: Checkout uses: actions/checkout@v4 @@ -296,8 +296,8 @@ jobs: - name: Build Project Artifacts (Preview) if: github.ref != 'refs/heads/main' run: | - echo "NEXT_PUBLIC_KEYCHAIN_DEPLOYMENT_URL=https://keychain-${{ steps.vars.outputs.sha_short }}.preview.cartridge.gg" >> ./examples/starknet-react-next/.env.local - echo "NEXT_PUBLIC_PROFILE_DEPLOYMENT_URL=https://profile-${{ steps.vars.outputs.sha_short }}.preview.cartridge.gg" >> ./examples/starknet-react-next/.env.local + echo "NEXT_PUBLIC_KEYCHAIN_DEPLOYMENT_URL=https://keychain-${{ steps.vars.outputs.sha_short }}.preview.cartridge.gg" >> ./examples/next/.env.local + echo "NEXT_PUBLIC_PROFILE_DEPLOYMENT_URL=https://profile-${{ steps.vars.outputs.sha_short }}.preview.cartridge.gg" >> ./examples/next/.env.local pnpm vercel build --token=${{ secrets.VERCEL_TOKEN }} - name: Build Project Artifacts (Production) if: github.ref == 'refs/heads/main' diff --git a/README.md b/README.md index 67b887409..60cd00550 100644 --- a/README.md +++ b/README.md @@ -2,18 +2,33 @@ # Controller -Controller is a gaming specific smart contract wallet that enables seamless player onboarding and game interactions. +Controller is a gaming specific smart contract wallet that enables seamless +player onboarding and game interactions. It supports transaction signing using Passkeys and Session Tokens. ## Project structure -The project consists of several subfolders located in the ```packages``` directory: -- **[account_sdk](packages/account_sdk)** - a rust sdk for interacting interacting with the controller account contract. -- **[account-wasm](packages/account-wasm)** - a wasm version of the rust account sdk for usage in the browser. -- **[contracts](packages/contracts)** - a cairo project containing the controller account contract, signer, and session implementations. -- **[keychain](packages/keychain)** - a sandboxed application hosted at https://x.cartridge.gg/ and responsible for sensitive operations, such as signing transactions. When an application requests to sign or execute a transaction, keychain enforces client side authorization logic and displays UI for user approval if necessary. -- **[controller](packages/controller)** sdk. Controller implements the account interfaces required by [starknet.js](https://github.com/0xs34n/starknet.js). Underneath, the implementation communicates with an embedded sandboxed keychain iframe. +The project consists of several subfolders located in the `packages` directory: + +- **[account_sdk](packages/account_sdk)** - a rust sdk for interacting + interacting with the controller account contract. +- **[account-wasm](packages/account-wasm)** - a wasm version of the rust account + sdk for usage in the browser. +- **[contracts](packages/contracts)** - a cairo project containing the + controller account contract, signer, and session implementations. +- **[keychain](packages/keychain)** - a sandboxed application hosted at + https://x.cartridge.gg/ and responsible for sensitive operations, such as + signing transactions. When an application requests to sign or execute a + transaction, keychain enforces client side authorization logic and displays UI + for user approval if necessary. +- **[profile](packages/profile)** - a sandboxed application hosted at + https://profile.cartridge.gg/ and responsible for displaying the state of + Controller account, such as token balances, activities, and achievement. +- **[controller](packages/controller)** sdk. Controller implements the account + interfaces required by [starknet.js](https://github.com/0xs34n/starknet.js). + Underneath, the implementation communicates with an embedded sandboxed + keychain iframe. ## Development @@ -31,19 +46,19 @@ Install dependencies: pnpm i ``` -Build dependencies: - -```sh -pnpm build -``` - -Run `keychain` and `starknet-react-next`: +Run Controller with examples: ```sh pnpm dev ``` -Open in your browser. +This command builds all workspace dependencies first and start these servers: + +- http://localhost:3002: Controller Example (Next.js) +- http://localhost:5174: Controller Example (Svelte) +- http://localhost:3001: Keychain +- http://localhost:3003: Profile +- http://localhost:5173: Documentation The simplest way to then develop with your cartridge account is to port it over from the production keychain: @@ -76,13 +91,19 @@ make in the root directory. -#### Commiting changes +#### Commiting changes -The compiled account is stored in the git repository in the `crates/account_sdk/artifacts/` folder. To make sure that the tests are run against the most reacent version of the code run `make` in the root repository. The `make` command should also be run before commiting any changes to ensure a valid state of the compiled code. +The compiled account is stored in the git repository in the +`crates/account_sdk/artifacts/` folder. To make sure that the tests are run +against the most reacent version of the code run `make` in the root repository. +The `make` command should also be run before commiting any changes to ensure a +valid state of the compiled code. #### Running the tests -Note, that to run the tests you first have to [compile](#compiling-the-cairo-code) (to sierra and casm) the contract in the `controller` folder. +Note, that to run the tests you first have to +[compile](#compiling-the-cairo-code) (to sierra and casm) the contract in the +`controller` folder. Starknet Foundry tests: @@ -102,4 +123,7 @@ After the contract is compiled run the tests using `cargo`: cargo test ``` -The scarb builds the contract and saves the compiled code in the `controller/target` folder. The tests then fetch (at compile time) the comipled code and deploy it to the local network. Note that obviously the contract needs to be recompiled for any changes to be applied in the compiled code. +The scarb builds the contract and saves the compiled code in the +`controller/target` folder. The tests then fetch (at compile time) the comipled +code and deploy it to the local network. Note that obviously the contract needs +to be recompiled for any changes to be applied in the compiled code. diff --git a/examples/starknet-react-next/.env.development b/examples/next/.env.development similarity index 100% rename from examples/starknet-react-next/.env.development rename to examples/next/.env.development diff --git a/examples/starknet-react-next/.env.production b/examples/next/.env.production similarity index 100% rename from examples/starknet-react-next/.env.production rename to examples/next/.env.production diff --git a/examples/starknet-react-next/.eslintrc.json b/examples/next/.eslintrc.json similarity index 100% rename from examples/starknet-react-next/.eslintrc.json rename to examples/next/.eslintrc.json diff --git a/examples/starknet-react-next/.gitignore b/examples/next/.gitignore similarity index 88% rename from examples/starknet-react-next/.gitignore rename to examples/next/.gitignore index 68c5d18f0..96b4acda4 100644 --- a/examples/starknet-react-next/.gitignore +++ b/examples/next/.gitignore @@ -3,3 +3,4 @@ node_modules/ /playwright-report/ /blob-report/ /playwright/.cache/ +!/src/abi/ diff --git a/examples/starknet-react-next/CHANGELOG.md b/examples/next/CHANGELOG.md similarity index 100% rename from examples/starknet-react-next/CHANGELOG.md rename to examples/next/CHANGELOG.md diff --git a/examples/starknet-react-next/README.md b/examples/next/README.md similarity index 100% rename from examples/starknet-react-next/README.md rename to examples/next/README.md diff --git a/examples/starknet-react-next/next-env.d.ts b/examples/next/next-env.d.ts similarity index 100% rename from examples/starknet-react-next/next-env.d.ts rename to examples/next/next-env.d.ts diff --git a/examples/starknet-react-next/next.config.js b/examples/next/next.config.js similarity index 100% rename from examples/starknet-react-next/next.config.js rename to examples/next/next.config.js diff --git a/examples/starknet-react-next/package.json b/examples/next/package.json similarity index 95% rename from examples/starknet-react-next/package.json rename to examples/next/package.json index 60df0e9ae..0370f9031 100644 --- a/examples/starknet-react-next/package.json +++ b/examples/next/package.json @@ -1,5 +1,5 @@ { - "name": "starknet-react-next", + "name": "@cartridge/controller-example-next", "private": true, "version": "0.5.0-alpha.7", "scripts": { diff --git a/examples/starknet-react-next/playwright.config.ts b/examples/next/playwright.config.ts similarity index 100% rename from examples/starknet-react-next/playwright.config.ts rename to examples/next/playwright.config.ts diff --git a/examples/starknet-react-next/postcss.config.js b/examples/next/postcss.config.js similarity index 100% rename from examples/starknet-react-next/postcss.config.js rename to examples/next/postcss.config.js diff --git a/examples/starknet-react-next/src/abi/counter.json b/examples/next/src/abi/counter.json similarity index 100% rename from examples/starknet-react-next/src/abi/counter.json rename to examples/next/src/abi/counter.json diff --git a/examples/starknet-react-next/src/abi/erc20.json b/examples/next/src/abi/erc20.json similarity index 100% rename from examples/starknet-react-next/src/abi/erc20.json rename to examples/next/src/abi/erc20.json diff --git a/examples/starknet-react-next/src/app/favicon.ico b/examples/next/src/app/favicon.ico similarity index 100% rename from examples/starknet-react-next/src/app/favicon.ico rename to examples/next/src/app/favicon.ico diff --git a/examples/starknet-react-next/src/app/globals.css b/examples/next/src/app/globals.css similarity index 100% rename from examples/starknet-react-next/src/app/globals.css rename to examples/next/src/app/globals.css diff --git a/examples/starknet-react-next/src/app/layout.tsx b/examples/next/src/app/layout.tsx similarity index 100% rename from examples/starknet-react-next/src/app/layout.tsx rename to examples/next/src/app/layout.tsx diff --git a/examples/starknet-react-next/src/app/page.tsx b/examples/next/src/app/page.tsx similarity index 100% rename from examples/starknet-react-next/src/app/page.tsx rename to examples/next/src/app/page.tsx diff --git a/examples/starknet-react-next/src/app/token/page.tsx b/examples/next/src/app/token/page.tsx similarity index 100% rename from examples/starknet-react-next/src/app/token/page.tsx rename to examples/next/src/app/token/page.tsx diff --git a/examples/starknet-react-next/src/components/ColorModeToggle.tsx b/examples/next/src/components/ColorModeToggle.tsx similarity index 100% rename from examples/starknet-react-next/src/components/ColorModeToggle.tsx rename to examples/next/src/components/ColorModeToggle.tsx diff --git a/examples/starknet-react-next/src/components/ConnectWallet.tsx b/examples/next/src/components/ConnectWallet.tsx similarity index 100% rename from examples/starknet-react-next/src/components/ConnectWallet.tsx rename to examples/next/src/components/ConnectWallet.tsx diff --git a/examples/starknet-react-next/src/components/DelegateAccount.tsx b/examples/next/src/components/DelegateAccount.tsx similarity index 100% rename from examples/starknet-react-next/src/components/DelegateAccount.tsx rename to examples/next/src/components/DelegateAccount.tsx diff --git a/examples/starknet-react-next/src/components/FetchControllers.tsx b/examples/next/src/components/FetchControllers.tsx similarity index 100% rename from examples/starknet-react-next/src/components/FetchControllers.tsx rename to examples/next/src/components/FetchControllers.tsx diff --git a/examples/starknet-react-next/src/components/IncrementCounter.tsx b/examples/next/src/components/IncrementCounter.tsx similarity index 100% rename from examples/starknet-react-next/src/components/IncrementCounter.tsx rename to examples/next/src/components/IncrementCounter.tsx diff --git a/examples/starknet-react-next/src/components/InvalidTxn.tsx b/examples/next/src/components/InvalidTxn.tsx similarity index 100% rename from examples/starknet-react-next/src/components/InvalidTxn.tsx rename to examples/next/src/components/InvalidTxn.tsx diff --git a/examples/starknet-react-next/src/components/ManualTransferEth.tsx b/examples/next/src/components/ManualTransferEth.tsx similarity index 100% rename from examples/starknet-react-next/src/components/ManualTransferEth.tsx rename to examples/next/src/components/ManualTransferEth.tsx diff --git a/examples/starknet-react-next/src/components/Profile.tsx b/examples/next/src/components/Profile.tsx similarity index 100% rename from examples/starknet-react-next/src/components/Profile.tsx rename to examples/next/src/components/Profile.tsx diff --git a/examples/starknet-react-next/src/components/RegisterSession.tsx b/examples/next/src/components/RegisterSession.tsx similarity index 100% rename from examples/starknet-react-next/src/components/RegisterSession.tsx rename to examples/next/src/components/RegisterSession.tsx diff --git a/examples/starknet-react-next/src/components/Settings.tsx b/examples/next/src/components/Settings.tsx similarity index 100% rename from examples/starknet-react-next/src/components/Settings.tsx rename to examples/next/src/components/Settings.tsx diff --git a/examples/starknet-react-next/src/components/SignMessage.tsx b/examples/next/src/components/SignMessage.tsx similarity index 100% rename from examples/starknet-react-next/src/components/SignMessage.tsx rename to examples/next/src/components/SignMessage.tsx diff --git a/examples/starknet-react-next/src/components/TransferEth.tsx b/examples/next/src/components/TransferEth.tsx similarity index 100% rename from examples/starknet-react-next/src/components/TransferEth.tsx rename to examples/next/src/components/TransferEth.tsx diff --git a/examples/starknet-react-next/src/components/providers/StarknetProvider.tsx b/examples/next/src/components/providers/StarknetProvider.tsx similarity index 100% rename from examples/starknet-react-next/src/components/providers/StarknetProvider.tsx rename to examples/next/src/components/providers/StarknetProvider.tsx diff --git a/examples/starknet-react-next/src/components/providers/ThemeProvider.tsx b/examples/next/src/components/providers/ThemeProvider.tsx similarity index 100% rename from examples/starknet-react-next/src/components/providers/ThemeProvider.tsx rename to examples/next/src/components/providers/ThemeProvider.tsx diff --git a/examples/starknet-react-next/src/components/providers/index.tsx b/examples/next/src/components/providers/index.tsx similarity index 100% rename from examples/starknet-react-next/src/components/providers/index.tsx rename to examples/next/src/components/providers/index.tsx diff --git a/examples/starknet-react-next/src/hooks/counter.ts b/examples/next/src/hooks/counter.ts similarity index 100% rename from examples/starknet-react-next/src/hooks/counter.ts rename to examples/next/src/hooks/counter.ts diff --git a/examples/starknet-react-next/src/hooks/token.ts b/examples/next/src/hooks/token.ts similarity index 100% rename from examples/starknet-react-next/src/hooks/token.ts rename to examples/next/src/hooks/token.ts diff --git a/examples/starknet-react-next/tailwind.config.ts b/examples/next/tailwind.config.ts similarity index 100% rename from examples/starknet-react-next/tailwind.config.ts rename to examples/next/tailwind.config.ts diff --git a/examples/starknet-react-next/tests/connect.spec.ts b/examples/next/tests/connect.spec.ts similarity index 100% rename from examples/starknet-react-next/tests/connect.spec.ts rename to examples/next/tests/connect.spec.ts diff --git a/examples/starknet-react-next/tests/keychain.ts b/examples/next/tests/keychain.ts similarity index 100% rename from examples/starknet-react-next/tests/keychain.ts rename to examples/next/tests/keychain.ts diff --git a/examples/starknet-react-next/tests/metadata.spec.ts b/examples/next/tests/metadata.spec.ts similarity index 100% rename from examples/starknet-react-next/tests/metadata.spec.ts rename to examples/next/tests/metadata.spec.ts diff --git a/examples/starknet-react-next/tests/webauthn.ts b/examples/next/tests/webauthn.ts similarity index 100% rename from examples/starknet-react-next/tests/webauthn.ts rename to examples/next/tests/webauthn.ts diff --git a/examples/starknet-react-next/tsconfig.json b/examples/next/tsconfig.json similarity index 100% rename from examples/starknet-react-next/tsconfig.json rename to examples/next/tsconfig.json diff --git a/examples/starknet-react-next/vercel.json b/examples/next/vercel.json similarity index 100% rename from examples/starknet-react-next/vercel.json rename to examples/next/vercel.json diff --git a/examples/svelte/package.json b/examples/svelte/package.json index 2424bd688..fdeaa3da4 100644 --- a/examples/svelte/package.json +++ b/examples/svelte/package.json @@ -1,5 +1,5 @@ { - "name": "svelte", + "name": "@cartridge/controller-example-svelte", "version": "0.5.0-alpha.7", "private": true, "scripts": { diff --git a/package.json b/package.json index 203d1e9c9..e7c3979f6 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ "ui:next": "pnpm --filter @cartridge/ui-next", "profil": "pnpm --filter @cartridge/profile", "utils": "pnpm --filter @cartridge/utils", - "example:next": "pnpm --filter starknet-react-next", + "example:next": "pnpm --filter @cartridge/controller-example-next", + "example:svelte": "pnpm --filter @cartridge/controller-example-svelte", "test": "pnpm keychain test", "test:ci": "pnpm keychain test:ci", "test:storybook": "pnpm turbo build:deps test:storybook" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d05eb2f7f..29be13677 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -70,7 +70,7 @@ importers: specifier: ^4.2.0 version: 4.2.0(rollup@4.24.0)(typescript@5.5.4)(vite@5.4.8(@types/node@22.7.5)(terser@5.34.1)) - examples/starknet-react-next: + examples/next: dependencies: '@cartridge/connector': specifier: workspace:^ @@ -117,7 +117,7 @@ importers: version: 20.16.11 '@types/react': specifier: ^18.2.21 - version: 18.3.11 + version: 18.3.12 '@types/react-dom': specifier: ^18.2.7 version: 18.3.1 @@ -23796,8 +23796,8 @@ snapshots: '@typescript-eslint/parser': 5.62.0(eslint@8.57.1)(typescript@5.5.4) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 2.7.1(eslint-plugin-import@2.31.0(eslint@8.57.1))(eslint@8.57.1) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-typescript@2.7.1(eslint-plugin-import@2.31.0(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) + eslint-import-resolver-typescript: 2.7.1(eslint-plugin-import@2.31.0)(eslint@8.57.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-typescript@2.7.1)(eslint@8.57.1) eslint-plugin-jsx-a11y: 6.10.0(eslint@8.57.1) eslint-plugin-react: 7.37.1(eslint@8.57.1) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) @@ -23823,11 +23823,11 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@2.7.1(eslint-plugin-import@2.31.0(eslint@8.57.1))(eslint@8.57.1): + eslint-import-resolver-typescript@2.7.1(eslint-plugin-import@2.31.0)(eslint@8.57.1): dependencies: debug: 4.3.7 eslint: 8.57.1 - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-typescript@2.7.1(eslint-plugin-import@2.31.0(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-typescript@2.7.1)(eslint@8.57.1) glob: 7.2.3 is-glob: 4.0.3 resolve: 1.22.8 @@ -23835,18 +23835,18 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@2.7.1(eslint-plugin-import@2.31.0(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1): + eslint-module-utils@2.12.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@2.7.1(eslint-plugin-import@2.31.0)(eslint@8.57.1))(eslint@8.57.1): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 5.62.0(eslint@8.57.1)(typescript@5.5.4) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 2.7.1(eslint-plugin-import@2.31.0(eslint@8.57.1))(eslint@8.57.1) + eslint-import-resolver-typescript: 2.7.1(eslint-plugin-import@2.31.0)(eslint@8.57.1) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-typescript@2.7.1(eslint-plugin-import@2.31.0(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-typescript@2.7.1)(eslint@8.57.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -23857,7 +23857,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@2.7.1(eslint-plugin-import@2.31.0(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@2.7.1(eslint-plugin-import@2.31.0)(eslint@8.57.1))(eslint@8.57.1) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index f775ef38f..51b1738f5 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,5 +1,5 @@ packages: - - examples/starknet-react-next + - examples/next - examples/svelte - packages/* - documentation