File tree Expand file tree Collapse file tree 3 files changed +48
-5
lines changed Expand file tree Collapse file tree 3 files changed +48
-5
lines changed Original file line number Diff line number Diff line change
1
+ # Javascript Node CircleCI 2.0 configuration file
2
+ # Check https://circleci.com/docs/2.0/language-javascript/ for more details
3
+
4
+ # Sharable configurations
5
+ default_config : &default_config
6
+ docker :
7
+ - image : circleci/node:8.12
8
+ working_directory : ~/repo
9
+ restore_cache : &restore_cache
10
+ keys :
11
+ - v1-dependencies-{{ checksum "package.json" }}
12
+ - v1-dependencies-
13
+ save_cache : &save_cache
14
+ paths :
15
+ - node_modules
16
+ key : v1-dependencies-{{ checksum "package.json" }}
17
+
18
+ # Jobs
19
+ version : 2
20
+ jobs :
21
+ test :
22
+ << : *default_config
23
+ steps :
24
+ - checkout
25
+ - restore_cache : *restore_cache
26
+ - run : yarn
27
+ - save_cache : *save_cache
28
+ - run : yarn test
29
+ build :
30
+ << : *default_config
31
+ steps :
32
+ - checkout
33
+ - restore_cache : *restore_cache
34
+ - run : yarn
35
+ - save_cache : *save_cache
36
+ - run : yarn build
37
+
38
+ # Workflows
39
+ workflows :
40
+ version : 2
41
+ test_and_build :
42
+ jobs :
43
+ - test
44
+ - build
Original file line number Diff line number Diff line change
1
+ /.circleci
2
+ /.github
1
3
/.vscode
4
+ /lib /** /__tests__
2
5
/node_modules
3
6
/src
4
- /lib /** /__tests__
5
- /.github
6
7
.editorconfig
7
8
npm-debug.log
8
9
tsconfig.json
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ for [CSS Modules](https://github.com/css-modules/css-modules).
9
9
<img src =" https://raw.githubusercontent.com/mrmckeb/typescript-plugin-css-modules/master/.github/images/example.gif " alt =" typescript-plugin-css-modules example " />
10
10
11
11
This project was inspired by this [ ` create-react-app ` issue] ( https://github.com/facebook/create-react-app/issues/5677 )
12
- and is based on [ ` css-module-types ` ] ( https://github.com/timothykang/css-module-types ) .
12
+ and was based on [ ` css-module-types ` ] ( https://github.com/timothykang/css-module-types ) .
13
13
14
14
## Usage
15
15
@@ -101,5 +101,3 @@ declare module '*.module.sass' {
101
101
export default classes ;
102
102
}
103
103
```
104
-
105
- ## Contributors
You can’t perform that action at this time.
0 commit comments