Skip to content

Commit d4624c7

Browse files
lottamusP0lip
authored andcommitted
fix: include scss file in dist
1 parent 46cc4ca commit d4624c7

File tree

2 files changed

+53
-44
lines changed

2 files changed

+53
-44
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"node": ">=8.3.0"
2121
},
2222
"scripts": {
23-
"build": "sl-scripts build",
23+
"build": "sl-scripts build && copyfiles -u 1 \"./src/styles/**/*.scss\" ./dist",
2424
"build.docs": "build-storybook -c .storybook -o docs-auto",
2525
"commit": "git-cz",
2626
"lint": "tslint -c tslint.json 'src/**/*.ts?'",
@@ -62,6 +62,7 @@
6262
"@types/pluralize": "^0.0.29",
6363
"@types/react": "16.8.12",
6464
"@types/react-dom": "16.8.3",
65+
"copyfiles": "^2.1.0",
6566
"enzyme": "3.9.0",
6667
"enzyme-adapter-react-16": "1.12.1",
6768
"enzyme-to-json": "3.x.x",

yarn.lock

Lines changed: 51 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -4856,6 +4856,18 @@ copy-to-clipboard@^3.0.8:
48564856
dependencies:
48574857
toggle-selection "^1.0.6"
48584858

4859+
copyfiles@^2.1.0:
4860+
version "2.1.0"
4861+
resolved "https://registry.npmjs.org/copyfiles/-/copyfiles-2.1.0.tgz#0e2a4188162d6b2f3c5adfe34e9c0bd564d23164"
4862+
integrity sha512-cAeDE0vL/koE9WSEGxqPpSyvU638Kgfu6wfrnj7kqp9FWa1CWsU54Coo6sdYZP4GstWa39tL/wIVJWfXcujgNA==
4863+
dependencies:
4864+
glob "^7.0.5"
4865+
minimatch "^3.0.3"
4866+
mkdirp "^0.5.1"
4867+
noms "0.0.0"
4868+
through2 "^2.0.1"
4869+
yargs "^11.0.0"
4870+
48594871
core-js-compat@^3.0.0:
48604872
version "3.0.1"
48614873
resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.0.1.tgz#bff73ba31ca8687431b9c88f78d3362646fb76f0"
@@ -5270,7 +5282,7 @@ debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
52705282
dependencies:
52715283
ms "^2.1.1"
52725284

5273-
debuglog@*, debuglog@^1.0.1:
5285+
debuglog@^1.0.1:
52745286
version "1.0.1"
52755287
resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"
52765288
integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI=
@@ -6735,7 +6747,7 @@ glob@7.1.3:
67356747
once "^1.3.0"
67366748
path-is-absolute "^1.0.0"
67376749

6738-
glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@~7.1.1:
6750+
glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@~7.1.1:
67396751
version "7.1.4"
67406752
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
67416753
integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==
@@ -7385,7 +7397,7 @@ import-local@^2.0.0:
73857397
pkg-dir "^3.0.0"
73867398
resolve-cwd "^2.0.0"
73877399

7388-
imurmurhash@*, imurmurhash@^0.1.4:
7400+
imurmurhash@^0.1.4:
73897401
version "0.1.4"
73907402
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
73917403
integrity sha1-khi5srkoojixPcT7a21XbyMUU+o=
@@ -8836,7 +8848,7 @@ libnpm@^2.0.1:
88368848
read-package-json "^2.0.13"
88378849
stringify-package "^1.0.0"
88388850

8839-
libnpmaccess@*, libnpmaccess@^3.0.1:
8851+
libnpmaccess@^3.0.1:
88408852
version "3.0.1"
88418853
resolved "https://registry.yarnpkg.com/libnpmaccess/-/libnpmaccess-3.0.1.tgz#5b3a9de621f293d425191aa2e779102f84167fa8"
88428854
integrity sha512-RlZ7PNarCBt+XbnP7R6PoVgOq9t+kou5rvhaInoNibhPO7eMlRfS0B8yjatgn2yaHIwWNyoJDolC/6Lc5L/IQA==
@@ -8873,7 +8885,7 @@ libnpmhook@^5.0.2:
88738885
get-stream "^4.0.0"
88748886
npm-registry-fetch "^3.8.0"
88758887

8876-
libnpmorg@*, libnpmorg@^1.0.0:
8888+
libnpmorg@^1.0.0:
88778889
version "1.0.0"
88788890
resolved "https://registry.yarnpkg.com/libnpmorg/-/libnpmorg-1.0.0.tgz#979b868c48ba28c5820e3bb9d9e73c883c16a232"
88798891
integrity sha512-o+4eVJBoDGMgRwh2lJY0a8pRV2c/tQM/SxlqXezjcAg26Qe9jigYVs+Xk0vvlYDWCDhP0g74J8UwWeAgsB7gGw==
@@ -8898,7 +8910,7 @@ libnpmpublish@^1.1.0:
88988910
semver "^5.5.1"
88998911
ssri "^6.0.1"
89008912

8901-
libnpmsearch@*, libnpmsearch@^2.0.0:
8913+
libnpmsearch@^2.0.0:
89028914
version "2.0.0"
89038915
resolved "https://registry.yarnpkg.com/libnpmsearch/-/libnpmsearch-2.0.0.tgz#de05af47ada81554a5f64276a69599070d4a5685"
89048916
integrity sha512-vd+JWbTGzOSfiOc+72MU6y7WqmBXn49egCCrIXp27iE/88bX8EpG64ST1blWQI1bSMUr9l1AKPMVsqa2tS5KWA==
@@ -8907,7 +8919,7 @@ libnpmsearch@*, libnpmsearch@^2.0.0:
89078919
get-stream "^4.0.0"
89088920
npm-registry-fetch "^3.8.0"
89098921

8910-
libnpmteam@*, libnpmteam@^1.0.1:
8922+
libnpmteam@^1.0.1:
89118923
version "1.0.1"
89128924
resolved "https://registry.yarnpkg.com/libnpmteam/-/libnpmteam-1.0.1.tgz#ff704b1b6c06ea674b3b1101ac3e305f5114f213"
89138925
integrity sha512-gDdrflKFCX7TNwOMX1snWojCoDE5LoRWcfOC0C/fqF7mBq8Uz9zWAX4B2RllYETNO7pBupBaSyBDkTAC15cAMg==
@@ -9091,11 +9103,6 @@ lodash-es@^4.17.11:
90919103
resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.11.tgz#145ab4a7ac5c5e52a3531fb4f310255a152b4be0"
90929104
integrity sha512-DHb1ub+rMjjrxqlB3H56/6MXtm1lSksDp2rA2cNWjG8mlDUYFhUj3Di2Zn5IwSU87xLv8tNIQ7sSwE/YOX/D/Q==
90939105

9094-
lodash._baseindexof@*:
9095-
version "3.1.0"
9096-
resolved "https://registry.yarnpkg.com/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c"
9097-
integrity sha1-/lK1OhxnYeQmGNZU5KJXie1hgiw=
9098-
90999106
lodash._baseisequal@^3.0.0:
91009107
version "3.0.7"
91019108
resolved "https://registry.yarnpkg.com/lodash._baseisequal/-/lodash._baseisequal-3.0.7.tgz#d8025f76339d29342767dcc887ce5cb95a5b51f1"
@@ -9113,29 +9120,17 @@ lodash._baseuniq@~4.6.0:
91139120
lodash._createset "~4.0.0"
91149121
lodash._root "~3.0.0"
91159122

9116-
lodash._bindcallback@*, lodash._bindcallback@^3.0.0:
9123+
lodash._bindcallback@^3.0.0:
91179124
version "3.0.1"
91189125
resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e"
91199126
integrity sha1-5THCdkTPi1epnhftlbNcdIeJOS4=
91209127

9121-
lodash._cacheindexof@*:
9122-
version "3.0.2"
9123-
resolved "https://registry.yarnpkg.com/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92"
9124-
integrity sha1-PcaayCSY0u5ePOVgkbr9Ktx73pI=
9125-
9126-
lodash._createcache@*:
9127-
version "3.1.2"
9128-
resolved "https://registry.yarnpkg.com/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093"
9129-
integrity sha1-VtagZAF2JeeevKa4AY4XRAvc8JM=
9130-
dependencies:
9131-
lodash._getnative "^3.0.0"
9132-
91339128
lodash._createset@~4.0.0:
91349129
version "4.0.3"
91359130
resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26"
91369131
integrity sha1-D0ZZ+7CddRlPqeK4imZE02PJ/iY=
91379132

9138-
lodash._getnative@*, lodash._getnative@^3.0.0:
9133+
lodash._getnative@^3.0.0:
91399134
version "3.9.1"
91409135
resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5"
91419136
integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=
@@ -9247,11 +9242,6 @@ lodash.pick@^4.4.0:
92479242
resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3"
92489243
integrity sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM=
92499244

9250-
lodash.restparam@*:
9251-
version "3.6.1"
9252-
resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805"
9253-
integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU=
9254-
92559245
lodash.set@^4.3.2:
92569246
version "4.3.2"
92579247
resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23"
@@ -9806,7 +9796,7 @@ minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1:
98069796
resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
98079797
integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=
98089798

9809-
minimatch@3.0.4, minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.4, minimatch@~3.0.2:
9799+
minimatch@3.0.4, minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@~3.0.2:
98109800
version "3.0.4"
98119801
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
98129802
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
@@ -10239,6 +10229,14 @@ node-version@^1.0.0:
1023910229
resolved "https://registry.yarnpkg.com/node-version/-/node-version-1.2.0.tgz#34fde3ffa8e1149bd323983479dda620e1b5060d"
1024010230
integrity sha512-ma6oU4Sk0qOoKEAymVoTvk8EdXEobdS7m/mAGhDJ8Rouugho48crHBORAmy5BoOcv8wraPM6xumapQp5hl4iIQ==
1024110231

10232+
noms@0.0.0:
10233+
version "0.0.0"
10234+
resolved "https://registry.npmjs.org/noms/-/noms-0.0.0.tgz#da8ebd9f3af9d6760919b27d9cdc8092a7332859"
10235+
integrity sha1-2o69nzr51nYJGbJ9nNyAkqczKFk=
10236+
dependencies:
10237+
inherits "^2.0.1"
10238+
readable-stream "~1.0.31"
10239+
1024210240
"nopt@2 || 3":
1024310241
version "3.0.6"
1024410242
resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9"
@@ -10386,15 +10384,6 @@ npm-pick-manifest@^2.1.0, npm-pick-manifest@^2.2.3:
1038610384
npm-package-arg "^6.0.0"
1038710385
semver "^5.4.1"
1038810386

10389-
npm-profile@*, npm-profile@^4.0.1:
10390-
version "4.0.1"
10391-
resolved "https://registry.yarnpkg.com/npm-profile/-/npm-profile-4.0.1.tgz#d350f7a5e6b60691c7168fbb8392c3603583f5aa"
10392-
integrity sha512-NQ1I/1Q7YRtHZXkcuU1/IyHeLy6pd+ScKg4+DQHdfsm769TGq6HPrkbuNJVJS4zwE+0mvvmeULzQdWn2L2EsVA==
10393-
dependencies:
10394-
aproba "^1.1.2 || 2"
10395-
figgy-pudding "^3.4.1"
10396-
npm-registry-fetch "^3.8.0"
10397-
1039810387
npm-profile@^3.0.2:
1039910388
version "3.0.2"
1040010389
resolved "https://registry.yarnpkg.com/npm-profile/-/npm-profile-3.0.2.tgz#58d568f1b56ef769602fd0aed8c43fa0e0de0f57"
@@ -10403,6 +10392,15 @@ npm-profile@^3.0.2:
1040310392
aproba "^1.1.2 || 2"
1040410393
make-fetch-happen "^2.5.0 || 3 || 4"
1040510394

10395+
npm-profile@^4.0.1:
10396+
version "4.0.1"
10397+
resolved "https://registry.yarnpkg.com/npm-profile/-/npm-profile-4.0.1.tgz#d350f7a5e6b60691c7168fbb8392c3603583f5aa"
10398+
integrity sha512-NQ1I/1Q7YRtHZXkcuU1/IyHeLy6pd+ScKg4+DQHdfsm769TGq6HPrkbuNJVJS4zwE+0mvvmeULzQdWn2L2EsVA==
10399+
dependencies:
10400+
aproba "^1.1.2 || 2"
10401+
figgy-pudding "^3.4.1"
10402+
npm-registry-fetch "^3.8.0"
10403+
1040610404
npm-registry-client@^8.6.0:
1040710405
version "8.6.0"
1040810406
resolved "https://registry.yarnpkg.com/npm-registry-client/-/npm-registry-client-8.6.0.tgz#7f1529f91450732e89f8518e0f21459deea3e4c4"
@@ -12360,6 +12358,16 @@ readable-stream@^3.1.1:
1236012358
string_decoder "^1.1.1"
1236112359
util-deprecate "^1.0.1"
1236212360

12361+
readable-stream@~1.0.31:
12362+
version "1.0.34"
12363+
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c"
12364+
integrity sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=
12365+
dependencies:
12366+
core-util-is "~1.0.0"
12367+
inherits "~2.0.1"
12368+
isarray "0.0.1"
12369+
string_decoder "~0.10.x"
12370+
1236312371
readable-stream@~1.1.10:
1236412372
version "1.1.14"
1236512373
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9"
@@ -12370,7 +12378,7 @@ readable-stream@~1.1.10:
1237012378
isarray "0.0.1"
1237112379
string_decoder "~0.10.x"
1237212380

12373-
readdir-scoped-modules@*, readdir-scoped-modules@^1.0.0:
12381+
readdir-scoped-modules@^1.0.0:
1237412382
version "1.0.2"
1237512383
resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.0.2.tgz#9fafa37d286be5d92cbaebdee030dc9b5f406747"
1237612384
integrity sha1-n6+jfShr5dksuuve4DDcm19AZ0c=
@@ -14120,7 +14128,7 @@ throat@^4.0.0:
1412014128
resolved "https://registry.yarnpkg.com/throat/-/throat-4.1.0.tgz#89037cbc92c56ab18926e6ba4cbb200e15672a6a"
1412114129
integrity sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=
1412214130

14123-
through2@^2.0.0, through2@^2.0.2, through2@~2.0.0:
14131+
through2@^2.0.0, through2@^2.0.1, through2@^2.0.2, through2@~2.0.0:
1412414132
version "2.0.5"
1412514133
resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd"
1412614134
integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==

0 commit comments

Comments
 (0)