Skip to content

Commit ea02608

Browse files
committed
fix: enable semantic-release
1 parent b68f50a commit ea02608

File tree

10 files changed

+41
-35
lines changed

10 files changed

+41
-35
lines changed

.github/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- Clone the repository using `git clone https://github.com/YOUR_USERNAME/vue-advanced-chat`
77
- Go inside your cloned repository and run `npm install`
88
- Go inside the `demo` folder and run `npm install`
9-
- If you want to test using Firebase, you can follow the steps [here](https://github.com/antoine92190/vue-advanced-chat#using-with-firestore)
9+
- If you want to test using Firebase, you can follow the steps [here](https://github.com/advanced-chat/vue-advanced-chat#using-with-firestore)
1010
- You can use the code in `demo/src/ChatContainer.vue` or write your own code to test the chat
1111
- Run `npm run serve` inside the `demo` folder to open the demo app
1212
- You need to uncomment `import { register } from './../../src/lib/index.js'` to use the chat code locally and see your modifications live

.github/ISSUE_TEMPLATE/bug_report.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A clear and concise description of what the bug is.
1515
## Steps to reproduce
1616

1717
Describe us how we could reproduce the bug you're trying to report
18-
You can also use https://github.com/antoine92190/vue-advanced-chat-sandbox and share the source code to reproduce the bug.
18+
You can also use https://github.com/advanced-chat/vue-advanced-chat-sandbox and share the source code to reproduce the bug.
1919

2020
Example:
2121

.github/workflows/release.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
release:
1013
runs-on: ubuntu-latest
@@ -15,13 +18,16 @@ jobs:
1518
fetch-depth: 0
1619

1720
- name: Setup Node.js
18-
uses: actions/setup-node@v2
21+
uses: actions/setup-node@v4
1922
with:
20-
node-version: '16.x'
23+
node-version: 18
2124

2225
- name: Install dependencies
2326
run: npm install
2427

28+
- name: Build distribution
29+
run: npm run build
30+
2531
- name: Release
2632
env:
2733
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.releaserc.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
plugins:
2+
- "@semantic-release/commit-analyzer"
3+
- "@semantic-release/release-notes-generator"
4+
- - "@semantic-release/changelog"
5+
- changelogFile: "CHANGELOG.md"
6+
- - "@semantic-release/npm"
7+
- npmPublish: true
8+
- - "@semantic-release/github"
9+
- assets:
10+
- "dist/**"
11+
- "LICENSE"
12+
# enable this when GITHUB_TOKEN with the appropriate permissions is available
13+
# - - "@semantic-release/git"
14+
# - assets:
15+
# - "CHANGELOG.md"
16+
# message: "chore(release): prepare ${nextRelease.version} [skip ci]"
17+
18+
branches:
19+
- name: "main"
20+
21+
tagFormat: ${version}

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,15 @@ compilerOptions: {
101101
}
102102
```
103103

104-
Demo: https://github.com/antoine92190/vue-advanced-chat-sandbox/tree/main
104+
Demo: https://github.com/advanced-chat/vue-advanced-chat-sandbox/tree/main
105105

106106
### React
107107

108-
Demo: https://github.com/antoine92190/vue-advanced-chat-sandbox/tree/react
108+
Demo: https://github.com/advanced-chat/vue-advanced-chat-sandbox/tree/react
109109

110110
### Angular / Ionic
111111

112-
Demo: https://github.com/antoine92190/vue-advanced-chat-sandbox/tree/angular
112+
Demo: https://github.com/advanced-chat/vue-advanced-chat-sandbox/tree/angular
113113

114114
<br>
115115

demo/deploy.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ git init
1010
git add -A
1111
git commit -m 'deploy'
1212

13-
git push -f [email protected]:antoine92190/vue-advanced-chat.git main:gh-pages
13+
git push -f [email protected]:advanced-chat/vue-advanced-chat.git main:gh-pages
1414

15-
cd -
15+
cd -

demo/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"reset": "rm -rf node_modules && rm -rf package-lock.json && npm i",
1414
"reset-all": "npm run reset && cd .. && npm run reset",
1515
"gpages": "sh deploy.sh",
16-
"latest": "npm i https://github.com/antoine92190/vue-advanced-chat/tarball/master"
16+
"latest": "npm i https://github.com/advanced-chat/vue-advanced-chat/tarball/master"
1717
},
1818
"dependencies": {
1919
"firebase": "9.4.0",

demo/src/App.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
Dark
3434
</button>
3535
<button class="button-github">
36-
<a href="https://github.com/antoine92190/vue-advanced-chat">
36+
<a href="https://github.com/advanced-chat/vue-advanced-chat">
3737
<img src="@/assets/github.svg" />
3838
</a>
3939
</button>

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
],
2121
"repository": {
2222
"type": "git",
23-
"url": "git+https://github.com/antoine92190/vue-advanced-chat.git"
23+
"url": "git+https://github.com/advanced-chat/vue-advanced-chat.git"
2424
},
2525
"bugs": {
26-
"url": "https://github.com/antoine92190/vue-advanced-chat/issues"
26+
"url": "https://github.com/advanced-chat/vue-advanced-chat/issues"
2727
},
28-
"homepage": "https://github.com/antoine92190/vue-advanced-chat#readme",
28+
"homepage": "https://github.com/advanced-chat/vue-advanced-chat#readme",
2929
"main": "./dist/vue-advanced-chat.umd.js",
3030
"module": "./dist/vue-advanced-chat.es.js",
3131
"unpkg": "./dist/vue-advanced-chat.umd.js",

release.config.js

-21
This file was deleted.

0 commit comments

Comments
 (0)