Skip to content

Commit 0942082

Browse files
authored
Merge pull request #41 from code-hike/improve-release-log
Better release log
2 parents a662785 + 9047dc9 commit 0942082

File tree

17 files changed

+47
-55
lines changed

17 files changed

+47
-55
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ name: Release
22

33
on:
44
push:
5-
pull_request:
6-
types: [opened, labeled]
7-
branches:
8-
- main
9-
- next
105

116
jobs:
127
release:
@@ -36,6 +31,6 @@ jobs:
3631
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3732
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3833
run: |
39-
yarn install --frozen-lockfile
34+
yarn install --frozen-lockfile 2>&1 | grep -v '^[warning|info]'
4035
yarn build
4136
yarn release

packages/classer/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
22
"name": "@code-hike/classer",
33
"version": "0.3.0-next.0",
4-
"main": "dist/index.js",
4+
"main": "dist/index.cjs.js",
55
"typings": "dist/index.d.ts",
66
"module": "dist/index.esm.js",
77
"files": [
88
"dist"
99
],
1010
"scripts": {
11-
"publish-canary": "yarn publish --tag canary --access public",
1211
"x": "x"
1312
},
1413
"devDependencies": {

packages/code-diff/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
22
"name": "@code-hike/code-diff",
33
"version": "0.3.0-next.0",
4-
"main": "dist/index.js",
4+
"main": "dist/index.cjs.js",
55
"typings": "dist/index.d.ts",
66
"module": "dist/index.esm.js",
77
"files": [
88
"dist"
99
],
1010
"scripts": {
11-
"publish-canary": "yarn publish --tag canary --access public",
1211
"x": "x",
1312
"test": "jest",
1413
"test-watch": "jest --watch --updateSnapshot"

packages/mini-browser/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@code-hike/mini-browser",
33
"version": "0.3.0-next.0",
4-
"main": "dist/index.js",
4+
"main": "dist/index.cjs.js",
55
"typings": "dist/index.d.ts",
66
"module": "dist/index.esm.js",
77
"style": "dist/index.css",
@@ -10,7 +10,6 @@
1010
],
1111
"scripts": {
1212
"x": "x",
13-
"publish-canary": "yarn publish --tag canary --access public",
1413
"test": "jest",
1514
"test-watch": "jest --watch --updateSnapshot"
1615
},

packages/mini-editor/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
{
22
"name": "@code-hike/mini-editor",
33
"version": "0.3.0-next.0",
4-
"main": "dist/index.js",
4+
"main": "dist/index.cjs.js",
55
"typings": "dist/index.d.ts",
66
"module": "dist/index.esm.js",
77
"style": "dist/index.css",
88
"files": [
99
"dist"
1010
],
1111
"scripts": {
12-
"x": "x",
13-
"publish-canary": "yarn publish --tag canary --access public"
12+
"x": "x"
1413
},
1514
"devDependencies": {
1615
"@code-hike/script": "0.0.1",

packages/mini-frame/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
{
22
"name": "@code-hike/mini-frame",
33
"version": "0.3.0-next.0",
4-
"main": "dist/index.js",
4+
"main": "dist/index.cjs.js",
55
"typings": "dist/index.d.ts",
66
"module": "dist/index.esm.js",
77
"style": "dist/index.css",
88
"files": [
99
"dist"
1010
],
1111
"scripts": {
12-
"x": "x",
13-
"publish-canary": "yarn publish --tag canary --access public"
12+
"x": "x"
1413
},
1514
"devDependencies": {
1615
"@code-hike/script": "0.0.1",

packages/mini-terminal/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
{
22
"name": "@code-hike/mini-terminal",
33
"version": "0.3.0-next.0",
4-
"main": "dist/index.js",
4+
"main": "dist/index.cjs.js",
55
"typings": "dist/index.d.ts",
66
"module": "dist/index.esm.js",
77
"files": [
88
"dist"
99
],
1010
"scripts": {
11-
"x": "x",
12-
"publish-canary": "yarn publish --tag canary --access public"
11+
"x": "x"
1312
},
1413
"devDependencies": {
1514
"@code-hike/script": "0.0.1",

packages/player/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
{
22
"name": "@code-hike/player",
33
"version": "0.3.0-next.0",
4-
"main": "dist/index.js",
4+
"main": "dist/index.cjs.js",
55
"typings": "dist/index.d.ts",
66
"module": "dist/index.esm.js",
77
"files": [
88
"dist"
99
],
1010
"scripts": {
11-
"x": "x",
12-
"publish-canary": "yarn publish --tag canary --access public"
11+
"x": "x"
1312
},
1413
"devDependencies": {
1514
"@code-hike/script": "0.0.1",

packages/script/build.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ function build(args) {
99
"rollup.config.js"
1010
)
1111

12-
spawn("yarn", ["rollup", "-c", configPath, ...args], {
13-
stdio: "inherit",
14-
// cwd: "foo"
15-
})
12+
spawn(
13+
"yarn",
14+
["rollup", "--silent", "-c", configPath, ...args],
15+
{
16+
stdio: "inherit",
17+
// cwd: "foo"
18+
}
19+
)
1620
}
1721

1822
module.exports = {

packages/script/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"cssnano": "^4.1.10",
1111
"edit-json-file": "^1.5.0",
1212
"node-sass": "^5.0.0",
13-
"rollup": "^2.17.0",
13+
"rollup": "^2.41.2",
1414
"rollup-plugin-copy": "^3.3.0",
1515
"rollup-plugin-postcss": "^4.0.0",
1616
"rollup-plugin-scss": "^2.6.1",

0 commit comments

Comments
 (0)