@principal-ai/principal-view-cli 0.1.28 → 0.1.29
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/dist/commands/lint.d.ts.map +1 -1
- package/dist/commands/lint.js +3 -2
- package/dist/index.cjs +11225 -12852
- package/dist/index.cjs.map +4 -4
- package/package.json +11 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../../src/commands/lint.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA2PpC,wBAAgB,iBAAiB,IAAI,OAAO,
|
|
1
|
+
{"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../../src/commands/lint.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA2PpC,wBAAgB,iBAAiB,IAAI,OAAO,CA6L3C"}
|
package/dist/commands/lint.js
CHANGED
|
@@ -282,14 +282,15 @@ export function createLintCommand() {
|
|
|
282
282
|
ignore: privuConfig.exclude || ['**/node_modules/**'],
|
|
283
283
|
expandDirectories: false,
|
|
284
284
|
});
|
|
285
|
-
// Filter out library files, config files, canvas files, and execution artifacts
|
|
285
|
+
// Filter out library files, config files, canvas files, narrative templates, and execution artifacts
|
|
286
286
|
const configFiles = matchedFiles.filter((f) => {
|
|
287
287
|
const name = basename(f).toLowerCase();
|
|
288
288
|
const isLibraryFile = name.startsWith('library.');
|
|
289
289
|
const isConfigFile = name.startsWith('.privurc');
|
|
290
290
|
const isCanvasFile = f.toLowerCase().endsWith('.canvas');
|
|
291
|
+
const isNarrativeTemplate = name.endsWith('.narrative.json');
|
|
291
292
|
const isExecutionArtifact = f.includes('__executions__/');
|
|
292
|
-
return !isLibraryFile && !isConfigFile && !isCanvasFile && !isExecutionArtifact;
|
|
293
|
+
return !isLibraryFile && !isConfigFile && !isCanvasFile && !isNarrativeTemplate && !isExecutionArtifact;
|
|
293
294
|
});
|
|
294
295
|
if (configFiles.length === 0) {
|
|
295
296
|
if (options.json) {
|