From 063825eecb1d3ec341a939a25f501c1dd6ce2adb Mon Sep 17 00:00:00 2001 From: ryohidaka <39184410+ryohidaka@users.noreply.github.com> Date: Fri, 9 Jan 2026 19:47:35 +0900 Subject: [PATCH] style: format package.json --- full-react-css-modules/package.json | 134 ++++++++--------- full-react-css-modules/test/ui/package.json | 32 ++-- full-react-pure-css/package.json | 134 ++++++++--------- full-react-pure-css/test/ui/package.json | 32 ++-- full-react-tailwindcss/package.json | 138 +++++++++--------- full-react-tailwindcss/test/ui/package.json | 32 ++-- full-ts-monorepo/package.json | 76 +++++----- .../[first_package_name]/package.json | 70 ++++----- full-ts/package.json | 116 +++++++-------- 9 files changed, 382 insertions(+), 382 deletions(-) diff --git a/full-react-css-modules/package.json b/full-react-css-modules/package.json index c029cf7..d07ddcb 100644 --- a/full-react-css-modules/package.json +++ b/full-react-css-modules/package.json @@ -1,69 +1,69 @@ { - "name": "[project_name]", - "version": "0.1.0", - "description": "[project_description]", - "homepage": "https://github.com/[username]/[repo_name]#readme", - "bugs": { - "url": "https://github.com/[username]/[repo_name]/issues" - }, - "license": "MIT", - "files": [ - "dist" - ], - "repository": { - "type": "git", - "url": "git+https://github.com/[username]/[repo_name].git" - }, - "scripts": { - "build": "bunup", - "dev": "bun run --cwd test/ui dev", - "postinstall": "bun simple-git-hooks", - "lint": "biome check .", - "lint:fix": "biome check --write .", - "release": "bumpp --commit --push --tag", - "test": "bun test", - "test:coverage": "bun test --coverage", - "test:watch": "bun test --watch", - "type-check": "tsc --noEmit" - }, - "devDependencies": { - "@biomejs/biome": "^2.3.11", - "@types/bun": "^1.3.5", - "@types/react": "^19.2.7", - "bumpp": "^10.3.2", - "bunup": "^0.16.17", - "react": "^19.2.3", - "react-dom": "^19.2.3", - "simple-git-hooks": "^2.13.1", - "typescript": "^5.9.3" - }, - "peerDependencies": { - "react": "^18.0.0 || ^19.0.0", - "react-dom": "^18.0.0 || ^19.0.0", - "typescript": ">=4.5.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - }, - "workspaces": [ - "test/**" - ], - "type": "module", - "exports": { - ".": { - "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } - }, - "./styles.css": "./dist/index.css", - "./package.json": "./package.json" - }, - "module": "./dist/index.js", - "simple-git-hooks": { - "pre-commit": "bun run lint && bun run type-check" - }, - "types": "./dist/index.d.ts" + "name": "[project_name]", + "version": "0.1.0", + "description": "[project_description]", + "homepage": "https://github.com/[username]/[repo_name]#readme", + "bugs": { + "url": "https://github.com/[username]/[repo_name]/issues" + }, + "license": "MIT", + "files": [ + "dist" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/[username]/[repo_name].git" + }, + "scripts": { + "build": "bunup", + "dev": "bun run --cwd test/ui dev", + "postinstall": "bun simple-git-hooks", + "lint": "biome check .", + "lint:fix": "biome check --write .", + "release": "bumpp --commit --push --tag", + "test": "bun test", + "test:coverage": "bun test --coverage", + "test:watch": "bun test --watch", + "type-check": "tsc --noEmit" + }, + "devDependencies": { + "@biomejs/biome": "^2.3.11", + "@types/bun": "^1.3.5", + "@types/react": "^19.2.7", + "bumpp": "^10.3.2", + "bunup": "^0.16.17", + "react": "^19.2.3", + "react-dom": "^19.2.3", + "simple-git-hooks": "^2.13.1", + "typescript": "^5.9.3" + }, + "peerDependencies": { + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0", + "typescript": ">=4.5.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + }, + "workspaces": [ + "test/**" + ], + "type": "module", + "exports": { + ".": { + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + }, + "./styles.css": "./dist/index.css", + "./package.json": "./package.json" + }, + "module": "./dist/index.js", + "simple-git-hooks": { + "pre-commit": "bun run lint && bun run type-check" + }, + "types": "./dist/index.d.ts" } diff --git a/full-react-css-modules/test/ui/package.json b/full-react-css-modules/test/ui/package.json index 23302cf..448ecc5 100644 --- a/full-react-css-modules/test/ui/package.json +++ b/full-react-css-modules/test/ui/package.json @@ -1,18 +1,18 @@ { - "name": "[project_name]-test-ui", - "version": "0.1.0", - "scripts": { - "dev": "bun --hot --watch index.tsx" - }, - "dependencies": { - "react": "^19.1.1", - "react-dom": "^19.1.1" - }, - "devDependencies": { - "@types/bun": "^1.2.23", - "@types/react": "^19.1.15", - "@types/react-dom": "^19.1.9" - }, - "private": true, - "type": "module" + "name": "[project_name]-test-ui", + "version": "0.1.0", + "scripts": { + "dev": "bun --hot --watch index.tsx" + }, + "dependencies": { + "react": "^19.1.1", + "react-dom": "^19.1.1" + }, + "devDependencies": { + "@types/bun": "^1.2.23", + "@types/react": "^19.1.15", + "@types/react-dom": "^19.1.9" + }, + "private": true, + "type": "module" } diff --git a/full-react-pure-css/package.json b/full-react-pure-css/package.json index c029cf7..d07ddcb 100644 --- a/full-react-pure-css/package.json +++ b/full-react-pure-css/package.json @@ -1,69 +1,69 @@ { - "name": "[project_name]", - "version": "0.1.0", - "description": "[project_description]", - "homepage": "https://github.com/[username]/[repo_name]#readme", - "bugs": { - "url": "https://github.com/[username]/[repo_name]/issues" - }, - "license": "MIT", - "files": [ - "dist" - ], - "repository": { - "type": "git", - "url": "git+https://github.com/[username]/[repo_name].git" - }, - "scripts": { - "build": "bunup", - "dev": "bun run --cwd test/ui dev", - "postinstall": "bun simple-git-hooks", - "lint": "biome check .", - "lint:fix": "biome check --write .", - "release": "bumpp --commit --push --tag", - "test": "bun test", - "test:coverage": "bun test --coverage", - "test:watch": "bun test --watch", - "type-check": "tsc --noEmit" - }, - "devDependencies": { - "@biomejs/biome": "^2.3.11", - "@types/bun": "^1.3.5", - "@types/react": "^19.2.7", - "bumpp": "^10.3.2", - "bunup": "^0.16.17", - "react": "^19.2.3", - "react-dom": "^19.2.3", - "simple-git-hooks": "^2.13.1", - "typescript": "^5.9.3" - }, - "peerDependencies": { - "react": "^18.0.0 || ^19.0.0", - "react-dom": "^18.0.0 || ^19.0.0", - "typescript": ">=4.5.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - }, - "workspaces": [ - "test/**" - ], - "type": "module", - "exports": { - ".": { - "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } - }, - "./styles.css": "./dist/index.css", - "./package.json": "./package.json" - }, - "module": "./dist/index.js", - "simple-git-hooks": { - "pre-commit": "bun run lint && bun run type-check" - }, - "types": "./dist/index.d.ts" + "name": "[project_name]", + "version": "0.1.0", + "description": "[project_description]", + "homepage": "https://github.com/[username]/[repo_name]#readme", + "bugs": { + "url": "https://github.com/[username]/[repo_name]/issues" + }, + "license": "MIT", + "files": [ + "dist" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/[username]/[repo_name].git" + }, + "scripts": { + "build": "bunup", + "dev": "bun run --cwd test/ui dev", + "postinstall": "bun simple-git-hooks", + "lint": "biome check .", + "lint:fix": "biome check --write .", + "release": "bumpp --commit --push --tag", + "test": "bun test", + "test:coverage": "bun test --coverage", + "test:watch": "bun test --watch", + "type-check": "tsc --noEmit" + }, + "devDependencies": { + "@biomejs/biome": "^2.3.11", + "@types/bun": "^1.3.5", + "@types/react": "^19.2.7", + "bumpp": "^10.3.2", + "bunup": "^0.16.17", + "react": "^19.2.3", + "react-dom": "^19.2.3", + "simple-git-hooks": "^2.13.1", + "typescript": "^5.9.3" + }, + "peerDependencies": { + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0", + "typescript": ">=4.5.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + }, + "workspaces": [ + "test/**" + ], + "type": "module", + "exports": { + ".": { + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + }, + "./styles.css": "./dist/index.css", + "./package.json": "./package.json" + }, + "module": "./dist/index.js", + "simple-git-hooks": { + "pre-commit": "bun run lint && bun run type-check" + }, + "types": "./dist/index.d.ts" } diff --git a/full-react-pure-css/test/ui/package.json b/full-react-pure-css/test/ui/package.json index 23302cf..448ecc5 100644 --- a/full-react-pure-css/test/ui/package.json +++ b/full-react-pure-css/test/ui/package.json @@ -1,18 +1,18 @@ { - "name": "[project_name]-test-ui", - "version": "0.1.0", - "scripts": { - "dev": "bun --hot --watch index.tsx" - }, - "dependencies": { - "react": "^19.1.1", - "react-dom": "^19.1.1" - }, - "devDependencies": { - "@types/bun": "^1.2.23", - "@types/react": "^19.1.15", - "@types/react-dom": "^19.1.9" - }, - "private": true, - "type": "module" + "name": "[project_name]-test-ui", + "version": "0.1.0", + "scripts": { + "dev": "bun --hot --watch index.tsx" + }, + "dependencies": { + "react": "^19.1.1", + "react-dom": "^19.1.1" + }, + "devDependencies": { + "@types/bun": "^1.2.23", + "@types/react": "^19.1.15", + "@types/react-dom": "^19.1.9" + }, + "private": true, + "type": "module" } diff --git a/full-react-tailwindcss/package.json b/full-react-tailwindcss/package.json index 64af537..3717ab3 100644 --- a/full-react-tailwindcss/package.json +++ b/full-react-tailwindcss/package.json @@ -1,71 +1,71 @@ { - "name": "[project_name]", - "version": "0.1.0", - "description": "[project_description]", - "homepage": "https://github.com/[username]/[repo_name]#readme", - "bugs": { - "url": "https://github.com/[username]/[repo_name]/issues" - }, - "license": "MIT", - "files": [ - "dist" - ], - "repository": { - "type": "git", - "url": "git+https://github.com/[username]/[repo_name].git" - }, - "scripts": { - "build": "bunup", - "dev": "bun run --cwd test/ui dev", - "postinstall": "bun simple-git-hooks", - "lint": "biome check .", - "lint:fix": "biome check --write .", - "release": "bumpp --commit --push --tag", - "test": "bun test", - "test:coverage": "bun test --coverage", - "test:watch": "bun test --watch", - "type-check": "tsc --noEmit" - }, - "devDependencies": { - "@biomejs/biome": "^2.3.11", - "@bunup/plugin-tailwindcss": "^0.16.17", - "@types/bun": "^1.3.5", - "@types/react": "^19.2.7", - "bumpp": "^10.3.2", - "bunup": "^0.16.17", - "react": "^19.2.3", - "react-dom": "^19.2.3", - "simple-git-hooks": "^2.13.1", - "tailwindcss": "^4.1.18", - "typescript": "^5.9.3" - }, - "peerDependencies": { - "react": "^18.0.0 || ^19.0.0", - "react-dom": "^18.0.0 || ^19.0.0", - "typescript": ">=4.5.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - }, - "workspaces": [ - "test/**" - ], - "type": "module", - "exports": { - ".": { - "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } - }, - "./styles.css": "./dist/index.css", - "./package.json": "./package.json" - }, - "module": "./dist/index.js", - "simple-git-hooks": { - "pre-commit": "bun run lint && bun run type-check" - }, - "types": "./dist/index.d.ts" + "name": "[project_name]", + "version": "0.1.0", + "description": "[project_description]", + "homepage": "https://github.com/[username]/[repo_name]#readme", + "bugs": { + "url": "https://github.com/[username]/[repo_name]/issues" + }, + "license": "MIT", + "files": [ + "dist" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/[username]/[repo_name].git" + }, + "scripts": { + "build": "bunup", + "dev": "bun run --cwd test/ui dev", + "postinstall": "bun simple-git-hooks", + "lint": "biome check .", + "lint:fix": "biome check --write .", + "release": "bumpp --commit --push --tag", + "test": "bun test", + "test:coverage": "bun test --coverage", + "test:watch": "bun test --watch", + "type-check": "tsc --noEmit" + }, + "devDependencies": { + "@biomejs/biome": "^2.3.11", + "@bunup/plugin-tailwindcss": "^0.16.17", + "@types/bun": "^1.3.5", + "@types/react": "^19.2.7", + "bumpp": "^10.3.2", + "bunup": "^0.16.17", + "react": "^19.2.3", + "react-dom": "^19.2.3", + "simple-git-hooks": "^2.13.1", + "tailwindcss": "^4.1.18", + "typescript": "^5.9.3" + }, + "peerDependencies": { + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0", + "typescript": ">=4.5.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + }, + "workspaces": [ + "test/**" + ], + "type": "module", + "exports": { + ".": { + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + }, + "./styles.css": "./dist/index.css", + "./package.json": "./package.json" + }, + "module": "./dist/index.js", + "simple-git-hooks": { + "pre-commit": "bun run lint && bun run type-check" + }, + "types": "./dist/index.d.ts" } diff --git a/full-react-tailwindcss/test/ui/package.json b/full-react-tailwindcss/test/ui/package.json index 23302cf..448ecc5 100644 --- a/full-react-tailwindcss/test/ui/package.json +++ b/full-react-tailwindcss/test/ui/package.json @@ -1,18 +1,18 @@ { - "name": "[project_name]-test-ui", - "version": "0.1.0", - "scripts": { - "dev": "bun --hot --watch index.tsx" - }, - "dependencies": { - "react": "^19.1.1", - "react-dom": "^19.1.1" - }, - "devDependencies": { - "@types/bun": "^1.2.23", - "@types/react": "^19.1.15", - "@types/react-dom": "^19.1.9" - }, - "private": true, - "type": "module" + "name": "[project_name]-test-ui", + "version": "0.1.0", + "scripts": { + "dev": "bun --hot --watch index.tsx" + }, + "dependencies": { + "react": "^19.1.1", + "react-dom": "^19.1.1" + }, + "devDependencies": { + "@types/bun": "^1.2.23", + "@types/react": "^19.1.15", + "@types/react-dom": "^19.1.9" + }, + "private": true, + "type": "module" } diff --git a/full-ts-monorepo/package.json b/full-ts-monorepo/package.json index 37a3ce4..0a18a9f 100644 --- a/full-ts-monorepo/package.json +++ b/full-ts-monorepo/package.json @@ -1,40 +1,40 @@ { - "name": "[project_name]-monorepo", - "homepage": "https://github.com/[username]/[repo_name]#readme", - "bugs": { - "url": "https://github.com/[username]/[repo_name]/issues" - }, - "license": "MIT", - "repository": { - "type": "git", - "url": "git+https://github.com/[username]/[repo_name].git" - }, - "scripts": { - "build": "bunup", - "dev": "bunup --watch", - "postinstall": "bun simple-git-hooks", - "lint": "biome check .", - "lint:fix": "biome check --write .", - "release": "bumpp -r --commit --push --tag", - "test": "bun test", - "test:coverage": "bun test --coverage", - "test:watch": "bun test --watch", - "type-check": "bun run --filter '*' type-check" - }, - "devDependencies": { - "@biomejs/biome": "^2.3.11", - "@types/bun": "^1.3.5", - "bumpp": "^10.3.2", - "bunup": "^0.16.17", - "simple-git-hooks": "^2.13.1", - "typescript": "^5.9.3" - }, - "private": true, - "workspaces": [ - "packages/*" - ], - "type": "module", - "simple-git-hooks": { - "pre-commit": "bun run lint && bun run type-check" - } + "name": "[project_name]-monorepo", + "homepage": "https://github.com/[username]/[repo_name]#readme", + "bugs": { + "url": "https://github.com/[username]/[repo_name]/issues" + }, + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/[username]/[repo_name].git" + }, + "scripts": { + "build": "bunup", + "dev": "bunup --watch", + "postinstall": "bun simple-git-hooks", + "lint": "biome check .", + "lint:fix": "biome check --write .", + "release": "bumpp -r --commit --push --tag", + "test": "bun test", + "test:coverage": "bun test --coverage", + "test:watch": "bun test --watch", + "type-check": "bun run --filter '*' type-check" + }, + "devDependencies": { + "@biomejs/biome": "^2.3.11", + "@types/bun": "^1.3.5", + "bumpp": "^10.3.2", + "bunup": "^0.16.17", + "simple-git-hooks": "^2.13.1", + "typescript": "^5.9.3" + }, + "private": true, + "workspaces": [ + "packages/*" + ], + "type": "module", + "simple-git-hooks": { + "pre-commit": "bun run lint && bun run type-check" + } } diff --git a/full-ts-monorepo/packages/[first_package_name]/package.json b/full-ts-monorepo/packages/[first_package_name]/package.json index a047d8f..55b9072 100644 --- a/full-ts-monorepo/packages/[first_package_name]/package.json +++ b/full-ts-monorepo/packages/[first_package_name]/package.json @@ -1,37 +1,37 @@ { - "name": "[first_package_name]", - "version": "0.1.0", - "description": "[project_description]", - "homepage": "https://github.com/[username]/[repo_name]/tree/main/packages/[first_package_name]#readme", - "license": "MIT", - "files": [ - "dist" - ], - "repository": { - "type": "git", - "url": "git+https://github.com/[username]/[repo_name].git" - }, - "scripts": { - "type-check": "tsc --noEmit" - }, - "peerDependencies": { - "typescript": ">=4.5.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - }, - "type": "module", - "exports": { - ".": { - "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } - }, - "./package.json": "./package.json" - }, - "module": "./dist/index.js", - "types": "./dist/index.d.ts" + "name": "[first_package_name]", + "version": "0.1.0", + "description": "[project_description]", + "homepage": "https://github.com/[username]/[repo_name]/tree/main/packages/[first_package_name]#readme", + "license": "MIT", + "files": [ + "dist" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/[username]/[repo_name].git" + }, + "scripts": { + "type-check": "tsc --noEmit" + }, + "peerDependencies": { + "typescript": ">=4.5.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + }, + "type": "module", + "exports": { + ".": { + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + }, + "./package.json": "./package.json" + }, + "module": "./dist/index.js", + "types": "./dist/index.d.ts" } diff --git a/full-ts/package.json b/full-ts/package.json index 16af088..d0031ac 100644 --- a/full-ts/package.json +++ b/full-ts/package.json @@ -1,60 +1,60 @@ { - "name": "[project_name]", - "version": "0.1.0", - "description": "[project_description]", - "homepage": "https://github.com/[username]/[repo_name]#readme", - "bugs": { - "url": "https://github.com/[username]/[repo_name]/issues" - }, - "license": "MIT", - "files": [ - "dist" - ], - "repository": { - "type": "git", - "url": "git+https://github.com/[username]/[repo_name].git" - }, - "scripts": { - "build": "bunup", - "dev": "bunup --watch", - "postinstall": "bun simple-git-hooks", - "lint": "biome check .", - "lint:fix": "biome check --write .", - "release": "bumpp --commit --push --tag", - "test": "bun test", - "test:coverage": "bun test --coverage", - "test:watch": "bun test --watch", - "type-check": "tsc --noEmit" - }, - "devDependencies": { - "@biomejs/biome": "^2.3.11", - "@types/bun": "^1.3.5", - "bumpp": "^10.3.2", - "bunup": "^0.16.17", - "simple-git-hooks": "^2.13.1", - "typescript": "^5.9.3" - }, - "peerDependencies": { - "typescript": ">=4.5.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - }, - "type": "module", - "exports": { - ".": { - "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } - }, - "./package.json": "./package.json" - }, - "module": "./dist/index.js", - "simple-git-hooks": { - "pre-commit": "bun run lint && bun run type-check" - }, - "types": "./dist/index.d.ts" + "name": "[project_name]", + "version": "0.1.0", + "description": "[project_description]", + "homepage": "https://github.com/[username]/[repo_name]#readme", + "bugs": { + "url": "https://github.com/[username]/[repo_name]/issues" + }, + "license": "MIT", + "files": [ + "dist" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/[username]/[repo_name].git" + }, + "scripts": { + "build": "bunup", + "dev": "bunup --watch", + "postinstall": "bun simple-git-hooks", + "lint": "biome check .", + "lint:fix": "biome check --write .", + "release": "bumpp --commit --push --tag", + "test": "bun test", + "test:coverage": "bun test --coverage", + "test:watch": "bun test --watch", + "type-check": "tsc --noEmit" + }, + "devDependencies": { + "@biomejs/biome": "^2.3.11", + "@types/bun": "^1.3.5", + "bumpp": "^10.3.2", + "bunup": "^0.16.17", + "simple-git-hooks": "^2.13.1", + "typescript": "^5.9.3" + }, + "peerDependencies": { + "typescript": ">=4.5.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + }, + "type": "module", + "exports": { + ".": { + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + }, + "./package.json": "./package.json" + }, + "module": "./dist/index.js", + "simple-git-hooks": { + "pre-commit": "bun run lint && bun run type-check" + }, + "types": "./dist/index.d.ts" }