Skip to content

Commit

Permalink
Merge pull request #8 from Dulajdeshan/main
Browse files Browse the repository at this point in the history
Release v1.0.3
  • Loading branch information
Dulajdeshan committed Feb 11, 2024
2 parents a620609 + 0f2c853 commit 7b82ef3
Show file tree
Hide file tree
Showing 5 changed files with 579 additions and 560 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Tests
on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -27,4 +27,4 @@ jobs:
- run: ls
- run: ls dist
- name: Running tests
run: yarn test
run: yarn test
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: node
uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: "20.x"
- name: Install dependencies
run: yarn install
- name: Install peer dependencies
Expand All @@ -27,4 +27,4 @@ jobs:
- run: semantic-release --branches release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions __tests__/bootstrap.test.js → __tests__/bootstrap.test.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import bootstrap from "../server/bootstrap";

const strapi = {
const strapi: any = {
db: {
lifecycles: {
subscribe: jest.fn(),
},
},
plugin: (plugin) => ({
service: (serviceName) => ({}),
})
plugin: (plugin: any) => ({
service: (serviceName: any) => ({}),
}),
};

describe("bootstrap", () => {
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,35 @@
"kind": "plugin"
},
"dependencies": {
"@strapi/design-system": "^1.6.3",
"@strapi/helper-plugin": "^4.6.0",
"@strapi/icons": "^1.6.3",
"bootstrap-icons": "^1.11.1",
"prop-types": "^15.7.2"
"@strapi/design-system": "^1.14.1",
"@strapi/helper-plugin": "^4.20.0",
"@strapi/icons": "^1.14.1",
"bootstrap-icons": "^1.11.3",
"prop-types": "^15.8.1"
},
"devDependencies": {
"@strapi/typescript-utils": "^4.6.0",
"@types/jest": "^29.5.6",
"@types/react": "^17.0.53",
"@types/react-dom": "^18.0.28",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "^5.1.26",
"@strapi/typescript-utils": "^4.20.0",
"@types/jest": "^29.5.12",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@types/react-router-dom": "5.3.3",
"@types/styled-components": "^5.1.34",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"npm-install-peers": "^1.2.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^5.3.4",
"styled-components": "^5.3.6",
"ts-jest": "^29.1.1",
"styled-components": "^6.1.8",
"ts-jest": "^29.1.2",
"typescript": "5.0.4"
},
"peerDependencies": {
"@strapi/strapi": "^4.14.5",
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0",
"@strapi/strapi": "^4.20.0",
"react": "^17.0.0 || ^18.2.0",
"react-dom": "^17.0.0 || ^18.2.0",
"react-router-dom": "^5.3.4",
"styled-components": "^5.3.3 || ^6.1.0"
"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",
Expand Down
Loading

0 comments on commit 7b82ef3

Please sign in to comment.