Skip to content

Commit 7ddaad4

Browse files
authored
fix: add main and types keys in package.json (#3953)
1 parent f5f0ed5 commit 7ddaad4

File tree

7 files changed

+8
-0
lines changed

7 files changed

+8
-0
lines changed

@commitlint/config-angular-type-enum/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"type": "module",
44
"version": "19.0.0",
55
"description": "Shareable commitlint config enforcing the angular commit convention types",
6+
"main": "index.js",
67
"files": [
78
"index.js"
89
],

@commitlint/config-nx-scopes/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"type": "module",
44
"version": "19.0.3",
55
"description": "Shareable commitlint config enforcing nx project names as scopes",
6+
"main": "index.js",
67
"files": [
78
"index.js"
89
],

@commitlint/config-patternplate/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"type": "module",
44
"version": "19.0.3",
55
"description": "Lint your commits, patternplate-style",
6+
"main": "index.js",
67
"files": [
78
"index.js"
89
],

@commitlint/config-pnpm-scopes/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"type": "module",
44
"version": "19.0.0",
55
"description": "Shareable commitlint config enforcing pnpm workspaces names as scopes",
6+
"main": "index.js",
67
"files": [
78
"index.js"
89
],

@commitlint/config-rush-scopes/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"type": "module",
44
"version": "19.0.0",
55
"description": "Shareable commitlint config enforcing rush package and workspace names as scopes",
6+
"main": "index.js",
67
"files": [
78
"index.js"
89
],

@commitlint/prompt-cli/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"type": "module",
44
"version": "19.0.3",
55
"description": "commit prompt using commitlint.config.js",
6+
"main": "cli.js",
67
"files": [
78
"cli.js"
89
],

@commitlint/travis-cli/package.json

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"type": "module",
44
"version": "19.0.3",
55
"description": "Lint all relevant commits for a change or PR on Travis CI",
6+
"main": "lib/cli.js",
7+
"types": "lib/cli.d.ts",
68
"files": [
79
"lib/",
810
"cli.js"

0 commit comments

Comments
 (0)