Skip to content

Commit

Permalink
Add moment dependency to vacation-calendar plugin (#153)
Browse files Browse the repository at this point in the history
* Add moment to dependencies

* Add changeset

---------

Co-authored-by: Frida Jacobsson <fridaja@axis.com>
  • Loading branch information
fridajac and Frida Jacobsson authored Jul 11, 2024
1 parent c6c7679 commit 306fcb8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/healthy-rice-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@axis-backstage/plugin-vacation-calendar': patch
---

Add moment to dependecies in vacation-calendar package.json to resolve 'Can't resolve 'moment' in .../node_modules/react-calendar-timeline/lib/lib/items'
1 change: 1 addition & 0 deletions plugins/vacation-calendar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"interactjs": "^1.10.27",
"lodash": "^4.17.21",
"luxon": "^3.4.4",
"moment": "^2.30.1",
"react-calendar-timeline": "^0.28.0",
"react-use": "^17.5.0"
},
Expand Down
3 changes: 2 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1642,6 +1642,7 @@ __metadata:
interactjs: "npm:^1.10.27"
lodash: "npm:^4.17.21"
luxon: "npm:^3.4.4"
moment: "npm:^2.30.1"
react-calendar-timeline: "npm:^0.28.0"
react-use: "npm:^17.5.0"
peerDependencies:
Expand Down Expand Up @@ -27183,7 +27184,7 @@ __metadata:
languageName: node
linkType: hard

"moment@npm:^2.0.0":
"moment@npm:^2.0.0, moment@npm:^2.30.1":
version: 2.30.1
resolution: "moment@npm:2.30.1"
checksum: 865e4279418c6de666fca7786607705fd0189d8a7b7624e2e56be99290ac846f90878a6f602e34b4e0455c549b85385b1baf9966845962b313699e7cb847543a
Expand Down

0 comments on commit 306fcb8

Please sign in to comment.