cmssy-cli 0.12.2 → 0.13.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/config.d.ts +2 -0
- package/dist/cli.js +1 -1
- package/dist/commands/build.d.ts.map +1 -1
- package/dist/commands/build.js +20 -171
- package/dist/commands/build.js.map +1 -1
- package/dist/commands/configure.js +2 -2
- package/dist/commands/configure.js.map +1 -1
- package/dist/commands/dev.d.ts.map +1 -1
- package/dist/commands/dev.js +86 -306
- package/dist/commands/dev.js.map +1 -1
- package/dist/commands/package.d.ts.map +1 -1
- package/dist/commands/package.js +18 -43
- package/dist/commands/package.js.map +1 -1
- package/dist/dev-ui/app.js +74 -0
- package/dist/dev-ui/index.html +1075 -811
- package/dist/types/block-config.d.ts +1 -1
- package/dist/types/block-config.d.ts.map +1 -1
- package/dist/utils/block-config.d.ts +1 -1
- package/dist/utils/block-config.d.ts.map +1 -1
- package/dist/utils/block-config.js +9 -7
- package/dist/utils/block-config.js.map +1 -1
- package/dist/utils/builder.d.ts +31 -0
- package/dist/utils/builder.d.ts.map +1 -0
- package/dist/utils/builder.js +135 -0
- package/dist/utils/builder.js.map +1 -0
- package/dist/utils/field-schema.js +20 -20
- package/dist/utils/field-schema.js.map +1 -1
- package/dist/utils/scanner.d.ts +34 -0
- package/dist/utils/scanner.d.ts.map +1 -0
- package/dist/utils/scanner.js +133 -0
- package/dist/utils/scanner.js.map +1 -0
- package/dist/utils/type-generator.js +6 -5
- package/dist/utils/type-generator.js.map +1 -1
- package/package.json +3 -2
package/config.d.ts
ADDED
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAOA,UAAU,YAAY;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAsB,YAAY,CAAC,OAAO,EAAE,YAAY,iBAgEvD"}
|
package/dist/commands/build.js
CHANGED
|
@@ -1,35 +1,41 @@
|
|
|
1
1
|
import chalk from "chalk";
|
|
2
|
-
import { build as esbuild } from "esbuild";
|
|
3
|
-
import { execSync } from "child_process";
|
|
4
|
-
import fs from "fs-extra";
|
|
5
2
|
import ora from "ora";
|
|
6
3
|
import path from "path";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
4
|
+
import { loadConfig } from "../utils/cmssy-config.js";
|
|
5
|
+
import { scanResources } from "../utils/scanner.js";
|
|
6
|
+
import { buildResource } from "../utils/builder.js";
|
|
10
7
|
export async function buildCommand(options) {
|
|
11
8
|
const spinner = ora("Starting build...").start();
|
|
12
9
|
try {
|
|
13
10
|
const config = await loadConfig();
|
|
14
11
|
const framework = options.framework || config.framework;
|
|
15
|
-
// Scan for blocks and templates
|
|
16
|
-
const resources = await scanResources(
|
|
12
|
+
// Scan for blocks and templates (strict mode - throw errors)
|
|
13
|
+
const resources = await scanResources({
|
|
14
|
+
strict: true,
|
|
15
|
+
loadConfig: true,
|
|
16
|
+
validateSchema: true,
|
|
17
|
+
loadPreview: false,
|
|
18
|
+
requirePackageJson: true,
|
|
19
|
+
});
|
|
17
20
|
if (resources.length === 0) {
|
|
18
21
|
spinner.warn("No blocks or templates found");
|
|
19
22
|
process.exit(0);
|
|
20
23
|
}
|
|
21
24
|
spinner.text = `Building ${resources.length} resources...`;
|
|
22
25
|
const outDir = path.join(process.cwd(), config.build?.outDir || "public");
|
|
23
|
-
// Clean output directory
|
|
24
|
-
if (fs.existsSync(outDir)) {
|
|
25
|
-
fs.removeSync(outDir);
|
|
26
|
-
}
|
|
27
|
-
fs.mkdirSync(outDir, { recursive: true });
|
|
28
26
|
let successCount = 0;
|
|
29
27
|
let errorCount = 0;
|
|
30
28
|
for (const resource of resources) {
|
|
31
29
|
try {
|
|
32
|
-
await buildResource(resource,
|
|
30
|
+
await buildResource(resource, outDir, {
|
|
31
|
+
framework,
|
|
32
|
+
minify: config.build?.minify ?? true,
|
|
33
|
+
sourcemap: config.build?.sourcemap ?? true,
|
|
34
|
+
outputMode: "versioned",
|
|
35
|
+
generatePackageJson: true,
|
|
36
|
+
generateTypes: true,
|
|
37
|
+
strict: true,
|
|
38
|
+
});
|
|
33
39
|
successCount++;
|
|
34
40
|
console.log(chalk.green(` ✓ ${resource.packageJson.name}@${resource.packageJson.version}`));
|
|
35
41
|
}
|
|
@@ -52,161 +58,4 @@ export async function buildCommand(options) {
|
|
|
52
58
|
process.exit(1);
|
|
53
59
|
}
|
|
54
60
|
}
|
|
55
|
-
async function scanResources() {
|
|
56
|
-
const resources = [];
|
|
57
|
-
// Scan blocks
|
|
58
|
-
const blocksDir = path.join(process.cwd(), "blocks");
|
|
59
|
-
if (fs.existsSync(blocksDir)) {
|
|
60
|
-
const blockDirs = fs
|
|
61
|
-
.readdirSync(blocksDir, { withFileTypes: true })
|
|
62
|
-
.filter((dirent) => dirent.isDirectory())
|
|
63
|
-
.map((dirent) => dirent.name);
|
|
64
|
-
for (const blockName of blockDirs) {
|
|
65
|
-
const blockPath = path.join(blocksDir, blockName);
|
|
66
|
-
// Try loading block.config.ts
|
|
67
|
-
const blockConfig = await loadBlockConfig(blockPath);
|
|
68
|
-
if (!blockConfig) {
|
|
69
|
-
// Check if package.json has cmssy (old format)
|
|
70
|
-
const pkg = getPackageJson(blockPath);
|
|
71
|
-
if (pkg && pkg.cmssy) {
|
|
72
|
-
throw new Error(`Block "${blockName}" uses legacy package.json format.\n` +
|
|
73
|
-
`Please migrate to block.config.ts.\n` +
|
|
74
|
-
`Run: cmssy migrate ${blockName}\n` +
|
|
75
|
-
`Or see migration guide: https://cmssy.io/docs/migration`);
|
|
76
|
-
}
|
|
77
|
-
console.warn(chalk.yellow(`Warning: Skipping ${blockName} - no block.config.ts found`));
|
|
78
|
-
continue;
|
|
79
|
-
}
|
|
80
|
-
// Validate schema
|
|
81
|
-
const validation = await validateSchema(blockConfig.schema, blockPath);
|
|
82
|
-
if (!validation.valid) {
|
|
83
|
-
console.error(chalk.red(`\nValidation errors in ${blockName}:`));
|
|
84
|
-
validation.errors.forEach((err) => console.error(chalk.red(` - ${err}`)));
|
|
85
|
-
throw new Error(`Schema validation failed for ${blockName}`);
|
|
86
|
-
}
|
|
87
|
-
// Load package.json for name and version
|
|
88
|
-
const pkg = getPackageJson(blockPath);
|
|
89
|
-
if (!pkg || !pkg.name || !pkg.version) {
|
|
90
|
-
throw new Error(`Block "${blockName}" must have package.json with name and version`);
|
|
91
|
-
}
|
|
92
|
-
resources.push({
|
|
93
|
-
type: "block",
|
|
94
|
-
name: blockName,
|
|
95
|
-
path: blockPath,
|
|
96
|
-
packageJson: pkg,
|
|
97
|
-
blockConfig,
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
// Scan templates
|
|
102
|
-
const templatesDir = path.join(process.cwd(), "templates");
|
|
103
|
-
if (fs.existsSync(templatesDir)) {
|
|
104
|
-
const templateDirs = fs
|
|
105
|
-
.readdirSync(templatesDir, { withFileTypes: true })
|
|
106
|
-
.filter((dirent) => dirent.isDirectory())
|
|
107
|
-
.map((dirent) => dirent.name);
|
|
108
|
-
for (const templateName of templateDirs) {
|
|
109
|
-
const templatePath = path.join(templatesDir, templateName);
|
|
110
|
-
// Try loading block.config.ts
|
|
111
|
-
const blockConfig = await loadBlockConfig(templatePath);
|
|
112
|
-
if (!blockConfig) {
|
|
113
|
-
// Check if package.json has cmssy (old format)
|
|
114
|
-
const pkg = getPackageJson(templatePath);
|
|
115
|
-
if (pkg && pkg.cmssy) {
|
|
116
|
-
throw new Error(`Template "${templateName}" uses legacy package.json format.\n` +
|
|
117
|
-
`Please migrate to block.config.ts.\n` +
|
|
118
|
-
`Run: cmssy migrate ${templateName}\n` +
|
|
119
|
-
`Or see migration guide: https://cmssy.io/docs/migration`);
|
|
120
|
-
}
|
|
121
|
-
console.warn(chalk.yellow(`Warning: Skipping ${templateName} - no block.config.ts found`));
|
|
122
|
-
continue;
|
|
123
|
-
}
|
|
124
|
-
// Validate schema
|
|
125
|
-
const validation = await validateSchema(blockConfig.schema, templatePath);
|
|
126
|
-
if (!validation.valid) {
|
|
127
|
-
console.error(chalk.red(`\nValidation errors in ${templateName}:`));
|
|
128
|
-
validation.errors.forEach((err) => console.error(chalk.red(` - ${err}`)));
|
|
129
|
-
throw new Error(`Schema validation failed for ${templateName}`);
|
|
130
|
-
}
|
|
131
|
-
// Load package.json for name and version
|
|
132
|
-
const pkg = getPackageJson(templatePath);
|
|
133
|
-
if (!pkg || !pkg.name || !pkg.version) {
|
|
134
|
-
throw new Error(`Template "${templateName}" must have package.json with name and version`);
|
|
135
|
-
}
|
|
136
|
-
resources.push({
|
|
137
|
-
type: "template",
|
|
138
|
-
name: templateName,
|
|
139
|
-
path: templatePath,
|
|
140
|
-
packageJson: pkg,
|
|
141
|
-
blockConfig,
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
return resources;
|
|
146
|
-
}
|
|
147
|
-
async function buildResource(resource, framework, outDir, config) {
|
|
148
|
-
const srcPath = path.join(resource.path, "src");
|
|
149
|
-
const entryPoint = framework === "react"
|
|
150
|
-
? path.join(srcPath, "index.tsx")
|
|
151
|
-
: path.join(srcPath, "index.ts");
|
|
152
|
-
if (!fs.existsSync(entryPoint)) {
|
|
153
|
-
throw new Error(`Entry point not found: ${entryPoint}`);
|
|
154
|
-
}
|
|
155
|
-
// Create versioned output directory
|
|
156
|
-
// Example: public/@vendor/blocks.hero/1.0.0/
|
|
157
|
-
const packageName = resource.packageJson.name;
|
|
158
|
-
const version = resource.packageJson.version;
|
|
159
|
-
const destDir = path.join(outDir, packageName, version);
|
|
160
|
-
fs.mkdirSync(destDir, { recursive: true });
|
|
161
|
-
// Build JavaScript
|
|
162
|
-
const outFile = path.join(destDir, "index.js");
|
|
163
|
-
await esbuild({
|
|
164
|
-
entryPoints: [entryPoint],
|
|
165
|
-
bundle: true,
|
|
166
|
-
format: "esm",
|
|
167
|
-
outfile: outFile,
|
|
168
|
-
jsx: "transform",
|
|
169
|
-
minify: config.build?.minify ?? true,
|
|
170
|
-
sourcemap: config.build?.sourcemap ?? true,
|
|
171
|
-
target: "es2020",
|
|
172
|
-
external: ["*.css"],
|
|
173
|
-
});
|
|
174
|
-
// Process CSS with PostCSS if exists
|
|
175
|
-
const cssPath = path.join(srcPath, "index.css");
|
|
176
|
-
if (fs.existsSync(cssPath)) {
|
|
177
|
-
const outCssFile = path.join(destDir, "index.css");
|
|
178
|
-
// Check if postcss.config.js exists (Tailwind enabled)
|
|
179
|
-
const postcssConfigPath = path.join(process.cwd(), "postcss.config.js");
|
|
180
|
-
if (fs.existsSync(postcssConfigPath)) {
|
|
181
|
-
// Use PostCSS to process CSS (includes Tailwind)
|
|
182
|
-
try {
|
|
183
|
-
execSync(`npx postcss "${cssPath}" -o "${outCssFile}"${config.build?.minify ? " --no-map" : ""}`, { stdio: "pipe", cwd: process.cwd() });
|
|
184
|
-
}
|
|
185
|
-
catch (error) {
|
|
186
|
-
console.warn(chalk.yellow(`Warning: PostCSS processing failed: ${error.message}`));
|
|
187
|
-
console.log(chalk.gray("Copying CSS as-is..."));
|
|
188
|
-
fs.copyFileSync(cssPath, outCssFile);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
else {
|
|
192
|
-
// No PostCSS config - just copy CSS
|
|
193
|
-
fs.copyFileSync(cssPath, outCssFile);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
// Generate package.json with cmssy metadata from block.config.ts
|
|
197
|
-
if (resource.blockConfig) {
|
|
198
|
-
const cmssyMetadata = generatePackageJsonMetadata(resource.blockConfig, resource.type);
|
|
199
|
-
const outputPackageJson = {
|
|
200
|
-
...resource.packageJson,
|
|
201
|
-
cmssy: cmssyMetadata,
|
|
202
|
-
};
|
|
203
|
-
fs.writeFileSync(path.join(destDir, "package.json"), JSON.stringify(outputPackageJson, null, 2) + "\n");
|
|
204
|
-
// Generate TypeScript types
|
|
205
|
-
await generateTypes(resource.path, resource.blockConfig.schema);
|
|
206
|
-
}
|
|
207
|
-
else {
|
|
208
|
-
// Fallback: copy package.json as-is (shouldn't happen after migration)
|
|
209
|
-
fs.copyFileSync(path.join(resource.path, "package.json"), path.join(destDir, "package.json"));
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
61
|
//# sourceMappingURL=build.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.js","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"build.js","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAMpD,MAAM,CAAC,KAAK,UAAU,YAAY,CAAC,OAAqB;IACtD,MAAM,OAAO,GAAG,GAAG,CAAC,mBAAmB,CAAC,CAAC,KAAK,EAAE,CAAC;IAEjD,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,EAAE,CAAC;QAClC,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,MAAM,CAAC,SAAS,CAAC;QAExD,6DAA6D;QAC7D,MAAM,SAAS,GAAG,MAAM,aAAa,CAAC;YACpC,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,IAAI;YAChB,cAAc,EAAE,IAAI;YACpB,WAAW,EAAE,KAAK;YAClB,kBAAkB,EAAE,IAAI;SACzB,CAAC,CAAC;QAEH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ACrB,OAAO,CAAC,OAAO,CAAC,mBAAmB,YAAY,kBAAkB,CAAC,CAAC;YACnE,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,MAAM,IAAI,CAAC,CAAC,CAAC;QAC7D,CAAC;aAAM,CAAC;YACN,OAAO,CAAC,IAAI,CACV,gCAAgC,YAAY,eAAe,UAAU,SAAS,CAC/E,CAAC;QACJ,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC7B,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,CAAC;QAC1C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
|
@@ -36,7 +36,7 @@ export async function configureCommand(options) {
|
|
|
36
36
|
});
|
|
37
37
|
console.log(chalk.green("\n✓ Configuration saved to .env\n"));
|
|
38
38
|
console.log(chalk.cyan("Next steps:\n"));
|
|
39
|
-
console.log(chalk.white(" cmssy
|
|
40
|
-
console.log(chalk.white(" cmssy sync
|
|
39
|
+
console.log(chalk.white(" cmssy publish --all --marketplace # Publish to marketplace"));
|
|
40
|
+
console.log(chalk.white(" cmssy sync # Pull blocks from Cmssy\n"));
|
|
41
41
|
}
|
|
42
42
|
//# sourceMappingURL=configure.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configure.js","sourceRoot":"","sources":["../../src/commands/configure.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAM5D,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,OAAyB;IAC9D,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,IA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KAAK,CAAC,KAAK,CAAC,gEAAgE,CAAC,CAC9E,CAAC;IACF,OAAO,CAAC,GAAG,CACT,KAAK,CAAC,KAAK,CAAC,kEAAkE,CAAC,CAChF,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/commands/dev.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/commands/dev.ts"],"names":[],"mappings":"AAiBA,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;CACd;AAKD,wBAAsB,UAAU,CAAC,OAAO,EAAE,UAAU,iBAkXnD"}
|