{"id":28792997,"url":"https://github.com/kurone-kito/heroo","last_synced_at":"2025-09-13T12:26:17.317Z","repository":{"id":168062056,"uuid":"622964469","full_name":"kurone-kito/heroo","owner":"kurone-kito","description":"The practice to Web form; since 2023.4","archived":false,"fork":false,"pushed_at":"2025-06-29T07:23:43.000Z","size":880,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-29T07:36:56.110Z","etag":null,"topics":["empty","yet"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kurone-kito.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.ja.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.ja.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-04-03T12:26:32.000Z","updated_at":"2025-06-11T15:12:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"2deb97aa-6b87-4733-9120-35dc32cad194","html_url":"https://github.com/kurone-kito/heroo","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"775a7801dedab32d55a52d280bd1a82ce44435b4"},"previous_names":["kurone-kito/vrc-nyan","kurone-kito/heroo"],"tags_count":0,"template":false,"template_full_name":"kurone-kito/yarn-project-boilerplate","purl":"pkg:github/kurone-kito/heroo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurone-kito%2Fheroo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurone-kito%2Fheroo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurone-kito%2Fheroo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurone-kito%2Fheroo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kurone-kito","download_url":"https://codeload.github.com/kurone-kito/heroo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurone-kito%2Fheroo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274958875,"owners_count":25381228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["empty","yet"],"created_at":"2025-06-18T01:03:50.237Z","updated_at":"2025-09-13T12:26:17.303Z","avatar_url":"https://github.com/kurone-kito.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📄 Yarn project boilerplate\n\n## Features\n\n- Yarn with PnP\n- TypeScript\n- ESLint\n- Prettier\n- Visual Studio Code / Vim ready\n- CI / CD configurations\n  - Dependabot\n  - GitHub Actions\n\n## System Requirements\n\n- Node.js Fermium LTS (`^14.21.3`)\n- Yarn (`\u003e=2.4.3`)\n\n## Install the dependencies\n\n```sh\nyarn install\n```\n\n## Linting\n\n```sh\nyarn run lint\nyarn run lint:fix # Lint and auto-fix\n```\n\n## Testing\n\n```sh\nyarn run test\n```\n\nCurrently, the command works as an alias for the `yarn run lint` command.\n\n## Cleaning\n\n```sh\nyarn run clean\n```\n\n## Migrate to NPM\n\n### 1. Remove following files\n\n- `.yarn/`\n- `.yarnrc.yml`\n- `yarn.lock`\n\n### 2. Apply the following patches\n\n```diff\n--- a/.github/workflows/push.yml\n+++ b/.github/workflows/push.yml\n@@ -13,16 +13,14 @@ jobs:\n       - name: Prepare the Node.js version ${{ matrix.node-version }} environment\n         uses: actions/setup-node@v2\n         with:\n-          cache: ${{ !env.ACT \u0026\u0026 'yarn' || '' }}\n+          cache: ${{ !env.ACT \u0026\u0026 'npm' || '' }}\n           node-version: ${{ matrix.node-version }}\n-      - name: Install the Yarn\n-        run: npm install --global yarn@berry\n+      - name: set npm config\n+        run: npm config set unsafe-perm true\n       - env:\n           HUSKY: 0\n         name: Install the dependencies\n-        run: yarn install --inline-builds\n+        run: npm ci\n       - name: Run the tests\n-        run: yarn run test\n+        run: npm test\n     strategy:\n       matrix:\n         node-version:\n```\n\n```diff\n--- a/.husky/commit-msg\n+++ b/.husky/commit-msg\n@@ -4,4 +4,4 @@\n\n . \"$(dirname \"$0\")/_/husky.sh\"\n\n-yarn exec commitlint --edit \"${1}\"\n+npx --no-install commitlint --edit \"${1}\"\n```\n\n```diff\n--- a/.husky/pre-commit\n+++ b/.husky/pre-commit\n@@ -4,4 +4,4 @@\n\n . \"$(dirname \"$0\")/_/husky.sh\"\n\n-yarn exec pretty-quick --staged\n+npx --no-install pretty-quick --staged\n```\n\n```diff\n--- a/.vim/coc-settings.json\n+++ b/.vim/coc-settings.json\n@@ -1,6 +1,4 @@\n {\n-  \"eslint.nodePath\": \".yarn/sdks\",\n-  \"eslint.packageManager\": \"yarn\",\n-  \"tsserver.tsdk\": \".yarn/sdks/typescript/lib\",\n+  \"tsserver.tsdk\": \"node_modules/typescript/lib\",\n   \"workspace.workspaceFolderCheckCwd\": false\n }\n```\n\n```diff\n--- a/.vscode/settings.json\n+++ b/.vscode/settings.json\n@@ -1,11 +1,6 @@\n {\n-  \"eslint.nodePath\": \".yarn/sdks\",\n-  \"eslint.packageManager\": \"yarn\",\n   \"files.watcherExclude\": {\n-    \"**/.eslintcache\": true,\n-    \"**/.pnp.*\": true,\n-    \"**/.yarn/cache/**\": true,\n-    \"**/.yarn/unplugged/**\": true\n+    \"**/.eslintcache\": true\n   },\n   \"json.schemas\": [\n     {\n@@ -13,11 +8,6 @@\n       \"url\": \"https://raw.githubusercontent.com/streetsidesoftware/cspell/main/packages/cspell-types/cspell.schema.json\"\n     }\n   ],\n-  \"prettier.prettierPath\": \".yarn/sdks/prettier/index.js\",\n-  \"search.exclude\": {\n-    \"**/.pnp.*\": true,\n-    \"**/.yarn\": true\n-  },\n   \"typescript.enablePromptUseWorkspaceTsdk\": true,\n-  \"typescript.tsdk\": \".yarn/sdks/typescript/lib\"\n+  \"typescript.tsdk\": \"node_modules/typescript/lib\"\n }\n```\n\n```diff\n--- a/cspell.config.yml\n+++ b/cspell.config.yml\n@@ -15,10 +15,8 @@ ignorePaths:\n   - .git/objects\n   - .github/CODE_OF_CONDUCT.*\n   - .vscode\n-  - .yarn\n   - cspell.config.yml\n   - node_modules\n-  - yarn.lock\n ignoreWords:\n   - kito\n   - kurone\n```\n\n```diff\n--- a/package.json\n+++ b/package.json\n@@ -15,15 +15,15 @@\n   \"files\": [],\n   \"scripts\": {\n     \"clean\": \"rimraf -g \\\".eslintcache\\\" \\\"*.tgz\\\" \\\"*.tsbuildinfo\\\"\",\n-    \"postinstall\": \"husky install\",\n-    \"lint\": \"conc -m 1 \\\"yarn:lint:*:check\\\"\",\n+    \"lint\": \"conc -m 1 \\\"npm:lint:*:check\\\"\",\n     \"lint:eslint:check\": \"eslint --cache --cache-strategy=content -f codeframe \\\"./**/*\\\"\",\n-    \"lint:eslint:fix\": \"yarn run lint:eslint:check --fix\",\n-    \"lint:fix\": \"conc -m 1 \\\"yarn:lint:*:fix\\\"\",\n-    \"lint:prettier:check\": \"yarn run prettier -cu\",\n-    \"lint:prettier:fix\": \"yarn run prettier -uw\",\n-    \"prettier\": \"prettier --cache --loglevel=warn \\\"$@\\\" \\\"./**/*\\\"\",\n-    \"test\": \"yarn run lint\"\n+    \"lint:eslint:fix\": \"npm run lint:eslint:check -- --fix\",\n+    \"lint:fix\": \"conc -m 1 \\\"npm:lint:*:fix\\\"\",\n+    \"lint:prettier:check\": \"npm run prettier -- -cu\",\n+    \"lint:prettier:fix\": \"npm run prettier -- -uw\",\n+    \"prepare\": \"husky install\",\n+    \"prettier\": \"prettier --cache --loglevel=warn \\\"./**/*\\\"\",\n+    \"test\": \"npm run lint\"\n   },\n   \"prettier\": \"@kurone-kito/prettier-config\",\n   \"devDependencies\": {\n@@ -35,7 +35,6 @@\n     \"@kurone-kito/typescript-config\": \"^0.1.2\",\n     \"@typescript-eslint/eslint-plugin\": \"^5.56.0\",\n     \"@typescript-eslint/parser\": \"^5.56.0\",\n-    \"@yarnpkg/sdks\": \"^3.0.0-rc.40\",\n     \"concurrently\": \"^7.6.0\",\n     \"eslint\": \"^8.36.0\",\n     \"eslint-config-airbnb-typescript\": \"^17.0.0\",\n@@ -60,10 +59,8 @@\n     \"typescript\": \"~5.0.2\",\n     \"typescript-eslint-language-service\": \"^5.0.0\"\n   },\n-  \"packageManager\": \"yarn@3.5.0\",\n   \"engines\": {\n-    \"node\": \"\u003e=14.21\",\n-    \"yarn\": \"\u003e=2.4.3\"\n+    \"node\": \"\u003e=14.21\"\n   },\n   \"publishConfig\": {\n     \"access\": \"public\"\n```\n\n### 3. Run following command\n\n```sh\nnpm install\ngit add -A\ngit commit -m \"feat: migrate to NPM from Yarn\"\n```\n\n## Rules for Development\n\nIntroduce commit message validation at commit time.\n“**[Conventional Commits](https://www.conventionalcommits.org/ja/)**”\nrule is applied to discourage committing messages that violate conventions.\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkurone-kito%2Fheroo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkurone-kito%2Fheroo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkurone-kito%2Fheroo/lists"}