File tree Expand file tree Collapse file tree 4 files changed +51
-7
lines changed Expand file tree Collapse file tree 4 files changed +51
-7
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
- /docs /
6
7
.editorconfig
7
8
npm-debug.log
8
9
tsconfig.json
Original file line number Diff line number Diff line change 1
1
# typescript-plugin-css-modules
2
2
3
- [ ![ license ] ( https://img.shields.io/npm/l/ typescript-plugin-css-modules.svg )] ( https://github .com/mrmckeb/typescript-plugin-css-modules/blob/develop/LICENSE )
3
+ [ ![ CircleCI branch ] ( https://img.shields.io/circleci/project/github/mrmckeb/ typescript-plugin-css-modules/master .svg )] ( https://circleci .com/gh/ mrmckeb/typescript-plugin-css-modules )
4
4
[ ![ npm] ( https://img.shields.io/npm/v/typescript-plugin-css-modules.svg )] ( https://www.npmjs.com/package/typescript-plugin-css-modules )
5
+ [ ![ license] ( https://img.shields.io/npm/l/typescript-plugin-css-modules.svg )] ( https://github.com/mrmckeb/typescript-plugin-css-modules/blob/develop/LICENSE )
5
6
6
7
A [ TypeScript language service plugin] ( https://github.com/Microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin )
7
8
for [ CSS Modules] ( https://github.com/css-modules/css-modules ) .
8
9
9
10
<img src =" https://raw.githubusercontent.com/mrmckeb/typescript-plugin-css-modules/master/.github/images/example.gif " alt =" typescript-plugin-css-modules example " />
10
11
11
12
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 ) .
13
+ and was based on [ ` css-module-types ` ] ( https://github.com/timothykang/css-module-types ) .
13
14
14
15
## Usage
15
16
@@ -101,5 +102,3 @@ declare module '*.module.sass' {
101
102
export default classes ;
102
103
}
103
104
```
104
-
105
- ## Contributors
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " typescript-plugin-css-modules" ,
3
- "version" : " 1.0.2 " ,
3
+ "version" : " 1.0.3 " ,
4
4
"main" : " lib/index.js" ,
5
5
"author" :
" Brody McKee <[email protected] >" ,
6
6
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments