Skip to content

Commit 7db09b9

Browse files
authored
docs: update package.json docs (#780)
1 parent 815fab2 commit 7db09b9

File tree

11 files changed

+17
-32
lines changed

11 files changed

+17
-32
lines changed

esbuild.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ module.exports = {
9797
);
9898

9999
packageJson.license = rootPackageJson.license;
100-
packageJson.homepage = rootPackageJson.homepage;
100+
if (project.name === 'cli') {
101+
packageJson.homepage = rootPackageJson.homepage;
102+
} else {
103+
packageJson.homepage = `https://github.com/code-pushup/cli/tree/main/packages/${project.name}#readme`;
104+
}
101105
packageJson.bugs = rootPackageJson.bugs;
102106
packageJson.repository = {
103107
...rootPackageJson.repository,

package.json

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,15 @@
22
"name": "@code-pushup/cli-source",
33
"version": "0.0.0",
44
"license": "MIT",
5-
"homepage": "https://github.com/code-pushup/cli#readme",
5+
"description": "A CLI to run all kinds of code quality measurements to align your team with company goals",
6+
"homepage": "code-pushup.dev",
67
"bugs": {
78
"url": "https://github.com/code-pushup/cli/issues"
89
},
910
"repository": {
1011
"type": "git",
1112
"url": "git+https://github.com/code-pushup/cli.git"
1213
},
13-
"contributors": [
14-
{
15-
"name": "Igor Katsuba",
16-
"email": "[email protected]",
17-
"url": "https://katsuba.dev"
18-
},
19-
{
20-
"name": "Kateřina Pilátová",
21-
"email": "[email protected]",
22-
"url": "https://github.com/Tlacenka"
23-
},
24-
{
25-
"name": "Matěj Chalk",
26-
"email": "[email protected]",
27-
"url": "https://github.com/matejchalk"
28-
},
29-
{
30-
"name": "Michael Hladky",
31-
"email": "[email protected]",
32-
"url": "https://push-based.io"
33-
},
34-
{
35-
"name": "Michael Seredenko",
36-
"email": "[email protected]",
37-
"url": "https://github.com/MishaSeredenkoPushBased"
38-
}
39-
],
4014
"scripts": {
4115
"prepare": "husky install",
4216
"commit": "git-cz",

packages/cli/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@code-pushup/cli",
33
"version": "0.49.0",
44
"license": "MIT",
5+
"description": "A CLI to run all kinds of code quality measurements to align your team with company goals",
56
"bin": {
67
"code-pushup": "index.js"
78
},

packages/core/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
"name": "@code-pushup/core",
33
"version": "0.49.0",
44
"license": "MIT",
5+
"description": "Core business logic for the used by the Code PushUp CLI",
56
"dependencies": {
67
"@code-pushup/models": "0.49.0",
78
"@code-pushup/utils": "0.49.0",
89
"@code-pushup/portal-client": "^0.9.0",
910
"ansis": "^3.3.0"
10-
},
11-
"type": "commonjs",
12-
"main": "./index.cjs"
11+
}
1312
}

packages/models/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@code-pushup/models",
33
"version": "0.49.0",
44
"license": "MIT",
5+
"description": "Model definitions and validators for the Code PushUp CLI",
56
"dependencies": {
67
"zod": "^3.22.1",
78
"vscode-material-icons": "^0.1.0"

packages/nx-plugin/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@code-pushup/nx-plugin",
33
"version": "0.29.0",
44
"license": "MIT",
5+
"description": "Nx plugin to integrate the Code PushUp CLI into your workspace 🛠️",
56
"dependencies": {
67
"@nx/devkit": "^17.1.3",
78
"tslib": "2.6.2",

packages/plugin-coverage/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@code-pushup/coverage-plugin",
33
"version": "0.49.0",
4+
"description": "Code PushUp plugin for tracking code coverage ☂",
45
"dependencies": {
56
"@code-pushup/models": "0.49.0",
67
"@code-pushup/utils": "0.49.0",

packages/plugin-eslint/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@code-pushup/eslint-plugin",
33
"version": "0.49.0",
44
"license": "MIT",
5+
"description": "Code PushUp plugin for detecting problems in source code using ESLint.📋",
56
"dependencies": {
67
"@code-pushup/utils": "0.49.0",
78
"@code-pushup/models": "0.49.0",

packages/plugin-js-packages/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@code-pushup/js-packages-plugin",
33
"version": "0.49.0",
4+
"description": "Code PushUp plugin for JavaScript packages 🛡️",
45
"dependencies": {
56
"@code-pushup/models": "0.49.0",
67
"@code-pushup/utils": "0.49.0",

packages/plugin-lighthouse/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@code-pushup/lighthouse-plugin",
33
"version": "0.49.0",
44
"license": "MIT",
5+
"description": "Code PushUp plugin for measuring web performance and quality with Lighthouse 🔥",
56
"dependencies": {
67
"@code-pushup/models": "0.49.0",
78
"@code-pushup/utils": "0.49.0",

0 commit comments

Comments
 (0)