Skip to content

Commit 98272a9

Browse files
committed
chore: enable inconsistect case check in ts config.
1 parent de7e25b commit 98272a9

File tree

3 files changed

+5
-22
lines changed

3 files changed

+5
-22
lines changed

packages/webpack-plugin/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "Webpack plugin for css-blocks.",
55
"main": "dist/src/index.js",
66
"scripts": {
7-
"prepublish": "tsc -p test/tsconfig.json",
8-
"pretest": "tsc -p test/tsconfig.json && tslint --project tsconfig.json",
7+
"prepublish": "tsc -p tsconfig.json",
8+
"pretest": "tsc -p tsconfig.json && tslint --project tsconfig.json",
99
"tslint": "tslint --project tsconfig.json",
1010
"test": "mocha dist/test --opts test/mocha.opts",
1111
"coverage": "istanbul cover -i dist/src/**/*.js --dir ./build/coverage node_modules/mocha/bin/_mocha -- dist/test --opts test/mocha.opts",
@@ -69,12 +69,12 @@
6969
"@opticss/template-api": "^0.2.0",
7070
"async": "^2.4.1",
7171
"convert-source-map": "^1.5.0",
72-
"css-blocks": "^0.15.0",
72+
"css-blocks": "^0.15.1",
7373
"debug": "^2.6.8",
7474
"install": "^0.10.1",
7575
"loader-utils": "^1.0.1",
7676
"opticss": "^0.2.0",
77-
"postcss": "^5.2.17",
77+
"postcss": "^6.0.14",
7878
"source-map": "^0.5.6",
7979
"webpack-sources": "^1.0.1"
8080
}

packages/webpack-plugin/test/tsconfig.json

-17
This file was deleted.

packages/webpack-plugin/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"noImplicitReturns": true,
1717
"noImplicitThis": true,
1818
"preserveConstEnums": true,
19+
"forceConsistentCasingInFileNames": true,
1920
"newLine": "LF",
2021
"outDir": "dist",
2122
"module": "commonjs",
@@ -42,6 +43,5 @@
4243
"dist",
4344
"tsbuild",
4445
"node_modules",
45-
"test"
4646
]
4747
}

0 commit comments

Comments
 (0)