Releases: approvals/Approvals.NodeJS
Improvements to TypeScript interfaces
Fixes for windows
should stop a build issue with windows devices
Fixed bug with config and Reporter Types
v7.1.1 - B fixed typing error
Support for VS Codium
Added a reporter for vs codium
Thanks to @stevendkwtz
Typescript
There should be no visible changes from this release ¯_(ツ)_/¯
But all of the source files have been upgraded to typescript.
Normally I would set this as a patch release, but I making it a major version as I am concerned about changes to have javascript and typescript handle exports.
I have had to use the following a bit
Imports
var a = require("a")
⇓
import {a} from "a"
or
import * as a from "a"
Fix JestReporter importing full class instead of type
For the future, we have set "importsNotUsedAsValues" to "error" to prevent future recurrences.
This helps other packages that have this value set not error-out because they are using Approvals.
fix version number in npm package
Fixes #150
the 'v' in v6.2.3 caused trouble with npm
Minor bug with Angular + Jest
Added check when running JestApprovals in angular
v6.2.1: Fix some warnings about imports
This fixes the following warnings in v6.2.0
$ eslint ./src --fix && eslint ./tests --fix && tsc --noEmit --pretty && svelte-check
node_modules/approvals/lib/Core/Options.ts:2:1 - error TS1371: This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'.
2 import {Namer} from "../Namer";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/approvals/lib/Providers/Jest/JestApprovals.ts:3:1 - error TS6133: 'getJestNamer' is declared but its value is never read.
3 import {getJestNamer} from "./JestNamer";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 2 errors in 2 files.
Errors Files
1 node_modules/approvals/lib/Core/Options.ts:2
1 node_modules/approvals/lib/Providers/Jest/JestApprovals.ts:3
Add JestReporter reporter for CI
- Add
JestReporter
: see docs - Also, improved documentation - see docs/README.md.