@jungvonmatt/contentful-ssg 1.7.3 → 1.7.4

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/types.d.ts CHANGED
@@ -7,6 +7,7 @@ import type { ListrTaskObject } from 'listr';
7
7
  import type { FileManager } from './lib/file-manager.js';
8
8
  import type { Stats } from './lib/stats.js';
9
9
  import type { HookManager } from './lib/hook-manager.js';
10
+ export type { Ignore } from 'ignore';
10
11
  export declare type KeyValueMap<T = any> = Record<string, T>;
11
12
  export declare type Locale = ContentfulLocale;
12
13
  export declare type ContentType = ContentfulContentType;
@@ -152,12 +153,6 @@ export declare type TransformContext = LocalizedContent & {
152
153
  export declare type ObservableContext = Readonly<Pick<TransformContext, 'id' | 'contentTypeId' | 'entry' | 'content' | 'locale'> & {
153
154
  error?: Error;
154
155
  }>;
155
- export interface Ignore {
156
- add(pattern: string | Ignore | string[] | Ignore[]): Ignore;
157
- filter(paths: string[]): string[];
158
- createFilter(): (path: string) => boolean;
159
- ignores(pathname: string): boolean;
160
- }
161
156
  export interface StatsEntry extends KeyValueMap {
162
157
  id: string;
163
158
  contentTypeId: string;
@@ -201,4 +196,3 @@ export interface ErrorEntry {
201
196
  locale: Locale;
202
197
  missingFields: string[];
203
198
  }
204
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jungvonmatt/contentful-ssg",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -163,5 +163,5 @@
163
163
  "module": "es2020"
164
164
  }
165
165
  },
166
- "gitHead": "07c6810f528dc8cf51fad3f8e8cc6081facd9232"
166
+ "gitHead": "d6529cec33cf6939f0cebf189437b6e65e6be7b4"
167
167
  }
package/src/types.ts CHANGED
@@ -17,6 +17,8 @@ import type { FileManager } from './lib/file-manager.js';
17
17
  import type { Stats } from './lib/stats.js';
18
18
  import type { HookManager } from './lib/hook-manager.js';
19
19
 
20
+ export type { Ignore } from 'ignore';
21
+
20
22
  export type KeyValueMap<T = any> = Record<string, T>;
21
23
 
22
24
  export type Locale = ContentfulLocale;
@@ -227,12 +229,6 @@ export type ObservableContext = Readonly<
227
229
  error?: Error;
228
230
  }
229
231
  >;
230
- export interface Ignore {
231
- add(pattern: string | Ignore | string[] | Ignore[]): Ignore;
232
- filter(paths: string[]): string[];
233
- createFilter(): (path: string) => boolean;
234
- ignores(pathname: string): boolean;
235
- }
236
232
 
237
233
  export interface StatsEntry extends KeyValueMap {
238
234
  id: string;