wp-shakedown 0.0.0-stage → 0.2.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.
- package/LICENSE +340 -0
- package/README.md +74 -2
- package/dist/baseline.d.ts +6 -0
- package/dist/baseline.js +41 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +296 -0
- package/dist/diff.d.ts +8 -0
- package/dist/diff.js +26 -0
- package/dist/engines/config.d.ts +3 -0
- package/dist/engines/config.js +134 -0
- package/dist/engines/custom.d.ts +10 -0
- package/dist/engines/custom.js +286 -0
- package/dist/engines/eslint.d.ts +8 -0
- package/dist/engines/eslint.js +96 -0
- package/dist/engines/index.d.ts +2 -0
- package/dist/engines/index.js +14 -0
- package/dist/engines/integrity.d.ts +2 -0
- package/dist/engines/integrity.js +108 -0
- package/dist/engines/php-compat.d.ts +2 -0
- package/dist/engines/php-compat.js +26 -0
- package/dist/engines/php-lint.d.ts +6 -0
- package/dist/engines/php-lint.js +42 -0
- package/dist/engines/phpstan.d.ts +11 -0
- package/dist/engines/phpstan.js +103 -0
- package/dist/engines/stylelint.d.ts +4 -0
- package/dist/engines/stylelint.js +63 -0
- package/dist/engines/theme-check.d.ts +7 -0
- package/dist/engines/theme-check.js +109 -0
- package/dist/engines/theme-review.d.ts +24 -0
- package/dist/engines/theme-review.js +378 -0
- package/dist/engines/updates.d.ts +6 -0
- package/dist/engines/updates.js +78 -0
- package/dist/engines/vulnerabilities.d.ts +22 -0
- package/dist/engines/vulnerabilities.js +128 -0
- package/dist/engines/wp-json.d.ts +18 -0
- package/dist/engines/wp-json.js +134 -0
- package/dist/engines/wpcs.d.ts +7 -0
- package/dist/engines/wpcs.js +60 -0
- package/dist/exec.d.ts +12 -0
- package/dist/exec.js +19 -0
- package/dist/fingerprint.d.ts +10 -0
- package/dist/fingerprint.js +29 -0
- package/dist/health/install.d.ts +16 -0
- package/dist/health/install.js +68 -0
- package/dist/home.d.ts +2 -0
- package/dist/home.js +6 -0
- package/dist/hub.d.ts +32 -0
- package/dist/hub.js +99 -0
- package/dist/index.d.ts +42 -0
- package/dist/index.js +36 -0
- package/dist/js/files.d.ts +4 -0
- package/dist/js/files.js +47 -0
- package/dist/js/tools.d.ts +3 -0
- package/dist/js/tools.js +67 -0
- package/dist/mcp/server.d.ts +9 -0
- package/dist/mcp/server.js +91 -0
- package/dist/mcp/tools.d.ts +26 -0
- package/dist/mcp/tools.js +163 -0
- package/dist/net.d.ts +18 -0
- package/dist/net.js +68 -0
- package/dist/php/files.d.ts +3 -0
- package/dist/php/files.js +53 -0
- package/dist/php/php.d.ts +4 -0
- package/dist/php/php.js +25 -0
- package/dist/php/phpcs.d.ts +25 -0
- package/dist/php/phpcs.js +55 -0
- package/dist/php/tools.d.ts +3 -0
- package/dist/php/tools.js +66 -0
- package/dist/profiles.d.ts +4 -0
- package/dist/profiles.js +41 -0
- package/dist/progress.d.ts +3 -0
- package/dist/progress.js +13 -0
- package/dist/projects.d.ts +36 -0
- package/dist/projects.js +91 -0
- package/dist/report/escape.d.ts +1 -0
- package/dist/report/escape.js +4 -0
- package/dist/report/html.d.ts +2 -0
- package/dist/report/html.js +100 -0
- package/dist/report/json.d.ts +2 -0
- package/dist/report/json.js +3 -0
- package/dist/report/markdown.d.ts +5 -0
- package/dist/report/markdown.js +92 -0
- package/dist/report/sarif.d.ts +2 -0
- package/dist/report/sarif.js +44 -0
- package/dist/report/write.d.ts +9 -0
- package/dist/report/write.js +48 -0
- package/dist/runner.d.ts +14 -0
- package/dist/runner.js +166 -0
- package/dist/session.d.ts +22 -0
- package/dist/session.js +39 -0
- package/dist/target.d.ts +5 -0
- package/dist/target.js +114 -0
- package/dist/types.d.ts +165 -0
- package/dist/types.js +6 -0
- package/dist/ui/server.d.ts +13 -0
- package/dist/ui/server.js +458 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +3 -0
- package/dist/versions.d.ts +9 -0
- package/dist/versions.js +35 -0
- package/js-tools/eslint.config.mjs +19 -0
- package/js-tools/package-lock.json +7004 -0
- package/js-tools/package.json +13 -0
- package/js-tools/stylelint.config.mjs +4 -0
- package/package.json +58 -4
- package/php-tools/composer.json +68 -0
- package/php-tools/composer.lock +889 -0
- package/php-tools/theme-check.php +239 -0
- package/ui/dist/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2 +0 -0
- package/ui/dist/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2 +0 -0
- package/ui/dist/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2 +0 -0
- package/ui/dist/assets/geist-latin-wght-normal-BgDaEnEv.woff2 +0 -0
- package/ui/dist/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2 +0 -0
- package/ui/dist/assets/index-DXwdz_Wu.css +2 -0
- package/ui/dist/assets/index-V8IOqxHa.js +54 -0
- package/ui/dist/index.html +14 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wp-shakedown-js-tools",
|
|
3
|
+
"description": "JavaScript and CSS tools that wp-shakedown runs. Not a library.",
|
|
4
|
+
"private": true,
|
|
5
|
+
"license": "GPL-2.0-or-later",
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"@wordpress/eslint-plugin": "^28.2.0",
|
|
8
|
+
"@wordpress/stylelint-config": "^27.2.0",
|
|
9
|
+
"eslint": "^10.15.0",
|
|
10
|
+
"globals": "^17.14.0",
|
|
11
|
+
"stylelint": "^17.16.0"
|
|
12
|
+
}
|
|
13
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,60 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wp-shakedown",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Runs the usual WordPress checks on a theme, a plugin or a whole WordPress folder and writes one report.",
|
|
5
|
+
"license": "GPL-2.0-or-later",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"wp-shakedown": "dist/cli.js"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"php-tools",
|
|
19
|
+
"js-tools",
|
|
20
|
+
"ui/dist"
|
|
21
|
+
],
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=22.18"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "tsc -p tsconfig.build.json && npm run build:ui",
|
|
27
|
+
"prepack": "npm run build",
|
|
28
|
+
"typecheck": "tsc -p tsconfig.json",
|
|
29
|
+
"test": "node --test \"test/**/*.test.ts\"",
|
|
30
|
+
"build:ui": "npm --prefix ui run build",
|
|
31
|
+
"build:core": "tsc -p tsconfig.build.json"
|
|
32
|
+
},
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "git+https://github.com/alexposlushnyak/wp-shakedown.git"
|
|
36
|
+
},
|
|
37
|
+
"bugs": "https://github.com/alexposlushnyak/wp-shakedown/issues",
|
|
38
|
+
"author": "alexposlushnyak (https://github.com/alexposlushnyak)",
|
|
39
|
+
"homepage": "https://github.com/alexposlushnyak/wp-shakedown#readme",
|
|
40
|
+
"keywords": [
|
|
41
|
+
"wordpress",
|
|
42
|
+
"testing",
|
|
43
|
+
"phpcs",
|
|
44
|
+
"phpstan",
|
|
45
|
+
"wp-cli",
|
|
46
|
+
"mcp",
|
|
47
|
+
"cli"
|
|
48
|
+
],
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
51
|
+
"@types/node": "^22.20.5",
|
|
52
|
+
"typescript": "^7.0.2"
|
|
53
|
+
},
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"ajv": "^8.20.0"
|
|
56
|
+
},
|
|
57
|
+
"publishConfig": {
|
|
58
|
+
"access": "public"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wp-shakedown/php-tools",
|
|
3
|
+
"description": "PHP tools that wp-shakedown runs. Not a library.",
|
|
4
|
+
"license": "GPL-2.0-or-later",
|
|
5
|
+
"require": {
|
|
6
|
+
"phpcompatibility/phpcompatibility-wp": "^3.0@alpha",
|
|
7
|
+
"squizlabs/php_codesniffer": "^3.13",
|
|
8
|
+
"wp-coding-standards/wpcs": "^3.4",
|
|
9
|
+
"plugin-check/phpcs-sniffs": "2.2.0",
|
|
10
|
+
"phpstan/phpstan": "^2.1",
|
|
11
|
+
"szepeviktor/phpstan-wordpress": "^2.0",
|
|
12
|
+
"php-stubs/wordpress-stubs": "^7.0",
|
|
13
|
+
"theme-check/theme-check": "20260901",
|
|
14
|
+
"envato/envato-theme-check": "dev-master"
|
|
15
|
+
},
|
|
16
|
+
"config": {
|
|
17
|
+
"allow-plugins": {
|
|
18
|
+
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
19
|
+
},
|
|
20
|
+
"sort-packages": true
|
|
21
|
+
},
|
|
22
|
+
"minimum-stability": "alpha",
|
|
23
|
+
"prefer-stable": true,
|
|
24
|
+
"repositories": [
|
|
25
|
+
{
|
|
26
|
+
"type": "package",
|
|
27
|
+
"package": {
|
|
28
|
+
"name": "plugin-check/phpcs-sniffs",
|
|
29
|
+
"version": "2.2.0",
|
|
30
|
+
"type": "phpcodesniffer-standard",
|
|
31
|
+
"dist": {
|
|
32
|
+
"url": "https://github.com/WordPress/plugin-check/archive/refs/tags/2.2.0.zip",
|
|
33
|
+
"type": "zip"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"phpcsstandards/phpcsutils": "^1.0.8",
|
|
37
|
+
"squizlabs/php_codesniffer": "^3.7.2"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "package",
|
|
43
|
+
"package": {
|
|
44
|
+
"name": "theme-check/theme-check",
|
|
45
|
+
"version": "20260901",
|
|
46
|
+
"type": "library",
|
|
47
|
+
"dist": {
|
|
48
|
+
"url": "https://downloads.wordpress.org/plugin/theme-check.20260901.zip",
|
|
49
|
+
"type": "zip",
|
|
50
|
+
"shasum": "85c13a0c70078367d2d6f3dd68e435212df5881a"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "package",
|
|
56
|
+
"package": {
|
|
57
|
+
"name": "envato/envato-theme-check",
|
|
58
|
+
"version": "dev-master",
|
|
59
|
+
"type": "library",
|
|
60
|
+
"dist": {
|
|
61
|
+
"url": "https://github.com/envato/envato-theme-check/archive/915562cc78065a69e65f27bc30993dcae4cacef6.zip",
|
|
62
|
+
"type": "zip",
|
|
63
|
+
"reference": "915562cc78065a69e65f27bc30993dcae4cacef6"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|