Skip to content

Commit 2f0971a

Browse files
committed
build: migrate from node-sass to sass
1 parent 76d14a4 commit 2f0971a

File tree

2 files changed

+25
-20
lines changed

2 files changed

+25
-20
lines changed

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"test:update": "jest --coverage --updateSnapshot"
2323
},
2424
"peerDependencies": {
25-
"@coreui/coreui": "^4.0.0",
25+
"@coreui/coreui": "^4.0.1",
2626
"react": "^17",
2727
"react-dom": "^17",
2828
"react-router-dom": "^5.2.0"
@@ -31,6 +31,7 @@
3131
"@babel/core": "^7.15.0",
3232
"@babel/preset-env": "^7.15.0",
3333
"@babel/preset-react": "^7.14.5",
34+
"@coreui/coreui": "^4.0.1",
3435
"@emotion/react": "^11.4.1",
3536
"@emotion/styled": "^11.3.0",
3637
"@popperjs/core": "^2.9.3",
@@ -56,7 +57,6 @@
5657
"gatsby-plugin-sass": "3",
5758
"gatsby-plugin-sitemap": "2",
5859
"jest": "^27.0.6",
59-
"node-sass": "6",
6060
"prettier": "^2.3.2",
6161
"react": "^17.0.1",
6262
"react-dom": "^17.0.1",
@@ -66,6 +66,7 @@
6666
"rollup": "^2.56.22.56.2",
6767
"rollup-plugin-peer-deps-external": "^2.2.4",
6868
"rollup-plugin-typescript2": "^0.30.0",
69+
"sass": "^1.37.5",
6970
"ts-jest": "^27.0.4",
7071
"typescript": "^4.3.5"
7172
},
@@ -75,8 +76,5 @@
7576
"testPathIgnorePatterns": [
7677
"dist/"
7778
]
78-
},
79-
"dependencies": {
80-
"@coreui/coreui": "^4.0.1"
8179
}
8280
}

yarn.lock

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4489,6 +4489,21 @@ cheerio@^0.22.0:
44894489
lodash.reject "^4.4.0"
44904490
lodash.some "^4.4.0"
44914491

4492+
"chokidar@>=3.0.0 <4.0.0", chokidar@^3.0.2, chokidar@^3.4.0, chokidar@^3.4.1, chokidar@^3.4.2, chokidar@^3.4.3, chokidar@^3.5.1:
4493+
version "3.5.2"
4494+
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.2.tgz#dba3976fcadb016f66fd365021d91600d01c1e75"
4495+
integrity sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==
4496+
dependencies:
4497+
anymatch "~3.1.2"
4498+
braces "~3.0.2"
4499+
glob-parent "~5.1.2"
4500+
is-binary-path "~2.1.0"
4501+
is-glob "~4.0.1"
4502+
normalize-path "~3.0.0"
4503+
readdirp "~3.6.0"
4504+
optionalDependencies:
4505+
fsevents "~2.3.2"
4506+
44924507
chokidar@^2.1.8:
44934508
version "2.1.8"
44944509
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917"
@@ -4508,21 +4523,6 @@ chokidar@^2.1.8:
45084523
optionalDependencies:
45094524
fsevents "^1.2.7"
45104525

4511-
chokidar@^3.0.2, chokidar@^3.4.0, chokidar@^3.4.1, chokidar@^3.4.2, chokidar@^3.4.3, chokidar@^3.5.1:
4512-
version "3.5.2"
4513-
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.2.tgz#dba3976fcadb016f66fd365021d91600d01c1e75"
4514-
integrity sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==
4515-
dependencies:
4516-
anymatch "~3.1.2"
4517-
braces "~3.0.2"
4518-
glob-parent "~5.1.2"
4519-
is-binary-path "~2.1.0"
4520-
is-glob "~4.0.1"
4521-
normalize-path "~3.0.0"
4522-
readdirp "~3.6.0"
4523-
optionalDependencies:
4524-
fsevents "~2.3.2"
4525-
45264526
chownr@^1.1.1, chownr@^1.1.2:
45274527
version "1.1.4"
45284528
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b"
@@ -14387,6 +14387,13 @@ sass-loader@^10.1.0:
1438714387
schema-utils "^3.0.0"
1438814388
semver "^7.3.2"
1438914389

14390+
sass@^1.37.5:
14391+
version "1.37.5"
14392+
resolved "https://registry.yarnpkg.com/sass/-/sass-1.37.5.tgz#f6838351f7cc814c4fcfe1d9a20e0cabbd1e7b3c"
14393+
integrity sha512-Cx3ewxz9QB/ErnVIiWg2cH0kiYZ0FPvheDTVC6BsiEGBTZKKZJ1Gq5Kq6jy3PKtL6+EJ8NIoaBW/RSd2R6cZOA==
14394+
dependencies:
14395+
chokidar ">=3.0.0 <4.0.0"
14396+
1439014397
sax@~1.2.4:
1439114398
version "1.2.4"
1439214399
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"

0 commit comments

Comments
 (0)