@frontmcp/nx 1.12.0-rc.1 → 1.12.1
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.
|
@@ -9,6 +9,10 @@ const PACKAGE_ROOT = 'ui/shells';
|
|
|
9
9
|
const IMPORT_PATH = '@frontmcp/ui-shells';
|
|
10
10
|
async function uiShellGenerator(tree, schema) {
|
|
11
11
|
const { className, fileName } = (0, devkit_1.names)(schema.name);
|
|
12
|
+
if (!/^[a-z][a-z0-9-]*$/.test(fileName)) {
|
|
13
|
+
throw new Error(`The shell name "${schema.name}" becomes the folder and import path "${fileName}", which must start with a ` +
|
|
14
|
+
'letter and have only letters, digits and dashes. Use a kebab-case name such as admin-dashboard.');
|
|
15
|
+
}
|
|
12
16
|
const installTask = (0, ensure_ui_package_js_1.ensureUiPackage)(tree, { packageRoot: PACKAGE_ROOT, projectName: 'ui-shells', kind: 'shell' });
|
|
13
17
|
// Generate shell files from templates (kebab-case naming)
|
|
14
18
|
(0, devkit_1.generateFiles)(tree, (0, path_1.join)(__dirname, 'files'), `${PACKAGE_ROOT}/src`, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontmcp/nx",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.1",
|
|
4
4
|
"description": "Nx plugin for FrontMCP — generators and executors for building MCP servers",
|
|
5
5
|
"author": "AgentFront <info@agentfront.dev>",
|
|
6
6
|
"homepage": "https://frontmcp.dev/reference/nx",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"node": ">=24.0.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@frontmcp/skills": "1.12.
|
|
36
|
+
"@frontmcp/skills": "1.12.1",
|
|
37
37
|
"@nx/devkit": "22.6.4",
|
|
38
38
|
"tslib": "^2.3.0"
|
|
39
39
|
},
|