@d-zero/create-frontend 5.1.0 → 5.1.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,20 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.1.1-alpha.1](https://github.com/d-zero-dev/frontend-env/compare/v5.1.1-alpha.0...v5.1.1-alpha.1) (2026-04-10)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **create-frontend:** inject postinstall husky in package.json transform ([801c23b](https://github.com/d-zero-dev/frontend-env/commit/801c23b98a6cb670690b9901480abab682ebd7ca))
11
+ - **create-frontend:** remove ineffective dependenciesMeta for @d-zero/scaffold ([ff530a3](https://github.com/d-zero-dev/frontend-env/commit/ff530a32a3cf36f8206a614a941a78c443632da4))
12
+ - **create-frontend:** rewrite prepare to postinstall in package.json transform ([ae01a0b](https://github.com/d-zero-dev/frontend-env/commit/ae01a0b10289bc36a2c2d72b87e3d05a520b586b))
13
+
14
+ ## [5.1.1-alpha.0](https://github.com/d-zero-dev/frontend-env/compare/v5.1.0...v5.1.1-alpha.0) (2026-04-09)
15
+
16
+ ### Bug Fixes
17
+
18
+ - **create-frontend:** skip scaffold install scripts when installed as dependency ([beb17f5](https://github.com/d-zero-dev/frontend-env/commit/beb17f57eb37e1dc1472b33fea3fc7510f36588e))
19
+
6
20
  # [5.1.0](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0...v5.1.0) (2026-04-08)
7
21
 
8
22
  ### Bug Fixes
package/README.md CHANGED
@@ -65,3 +65,9 @@ yarn create @d-zero/frontend --type basercms4 --dir ./my-cms --no-install
65
65
  オプションを指定せずにコマンドを実行すると、対話モードが開始され、プロジェクトを段階的に設定できます。
66
66
 
67
67
  インストールで展開されるファイルは[`@d-zero/scaffold`](https://github.com/d-zero-dev/frontend-env/blob/main/packages/%40d-zero/scaffold/)に格納されています。
68
+
69
+ スキャフォールディング処理の中で、生成されるプロジェクトの `package.json` に次の変更が加えられます:
70
+
71
+ - `postinstall: "husky"` スクリプトが追加される
72
+
73
+ これにより、`yarn install` 実行時(`--install` オプション有効時はスキャフォールディング直後)に Husky の Git フックが自動的に設定されます。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-zero/create-frontend",
3
- "version": "5.1.0",
3
+ "version": "5.1.1-alpha.1",
4
4
  "description": "Create a new frontend project from a scaffolding template",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@d-zero/prettier-config": "5.0.0",
21
- "@d-zero/scaffold": "5.1.0",
21
+ "@d-zero/scaffold": "5.1.1-alpha.1",
22
22
  "i18n-js": "4.5.2",
23
23
  "ignore": "7.0.5",
24
24
  "magicast": "0.5.2",
@@ -31,5 +31,5 @@
31
31
  "@types/node": "25.3.3",
32
32
  "execa": "9.6.1"
33
33
  },
34
- "gitHead": "24532c43d0a5e542e0ce8cb6a16653583ac40a5d"
34
+ "gitHead": "48c2eeb5d0d516366a0de15f3e29f6e7c576018e"
35
35
  }
package/plopfile.js CHANGED
@@ -228,6 +228,7 @@ export default async function (plop) {
228
228
  pkg.dependencies['jquery'] = 'latest';
229
229
  pkg.dependencies['jquery-colorbox'] = '1.5';
230
230
  }
231
+ pkg.scripts.postinstall = 'husky';
231
232
  content = JSON.stringify(pkg, null, '\t');
232
233
  break;
233
234
  }