Skip to content

Commit

Permalink
v0.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ajafff committed Dec 21, 2018
1 parent ba6801d commit aa3deb7
Show file tree
Hide file tree
Showing 12 changed files with 108 additions and 30 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Change Log

## v0.17.0

:tada: This release introduces a plugin for TypeScript's LanguageService. This enables in-editor linting while you type. See the [docs](https://github.com/fimbullinter/wotan/blob/master/packages/mithotyn/README.md) for more details.

:warning: **Breaking Changes:**

* TypeScript 2.8 and 2.9 is no longer supported
* API:
* `Failure` was renamed to `Finding` throughout the codebase
* `Resolver` adds a new required method `getDefaultExtensions`
* `Resolver#resolve` makes parameters `basedir` and `extensions` optional
* `Runner` requires a new service `FileFilterFactory`
* added severity `suggestion`

**Features:**

* new package `@fimbul/mithotyn` provides in-editor linting through a TypeScript LanguageService Plugin
* new severity: `suggestion`
* `--fix` can no longer introduce syntax errors
* `async-function-assignability`: checks methods and properties with computed names
* `async-function-assignability`: checks method overloads individually
* new service abstraction `FileFilterFactory` and `FileFilter` allow customizing which files are linted
* `@fimbul/ve` no longer includes the line break after the opening tag in the linted code
* `@fimbul/ve` correctly adjusts the column of findings in the first line if there is no line break after the opening tag
* `prefer-number-methods`: fixed finding location

**Bugfixes:**

* declaration files no longer contain `const enum`
* core services no longer rely on the existence of `require`
* YAML configuration can now contain YAML-specific types

## v0.16.0

**Features:**
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.17.0",
"version": "0.18.0",
"private": true,
"scripts": {
"clean": "rimraf \"{packages/*/{index,src/**/*,test/*.spec},scripts/!(last-travis-nightly)}.{js?(.map),d.ts}\"",
Expand All @@ -24,9 +24,9 @@
"packages/*"
],
"dependencies": {
"@fimbul/disir": "^0.16.0",
"@fimbul/valtyr": "^0.16.0",
"@fimbul/wotan": "^0.16.0",
"@fimbul/disir": "^0.17.0",
"@fimbul/valtyr": "^0.17.0",
"@fimbul/wotan": "^0.17.0",
"@octokit/rest": "^16.0.1",
"@types/cross-spawn": "^6.0.0",
"@types/github-url-to-object": "^4.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/bifrost/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fimbul/bifrost",
"version": "0.16.0",
"version": "0.17.0",
"description": "Compatibility layer for TSLint rules",
"main": "src/index",
"types": "src/index",
Expand All @@ -26,10 +26,10 @@
],
"peerDependencies": {
"tslint": "^5.0.0",
"typescript": ">= 2.8.1 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev"
"typescript": ">= 3.0.1 || >= 3.3.0-dev || >= 3.4.0-dev"
},
"dependencies": {
"@fimbul/ymir": "^0.16.0",
"@fimbul/ymir": "^0.17.0",
"get-caller-file": "^2.0.0",
"tslib": "^1.8.1",
"tsutils": "^3.5.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/disir/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@fimbul/disir",
"version": "0.16.0",
"version": "0.17.0",
"description": "Rules for local development",
"main": "src/index",
"private": true,
"dependencies": {
"@fimbul/ymir": "^0.16.0",
"@fimbul/ymir": "^0.17.0",
"tslib": "^1.8.1",
"tsutils": "^3.5.0"
},
"peerDependencies": {
"typescript": ">= 2.8.1 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev"
"typescript": ">= 3.0.1 || >= 3.3.0-dev || >= 3.4.0-dev"
}
}
6 changes: 3 additions & 3 deletions packages/heimdall/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fimbul/heimdall",
"version": "0.16.0",
"version": "0.17.0",
"description": "Wotan plugin to load and use TSLint rules and formatters",
"main": "src/index",
"types": "src/index",
Expand All @@ -26,10 +26,10 @@
"formatters"
],
"peerDependencies": {
"@fimbul/wotan": "^0.16.0"
"@fimbul/wotan": "^0.17.0"
},
"dependencies": {
"@fimbul/bifrost": "^0.16.0",
"@fimbul/bifrost": "^0.17.0",
"inversify": "^5.0.0",
"tslib": "^1.8.1",
"tslint": "^5.0.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/mimir/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fimbul/mimir",
"version": "0.16.0",
"version": "0.17.0",
"description": "Core rules of the Fimbullinter project",
"main": "recommended.yaml",
"publishConfig": {
Expand All @@ -25,13 +25,13 @@
},
"homepage": "https://github.com/fimbullinter/wotan#readme",
"dependencies": {
"@fimbul/ymir": "^0.16.0",
"@fimbul/ymir": "^0.17.0",
"chalk": "^2.3.2",
"debug": "^4.0.0",
"tslib": "^1.8.1",
"tsutils": "^3.5.1"
},
"peerDependencies": {
"typescript": ">= 2.8.1 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev"
"typescript": ">= 3.0.1 || >= 3.3.0-dev || >= 3.4.0-dev"
}
}
2 changes: 1 addition & 1 deletion packages/mithotyn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fimbul/mithotyn",
"version": "0.16.0",
"version": "0.17.0",
"description": "TypeScript LanguageService plugin for the Fimbullinter project",
"main": "index",
"files": [
Expand Down
8 changes: 4 additions & 4 deletions packages/valtyr/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fimbul/valtyr",
"version": "0.16.0",
"version": "0.17.0",
"description": "Wotan plugin to behave almost like TSLint",
"author": "Klaus Meinhardt",
"license": "Apache-2.0",
Expand Down Expand Up @@ -30,11 +30,11 @@
"resolve": "^1.5.0"
},
"peerDependencies": {
"@fimbul/wotan": "^0.16.0",
"typescript": ">= 2.8.1 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev"
"@fimbul/wotan": "^0.17.0",
"typescript": ">= 3.0.1 || >= 3.3.0-dev || >= 3.4.0-dev"
},
"dependencies": {
"@fimbul/bifrost": "^0.16.0",
"@fimbul/bifrost": "^0.17.0",
"inversify": "^5.0.0",
"tslib": "^1.8.1",
"tslint": "^5.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/ve/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fimbul/ve",
"version": "0.16.0",
"version": "0.17.0",
"description": "Vue processor for wotan",
"main": "src/index",
"author": "Klaus Meinhardt",
Expand All @@ -25,10 +25,10 @@
"lint"
],
"peerDependencies": {
"typescript": ">= 2.8.1 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev"
"typescript": ">= 3.0.1 || >= 3.3.0-dev || >= 3.4.0-dev"
},
"dependencies": {
"@fimbul/ymir": "^0.16.0",
"@fimbul/ymir": "^0.17.0",
"parse5-sax-parser": "^5.0.0",
"tslib": "^1.8.1",
"void-elements": "^3.1.0"
Expand Down
8 changes: 4 additions & 4 deletions packages/wotan/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fimbul/wotan",
"version": "0.16.0",
"version": "0.17.0",
"description": "Pluggable TypeScript and JavaScript linter",
"bin": "bin/main.js",
"publishConfig": {
Expand Down Expand Up @@ -44,8 +44,8 @@
"rimraf": "^2.6.2"
},
"dependencies": {
"@fimbul/mimir": "^0.16.0",
"@fimbul/ymir": "^0.16.0",
"@fimbul/mimir": "^0.17.0",
"@fimbul/ymir": "^0.17.0",
"bind-decorator": "^1.0.11",
"chalk": "^2.3.0",
"debug": "^4.0.0",
Expand All @@ -66,6 +66,6 @@
"tsutils": "^3.5.0"
},
"peerDependencies": {
"typescript": ">= 2.8.1 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev"
"typescript": ">= 3.0.1 || >= 3.3.0-dev || >= 3.4.0-dev"
}
}
4 changes: 2 additions & 2 deletions packages/ymir/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fimbul/ymir",
"version": "0.16.0",
"version": "0.17.0",
"description": "Core library for the Fimbullinter project",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -32,6 +32,6 @@
},
"peerDependencies": {
"tsutils": ">=2.29.0",
"typescript": ">= 2.8.1 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev"
"typescript": ">= 3.0.1 || >= 3.3.0-dev || >= 3.4.0-dev"
}
}
46 changes: 46 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,43 @@
tslib "^1.8.1"
tsutils "^3.1.0"

"@fimbul/mimir@^0.16.0":
version "0.16.0"
resolved "https://registry.yarnpkg.com/@fimbul/mimir/-/mimir-0.16.0.tgz#49d6f1c22ae64518c275939e4a21d8c551803adb"
integrity sha512-4X5cu+eGlhLMnY+qTwf4Pd5k4uaWwb7gdoeJ32H03cpeuvQOpWoYG8vmX3TjIq63bJtA5BtNRMFVqWiwoRyL7Q==
dependencies:
"@fimbul/ymir" "^0.16.0"
chalk "^2.3.2"
debug "^4.0.0"
tslib "^1.8.1"
tsutils "^3.5.1"

"@fimbul/wotan@^0.16.0":
version "0.16.0"
resolved "https://registry.yarnpkg.com/@fimbul/wotan/-/wotan-0.16.0.tgz#abcd10ef6730a69f0713d006df3b1fd28fad0786"
integrity sha512-X8v4cIi4tyRV5tmnBB0PB8brrxov6qdVjTSJD+CQzuF/Kbi3V2Co2O4oglhhDOKSZgRQaK3/zdLZvxL6pFKnjA==
dependencies:
"@fimbul/mimir" "^0.16.0"
"@fimbul/ymir" "^0.16.0"
bind-decorator "^1.0.11"
chalk "^2.3.0"
debug "^4.0.0"
diff "^3.4.0"
glob "^7.1.2"
import-local "^2.0.0"
inversify "^5.0.0"
is-negated-glob "^1.0.0"
js-yaml "^3.10.0"
json5 "^2.0.0"
minimatch "^3.0.4"
normalize-glob "^0.0.1"
reflect-metadata "^0.1.12"
resolve "^1.5.0"
semver "^5.4.1"
stable "^0.1.8"
tslib "^1.8.1"
tsutils "^3.5.0"

"@fimbul/ymir@^0.15.0":
version "0.15.0"
resolved "https://registry.yarnpkg.com/@fimbul/ymir/-/ymir-0.15.0.tgz#944c881b14fadf7b43d1ae00b445e42261bb407f"
Expand All @@ -344,6 +381,15 @@
reflect-metadata "^0.1.12"
tslib "^1.8.1"

"@fimbul/ymir@^0.16.0":
version "0.16.0"
resolved "https://registry.yarnpkg.com/@fimbul/ymir/-/ymir-0.16.0.tgz#1fa5f3589cb4043114682540d88138b72d93ccd7"
integrity sha512-njz2/CalYeIaCFqQ8CkKXL15UL39LNE6MVp9k7Zw/IUfDbDl4FIpySPxUzZfvh/YG7AlMnZFmLnPVfGeSntc4Q==
dependencies:
inversify "^5.0.0"
reflect-metadata "^0.1.12"
tslib "^1.8.1"

"@octokit/endpoint@^3.0.0":
version "3.1.1"
resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-3.1.1.tgz#ede9afefaa4d6b7584169e12346425c6fbb45cc3"
Expand Down

0 comments on commit aa3deb7

Please sign in to comment.