Skip to content

Commit 1638bc5

Browse files
committed
chore: cleanup
1 parent e0bdf19 commit 1638bc5

File tree

3 files changed

+10
-99
lines changed

3 files changed

+10
-99
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020 - 2023 Boaz Poolman.
1+
Copyright (c) 2020-present PluginPal.
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

package.json

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,31 @@
11
{
22
"name": "strapi-plugin-component-duplicator",
3-
"version": "3.1.1",
4-
"description": "Generate a highly customizable component-duplicator XML in Strapi CMS.",
3+
"version": "1.0.0",
4+
"description": "A duplicate button for your repeatable components.",
55
"strapi": {
6-
"displayName": "Sitemap",
6+
"displayName": "Component Duplicator",
77
"name": "component-duplicator",
8-
"icon": "component-duplicator",
9-
"description": "Generate a highly customizable component-duplicator XML in Strapi CMS.",
8+
"description": "A duplicate button for your repeatable components.",
109
"required": false,
1110
"kind": "plugin"
1211
},
13-
"bin": {
14-
"strapi-component-duplicator": "./bin/strapi-component-duplicator"
15-
},
1612
"scripts": {
1713
"build": "tsc --outDir build && yarn build:copy-files && yarn build:clean",
1814
"build:install": "cp package.json build && cp yarn.lock build && cd build && yarn --frozen-lockfile --unsafe-perm --production",
19-
"build:copy-files": "copyfiles -u 1 xsl/**/* build/xsl/ && copyfiles -u 1 bin/**/* build/bin/ && copyfiles LICENSE.md build/ && copyfiles README.md build/",
15+
"build:copy-files": "copyfiles LICENSE.md build/ && copyfiles README.md build/",
2016
"build:clean": "rimraf build/tsconfig.tsbuildinfo",
21-
"develop": "yarn develop:copy-files && tsc -w",
22-
"develop:copy-files": "copyfiles -u 1 xsl/**/* playground/src/plugins/component-duplicator/xsl/",
17+
"develop": "tsc -w",
2318
"eslint": "eslint --max-warnings=0 './**/*.{js,jsx,ts,tsx}'",
2419
"eslint:fix": "eslint --fix './**/*.{js,jsx,ts,tsx}'",
2520
"test:install": "mv yarn.lock tmp-yarn.lock && mv package.json tmp-package.json && yarn add @types/jest typescript jest ts-jest supertest && rm -rf package.json yarn.lock && mv tmp-package.json package.json && mv tmp-yarn.lock yarn.lock",
2621
"test:unit": "ENV_PATH=./playground/.env jest --verbose --runInBand --forceExit",
2722
"test:integration": "ENV_PATH=./playground/.env jest --verbose --runInBand --forceExit --testMatch **/healthcheck.test.js",
28-
"docs:generate": "cd docs && yarn generate",
29-
"docs:dev": "cd docs && yarn dev",
3023
"playground:install": "cd playground && yarn install",
3124
"playground:build": "cd playground && yarn build",
3225
"playground:start": "cd playground && yarn start",
3326
"playground:develop": "cd playground && yarn develop",
3427
"playground:install-plugin": "cd playground && yarn add strapi-plugin-component-duplicator@'./../build'"
3528
},
36-
"dependencies": {
37-
"chalk": "^4.1.2",
38-
"commander": "^8.3.0",
39-
"immutable": "^3.8.2",
40-
"redux-immutable": "^4.0.0",
41-
"redux-thunk": "^2.3.0",
42-
"xml2js": "^0.5.0"
43-
},
4429
"author": {
4530
"name": "Boaz Poolman",
4631
"email": "[email protected]",
@@ -69,8 +54,6 @@
6954
"lodash": "^4.17.11",
7055
"react": "^17.0.2",
7156
"react-intl": "^5.20.12",
72-
"react-redux": "^7.2.2",
73-
"redux": "^4.0.5",
7457
"styled-components": "^5.2.3",
7558
"typescript": "^5.1.6"
7659
},

yarn.lock

Lines changed: 3 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@
11601160
resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310"
11611161
integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==
11621162

1163-
"@babel/runtime@^7.10.5", "@babel/runtime@^7.12.0", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.15.4", "@babel/runtime@^7.16.3", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.6", "@babel/runtime@^7.20.7", "@babel/runtime@^7.21.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
1163+
"@babel/runtime@^7.10.5", "@babel/runtime@^7.12.0", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.16.3", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.6", "@babel/runtime@^7.20.7", "@babel/runtime@^7.21.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7":
11641164
version "7.22.5"
11651165
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.22.5.tgz#8564dd588182ce0047d55d7a75e93921107b57ec"
11661166
integrity sha512-ecjvYlnAaZ/KVneE/OdKYBYfgXV3Ptu6zQWmgEF7vwKhQnvVS6bjMD2XYgj+SNvQ1GfK/pjgokfPkC/2CO8CuA==
@@ -2399,7 +2399,7 @@
23992399
dependencies:
24002400
"@types/node" "*"
24012401

2402-
"@types/hoist-non-react-statics@^3.3.0", "@types/hoist-non-react-statics@^3.3.1":
2402+
"@types/hoist-non-react-statics@^3.3.1":
24032403
version "3.3.1"
24042404
resolved "https://registry.yarnpkg.com/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz#1124aafe5118cb591977aeb1ceaaed1070eb039f"
24052405
integrity sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==
@@ -2461,16 +2461,6 @@
24612461
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf"
24622462
integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==
24632463

2464-
"@types/react-redux@^7.1.20":
2465-
version "7.1.25"
2466-
resolved "https://registry.yarnpkg.com/@types/react-redux/-/react-redux-7.1.25.tgz#de841631205b24f9dfb4967dd4a7901e048f9a88"
2467-
integrity sha512-bAGh4e+w5D8dajd6InASVIyCo4pZLJ66oLb80F9OBLO1gKESbZcRCJpTT6uLXX+HAB57zw1WTdwJdAsewuTweg==
2468-
dependencies:
2469-
"@types/hoist-non-react-statics" "^3.3.0"
2470-
"@types/react" "*"
2471-
hoist-non-react-statics "^3.3.0"
2472-
redux "^4.0.0"
2473-
24742464
"@types/react-transition-group@^4.4.0":
24752465
version "4.4.6"
24762466
resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.6.tgz#18187bcda5281f8e10dfc48f0943e2fdf4f75e2e"
@@ -3194,7 +3184,7 @@ chalk@^2.0.0, chalk@^2.4.2:
31943184
escape-string-regexp "^1.0.5"
31953185
supports-color "^5.3.0"
31963186

3197-
chalk@^4.0.0, chalk@^4.1.2:
3187+
chalk@^4.0.0:
31983188
version "4.1.2"
31993189
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
32003190
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
@@ -3302,11 +3292,6 @@ combined-stream@^1.0.8:
33023292
dependencies:
33033293
delayed-stream "~1.0.0"
33043294

3305-
commander@^8.3.0:
3306-
version "8.3.0"
3307-
resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66"
3308-
integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==
3309-
33103295
compute-scroll-into-view@^3.1.0:
33113296
version "3.1.0"
33123297
resolved "https://registry.yarnpkg.com/compute-scroll-into-view/-/compute-scroll-into-view-3.1.0.tgz#753f11d972596558d8fe7c6bcbc8497690ab4c87"
@@ -4488,11 +4473,6 @@ [email protected]:
44884473
resolved "https://registry.yarnpkg.com/immer/-/immer-9.0.19.tgz#67fb97310555690b5f9cd8380d38fc0aabb6b38b"
44894474
integrity sha512-eY+Y0qcsB4TZKwgQzLaE/lqYMlKhv5J9dyd2RhhtGhNo2njPXDqU9XPfcNfa3MIDsdtZt5KlkIsirlo4dHsWdQ==
44904475

4491-
immutable@^3.8.2:
4492-
version "3.8.2"
4493-
resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.8.2.tgz#c2439951455bb39913daf281376f1530e104adf3"
4494-
integrity sha512-15gZoQ38eYjEjxkorfbcgBKBL6R7T459OuK+CpcWt7O3KF4uPCx2tD0uFETlUDIyo+1789crbMhTvQBSR5yBMg==
4495-
44964476
import-fresh@^3.0.0, import-fresh@^3.2.1:
44974477
version "3.3.0"
44984478
resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b"
@@ -5947,11 +5927,6 @@ react-is@^16.13.1, react-is@^16.7.0:
59475927
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
59485928
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
59495929

5950-
react-is@^17.0.2:
5951-
version "17.0.2"
5952-
resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0"
5953-
integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==
5954-
59555930
react-is@^18.0.0:
59565931
version "18.2.0"
59575932
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b"
@@ -5966,18 +5941,6 @@ [email protected]:
59665941
broadcast-channel "^3.4.1"
59675942
match-sorter "^6.0.2"
59685943

5969-
react-redux@^7.2.2:
5970-
version "7.2.9"
5971-
resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-7.2.9.tgz#09488fbb9416a4efe3735b7235055442b042481d"
5972-
integrity sha512-Gx4L3uM182jEEayZfRbI/G11ZpYdNAnBs70lFVMNdHJI76XYtR+7m0MN+eAs7UHBPhWXcnFPaS+9owSCJQHNpQ==
5973-
dependencies:
5974-
"@babel/runtime" "^7.15.4"
5975-
"@types/react-redux" "^7.1.20"
5976-
hoist-non-react-statics "^3.3.2"
5977-
loose-envify "^1.4.0"
5978-
prop-types "^15.7.2"
5979-
react-is "^17.0.2"
5980-
59815944
react-remove-scroll-bar@^2.3.3, react-remove-scroll-bar@^2.3.4:
59825945
version "2.3.4"
59835946
resolved "https://registry.yarnpkg.com/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz#53e272d7a5cb8242990c7f144c44d8bd8ab5afd9"
@@ -6087,23 +6050,6 @@ readable-stream@~1.0.31:
60876050
isarray "0.0.1"
60886051
string_decoder "~0.10.x"
60896052

6090-
redux-immutable@^4.0.0:
6091-
version "4.0.0"
6092-
resolved "https://registry.yarnpkg.com/redux-immutable/-/redux-immutable-4.0.0.tgz#3a1a32df66366462b63691f0e1dc35e472bbc9f3"
6093-
integrity sha512-SchSn/DWfGb3oAejd+1hhHx01xUoxY+V7TeK0BKqpkLKiQPVFf7DYzEaKmrEVxsWxielKfSK9/Xq66YyxgR1cg==
6094-
6095-
redux-thunk@^2.3.0:
6096-
version "2.4.2"
6097-
resolved "https://registry.yarnpkg.com/redux-thunk/-/redux-thunk-2.4.2.tgz#b9d05d11994b99f7a91ea223e8b04cf0afa5ef3b"
6098-
integrity sha512-+P3TjtnP0k/FEjcBL5FZpoovtvrTNT/UXd4/sluaSyrURlSlhLSzEdfsTBW7WsKB6yPvgd7q/iZPICFjW4o57Q==
6099-
6100-
redux@^4.0.0, redux@^4.0.5:
6101-
version "4.2.1"
6102-
resolved "https://registry.yarnpkg.com/redux/-/redux-4.2.1.tgz#c08f4306826c49b5e9dc901dee0452ea8fce6197"
6103-
integrity sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==
6104-
dependencies:
6105-
"@babel/runtime" "^7.9.2"
6106-
61076053
regenerate-unicode-properties@^10.1.0:
61086054
version "10.1.0"
61096055
resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz#7c3192cab6dd24e21cb4461e5ddd7dd24fa8374c"
@@ -6262,11 +6208,6 @@ safer-buffer@^2.1.0:
62626208
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
62636209
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
62646210

6265-
sax@>=0.6.0:
6266-
version "1.2.4"
6267-
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
6268-
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
6269-
62706211
semver@^5.3.0:
62716212
version "5.7.2"
62726213
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8"
@@ -6914,19 +6855,6 @@ write-file-atomic@^4.0.2:
69146855
imurmurhash "^0.1.4"
69156856
signal-exit "^3.0.7"
69166857

6917-
xml2js@^0.5.0:
6918-
version "0.5.0"
6919-
resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.5.0.tgz#d9440631fbb2ed800203fad106f2724f62c493b7"
6920-
integrity sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==
6921-
dependencies:
6922-
sax ">=0.6.0"
6923-
xmlbuilder "~11.0.0"
6924-
6925-
xmlbuilder@~11.0.0:
6926-
version "11.0.1"
6927-
resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-11.0.1.tgz#be9bae1c8a046e76b31127726347d0ad7002beb3"
6928-
integrity sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==
6929-
69306858
xtend@^4.0.0, xtend@~4.0.1:
69316859
version "4.0.2"
69326860
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"

0 commit comments

Comments
 (0)