declapract-typescript-ehmpathy 0.39.13 → 0.39.15

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.
@@ -22,12 +22,11 @@ module.exports = {
22
22
  'error',
23
23
  {
24
24
  devDependencies: [
25
- '**/*.test.ts',
25
+ '!(src)/**/*.ts', // everything outside src/* is a dev only asset
26
+ '**/*.test.ts', // all explicitly .test files are dev only assets too
26
27
  '**/*.test.integration.ts',
27
28
  '**/*.test.acceptance.ts',
28
- 'acceptance/**/*.ts',
29
- '**/__test_utils__/**/*.ts',
30
- 'provision/**/*.ts',
29
+ '**/.test/**/*.ts',
31
30
  ],
32
31
  },
33
32
  ],
@@ -15,7 +15,7 @@ export const fix: FileFixFunction = (contents) => {
15
15
  ...packageJSONObject,
16
16
  dependencies: { ...packageJSONObject.dependencies, uuid: undefined },
17
17
  devDependencies: {
18
- ...packageJSONObject.dependencies,
18
+ ...packageJSONObject.devDependencies,
19
19
  '@types/uuid': undefined,
20
20
  },
21
21
  };
@@ -1,5 +1,5 @@
1
1
  {
2
- "devDependencies": {
2
+ "dependencies": {
3
3
  "uuid-fns": "@declapract{check.minVersion('1.0.2')}"
4
4
  }
5
5
  }
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.39.13",
5
+ "version": "0.39.15",
6
6
  "license": "MIT",
7
7
  "main": "src/index.js",
8
8
  "repository": "ehmpathy/declapract-typescript-ehmpathy",