Skip to content

Commit a5ef448

Browse files
committed
copy LICENSE and themes to dist
1 parent e61361a commit a5ef448

File tree

4 files changed

+45
-5
lines changed

4 files changed

+45
-5
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 Asa Baylus
3+
Copyright (c) 2021 Asa Baylus
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"react-scripts": "^4.0.3",
7171
"rollup-plugin-babel": "^4.4.0",
7272
"rollup-plugin-commonjs": "^10.1.0",
73+
"rollup-plugin-copy": "^3.4.0",
7374
"rollup-plugin-node-resolve": "^5.2.0",
7475
"rollup-plugin-postcss": "^4.0.0",
7576
"rollup-plugin-replace": "^2.2.0"

rollup.config.js

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Rollup plugins
22
import babel from "rollup-plugin-babel";
33
import commonjs from "rollup-plugin-commonjs";
4+
import copy from "rollup-plugin-copy";
45
import resolve from "rollup-plugin-node-resolve";
56
import postcss from "rollup-plugin-postcss";
67
import replace from "rollup-plugin-replace";
@@ -11,6 +12,12 @@ const plugins = [
1112
replace({
1213
"process.env.NODE_ENV": JSON.stringify("production"),
1314
}),
15+
copy({
16+
targets: [
17+
{ src: 'LICENSE', dest: 'dist' },
18+
{ src: 'src/themes/*', dest: 'dist/themes' }
19+
]
20+
}),
1421
postcss(),
1522
commonjs({
1623
include: ["node_modules/**"],

yarn.lock

+36-4
Original file line numberDiff line numberDiff line change
@@ -3195,6 +3195,13 @@
31953195
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f"
31963196
integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==
31973197

3198+
"@types/fs-extra@^8.0.1":
3199+
version "8.1.1"
3200+
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-8.1.1.tgz#1e49f22d09aa46e19b51c0b013cb63d0d923a068"
3201+
integrity sha512-TcUlBem321DFQzBNuz8p0CLLKp0VvF/XH9E4KHNmgwyp4E3AfgI5cjiIVZWlbfThBop2qxFIh4+LeY6hVWWZ2w==
3202+
dependencies:
3203+
"@types/node" "*"
3204+
31983205
"@types/glob-base@^0.3.0":
31993206
version "0.3.0"
32003207
resolved "https://registry.yarnpkg.com/@types/glob-base/-/glob-base-0.3.0.tgz#a581d688347e10e50dd7c17d6f2880a10354319d"
@@ -5435,7 +5442,7 @@ color@^3.0.0:
54355442
color-convert "^1.9.1"
54365443
color-string "^1.5.4"
54375444

5438-
colorette@^1.2.1, colorette@^1.2.2:
5445+
colorette@^1.1.0, colorette@^1.2.1, colorette@^1.2.2:
54395446
version "1.2.2"
54405447
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94"
54415448
integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==
@@ -7411,7 +7418,7 @@ fast-glob@^2.2.6:
74117418
merge2 "^1.2.3"
74127419
micromatch "^3.1.10"
74137420

7414-
fast-glob@^3.1.1:
7421+
fast-glob@^3.0.3, fast-glob@^3.1.1:
74157422
version "3.2.5"
74167423
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.5.tgz#7939af2a656de79a4f1901903ee8adcaa7cb9661"
74177424
integrity sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg==
@@ -8095,6 +8102,20 @@ globalthis@^1.0.0:
80958102
dependencies:
80968103
define-properties "^1.1.3"
80978104

8105+
8106+
version "10.0.1"
8107+
resolved "https://registry.yarnpkg.com/globby/-/globby-10.0.1.tgz#4782c34cb75dd683351335c5829cc3420e606b22"
8108+
integrity sha512-sSs4inE1FB2YQiymcmTv6NWENryABjUNPeWhOvmn4SjtKybglsyPZxFB3U1/+L1bYi0rNZDqCLlHyLYDl1Pq5A==
8109+
dependencies:
8110+
"@types/glob" "^7.1.1"
8111+
array-union "^2.1.0"
8112+
dir-glob "^3.0.1"
8113+
fast-glob "^3.0.3"
8114+
glob "^7.1.3"
8115+
ignore "^5.1.1"
8116+
merge2 "^1.2.3"
8117+
slash "^3.0.0"
8118+
80988119
80998120
version "11.0.1"
81008121
resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.1.tgz#9a2bf107a068f3ffeabc49ad702c79ede8cfd357"
@@ -8715,7 +8736,7 @@ ignore@^4.0.3, ignore@^4.0.6:
87158736
resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc"
87168737
integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==
87178738

8718-
ignore@^5.1.4:
8739+
ignore@^5.1.1, ignore@^5.1.4:
87198740
version "5.1.8"
87208741
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57"
87218742
integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==
@@ -9231,7 +9252,7 @@ is-plain-obj@^2.0.0:
92319252
resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287"
92329253
integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==
92339254

9234-
9255+
[email protected], is-plain-object@^3.0.0:
92359256
version "3.0.1"
92369257
resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-3.0.1.tgz#662d92d24c0aa4302407b0d45d21f2251c85f85b"
92379258
integrity sha512-Xnpx182SBMrr/aBik8y+GuR4U1L9FqMSojwDQwPMmxyC6bvEqly9UBCxhauBF5vNh2gwWJNX6oDV7O+OM4z34g==
@@ -14061,6 +14082,17 @@ rollup-plugin-commonjs@^10.1.0:
1406114082
resolve "^1.11.0"
1406214083
rollup-pluginutils "^2.8.1"
1406314084

14085+
rollup-plugin-copy@^3.4.0:
14086+
version "3.4.0"
14087+
resolved "https://registry.yarnpkg.com/rollup-plugin-copy/-/rollup-plugin-copy-3.4.0.tgz#f1228a3ffb66ffad8606e2f3fb7ff23141ed3286"
14088+
integrity sha512-rGUmYYsYsceRJRqLVlE9FivJMxJ7X6jDlP79fmFkL8sJs7VVMSVyA2yfyL+PGyO/vJs4A87hwhgVfz61njI+uQ==
14089+
dependencies:
14090+
"@types/fs-extra" "^8.0.1"
14091+
colorette "^1.1.0"
14092+
fs-extra "^8.1.0"
14093+
globby "10.0.1"
14094+
is-plain-object "^3.0.0"
14095+
1406414096
rollup-plugin-node-resolve@^5.2.0:
1406514097
version "5.2.0"
1406614098
resolved "https://registry.yarnpkg.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-5.2.0.tgz#730f93d10ed202473b1fb54a5997a7db8c6d8523"

0 commit comments

Comments
 (0)