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/.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/README.md b/README.md index f1f5c90..5916fff 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/dynolabs/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. diff --git a/package.json b/package.json index 7926cfe..34d7518 100644 --- a/package.json +++ b/package.json @@ -47,30 +47,25 @@ "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": { "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