@auto-engineer/frontend-checks 0.6.1 → 0.6.3
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/CHANGELOG.md +17 -1
- package/README.md +2 -2
- package/dist/cli-manifest.d.ts.map +1 -1
- package/dist/cli-manifest.js +27 -0
- package/dist/cli-manifest.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @auto-engineer/frontend-checks
|
|
2
2
|
|
|
3
|
+
## 0.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix version report
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @auto-engineer/message-bus@0.5.3
|
|
10
|
+
|
|
11
|
+
## 0.6.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- renamed packages
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- @auto-engineer/message-bus@0.5.2
|
|
18
|
+
|
|
3
19
|
## 0.6.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -40,7 +56,7 @@
|
|
|
40
56
|
|
|
41
57
|
### Patch Changes
|
|
42
58
|
|
|
43
|
-
- Add debug logging throughout packages for better debugging and issue tracking. Fix MCP server hanging issue in frontend-
|
|
59
|
+
- Add debug logging throughout packages for better debugging and issue tracking. Fix MCP server hanging issue in frontend-implementer by ensuring it only starts when run directly, not when imported as a module. The debug logs can be enabled by setting DEBUG environment variable (e.g., DEBUG=frontend-checks:_,frontend-impl:_)
|
|
44
60
|
|
|
45
61
|
## 0.4.5
|
|
46
62
|
|
package/README.md
CHANGED
|
@@ -326,8 +326,8 @@ jobs:
|
|
|
326
326
|
|
|
327
327
|
Works with the Auto Engineer ecosystem:
|
|
328
328
|
|
|
329
|
-
- @auto-engineer/react-graphql
|
|
330
|
-
- @auto-engineer/frontend-
|
|
329
|
+
- @auto-engineer/frontend-generator-react-graphql: Validates generated React applications
|
|
330
|
+
- @auto-engineer/frontend-implementer: Checks AI-implemented code quality
|
|
331
331
|
- @auto-engineer/design-system-importer: Validates design system usage consistency
|
|
332
332
|
- @auto-engineer/information-architect: Validates implementation against IA specifications
|
|
333
333
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-manifest.d.ts","sourceRoot":"","sources":["../src/cli-manifest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cli-manifest.d.ts","sourceRoot":"","sources":["../src/cli-manifest.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AA2BrE,eAAO,MAAM,YAAY,EAAE,WAM1B,CAAC"}
|
package/dist/cli-manifest.js
CHANGED
|
@@ -1,6 +1,33 @@
|
|
|
1
|
+
import fs from 'fs';
|
|
2
|
+
import path from 'path';
|
|
3
|
+
import { fileURLToPath } from 'url';
|
|
1
4
|
import { checkClientManifest } from './commands/check-client.js';
|
|
5
|
+
// Get version from package.json
|
|
6
|
+
const getVersion = () => {
|
|
7
|
+
try {
|
|
8
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
9
|
+
const __dirname = path.dirname(__filename);
|
|
10
|
+
// In dev: src/cli-manifest.ts -> ../../package.json
|
|
11
|
+
// In dist: dist/cli-manifest.js -> ../package.json
|
|
12
|
+
const possiblePaths = [
|
|
13
|
+
path.join(__dirname, '..', 'package.json'), // dist build
|
|
14
|
+
path.join(__dirname, '..', '..', 'package.json') // dev/src
|
|
15
|
+
];
|
|
16
|
+
for (const packageJsonPath of possiblePaths) {
|
|
17
|
+
if (fs.existsSync(packageJsonPath)) {
|
|
18
|
+
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
|
|
19
|
+
return packageJson.version;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
catch (error) {
|
|
24
|
+
// Fall through
|
|
25
|
+
}
|
|
26
|
+
return 'unknown';
|
|
27
|
+
};
|
|
2
28
|
export const CLI_MANIFEST = {
|
|
3
29
|
category: '@auto-engineer/frontend-checks',
|
|
30
|
+
version: getVersion(),
|
|
4
31
|
commands: {
|
|
5
32
|
'check:client': checkClientManifest,
|
|
6
33
|
},
|
package/dist/cli-manifest.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-manifest.js","sourceRoot":"","sources":["../src/cli-manifest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cli-manifest.js","sourceRoot":"","sources":["../src/cli-manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAEpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,gCAAgC;AAChC,MAAM,UAAU,GAAG,GAAW,EAAE;IAC9B,IAAI,CAAC;QACH,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAClD,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;QAC3C,oDAAoD;QACpD,mDAAmD;QACnD,MAAM,aAAa,GAAG;YACpB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,cAAc,CAAC,EAAM,aAAa;YAC7D,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc,CAAC,CAAC,UAAU;SAC5D,CAAC;QAEF,KAAK,MAAM,eAAe,IAAI,aAAa,EAAE,CAAC;YAC5C,IAAI,EAAE,CAAC,UAAU,CAAC,eAAe,CAAC,EAAE,CAAC;gBACnC,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC;gBAC1E,OAAO,WAAW,CAAC,OAAO,CAAC;YAC7B,CAAC;QACH,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,eAAe;IACjB,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAgB;IACvC,QAAQ,EAAE,gCAAgC;IAC1C,OAAO,EAAE,UAAU,EAAE;IACrB,QAAQ,EAAE;QACR,cAAc,EAAE,mBAAmB;KACpC;CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auto-engineer/frontend-checks",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"CHANGELOG.md"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@auto-engineer/message-bus": "^0.5.
|
|
19
|
+
"@auto-engineer/message-bus": "^0.5.3",
|
|
20
20
|
"debug": "^4.4.1",
|
|
21
21
|
"dotenv": "^16.6.1",
|
|
22
22
|
"playwright": "^1.54.1",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@auto-engineer/cli": "^0.7.
|
|
29
|
+
"@auto-engineer/cli": "^0.7.3"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"build": "tsc && tsx ../../scripts/fix-esm-imports.ts",
|