Skip to content

Commit dbf30f0

Browse files
committed
chore(release): 2.0.0-alpha.2
1 parent d65839c commit dbf30f0

File tree

12 files changed

+52
-38
lines changed

12 files changed

+52
-38
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run: npm run build --prefix common/ui
4545

4646
- name: Release application
47-
run: npm run release:publish --prefix apps/desktop -- onTagOrDraft -${{ matrix.flags}}
47+
run: npm run release:publish --prefix apps/desktop -- always -${{ matrix.flags}}
4848
env:
4949
GH_TOKEN: ${{ secrets.GH_TOKEN }}
5050

@@ -66,7 +66,7 @@ jobs:
6666
run: npm ci --legacy-peer-deps
6767

6868
- name: Build site
69-
run: BASE_PATH=melodie npm run build --prefix apps/site
69+
run: BASE_PATH=/melodie npm run build --prefix apps/site
7070

7171
- name: Publish site
7272
uses: peaceiris/actions-gh-pages@v3

.versionrc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
function updateDeps(package, version) {
2-
package.version = version
32
for (const deps of [
43
package.dependencies,
54
package.optionalDependencies,
@@ -12,6 +11,7 @@ function updateDeps(package, version) {
1211
}
1312
}
1413
}
14+
return package
1515
}
1616

1717
const updater = {
@@ -20,10 +20,10 @@ const updater = {
2020
},
2121
writeVersion(contents, version) {
2222
const file = JSON.parse(contents)
23-
updateDeps(file, version)
23+
updateDeps(file, version).version = version
2424
if (file.packages) {
2525
for (const name in file.packages) {
26-
updateDeps(file.packages[name], version)
26+
updateDeps(file.packages[name], version).version = version
2727
}
2828
}
2929
if (file.dependencies) {

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.0.0-alpha.2](https://github.com/feugy/melodie/compare/v2.0.0-alpha.1...v2.0.0-alpha.2) (2021-03-20)
6+
7+
### Features
8+
9+
- final tweaks for v2 ([#25](https://github.com/feugy/melodie/issues/25)) ([2c95e19](https://github.com/feugy/melodie/commit/2c95e19e45e6e0d8352adac4a0d3a7fb8a46184e))
10+
- **ui:** improve play on mobile ([#24](https://github.com/feugy/melodie/issues/24)) ([85b1cd0](https://github.com/feugy/melodie/commit/85b1cd0d6b64539f2ae7831a719e080fb7a48669))
11+
12+
## [2.0.0-alpha.1](https://github.com/feugy/melodie/compare/v1.0.0...v2.0.0-alpha.1) (2021-02-21)
13+
14+
### Features
15+
16+
- web broadcast ([#19](https://github.com/feugy/melodie/issues/19)) ([2c95e19](https://github.com/feugy/melodie/commit/7def2cadfb3863c00b43ffd7a3bd26c2e87a8ac9))
17+
518
## [1.0.0](https://github.com/feugy/melodie/compare/v1.0.0-beta.2...v1.0.0) (2020-10-31)
619

720
### Features

apps/desktop/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "melodie",
3-
"version": "2.0.0-alpha.1",
3+
"version": "2.0.0-alpha.2",
44
"description": "Mélodie is a portable, simple-as-pie music player",
55
"author": {
66
"name": "Damien Simonin Feugas",
@@ -20,8 +20,8 @@
2020
"test:dev": "jest --watch"
2121
},
2222
"dependencies": {
23-
"@melodie/core": "2.0.0-alpha.1",
24-
"@melodie/ui": "2.0.0-alpha.1",
23+
"@melodie/core": "2.0.0-alpha.2",
24+
"@melodie/ui": "2.0.0-alpha.2",
2525
"dotenv": "^8.2.0",
2626
"electron-localshortcut": "^3.2.1",
2727
"electron-updater": "^4.3.5",
@@ -30,8 +30,8 @@
3030
"rxjs": "^6.6.3"
3131
},
3232
"optionalDependencies": {
33-
"@melodie/core": "2.0.0-alpha.1",
34-
"@melodie/ui": "2.0.0-alpha.1"
33+
"@melodie/core": "2.0.0-alpha.2",
34+
"@melodie/ui": "2.0.0-alpha.2"
3535
},
3636
"devDependencies": {
3737
"electron": "11.1.0",

apps/site/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@melodie/site",
3-
"version": "2.0.0-alpha.1",
3+
"version": "2.0.0-alpha.2",
44
"description": "Mélodie promotion site, deployed as github page",
55
"scripts": {
66
"build": "run-s -ncs build:sapper build:copy",
@@ -42,7 +42,7 @@
4242
"rollup-plugin-terser": "^7.0.2",
4343
"rxjs": "^6.6.3",
4444
"sapper": "^0.28.10",
45-
"svelte": "^3.31.0",
45+
"svelte": "^3.35.0",
4646
"svelte-htm": "^1.1.1",
4747
"svelte-intl": "^1.1.2",
4848
"svelte-jester": "^1.3.0",
@@ -51,4 +51,4 @@
5151
"tailwindcss": "^1.9.5",
5252
"yaml-loader": "^0.6.0"
5353
}
54-
}
54+
}

apps/site/rollup.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ const resolveConf = { dedupe: ['svelte'] }
2828
const replaceConf = {
2929
'process.browser': true,
3030
'process.env.NODE_ENV': JSON.stringify(mode),
31-
MELODIE_VERSION: JSON.stringify(version)
31+
MELODIE_VERSION: JSON.stringify(version),
32+
preventAssignment: true
3233
}
3334
const svelteConf = require('./svelte.config')
3435

apps/site/src/components/DownloadButton/__snapshots__/DownloadButton.stories.storyshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ exports[`Storyshots Site components/Download button Default 1`] = `
1919
</i>
2020

2121
<span>
22-
Install v2.0.0-alpha.1
22+
Install v2.0.0-alpha.2
2323
</span>
2424

2525
<i

apps/site/src/tests/index/__snapshots__/index.stories.storyshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ exports[`Storyshots Site Page/Index Default 1`] = `
133133
</i>
134134

135135
<span>
136-
Install v2.0.0-alpha.1
136+
Install v2.0.0-alpha.2
137137
</span>
138138

139139
<i

common/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@melodie/core",
3-
"version": "2.0.0-alpha.1",
3+
"version": "2.0.0-alpha.2",
44
"description": "Mélodie core, to manage music tracks",
55
"main": "lib/index.js",
66
"scripts": {
@@ -48,4 +48,4 @@
4848
"node scripts/remove-secrets"
4949
]
5050
}
51-
}
51+
}

common/ui/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@melodie/ui",
3-
"version": "2.0.0-alpha.1",
3+
"version": "2.0.0-alpha.2",
44
"description": "Mélodie UI, powered by Svelte",
55
"scripts": {
66
"build": "rollup -c",
@@ -41,7 +41,7 @@
4141
"rollup-plugin-svelte": "^6.1.0",
4242
"rollup-plugin-terser": "^7.0.2",
4343
"rxjs": "^6.6.3",
44-
"svelte": "^3.31.0",
44+
"svelte": "^3.35.0",
4545
"svelte-htm": "^1.1.1",
4646
"svelte-intl": "^1.1.2",
4747
"svelte-jester": "^1.3.0",
@@ -53,4 +53,4 @@
5353
"ws": "^7.4.1",
5454
"yaml-loader": "^0.6.0"
5555
}
56-
}
56+
}

0 commit comments

Comments
 (0)