Skip to content

Commit

Permalink
🔀 Merge pull request #45 from charliegdev/bug/scss-import-2
Browse files Browse the repository at this point in the history
Bug/scss import 2
  • Loading branch information
charliegdev authored May 28, 2019
2 parents 41dd2c1 + c324921 commit 3057431
Show file tree
Hide file tree
Showing 12 changed files with 58 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
config/
scripts/
3 changes: 2 additions & 1 deletion config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ module.exports = function(webpackEnv) {
),
},
{
loader: require.resolve('css-loader'),
loader: 'typings-for-css-modules-loader',
options: cssOptions,
},
{
Expand Down Expand Up @@ -440,6 +440,7 @@ module.exports = function(webpackEnv) {
importLoaders: 2,
sourceMap: isEnvProduction && shouldUseSourceMap,
modules: true,
namedExport: true,
getLocalIdent: getCSSModuleLocalIdent,
},
'sass-loader'
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
"jest-resolve": "23.6.0",
"jest-watch-typeahead": "^0.2.1",
"react-dev-utils": "^8.0.0",
"react-test-renderer": "^16.8.6"
"react-test-renderer": "^16.8.6",
"typings-for-css-modules-loader": "^1.7.0"
}
}
1 change: 1 addition & 0 deletions src/App.module.scss.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const container: string;
1 change: 1 addition & 0 deletions src/components/dialog/NewTaskDialog.module.scss.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const title: string;
4 changes: 4 additions & 0 deletions src/components/task/Task.module.scss.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export const container: string;
export const title: string;
export const buttons: string;
export const deleteButton: string;
3 changes: 3 additions & 0 deletions src/components/task/TaskLane.module.scss.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export const container: string;
export const title: string;
export const titleLeft: string;
3 changes: 3 additions & 0 deletions src/components/topbar/Topbar.module.scss.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export const container: string;
export const leftContainer: string;
export const appIcon: string;
1 change: 0 additions & 1 deletion src/empty.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/global.d.ts

This file was deleted.

1 change: 1 addition & 0 deletions src/pages/Tasks.module.scss.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const container: string;
39 changes: 39 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2041,6 +2041,11 @@ bfj@6.1.1:
hoopy "^0.1.2"
tryer "^1.0.0"

big.js@^3.1.3:
version "3.2.0"
resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.2.0.tgz#a5fc298b81b9e0dca2e458824784b65c52ba588e"
integrity sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==

big.js@^5.2.2:
version "5.2.2"
resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328"
Expand Down Expand Up @@ -2614,6 +2619,11 @@ color@^3.0.0:
color-convert "^1.9.1"
color-string "^1.5.2"

colour@0.7.1:
version "0.7.1"
resolved "https://registry.yarnpkg.com/colour/-/colour-0.7.1.tgz#9cb169917ec5d12c0736d3e8685746df1cadf778"
integrity sha1-nLFpkX7F0SwHNtPoaFdG3xyt93g=

combined-stream@^1.0.6, combined-stream@~1.0.6:
version "1.0.8"
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
Expand Down Expand Up @@ -4560,6 +4570,11 @@ globule@^1.0.0:
lodash "~4.17.10"
minimatch "~3.0.2"

graceful-fs@4.1.4:
version "4.1.4"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.4.tgz#ef089d2880f033b011823ce5c8fae798da775dbd"
integrity sha1-7widKIDwM7ARgjzlyPrnmNp3Xb0=

graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6:
version "4.1.15"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.15.tgz#ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00"
Expand Down Expand Up @@ -6044,6 +6059,11 @@ json3@^3.3.2:
resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.2.tgz#3c0434743df93e2f5c42aee7b19bcb483575f4e1"
integrity sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=

json5@^0.5.0:
version "0.5.1"
resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821"
integrity sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=

json5@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe"
Expand Down Expand Up @@ -6222,6 +6242,16 @@ loader-runner@^2.3.0:
resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357"
integrity sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==

loader-utils@0.2.16:
version "0.2.16"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.16.tgz#f08632066ed8282835dff88dfb52704765adee6d"
integrity sha1-8IYyBm7YKCg13/iN+1JwR2Wt7m0=
dependencies:
big.js "^3.1.3"
emojis-list "^2.0.0"
json5 "^0.5.0"
object-assign "^4.0.1"

loader-utils@1.2.3, loader-utils@^1.0.1, loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3:
version "1.2.3"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.2.3.tgz#1ff5dc6911c9f0a062531a4c04b609406108c2c7"
Expand Down Expand Up @@ -10080,6 +10110,15 @@ typescript@^3.4.5:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.4.5.tgz#2d2618d10bb566572b8d7aad5180d84257d70a99"
integrity sha512-YycBxUb49UUhdNMU5aJ7z5Ej2XGmaIBL0x34vZ82fn3hGvD+bgrMrVDpatgz2f7YxUMJxMkbWxJZeAvDxVe7Vw==

typings-for-css-modules-loader@^1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/typings-for-css-modules-loader/-/typings-for-css-modules-loader-1.7.0.tgz#a9b5c5a0e19b719d616edfc72855ab47dedd00ae"
integrity sha512-Mp7zDrcUmbUKl3JTLamTsMX+lntMotEm5I05j2RHB5EHb0WL1dAXlynpdlGR5Ye/QTvtL5w+RGB2jP32YoUpZw==
dependencies:
colour "0.7.1"
graceful-fs "4.1.4"
loader-utils "0.2.16"

ua-parser-js@^0.7.18:
version "0.7.19"
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.19.tgz#94151be4c0a7fb1d001af7022fdaca4642659e4b"
Expand Down

0 comments on commit 3057431

Please sign in to comment.