Skip to content

Commit 7077e08

Browse files
committed
Merge branch 'release/1.0.3'
2 parents 969059c + e1aa8b8 commit 7077e08

File tree

4 files changed

+51
-7
lines changed

4 files changed

+51
-7
lines changed

.circleci/config.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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

.npmignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
/.circleci
2+
/.github
13
/.vscode
4+
/lib/**/__tests__
25
/node_modules
36
/src
4-
/lib/**/__tests__
5-
/docs/
67
.editorconfig
78
npm-debug.log
89
tsconfig.json

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# typescript-plugin-css-modules
22

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)
44
[![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)
56

67
A [TypeScript language service plugin](https://github.com/Microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin)
78
for [CSS Modules](https://github.com/css-modules/css-modules).
89

910
<img src="https://raw.githubusercontent.com/mrmckeb/typescript-plugin-css-modules/master/.github/images/example.gif" alt="typescript-plugin-css-modules example" />
1011

1112
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).
1314

1415
## Usage
1516

@@ -101,5 +102,3 @@ declare module '*.module.sass' {
101102
export default classes;
102103
}
103104
```
104-
105-
## Contributors

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript-plugin-css-modules",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"main": "lib/index.js",
55
"author": "Brody McKee <[email protected]>",
66
"license": "MIT",

0 commit comments

Comments
 (0)