Skip to content

Commit 0aba600

Browse files
committed
fix: revert cache implementation
1 parent bb5afa3 commit 0aba600

File tree

5 files changed

+1
-19
lines changed

5 files changed

+1
-19
lines changed

packages/cli/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,6 @@ Each example is fully tested to demonstrate best practices for plugin testing as
217217
| **`--upload.project`** | `string` | n/a | Project slug from portal. |
218218
| **`--upload.server`** | `string` | n/a | URL to your portal server. |
219219
| **`--upload.apiKey`** | `string` | n/a | API key for the portal server. |
220-
| **`--cache.read`** | `boolean` | `false` | If plugin audit outputs should be read from file system cache. |
221-
| **`--cache.write`** | `boolean` | `false` | If plugin audit outputs should be written to file system cache. |
222220
| **`--onlyPlugins`** | `string[]` | `[]` | Only run the specified plugins. Applicable to all commands except `upload`. |
223221
| **`--skipPlugins`** | `string[]` | `[]` | Skip the specified plugins. Applicable to all commands except `upload`. |
224222

packages/core/src/lib/collect-and-persist.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import type { GlobalOptions } from './types.js';
1919

2020
export type CollectAndPersistReportsOptions = Pick<
2121
CoreConfig,
22-
'plugins' | 'categories' | 'cache'
22+
'plugins' | 'categories'
2323
> & {
2424
persist: Required<Omit<PersistConfig, 'report'>> &
2525
Pick<PersistConfig, 'report'>;

packages/models/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export {
66
sourceFileLocationSchema,
77
type SourceFileLocation,
88
} from './lib/source.js';
9-
export { cacheConfigSchema, type CacheConfig } from './lib/cache-config.js';
109

1110
export {
1211
auditDetailsSchema,

packages/models/src/lib/cache-config.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

packages/models/src/lib/core-config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { z } from 'zod';
2-
import { cacheConfigSchema } from './cache-config.js';
32
import { categoriesSchema } from './category-config.js';
43
import { createCheck } from './implementation/checks.js';
54
import { findMissingSlugsInCategoryRefs } from './implementation/utils.js';
@@ -14,7 +13,6 @@ export const unrefinedCoreConfigSchema = z.object({
1413
.describe(
1514
'List of plugins to be used (official, community-provided, or custom)',
1615
),
17-
cache: cacheConfigSchema.optional(),
1816
/** portal configuration for persisting results */
1917
persist: persistConfigSchema.optional(),
2018
/** portal configuration for uploading results */

0 commit comments

Comments
 (0)