Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit c85ca15

Browse files
committed
chore: release v2.0.0-beta.1 (#148)
1 parent f05a764 commit c85ca15

File tree

5 files changed

+260
-6
lines changed

5 files changed

+260
-6
lines changed

.github/workflows/shipjs-manual-prepare.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
fetch-depth: 0
1616
ref: master
1717
- uses: actions/setup-node@v1
18+
with:
19+
node-version: 12.x
1820
- run: |
1921
if [ -f "yarn.lock" ]; then
2022
yarn install

.github/workflows/shipjs-schedule-prepare.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Ship js Schedule Prepare
22
on:
33
schedule:
44
# * is a special character in YAML so you have to quote this string
5-
- cron: "0 3 * * 2"
5+
- cron: '0 3 * * 2'
66
jobs:
77
schedule_prepare:
88
runs-on: ubuntu-latest
@@ -12,6 +12,8 @@ jobs:
1212
fetch-depth: 0
1313
ref: master
1414
- uses: actions/setup-node@v1
15+
with:
16+
node-version: 12.x
1517
- run: |
1618
if [ -f "yarn.lock" ]; then
1719
yarn install

.github/workflows/shipjs-trigger.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
name: Ship js trigger
22
on:
3+
push:
4+
branches: [master]
35
pull_request:
46
types:
57
- closed
68
jobs:
79
build:
810
name: Release
911
runs-on: ubuntu-latest
10-
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/v')
1112
steps:
1213
- uses: actions/checkout@v2
1314
with:
1415
fetch-depth: 0
1516
ref: master
1617
- uses: actions/setup-node@v1
1718
with:
18-
registry-url: "https://registry.npmjs.org"
19+
node-version: 12.x
20+
registry-url: 'https://registry.npmjs.org'
1921
- run: |
2022
if [ -f "yarn.lock" ]; then
2123
yarn install

CHANGELOG.md

Lines changed: 242 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,242 @@
1+
# [2.0.0-beta.1](https://github.com/saojs/sao/compare/v1.7.1...v2.0.0-beta.1) (2020-07-27)
2+
3+
4+
### Features
5+
6+
* Release version 2 ([#145](https://github.com/saojs/sao/issues/145)) ([ca204d1](https://github.com/saojs/sao/commit/ca204d157f4c137dcafd2eeae5cd3691ed60c251))
7+
8+
9+
### BREAKING CHANGES
10+
11+
Docs for SAO v1 can be found here: https://v1.saojs.org/
12+
13+
SAO v2 docs is still work in progress: https://saojs.org
14+
15+
## [1.7.1](https://github.com/saojs/sao/compare/v1.7.0...v1.7.1) (2020-05-12)
16+
17+
18+
### Bug Fixes
19+
20+
* allow folders to be removed ([#144](https://github.com/saojs/sao/issues/144)) ([ab443aa](https://github.com/saojs/sao/commit/ab443aa555035b0c8e1c9b1e78b29b85cfe80ed3))
21+
22+
23+
24+
# [1.7.0](https://github.com/saojs/sao/compare/v1.6.1...v1.7.0) (2019-09-30)
25+
26+
27+
### Features
28+
29+
* answers option ([#134](https://github.com/saojs/sao/issues/134)) ([2a2b324](https://github.com/saojs/sao/commit/2a2b324645c3edfeab5d025d85d6ea433b8c6438))
30+
31+
32+
33+
## [1.6.1](https://github.com/saojs/sao/compare/v1.6.0...v1.6.1) (2018-12-02)
34+
35+
36+
### Bug Fixes
37+
38+
* allow action to override global config ([14d1fbf](https://github.com/saojs/sao/commit/14d1fbf3ec0f0c260a010f4e393619c09fa84552))
39+
40+
41+
42+
# [1.6.0](https://github.com/saojs/sao/compare/v1.5.0...v1.6.0) (2018-12-02)
43+
44+
45+
### Bug Fixes
46+
47+
* do not use pnpm automatically ([676a7f9](https://github.com/saojs/sao/commit/676a7f9d5812202249600885b338cc7186ca3556))
48+
49+
50+
### Features
51+
52+
* allow to use custom data for template interpolation ([6b291b5](https://github.com/saojs/sao/commit/6b291b5f9772eacda81adc01d218bec9c68f3258))
53+
54+
55+
56+
# [1.5.0](https://github.com/saojs/sao/compare/v1.4.1...v1.5.0) (2018-12-01)
57+
58+
59+
### Bug Fixes
60+
61+
* specify program name to make it display correctly in pnpm ([743ddb2](https://github.com/saojs/sao/commit/743ddb2fb5cf407e120331912db22066a701256f))
62+
63+
64+
### Features
65+
66+
* add pnpm support ([7017190](https://github.com/saojs/sao/commit/7017190a285007d9ed9eccdcfa0b0693bcb7a629))
67+
68+
69+
70+
## [1.4.1](https://github.com/saojs/sao/compare/v1.4.0...v1.4.1) (2018-11-26)
71+
72+
73+
### Bug Fixes
74+
75+
* update cac ([e51fb8b](https://github.com/saojs/sao/commit/e51fb8b3d9216ddb19d113e08eee0808418e862c))
76+
77+
78+
79+
# [1.4.0](https://github.com/saojs/sao/compare/v1.3.2...v1.4.0) (2018-11-25)
80+
81+
82+
### Features
83+
84+
* **cli:** upgrade to CAC 6 ([3ad34b0](https://github.com/saojs/sao/commit/3ad34b004b487a4905a13086809cff29a4537a3a))
85+
86+
87+
88+
## [1.3.2](https://github.com/saojs/sao/compare/v1.3.1...v1.3.2) (2018-11-20)
89+
90+
91+
### Bug Fixes
92+
93+
* handle installArgs correctly ([dcdb7b3](https://github.com/saojs/sao/commit/dcdb7b30f3abc97108dc422dd42c4578621abe3a))
94+
95+
96+
97+
## [1.3.1](https://github.com/saojs/sao/compare/v1.3.0...v1.3.1) (2018-11-20)
98+
99+
100+
### Bug Fixes
101+
102+
* do not transform binary path ([6240ad1](https://github.com/saojs/sao/commit/6240ad1e6e7c2f5c5896a66e19422c0a0e48c6f5)), closes [#112](https://github.com/saojs/sao/issues/112)
103+
104+
105+
106+
# [1.3.0](https://github.com/saojs/sao/compare/v1.2.1...v1.3.0) (2018-11-18)
107+
108+
109+
### Features
110+
111+
* '--registry' option ([#109](https://github.com/saojs/sao/issues/109)) ([e944eb6](https://github.com/saojs/sao/commit/e944eb680ec822a4b4b1c6e7dd72293532c86130))
112+
113+
114+
115+
## [1.2.1](https://github.com/saojs/sao/compare/v1.2.0...v1.2.1) (2018-11-14)
116+
117+
118+
### Bug Fixes
119+
120+
* added back --clone option ([#108](https://github.com/saojs/sao/issues/108)) ([ac55732](https://github.com/saojs/sao/commit/ac55732c5f386199179fa4e0ab371c2acebce00b))
121+
122+
123+
124+
# [1.2.0](https://github.com/saojs/sao/compare/v1.1.8...v1.2.0) (2018-11-13)
125+
126+
127+
### Features
128+
129+
* **cli:** allow to set an alias name for a generator, added set-alias get-alias commands. ([4fc26cc](https://github.com/saojs/sao/commit/4fc26cce053d70bf1ca72421c87d68b47a9fbd38))
130+
131+
132+
133+
## [1.1.8](https://github.com/saojs/sao/compare/v1.1.7...v1.1.8) (2018-11-11)
134+
135+
136+
### Bug Fixes
137+
138+
* rename generators option to subGenerators ([8996b0b](https://github.com/saojs/sao/commit/8996b0b8688f3a8bc6d2a70b945c751624904b85))
139+
* rename subGenerator.from to subGenerator.generator ([d005ca6](https://github.com/saojs/sao/commit/d005ca6bee324dca4c2b1f811985655dad86dfd6))
140+
141+
142+
143+
## [1.1.7](https://github.com/saojs/sao/compare/v1.1.6...v1.1.7) (2018-11-10)
144+
145+
146+
### Bug Fixes
147+
148+
* should not convert a Promise to boolean ([0d6f4f3](https://github.com/saojs/sao/commit/0d6f4f33b788d44a0cddb6c8be7e8de45f16f619))
149+
150+
151+
152+
## [1.1.6](https://github.com/saojs/sao/compare/v1.1.5...v1.1.6) (2018-11-10)
153+
154+
155+
### Bug Fixes
156+
157+
* accept all options in generator.npmInstall ([f81ee43](https://github.com/saojs/sao/commit/f81ee435ec73a833a61ba3f9a96fcbd5ced56ec6))
158+
159+
160+
161+
## [1.1.5](https://github.com/saojs/sao/compare/v1.1.4...v1.1.5) (2018-11-07)
162+
163+
164+
### Bug Fixes
165+
166+
* don't show update notifier for generators after being updated ([266bd06](https://github.com/saojs/sao/commit/266bd065dc44a16c15559b7fb5488551573e3db1))
167+
168+
169+
170+
## [1.1.4](https://github.com/saojs/sao/compare/v1.1.3...v1.1.4) (2018-11-06)
171+
172+
173+
### Bug Fixes
174+
175+
* use relative pkg path and escape dots ([9a7ede4](https://github.com/saojs/sao/commit/9a7ede4eb7820a953079c933481f15ac03b3dd8a))
176+
177+
178+
179+
## [1.1.3](https://github.com/saojs/sao/compare/v1.1.2...v1.1.3) (2018-11-06)
180+
181+
182+
### Bug Fixes
183+
184+
* cache answers by hash + pkg version ([e981a3f](https://github.com/saojs/sao/commit/e981a3f600c928b4d05c3aed755d441ad5353723))
185+
* record used generators ([b1ab201](https://github.com/saojs/sao/commit/b1ab2017cf5ad8b9e081598654e554306fdfac44))
186+
187+
188+
189+
## [1.1.2](https://github.com/saojs/sao/compare/v1.1.1...v1.1.2) (2018-11-06)
190+
191+
192+
### Bug Fixes
193+
194+
* clear cached answers when generator is updated ([86b54fc](https://github.com/saojs/sao/commit/86b54fc4e9775692111dc2dd61255e67a52e4a5b))
195+
196+
197+
198+
## [1.1.1](https://github.com/saojs/sao/compare/v1.1.0...v1.1.1) (2018-11-06)
199+
200+
201+
### Bug Fixes
202+
203+
* remove updateCheckInterval ([7de5cf5](https://github.com/saojs/sao/commit/7de5cf5744a4a7046a5e3c669a57db6df606def2))
204+
205+
206+
207+
# [1.1.0](https://github.com/saojs/sao/compare/v1.0.3...v1.1.0) (2018-11-06)
208+
209+
210+
### Features
211+
212+
* **cli:** add update-notifier ([2911dee](https://github.com/saojs/sao/commit/2911deed48fb2df510a136c295865ab490f72a8e))
213+
214+
215+
216+
## [1.0.3](https://github.com/saojs/sao/compare/v1.0.2...v1.0.3) (2018-11-06)
217+
218+
219+
### Bug Fixes
220+
221+
* sub generator can only run in existing project ([f94dbdd](https://github.com/saojs/sao/commit/f94dbdd05d77a8a18d87a4f4acd4a7e75eb2592b))
222+
223+
224+
225+
## [1.0.2](https://github.com/saojs/sao/compare/v1.0.1...v1.0.2) (2018-11-06)
226+
227+
228+
### Bug Fixes
229+
230+
* stop spinner when failed to download repo ([0be4193](https://github.com/saojs/sao/commit/0be41932f0cb0c0253949b8377e190e6d5a8eefb))
231+
232+
233+
234+
## [1.0.1](https://github.com/saojs/sao/compare/v1.0.0...v1.0.1) (2018-11-06)
235+
236+
237+
### Bug Fixes
238+
239+
* do not store cache by package version ([4e9743e](https://github.com/saojs/sao/commit/4e9743ea8a6bebcb1aeb0ceb7d79b0e4585177fa))
240+
241+
242+

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sao",
3-
"version": "1.0.0",
3+
"version": "2.0.0-beta.1",
44
"description": "Futuristic scaffolding tool ⚔",
55
"repository": {
66
"url": "https://github.com/saojs/sao.git",
@@ -9,7 +9,11 @@
99
"main": "dist/index.js",
1010
"bin": "cli.js",
1111
"types": "dist/index.d.ts",
12-
"files": ["dist", "/cli.js", "!**/*.test.ts"],
12+
"files": [
13+
"dist",
14+
"/cli.js",
15+
"!**/*.test.ts"
16+
],
1317
"scripts": {
1418
"test": "npm run lint && npm run build && jest",
1519
"build": "rm -rf dist && tsup src/index.ts --dts",
@@ -88,7 +92,9 @@
8892
}
8993
},
9094
"lint-staged": {
91-
"*.ts": ["yarn lint --fix"]
95+
"*.ts": [
96+
"yarn lint --fix"
97+
]
9298
},
9399
"config": {
94100
"commitizen": {

0 commit comments

Comments
 (0)