Skip to content

Commit 78bf3fb

Browse files
committed
feat: add strapi publisher plugin
1 parent 266d402 commit 78bf3fb

3 files changed

Lines changed: 81 additions & 3 deletions

File tree

apps/strapi/config/plugins.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ export default ({ env }: { env: Env }) => ({
1515
},
1616
},
1717
},
18+
publiser: {
19+
enabled: true,
20+
},
1821
"rest-cache": {
1922
config: {
2023
provider: {

apps/strapi/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"strapi-plugin-notes": "^1.0.1",
3737
"strapi-plugin-plausible": "^1.0.5",
3838
"strapi-plugin-preview-button": "^2.1.0",
39+
"strapi-plugin-publisher": "^1",
3940
"strapi-plugin-rest-cache": "^4.2.8",
4041
"strapi-plugin-sitemap": "^3.0.3",
4142
"strapi-provider-rest-cache-memory": "^4.2.8",

apps/strapi/yarn.lock

Lines changed: 77 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3888,7 +3888,7 @@
38883888
semver "7.5.4"
38893889
umzug "3.2.1"
38903890

3891-
"@strapi/design-system@1.19.0", "@strapi/design-system@^1.19.0":
3891+
"@strapi/design-system@1.19.0", "@strapi/design-system@^1.13.1", "@strapi/design-system@^1.19.0":
38923892
version "1.19.0"
38933893
resolved "https://registry.yarnpkg.com/@strapi/design-system/-/design-system-1.19.0.tgz#1b0ca923c22f167baa6d35663e7f47c971df474c"
38943894
integrity sha512-kEQNaRztIcr6I5Zh6mxtE/Nmkk1mylCS5s56ySKDdqOjWZw2BCbS72/J9k6r1RF1TLIDSXJN9r5dHR0ZKtWvBQ==
@@ -4056,7 +4056,23 @@
40564056
react-query "3.39.3"
40574057
react-select "5.7.0"
40584058

4059-
"@strapi/icons@1.19.0":
4059+
"@strapi/helper-plugin@^4.0.0":
4060+
version "4.25.23"
4061+
resolved "https://registry.yarnpkg.com/@strapi/helper-plugin/-/helper-plugin-4.25.23.tgz#eba79dd63506275e8d57de6b650001293192e6b8"
4062+
integrity sha512-QYxYQa8cD3RLJw427uTgVtfiVfVbKBMEtBmHLPTZFBJZVOl6p7lG5lEC+c3tUCnz0Hxrf7oQ1uIAlMdEsIXTYA==
4063+
dependencies:
4064+
axios "1.8.2"
4065+
date-fns "2.30.0"
4066+
formik "2.4.0"
4067+
immer "9.0.19"
4068+
lodash "4.17.21"
4069+
qs "6.11.1"
4070+
react-helmet "6.1.0"
4071+
react-intl "6.4.1"
4072+
react-query "3.39.3"
4073+
react-select "5.7.0"
4074+
4075+
"@strapi/icons@1.19.0", "@strapi/icons@^1.13.1":
40604076
version "1.19.0"
40614077
resolved "https://registry.yarnpkg.com/@strapi/icons/-/icons-1.19.0.tgz#efa6b553a7de437171512e3549859faa141a145f"
40624078
integrity sha512-jcS7n3Ps+73fYGadxdaD6owazoDJKN1fHSG9dp8RX4RqkP6BfoHOX5j3aodVLmDX57Ksg6gy5JXf9xEml7nMpQ==
@@ -4591,6 +4607,18 @@
45914607
p-map "4.0.0"
45924608
yup "0.32.9"
45934609

4610+
"@strapi/utils@^4.0.0":
4611+
version "4.26.1"
4612+
resolved "https://registry.yarnpkg.com/@strapi/utils/-/utils-4.26.1.tgz#ed09a1afb28728931e19a37198478d89893edf7e"
4613+
integrity sha512-P1fYJfU8K6cWX14Da/fUiB++R1uzBgK1Zw1KpjxXzZEiyRaCES5DCbyL1vuvJ8H+RlGz+D+qD4v+DfkjUONpew==
4614+
dependencies:
4615+
"@sindresorhus/slugify" "1.1.0"
4616+
date-fns "2.30.0"
4617+
http-errors "1.8.1"
4618+
lodash "4.17.21"
4619+
p-map "4.0.0"
4620+
yup "0.32.9"
4621+
45944622
"@swc/core-darwin-arm64@1.15.7":
45954623
version "1.15.7"
45964624
resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.15.7.tgz#b7ac4660d2d4df324f4f5a6f58a0c3d44d71ff1c"
@@ -4993,6 +5021,11 @@
49935021
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.197.tgz#e95c5ddcc814ec3e84c891910a01e0c8a378c54b"
49945022
integrity sha512-BMVOiWs0uNxHVlHBgzTIqJYmj+PgCo4euloGF+5m4okL3rEYzM2EEv78mw8zWSMM57dM7kVIgJ2QDvwHSoCI5g==
49955023

5024+
"@types/lodash@^4.14.175":
5025+
version "4.17.24"
5026+
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.24.tgz#4ae334fc62c0e915ca8ed8e35dcc6d4eeb29215f"
5027+
integrity sha512-gIW7lQLZbue7lRSWEFql49QJJWThrTFFeIMJdp3eH4tKoxm1OvEPg02rm4wCCSHS0cL3/Fizimb35b7k8atwsQ==
5028+
49965029
"@types/long@^4.0.0":
49975030
version "4.0.2"
49985031
resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a"
@@ -5895,6 +5928,15 @@ axios@1.6.0:
58955928
form-data "^4.0.0"
58965929
proxy-from-env "^1.1.0"
58975930

5931+
axios@1.8.2:
5932+
version "1.8.2"
5933+
resolved "https://registry.yarnpkg.com/axios/-/axios-1.8.2.tgz#fabe06e241dfe83071d4edfbcaa7b1c3a40f7979"
5934+
integrity sha512-ls4GYBm5aig9vWx8AWDSGLpnpDQRtWAfrjU+EuytuODrFBkqesN2RkOQCBzrA1RQNHw1SmRMSDDDSwzNAYQ6Rg==
5935+
dependencies:
5936+
follow-redirects "^1.15.6"
5937+
form-data "^4.0.0"
5938+
proxy-from-env "^1.1.0"
5939+
58985940
axios@^0.27.2:
58995941
version "0.27.2"
59005942
resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972"
@@ -8058,6 +8100,11 @@ follow-redirects@^1.14.9, follow-redirects@^1.15.0:
80588100
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13"
80598101
integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==
80608102

8103+
follow-redirects@^1.15.6:
8104+
version "1.16.0"
8105+
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.16.0.tgz#28474a159d3b9d11ef62050a14ed60e4df6d61bc"
8106+
integrity sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==
8107+
80618108
follow-redirects@^1.15.9:
80628109
version "1.15.11"
80638110
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.11.tgz#777d73d72a92f8ec4d2e410eb47352a56b8e8340"
@@ -12023,7 +12070,7 @@ react-is@^18.0.0, react-is@^18.2.0:
1202312070
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b"
1202412071
integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==
1202512072

12026-
react-query@*, react-query@3.39.3, react-query@^3.34.15:
12073+
react-query@*, react-query@3.39.3, react-query@^3.34.15, react-query@^3.39.3:
1202712074
version "3.39.3"
1202812075
resolved "https://registry.yarnpkg.com/react-query/-/react-query-3.39.3.tgz#4cea7127c6c26bdea2de5fb63e51044330b03f35"
1202912076
integrity sha512-nLfLz7GiohKTJDuT4us4X3h/8unOh+00MLb2yJoGTPjxKs2bc1iDhkNx2bd5MKklXnOD3NrVZ+J2UXujA5In4g==
@@ -13378,6 +13425,20 @@ strapi-plugin-preview-button@^2.1.0:
1337813425
react-copy-to-clipboard "5.1.0"
1337913426
react-redux "8.1.1"
1338013427

13428+
strapi-plugin-publisher@^1:
13429+
version "1.5.9"
13430+
resolved "https://registry.yarnpkg.com/strapi-plugin-publisher/-/strapi-plugin-publisher-1.5.9.tgz#b28694f785fb192a416a83250e4713458472cc6f"
13431+
integrity sha512-GxrEvCOs4Vp5iV7wjJlVQZxUqPbUb6MJyBxOstmNQoCFIHdRUKADVUId3/sECEOBpg6dT0pt9frjMerof05FzA==
13432+
dependencies:
13433+
"@strapi/design-system" "^1.13.1"
13434+
"@strapi/helper-plugin" "^4.0.0"
13435+
"@strapi/icons" "^1.13.1"
13436+
"@strapi/utils" "^4.0.0"
13437+
lodash "^4.17.21"
13438+
prop-types "^15.8.1"
13439+
react-query "^3.39.3"
13440+
yup "^0.32.9"
13441+
1338113442
strapi-plugin-rest-cache@^4.2.8:
1338213443
version "4.2.8"
1338313444
resolved "https://registry.yarnpkg.com/strapi-plugin-rest-cache/-/strapi-plugin-rest-cache-4.2.8.tgz#4f8f014d09281d82294fe578af7d424bddb4eaf2"
@@ -14690,6 +14751,19 @@ yup@0.32.9:
1469014751
property-expr "^2.0.4"
1469114752
toposort "^2.0.2"
1469214753

14754+
yup@^0.32.9:
14755+
version "0.32.11"
14756+
resolved "https://registry.yarnpkg.com/yup/-/yup-0.32.11.tgz#d67fb83eefa4698607982e63f7ca4c5ed3cf18c5"
14757+
integrity sha512-Z2Fe1bn+eLstG8DRR6FTavGD+MeAwyfmouhHsIUgaADz8jvFKbO/fXc2trJKZg+5EBjh4gGm3iU/t3onKlXHIg==
14758+
dependencies:
14759+
"@babel/runtime" "^7.15.4"
14760+
"@types/lodash" "^4.14.175"
14761+
lodash "^4.17.21"
14762+
lodash-es "^4.17.21"
14763+
nanoclone "^0.2.1"
14764+
property-expr "^2.0.4"
14765+
toposort "^2.0.2"
14766+
1469314767
zod@^3.11.6:
1469414768
version "3.22.2"
1469514769
resolved "https://registry.yarnpkg.com/zod/-/zod-3.22.2.tgz#3add8c682b7077c05ac6f979fea6998b573e157b"

0 commit comments

Comments
 (0)