From 895739d3c2a205d0b990f8753c15765735510862 Mon Sep 17 00:00:00 2001
From: Dulaj Ariyaratne
Date: Sun, 3 Nov 2024 09:38:20 +0530
Subject: [PATCH 1/3] Update README.md
---
.github/FUNDING.yml | 3 +++
README.md | 22 +++++++++++++++-------
2 files changed, 18 insertions(+), 7 deletions(-)
create mode 100644 .github/FUNDING.yml
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
new file mode 100644
index 0000000..1a02692
--- /dev/null
+++ b/.github/FUNDING.yml
@@ -0,0 +1,3 @@
+github: [dulajdeshan]
+patreon: dulajdeshan
+buy_me_a_coffee: dulajdeshan
diff --git a/README.md b/README.md
index f1f5c90..515770a 100644
--- a/README.md
+++ b/README.md
@@ -15,20 +15,21 @@
-Strapi Bootstrap Icons Plugin is a custom plugin for Strapi that allows to use [Bootstrap Icons](https://icons.getbootstrap.com/) for your content.
+Strapi Bootstrap Icons Plugin is a custom plugin for Strapi that allows to use [Bootstrap Icons](https://icons.getbootstrap.com/) for your content.
-## Installation
+## ⚙️ Installation
To install the Strapi Bootstrap Icons, simply run one of the following command:
```
npm install strapi-bootstrap-icons
```
+
```
yarn add strapi-bootstrap-icons
```
-## Setup
+## ⚡️ Usage
After installation you will find the `Bootstrap Icon` at the custom fields section of the content-type builder.
@@ -46,12 +47,19 @@ Now You can create new records via the Admin panel with selecting your preferred
![strapi bootstrap icons](./screenshot/screenshot-3.png)
-
![strapi bootstrap icons](./screenshot/screenshot-4.png)
-## Demo
+## 🖥️ Demo
![strapi bootstrap icons demo](./screenshot/demo.gif)
-## License
-This plugin is licensed under the MIT License. See the LICENSE file for more information.
\ No newline at end of file
+## 👍 Contribute
+
+If you want to say **Thank You** and/or support the active development of `Strapi Boostrap Icons`:
+
+1. Add a [GitHub Star](https://github.com/Dulajdeshan/strapi-bootstrap-icons/stargazers) to the project.
+2. Support the project by donating a [cup of coffee](https://buymeacoff.ee/dulajdeshan).
+
+## 🧾 License
+
+This plugin is licensed under the MIT License. See the [LICENSE](./LICENSE) file for more information.
From a2919c5eb2facaa55040efebf1e984f720f919f5 Mon Sep 17 00:00:00 2001
From: Dulaj Ariyaratne
Date: Thu, 7 Nov 2024 18:34:38 +0530
Subject: [PATCH 2/3] Update release workflow
---
.github/workflows/main.yml | 4 ++--
.github/workflows/release.yml | 4 ++--
.npmrc | 3 ---
package.json | 5 -----
release.config.cjs | 7 +++++++
5 files changed, 11 insertions(+), 12 deletions(-)
delete mode 100644 .npmrc
create mode 100644 release.config.cjs
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c0d41c2..92dc661 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,9 +1,9 @@
name: Tests
on:
push:
- branches: [main]
+ branches: ["*"]
pull_request:
- branches: [main]
+ types: [opened]
jobs:
build:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index ba544c6..94a062c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -3,11 +3,11 @@ on:
push:
branches:
- release
+ - main
jobs:
release:
name: Release and Publish
runs-on: ubuntu-latest
- if: ${{ github.ref == 'refs/heads/release' }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
@@ -24,7 +24,7 @@ jobs:
run: yarn build
- name: Install semantic-release
run: yarn global add semantic-release-cli semantic-release
- - run: semantic-release --branches release
+ - run: semantic-release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.npmrc b/.npmrc
deleted file mode 100644
index 66afcd1..0000000
--- a/.npmrc
+++ /dev/null
@@ -1,3 +0,0 @@
-auto-install-peers=true
-strict-peer-dependencies=false
-legacy-peer-deps=true
\ No newline at end of file
diff --git a/package.json b/package.json
index 7926cfe..c6c00f7 100644
--- a/package.json
+++ b/package.json
@@ -66,11 +66,6 @@
"publishConfig": {
"access": "public"
},
- "release": {
- "branches": [
- "latest"
- ]
- },
"engines": {
"node": ">=16.0.0 <=20.x.x",
"npm": ">=6.0.0"
diff --git a/release.config.cjs b/release.config.cjs
new file mode 100644
index 0000000..b791e3a
--- /dev/null
+++ b/release.config.cjs
@@ -0,0 +1,7 @@
+/**
+ * @type {import('semantic-release').GlobalConfig}
+ */
+
+module.exports = {
+ branches: ['release', { name: 'main', prerelease: 'next' }],
+};
\ No newline at end of file
From cefe19d0da34d8e6fc600d0b6cab7144cba157a7 Mon Sep 17 00:00:00 2001
From: Dulaj Ariyaratne
Date: Thu, 7 Nov 2024 18:41:36 +0530
Subject: [PATCH 3/3] Update package.json
---
README.md | 2 +-
package.json | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 515770a..5916fff 100644
--- a/README.md
+++ b/README.md
@@ -57,7 +57,7 @@ Now You can create new records via the Admin panel with selecting your preferred
If you want to say **Thank You** and/or support the active development of `Strapi Boostrap Icons`:
-1. Add a [GitHub Star](https://github.com/Dulajdeshan/strapi-bootstrap-icons/stargazers) to the project.
+1. Add a [GitHub Star](https://github.com/dynolabs/strapi-bootstrap-icons/stargazers) to the project.
2. Support the project by donating a [cup of coffee](https://buymeacoff.ee/dulajdeshan).
## 🧾 License
diff --git a/package.json b/package.json
index c6c00f7..34d7518 100644
--- a/package.json
+++ b/package.json
@@ -47,20 +47,20 @@
"react-router-dom": "^5.3.4",
"styled-components": "^5.3.3 || ^6.1.8"
},
- "homepage": "https://github.com/Dulajdeshan/strapi-bootstrap-icons",
- "readme": "https://github.com/Dulajdeshan/strapi-bootstrap-icons#readme",
+ "homepage": "https://github.com/dynolabs/strapi-bootstrap-icons",
+ "readme": "https://github.com/dynolabs/strapi-bootstrap-icons#readme",
"author": {
"name": "Dulaj Ariyaratne",
"email": "dulajdeshans@gmail.com",
"url": "https://github.com/dulajdeshan"
},
"repository": {
- "url": "https://github.com/Dulajdeshan/strapi-bootstrap-icons",
+ "url": "https://github.com/dynolabs/strapi-bootstrap-icons",
"type": "git",
"directory": "."
},
"bugs": {
- "url": "https://github.com/Dulajdeshan/strapi-bootstrap-icons/issues",
+ "url": "https://github.com/dynolabs/strapi-bootstrap-icons/issues",
"email": "dulajdeshans@gmail.com"
},
"publishConfig": {