diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 65e67fd4..27d1afa2 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -6,7 +6,7 @@
- Clone the repository using `git clone https://github.com/YOUR_USERNAME/vue-advanced-chat`
- Go inside your cloned repository and run `npm install`
- Go inside the `demo` folder and run `npm install`
-- If you want to test using Firebase, you can follow the steps [here](https://github.com/antoine92190/vue-advanced-chat#using-with-firestore)
+- If you want to test using Firebase, you can follow the steps [here](https://github.com/advanced-chat/vue-advanced-chat#using-with-firestore)
- You can use the code in `demo/src/ChatContainer.vue` or write your own code to test the chat
- Run `npm run serve` inside the `demo` folder to open the demo app
- You need to uncomment `import { register } from './../../src/lib/index.js'` to use the chat code locally and see your modifications live
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index e8915bd0..90203028 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -15,7 +15,7 @@ A clear and concise description of what the bug is.
## Steps to reproduce
Describe us how we could reproduce the bug you're trying to report
-You can also use https://github.com/antoine92190/vue-advanced-chat-sandbox and share the source code to reproduce the bug.
+You can also use https://github.com/advanced-chat/vue-advanced-chat-sandbox and share the source code to reproduce the bug.
Example:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index fe2838e8..2eb168e7 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -15,13 +15,16 @@ jobs:
fetch-depth: 0
- name: Setup Node.js
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v4
with:
- node-version: '16.x'
+ node-version: 18
- name: Install dependencies
run: npm install
+ - name: Build distribution
+ run: npm run build
+
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.releaserc.yml b/.releaserc.yml
new file mode 100644
index 00000000..a71cc977
--- /dev/null
+++ b/.releaserc.yml
@@ -0,0 +1,21 @@
+plugins:
+ - "@semantic-release/commit-analyzer"
+ - "@semantic-release/release-notes-generator"
+ - - "@semantic-release/changelog"
+ - changelogFile: "CHANGELOG.md"
+ - - "@semantic-release/npm"
+ - npmPublish: true
+ - - "@semantic-release/github"
+ - assets:
+ - "dist/**"
+ - "LICENSE"
+# enable this when GITHUB_TOKEN with the appropriate permissions is available
+# - - "@semantic-release/git"
+# - assets:
+# - "CHANGELOG.md"
+# message: "chore(release): prepare ${nextRelease.version} [skip ci]"
+
+branches:
+ - name: "main"
+
+tagFormat: ${version}
diff --git a/README.md b/README.md
index dbc698d3..d17ee64f 100644
--- a/README.md
+++ b/README.md
@@ -101,15 +101,15 @@ compilerOptions: {
}
```
-Demo: https://github.com/antoine92190/vue-advanced-chat-sandbox/tree/main
+Demo: https://github.com/advanced-chat/vue-advanced-chat-sandbox/tree/main
### React
-Demo: https://github.com/antoine92190/vue-advanced-chat-sandbox/tree/react
+Demo: https://github.com/advanced-chat/vue-advanced-chat-sandbox/tree/react
### Angular / Ionic
-Demo: https://github.com/antoine92190/vue-advanced-chat-sandbox/tree/angular
+Demo: https://github.com/advanced-chat/vue-advanced-chat-sandbox/tree/angular
diff --git a/demo/deploy.sh b/demo/deploy.sh
index 11ba58a1..302b82f2 100644
--- a/demo/deploy.sh
+++ b/demo/deploy.sh
@@ -10,6 +10,6 @@ git init
git add -A
git commit -m 'deploy'
-git push -f git@github.com:antoine92190/vue-advanced-chat.git main:gh-pages
+git push -f git@github.com:advanced-chat/vue-advanced-chat.git main:gh-pages
-cd -
\ No newline at end of file
+cd -
diff --git a/demo/package.json b/demo/package.json
index d61a7912..a6640937 100644
--- a/demo/package.json
+++ b/demo/package.json
@@ -13,7 +13,7 @@
"reset": "rm -rf node_modules && rm -rf package-lock.json && npm i",
"reset-all": "npm run reset && cd .. && npm run reset",
"gpages": "sh deploy.sh",
- "latest": "npm i https://github.com/antoine92190/vue-advanced-chat/tarball/master"
+ "latest": "npm i https://github.com/advanced-chat/vue-advanced-chat/tarball/master"
},
"dependencies": {
"firebase": "9.4.0",
diff --git a/demo/src/App.vue b/demo/src/App.vue
index 229eedcc..25a356bb 100644
--- a/demo/src/App.vue
+++ b/demo/src/App.vue
@@ -33,7 +33,7 @@
Dark
diff --git a/package.json b/package.json
index b0b9dfe4..9ecba0fe 100644
--- a/package.json
+++ b/package.json
@@ -20,12 +20,12 @@
],
"repository": {
"type": "git",
- "url": "git+https://github.com/antoine92190/vue-advanced-chat.git"
+ "url": "git+https://github.com/advanced-chat/vue-advanced-chat.git"
},
"bugs": {
- "url": "https://github.com/antoine92190/vue-advanced-chat/issues"
+ "url": "https://github.com/advanced-chat/vue-advanced-chat/issues"
},
- "homepage": "https://github.com/antoine92190/vue-advanced-chat#readme",
+ "homepage": "https://github.com/advanced-chat/vue-advanced-chat#readme",
"main": "./dist/vue-advanced-chat.umd.js",
"module": "./dist/vue-advanced-chat.es.js",
"unpkg": "./dist/vue-advanced-chat.umd.js",
diff --git a/release.config.js b/release.config.js
deleted file mode 100644
index 5a635636..00000000
--- a/release.config.js
+++ /dev/null
@@ -1,21 +0,0 @@
-module.exports = {
- branches: ['main'],
- plugins: [
- '@semantic-release/commit-analyzer',
- '@semantic-release/release-notes-generator',
- ['@semantic-release/changelog', {
- 'changelogFile': 'CHANGELOG.md'
- }],
- ['@semantic-release/npm', {
- 'npmPublish': true
- }],
- ['@semantic-release/github', {
- 'assets': ['dist/**', 'LICENSE']
- }],
- ['@semantic-release/git', {
- 'assets': ['CHANGELOG.md'],
- // eslint-disable-next-line no-template-curly-in-string
- 'message': 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
- }]
- ]
-}