declapract-typescript-ehmpathy 0.47.4 → 0.47.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/practices/format/best-practice/package.json.declapract.ts +1 -4
- package/dist/practices/serverless/best-practice/serverless.yml.declapract.ts +1 -1
- package/dist/practices/tests/best-practice/jest.acceptance.config.ts +1 -0
- package/dist/practices/tests/best-practice/jest.integration.config.ts +1 -0
- package/dist/practices/tests/best-practice/jest.unit.config.ts +1 -0
- package/dist/practices/tests/best-practice/jest.unit.env.ts.declapract.ts +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { FileFixFunction } from 'declapract';
|
|
1
2
|
import { FileCheckType } from 'declapract';
|
|
2
|
-
import type { FileFixFunction } from 'declapract/dist/domain';
|
|
3
3
|
|
|
4
4
|
export const check = FileCheckType.CONTAINS; // i.e., check that the contents of the file contains what's declared (default is equals)
|
|
5
5
|
|
|
@@ -12,6 +12,7 @@ process.env.FORCE_COLOR = 'true';
|
|
|
12
12
|
// https://jestjs.io/docs/configuration
|
|
13
13
|
const config: Config = {
|
|
14
14
|
verbose: true,
|
|
15
|
+
reporters: [['default', { summaryThreshold: 0 }]], // ensure we always get a failure summary at the bottom, to avoid the hunt
|
|
15
16
|
testEnvironment: 'node',
|
|
16
17
|
moduleFileExtensions: ['js', 'ts'],
|
|
17
18
|
moduleNameMapper: {
|
|
@@ -12,6 +12,7 @@ process.env.FORCE_COLOR = 'true';
|
|
|
12
12
|
// https://jestjs.io/docs/configuration
|
|
13
13
|
const config: Config = {
|
|
14
14
|
verbose: true,
|
|
15
|
+
reporters: [['default', { summaryThreshold: 0 }]], // ensure we always get a failure summary at the bottom, to avoid the hunt
|
|
15
16
|
testEnvironment: 'node',
|
|
16
17
|
moduleFileExtensions: ['js', 'ts'],
|
|
17
18
|
moduleNameMapper: {
|
|
@@ -12,6 +12,7 @@ process.env.FORCE_COLOR = 'true';
|
|
|
12
12
|
// https://jestjs.io/docs/configuration
|
|
13
13
|
const config: Config = {
|
|
14
14
|
verbose: true,
|
|
15
|
+
reporters: [['default', { summaryThreshold: 0 }]], // ensure we always get a failure summary at the bottom, to avoid the hunt
|
|
15
16
|
testEnvironment: 'node',
|
|
16
17
|
moduleFileExtensions: ['js', 'ts'],
|
|
17
18
|
moduleNameMapper: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
2
|
+
|
|
3
|
+
import type { FileContentsFunction } from 'declapract';
|
|
2
4
|
import { FileCheckType } from 'declapract';
|
|
3
|
-
import type { FileContentsFunction } from 'declapract/dist/domain';
|
|
4
5
|
|
|
5
6
|
import { readFile } from '../../../utils/readFile';
|
|
6
7
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "declapract-typescript-ehmpathy",
|
|
3
3
|
"author": "ehmpathy",
|
|
4
4
|
"description": "declapract best practices declarations for typescript",
|
|
5
|
-
"version": "0.47.
|
|
5
|
+
"version": "0.47.6",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "src/index.js",
|
|
8
8
|
"repository": "ehmpathy/declapract-typescript-ehmpathy",
|