Skip to content

Commit c0bc3d1

Browse files
authored
fix: pnpm ci generator bugs (#392)
* 🐛 copy eslint.config.js * 🐛 install cz-emoji
1 parent 8fbe6fe commit c0bc3d1

File tree

3 files changed

+21
-12
lines changed

3 files changed

+21
-12
lines changed

.changeset/calm-actors-report.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@aiou/generator-pnpm-ci": patch
3+
---
4+
5+
failed copy eslint.config.js

.changeset/heavy-ties-thank.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@aiou/generator-pnpm-ci": patch
3+
---
4+
5+
config package.json install cz-emoji

packages/generators/pnpm-ci/index.yaml

+11-12
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
output: .github/workflows
2626
lint:
2727
name: Setup eslint
28-
paths: .neo/**/assets/eslint/.*
28+
paths: .neo/**/assets/eslint/eslint.config.js
2929
steps:
3030
- name: ESLint
3131
uses: copy
@@ -114,16 +114,6 @@ jobs:
114114
pairs:
115115
- path: "scripts.prepare"
116116
value: "husky install"
117-
commitizen:
118-
paths: .git
119-
name: Setup Commitizen
120-
steps:
121-
- name: Add cz-emoji
122-
uses: json-editor
123-
with:
124-
pairs:
125-
- path: "devDependencies.cz-emoji"
126-
value: "^1.3.1"
127117
config commitizen:
128118
paths: .neo/**/assets/cz-emoji/.czrc
129119
name: Setup Commitizen
@@ -132,4 +122,13 @@ jobs:
132122
uses: copy
133123
with:
134124
output: .
135-
125+
cz-emoji:
126+
paths: package.json
127+
name: Install cz-emoji
128+
steps:
129+
- name: Add cz-emoji
130+
uses: json-editor
131+
with:
132+
pairs:
133+
- path: "devDependencies.cz-emoji"
134+
value: "^1.3.1"

0 commit comments

Comments
 (0)