Skip to content

Commit

Permalink
Dogfooding, version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Li0liQ committed Jan 19, 2020
1 parent 8299722 commit c0c5319
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog

## Master

## 0.4.1 - Dogfooding
- Support for the scoped plugins (#93 by @nadiam84)
- Dogfood stricter
- Dependencies bump

## 0.4.0 - Typescript support, for real
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stricter",
"version": "0.4.0",
"version": "0.4.1",
"description": "A project-wide js-linting tool",
"files": [
"LICENSE",
Expand All @@ -18,10 +18,11 @@
"build:main": "cross-env NODE_ENV=production rollup -c rollup.config.js",
"watch": "rollup -c rollup.config.js -w",
"lint": "tslint --project .",
"stricter": "stricter",
"typecheck": "tsc --noEmit",
"build:types": "tsc --emitDeclarationOnly --declarationDir lib --declaration",
"generate:schema": "typescript-json-schema tsconfig.json Config --include src/types/* --out src/config/config-schema.json --noExtraProps --required --useTypeOfKeyword",
"all": "yarn generate:schema && concurrently npm:build:main npm:build:types npm:lint npm:typecheck -c green,yellow,blue,magenta",
"all": "yarn generate:schema && concurrently npm:build:main npm:build:types npm:lint npm:typecheck npm:stricter -c green,yellow,blue,magenta,cyan",
"test": "jest",
"report-coverage": "coveralls < coverage/lcov.info"
},
Expand Down Expand Up @@ -71,6 +72,7 @@
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"stricter": "^0.4.0",
"ts-node": "^8.6.2",
"tslint": "^5.20.1",
"tslint-config-airbnb": "^5.11.2",
Expand Down
11 changes: 9 additions & 2 deletions stricter.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,22 @@ module.exports = {
level: 'error',
config: {
entry: [
/.*[\\/]src[\\/]index\.ts/,
/.*[\\\/]src[\\\/]index\.ts/,
/.*__snapshots__.*/,
/.*__fixtures__.*/,
],
relatedEntry: [
/.*test\.ts/,
/.*[\\/]src[\\/]start-debug\.ts/,
/.*[\\\/]src[\\\/]start-debug\.ts/,
]
}
}],
'stricter/circular-dependencies': [{
level: 'error',
exclude: [/integration-tests[\\\/].*/],
config: {
checkSubTreeCycle: true,
}
}]
}
}
27 changes: 26 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ acorn@^7.1.0:
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c"
integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==

ajv@^6.11.0:
ajv@^6.10.2, ajv@^6.11.0:
version "6.11.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.11.0.tgz#c3607cbc8ae392d8a5a536f25b21f8e5f3f87fe9"
integrity sha512-nCprB/0syFYy9fVYU1ox1l2KN8S9I+tziH8D4zdZuLT3N6RMlGSGt5FSTpAiHB/Whv8Qs1cWHma1aMKZyaHRKA==
Expand Down Expand Up @@ -4662,6 +4662,31 @@ stealthy-require@^1.1.0:
resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b"
integrity sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=

stricter@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/stricter/-/stricter-0.4.0.tgz#55d04f0930121c1b8f63751ac893b145fa4c6561"
integrity sha512-OJqyvdKeL0HTk0vUmguA6sKw+LcUaJT7N8SuYr38c5kP0J09WUe9TMvtobQ24In7IQlBSClPfKyQQZb6ht09PA==
dependencies:
"@babel/core" "^7.8.3"
"@babel/parser" "^7.8.3"
"@wojtekmaj/babylon-walk" "2.0.0"
ajv "^6.10.2"
app-root-path "^3.0.0"
chalk "^3.0.0"
debug "^4.1.1"
enhanced-resolve "^4.1.1"
fast-glob "^3.1.1"
file-system-cache "^1.0.5"
find-cache-dir "^3.2.0"
graphlib "^2.1.8"
graphlib-dot "^0.6.4"
is-ci "^2.0.0"
micromatch "^4.0.2"
rimraf "^3.0.0"
xml-escape "^1.1.0"
xxhashjs "^0.2.2"
yargs "^15.1.0"

string-length@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/string-length/-/string-length-2.0.0.tgz#d40dbb686a3ace960c1cffca562bf2c45f8363ed"
Expand Down

0 comments on commit c0c5319

Please sign in to comment.