@definitelytyped/dts-critic 0.0.112 → 0.0.113-next.0

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.
Files changed (2) hide show
  1. package/README.md +3 -4
  2. package/package.json +54 -53
package/README.md CHANGED
@@ -25,8 +25,7 @@ check npm for a package with the same name as the d.ts.
25
25
  ## Mode
26
26
 
27
27
  You can run dts-critic in different modes that affect which checks will be performed:
28
- 1. `name-only`: dts-critic will check your package name and [DefinitelyTyped header]
29
- (https://github.com/Microsoft/definitelytyped-header-parser) (if present) against npm packages.
28
+ 1. `name-only`: dts-critic will check your package name and [DefinitelyTyped header](../header-parser) (if present) against npm packages.
30
29
  For example, if your declaration is for an npm package called 'cool-js-package', it will check if a
31
30
  package named 'cool-js-package' actually exists in npm.
32
31
 
@@ -41,7 +40,7 @@ has a default export.
41
40
  If your declaration is for an npm package:
42
41
 
43
42
  1. An npm package with the same name of your declaration's package must exist.
44
- 2. If your declaration has a [Definitely Typed header](https://github.com/Microsoft/definitelytyped-header-parser)
43
+ 2. If your declaration has a [Definitely Typed header](../header-parser)
45
44
  and the header specifies a target version, the npm package must have
46
45
  a matching version.
47
46
  3. If you are running under `code` mode, your declaration must also match the source JavaScript module.
@@ -50,7 +49,7 @@ a matching version.
50
49
  <!-- 2. If no local path to source is provided, an npm package with the
51
50
  same name as the d.ts must exist. -->
52
51
  If your declaration is for a non-npm package (in other words, if your declaration has a
53
- [Definitely Typed header](https://github.com/Microsoft/definitelytyped-header-parser) *and*
52
+ [Definitely Typed header](../header-parser) *and*
54
53
  the header specifies that the declaration file is for a non-npm package):
55
54
 
56
55
  1. An npm package with the same name of your declaration's package **cannot** exist.
package/package.json CHANGED
@@ -1,55 +1,56 @@
1
1
  {
2
- "name": "@definitelytyped/dts-critic",
3
- "version": "0.0.112",
4
- "author": "Nathan Shively-Sanders",
5
- "description": "Checks a new .d.ts against the Javascript source and tells you what problems it has",
6
- "publishConfig": {
7
- "access": "public"
8
- },
9
- "dependencies": {
10
- "@definitelytyped/header-parser": "^0.0.112",
11
- "command-exists": "^1.2.8",
12
- "rimraf": "^3.0.2",
13
- "semver": "^6.2.0",
14
- "tmp": "^0.2.1",
15
- "yargs": "^15.3.1"
16
- },
17
- "peerDependencies": {
18
- "typescript": "*"
19
- },
20
- "devDependencies": {
21
- "@types/command-exists": "^1.2.0",
22
- "@types/rimraf": "^3.0.0",
23
- "@types/semver": "^6.0.1",
24
- "@types/strip-json-comments": "0.0.30",
25
- "@types/tmp": "^0.2.0",
26
- "strip-json-comments": "^2.0.1"
27
- },
28
- "main": "dist/index.js",
29
- "types": "dist/index.d.ts",
30
- "scripts": {
31
- "build": "tsc -b .",
32
- "dt": "node dist/dt.js",
33
- "test": "../../node_modules/.bin/jest --config ../../jest.config.js packages/dts-critic"
34
- },
35
- "repository": {
36
- "type": "git",
37
- "url": "git+https://github.com/microsoft/DefinitelyTyped-tools.git"
38
- },
39
- "keywords": [
40
- "definitely",
41
- "typed",
42
- "refresh",
43
- "npm",
44
- "tag"
45
- ],
46
- "license": "MIT",
47
- "bugs": {
48
- "url": "https://github.com/microsoft/DefinitelyTyped-tools/issues"
49
- },
50
- "homepage": "https://github.com/microsoft/DefinitelyTyped-tools#readme",
51
- "engines": {
52
- "node": ">=10.17.0"
53
- },
54
- "gitHead": "bf52b08dedb8e7860337a5e1091f42d07d849ffb"
2
+ "name": "@definitelytyped/dts-critic",
3
+ "version": "0.0.113-next.0",
4
+ "author": "Nathan Shively-Sanders",
5
+ "description": "Checks a new .d.ts against the Javascript source and tells you what problems it has",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "dependencies": {
10
+ "@definitelytyped/header-parser": "^0.0.113-next.0",
11
+ "command-exists": "^1.2.8",
12
+ "rimraf": "^3.0.2",
13
+ "semver": "^6.2.0",
14
+ "tmp": "^0.2.1",
15
+ "yargs": "^15.3.1"
16
+ },
17
+ "peerDependencies": {
18
+ "typescript": "*"
19
+ },
20
+ "devDependencies": {
21
+ "@types/command-exists": "^1.2.0",
22
+ "@types/rimraf": "^3.0.0",
23
+ "@types/semver": "^6.0.1",
24
+ "@types/strip-json-comments": "0.0.30",
25
+ "@types/tmp": "^0.2.0",
26
+ "strip-json-comments": "^2.0.1"
27
+ },
28
+ "main": "dist/index.js",
29
+ "types": "dist/index.d.ts",
30
+ "scripts": {
31
+ "build": "tsc -b .",
32
+ "dt": "node dist/dt.js",
33
+ "test": "../../node_modules/.bin/jest --config ../../jest.config.js packages/dts-critic"
34
+ },
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "https://github.com/microsoft/DefinitelyTyped-tools.git",
38
+ "directory": "packages/dts-critic"
39
+ },
40
+ "keywords": [
41
+ "definitely",
42
+ "typed",
43
+ "refresh",
44
+ "npm",
45
+ "tag"
46
+ ],
47
+ "license": "MIT",
48
+ "bugs": {
49
+ "url": "https://github.com/microsoft/DefinitelyTyped-tools/issues"
50
+ },
51
+ "homepage": "https://github.com/microsoft/DefinitelyTyped-tools/tree/master/packages/dts-critic#readme",
52
+ "engines": {
53
+ "node": ">=10.17.0"
54
+ },
55
+ "gitHead": "8dee1c64144a231e236f4c37b546f88423fbead3"
55
56
  }