Skip to content

Commit ba0f544

Browse files
committed
fix: yarn develop for sitemap add on
1 parent a2f2c95 commit ba0f544

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.changeset/ten-times-shake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"webtools-addon-sitemap": patch
3+
---
4+
5+
fix: yarn develop for sitemap add on

packages/addons/sitemap/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
"./package.json": "./package.json"
3737
},
3838
"scripts": {
39-
"build": "../../../node_modules/.bin/pack-up build && ../../../node_modules/.bin/yalc push --publish",
40-
"watch": "../../../node_modules/.bin/pack-up watch",
41-
"watch:link": "../../../node_modules/.bin/strapi-plugin watch:link",
39+
"build": "pack-up build && yalc push --publish",
40+
"watch": "pack-up watch",
41+
"watch:link": "strapi-plugin watch:link",
4242
"develop:copy-files": "copyfiles -u 1 xsl/**/* ../../../playground/src/plugins/webtools-addon-sitemap/xsl/",
43-
"eslint": "../../../node_modules/.bin/eslint --max-warnings=0 './**/*.{js,jsx,ts,tsx}'",
44-
"eslint:fix": "../../../node_modules/.bin/eslint --fix './**/*.{js,jsx,ts,tsx}'"
43+
"eslint": "eslint --max-warnings=0 './**/*.{js,jsx,ts,tsx}'",
44+
"eslint:fix": "eslint --fix './**/*.{js,jsx,ts,tsx}'"
4545
},
4646
"peerDependencies": {
4747
"@strapi/design-system": "^2.0.0-rc",
@@ -58,6 +58,7 @@
5858
"devDependencies": {
5959
"@strapi/design-system": "^2.0.0-rc",
6060
"@strapi/icons": "^2.0.0-rc",
61+
"@strapi/pack-up": "^5.0.0",
6162
"@strapi/sdk-plugin": "^5.0.0",
6263
"@strapi/strapi": "^5.0.0",
6364
"@strapi/utils": "^5.0.0",

yarn.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30382,6 +30382,7 @@ __metadata:
3038230382
dependencies:
3038330383
"@strapi/design-system": "npm:^2.0.0-rc"
3038430384
"@strapi/icons": "npm:^2.0.0-rc"
30385+
"@strapi/pack-up": "npm:^5.0.0"
3038530386
"@strapi/sdk-plugin": "npm:^5.0.0"
3038630387
"@strapi/strapi": "npm:^5.0.0"
3038730388
"@strapi/utils": "npm:^5.0.0"

0 commit comments

Comments
 (0)