Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Upgrade dependencies): Upgraded few dependencies to latest versions #7

Merged
merged 3 commits into from
Feb 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading