@principal-ai/principal-view-cli 0.1.26 → 0.1.27
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 +2 -1
- package/dist/index.cjs.map +2 -2
- package/package.json +1 -1
|
@@ -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,CA4L3C"}
|
package/dist/commands/lint.js
CHANGED
|
@@ -282,13 +282,14 @@ export function createLintCommand() {
|
|
|
282
282
|
ignore: privuConfig.exclude || ['**/node_modules/**'],
|
|
283
283
|
expandDirectories: false,
|
|
284
284
|
});
|
|
285
|
-
// Filter out library files, config files,
|
|
285
|
+
// Filter out library files, config files, canvas files, 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
|
-
|
|
291
|
+
const isExecutionArtifact = f.includes('__executions__/');
|
|
292
|
+
return !isLibraryFile && !isConfigFile && !isCanvasFile && !isExecutionArtifact;
|
|
292
293
|
});
|
|
293
294
|
if (configFiles.length === 0) {
|
|
294
295
|
if (options.json) {
|
package/dist/index.cjs
CHANGED
|
@@ -18086,7 +18086,8 @@ function createLintCommand() {
|
|
|
18086
18086
|
const isLibraryFile = name.startsWith("library.");
|
|
18087
18087
|
const isConfigFile = name.startsWith(".privurc");
|
|
18088
18088
|
const isCanvasFile = f.toLowerCase().endsWith(".canvas");
|
|
18089
|
-
|
|
18089
|
+
const isExecutionArtifact = f.includes("__executions__/");
|
|
18090
|
+
return !isLibraryFile && !isConfigFile && !isCanvasFile && !isExecutionArtifact;
|
|
18090
18091
|
});
|
|
18091
18092
|
if (configFiles.length === 0) {
|
|
18092
18093
|
if (options.json) {
|