From cbdc65b039c053eb19cfe798d69da7275a933a66 Mon Sep 17 00:00:00 2001 From: dschlabach Date: Mon, 27 Jan 2025 09:44:21 -0800 Subject: [PATCH 1/2] fix --- .../templates/next/{.gitignore => _gitignore} | 0 .../nextjs-app-router/onchainkit/package.json | 198 ------------------ 2 files changed, 198 deletions(-) rename create-onchain/templates/next/{.gitignore => _gitignore} (100%) delete mode 100644 playground/nextjs-app-router/onchainkit/package.json diff --git a/create-onchain/templates/next/.gitignore b/create-onchain/templates/next/_gitignore similarity index 100% rename from create-onchain/templates/next/.gitignore rename to create-onchain/templates/next/_gitignore diff --git a/playground/nextjs-app-router/onchainkit/package.json b/playground/nextjs-app-router/onchainkit/package.json deleted file mode 100644 index 425b7c2d82..0000000000 --- a/playground/nextjs-app-router/onchainkit/package.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "name": "@coinbase/onchainkit", - "version": "0.36.7", - "type": "module", - "repository": "https://github.com/coinbase/onchainkit.git", - "license": "MIT", - "scripts": { - "build": "packemon build --addEngines --addFiles --loadConfigs --declaration && npx packemon validate --no-license --no-people --no-repo && tailwindcss -i ./src/styles/index.css -o ./src/tailwind.css --minify && tailwindcss -i ./src/styles/index-with-tailwind.css -o ./src/styles.css --minify", - "check": "biome check --write .", - "check:unsafe": "biome check . --fix --unsafe", - "ci:check": "biome ci --formatter-enabled=false --linter-enabled=false", - "ci:format": "biome ci --linter-enabled=false --organize-imports-enabled=false", - "ci:lint": "biome ci --formatter-enabled=false --organize-imports-enabled=false", - "cp": "cp -R src site/docs/pages", - "dev:watch": "concurrently \"tailwind -i ./src/styles/index-with-tailwind.css -o ./src/styles.css --watch\" \"tsup\"", - "format": "biome format --write .", - "lint": "biome lint --write .", - "lint:unsafe": "biome lint --write --unsafe .", - "storybook:dev": "storybook dev -p 6006", - "storybook:build": "storybook build", - "storybook:test": "test-storybook", - "test": "vitest run", - "test:coverage": "vitest run --coverage", - "test:watch": "vitest", - "test:ui": "vitest --ui", - "release:check": "changeset status --verbose --since=origin/main", - "release:publish": "yarn install && yarn build && changeset publish", - "release:version": "changeset version && yarn install --immutable", - "watch": "tailwind -i ./src/styles/index-with-tailwind.css -o ./src/styles.css --watch", - "watch:tailwind": "tailwind -i ./src/styles/index.css -o ./src/tailwind.css --watch" - }, - "peerDependencies": { - "@types/react": "^18 || ^19", - "react": "^18 || ^19", - "react-dom": "^18 || ^19" - }, - "dependencies": { - "@tanstack/react-query": "^5", - "clsx": "^2.1.1", - "graphql": "^14 || ^15 || ^16", - "graphql-request": "^6.1.0", - "qrcode": "^1.5.4", - "tailwind-merge": "^2.3.0", - "tailwindcss-animate": "^1.0.7", - "viem": "^2.21.33", - "wagmi": "^2.12.24" - }, - "devDependencies": { - "@biomejs/biome": "1.8.3", - "@changesets/cli": "^2.27.10", - "@chromatic-com/storybook": "^1.7.0", - "@storybook/addon-a11y": "^8.2.9", - "@storybook/addon-essentials": "^8.2.9", - "@storybook/addon-interactions": "^8.2.9", - "@storybook/addon-links": "^8.2.9", - "@storybook/blocks": "^8.2.9", - "@storybook/react": "^8.2.9", - "@storybook/react-vite": "^8.2.9", - "@storybook/test": "^8.2.9", - "@storybook/test-runner": "^0.19.1", - "@testing-library/jest-dom": "^6.4.6", - "@testing-library/react": "^14.2.0", - "@types/qrcode": "^1", - "@types/react": "^18", - "@types/react-dom": "^18", - "@vitest/coverage-v8": "^2.0.5", - "@vitest/ui": "^2.0.5", - "autoprefixer": "^10.4.19", - "babel-plugin-module-resolver": "^5.0.2", - "concurrently": "^8.0.0", - "graphql": "^14", - "graphql-request": "^6.1.0", - "jsdom": "^24.1.0", - "packemon": "3.3.1", - "react": "^18", - "react-dom": "^18", - "rimraf": "^5.0.5", - "storybook": "^8.2.9", - "tailwindcss": "^3.4.3", - "tsup": "^8.3.5", - "typescript": "~5.3.3", - "vite": "^5.3.3", - "vitest": "^2.0.5" - }, - "resolutions": { - "react": "npm:react@^18" - }, - "packemon": [ - { - "bundle": false, - "platform": [ - "browser" - ] - } - ], - "publishConfig": { - "access": "public" - }, - "files": [ - "esm/**/*", - "src/", - "src/**/*" - ], - "main": "./esm/index.js", - "types": "./esm/index.d.ts", - "module": "./esm/index.js", - "exports": { - "./package.json": "./package.json", - "./styles.css": "./src/styles.css", - "./tailwind.css": "./src/tailwind.css", - "./theme": "./esm/styles/theme.js", - ".": { - "types": "./esm/index.d.ts", - "module": "./esm/index.js", - "import": "./esm/index.js", - "default": "./esm/index.js" - }, - "./api": { - "types": "./esm/api/index.d.ts", - "module": "./esm/api/index.js", - "import": "./esm/api/index.js", - "default": "./esm/api/index.js" - }, - "./buy": { - "types": "./esm/buy/index.d.ts", - "module": "./esm/buy/index.js", - "import": "./esm/buy/index.js", - "default": "./esm/buy/index.js" - }, - "./checkout": { - "types": "./esm/checkout/index.d.ts", - "module": "./esm/checkout/index.js", - "import": "./esm/checkout/index.js", - "default": "./esm/checkout/index.js" - }, - "./core": { - "types": "./esm/core/index.d.ts", - "module": "./esm/core/index.js", - "import": "./esm/core/index.js", - "default": "./esm/core/index.js" - }, - "./fund": { - "types": "./esm/fund/index.d.ts", - "module": "./esm/fund/index.js", - "import": "./esm/fund/index.js", - "default": "./esm/fund/index.js" - }, - "./identity": { - "types": "./esm/identity/index.d.ts", - "module": "./esm/identity/index.js", - "import": "./esm/identity/index.js", - "default": "./esm/identity/index.js" - }, - "./nft": { - "types": "./esm/ui/react/nft/index.d.ts", - "module": "./esm/ui/react/nft/index.js", - "import": "./esm/ui/react/nft/index.js", - "default": "./esm/ui/react/nft/index.js" - }, - "./nft/view": { - "types": "./esm/ui/react/nft/view/index.d.ts", - "module": "./esm/ui/react/nft/view/index.js", - "import": "./esm/ui/react/nft/view/index.js", - "default": "./esm/ui/react/nft/view/index.js" - }, - "./nft/mint": { - "types": "./esm/ui/react/nft/mint/index.d.ts", - "module": "./esm/ui/react/nft/mint/index.js", - "import": "./esm/ui/react/nft/mint/index.js", - "default": "./esm/ui/react/nft/mint/index.js" - }, - "./swap": { - "types": "./esm/swap/index.d.ts", - "module": "./esm/swap/index.js", - "import": "./esm/swap/index.js", - "default": "./esm/swap/index.js" - }, - "./token": { - "types": "./esm/token/index.d.ts", - "module": "./esm/token/index.js", - "import": "./esm/token/index.js", - "default": "./esm/token/index.js" - }, - "./transaction": { - "types": "./esm/transaction/index.d.ts", - "module": "./esm/transaction/index.js", - "import": "./esm/transaction/index.js", - "default": "./esm/transaction/index.js" - }, - "./wallet": { - "types": "./esm/wallet/index.d.ts", - "module": "./esm/wallet/index.js", - "import": "./esm/wallet/index.js", - "default": "./esm/wallet/index.js" - } - }, - "packageManager": "yarn@4.0.2" -} From 0098e62b90da81585ca425723558ceea65a9acfc Mon Sep 17 00:00:00 2001 From: dschlabach Date: Mon, 27 Jan 2025 10:22:54 -0800 Subject: [PATCH 2/2] bump ver --- create-onchain/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-onchain/package.json b/create-onchain/package.json index 25605b691c..9933d9c9b9 100644 --- a/create-onchain/package.json +++ b/create-onchain/package.json @@ -1,7 +1,7 @@ { "name": "create-onchain", "description": "Instantly create onchain applications with OnchainKit.", - "version": "0.0.14", + "version": "0.0.16", "license": "MIT", "scripts": { "build": "bun run clean && bun run build:esm+types",