@w5s/configurator-core 1.11.0 → 1.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/dist/index.cjs CHANGED
@@ -346,9 +346,9 @@ function toFileOption$1({ update, ...otherOptions }) {
346
346
  //#endregion
347
347
  //#region src/meta.ts
348
348
  const meta = Object.freeze({
349
- buildNumber: 1788194737,
349
+ buildNumber: 1788793943,
350
350
  name: "@w5s/configurator-core",
351
- version: "1.11.0"
351
+ version: "1.13.0"
352
352
  });
353
353
  //#endregion
354
354
  //#region src/yaml.ts
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region src/block.d.ts
2
- interface BlockOptions {
2
+ export interface BlockOptions {
3
3
  /**
4
4
  * Block content to insert
5
5
  */
@@ -32,7 +32,7 @@ interface BlockOptions {
32
32
  *
33
33
  * @param options
34
34
  */
35
- declare function block(options: BlockOptions): Promise<void>;
35
+ export declare function block(options: BlockOptions): Promise<void>;
36
36
  /**
37
37
  * Replace synchronously a block in file that follows pattern :
38
38
  *
@@ -42,7 +42,7 @@ declare function block(options: BlockOptions): Promise<void>;
42
42
  *
43
43
  * @param options
44
44
  */
45
- declare function blockSync(options: BlockOptions): void;
45
+ export declare function blockSync(options: BlockOptions): void;
46
46
  //#endregion
47
47
  //#region src/FileMode.d.ts
48
48
  interface FileMode {
@@ -75,7 +75,7 @@ interface FilePermissionSet {
75
75
  }
76
76
  //#endregion
77
77
  //#region src/directory.d.ts
78
- interface DirectoryOptions {
78
+ export interface DirectoryOptions {
79
79
  /**
80
80
  * File permissions
81
81
  */
@@ -107,7 +107,7 @@ interface DirectoryOptions {
107
107
  *
108
108
  * @param options
109
109
  */
110
- declare function directory(options: DirectoryOptions): Promise<void>;
110
+ export declare function directory(options: DirectoryOptions): Promise<void>;
111
111
  /**
112
112
  * Ensure directory is present/absent
113
113
  *
@@ -126,10 +126,10 @@ declare function directory(options: DirectoryOptions): Promise<void>;
126
126
  *
127
127
  * @param options
128
128
  */
129
- declare function directorySync(options: DirectoryOptions): void;
129
+ export declare function directorySync(options: DirectoryOptions): void;
130
130
  //#endregion
131
131
  //#region src/file.d.ts
132
- interface FileOptions {
132
+ export interface FileOptions {
133
133
  /**
134
134
  * File encoding
135
135
  */
@@ -171,7 +171,7 @@ interface FileOptions {
171
171
  *
172
172
  * @param options
173
173
  */
174
- declare function file(options: FileOptions): Promise<void>;
174
+ export declare function file(options: FileOptions): Promise<void>;
175
175
  /**
176
176
  * Ensure file is present/absent with content initialized or modified with `update
177
177
  *
@@ -191,10 +191,10 @@ declare function file(options: FileOptions): Promise<void>;
191
191
  *
192
192
  * @param options
193
193
  */
194
- declare function fileSync(options: FileOptions): void;
194
+ export declare function fileSync(options: FileOptions): void;
195
195
  //#endregion
196
196
  //#region src/ignoreFile.d.ts
197
- interface IgnoreFileOptions extends Omit<FileOptions, 'update'> {
197
+ export interface IgnoreFileOptions extends Omit<FileOptions, 'update'> {
198
198
  /**
199
199
  * File content mapping function where content is represented as lines.
200
200
  * When the file does not yet exist, the callback receives `undefined`.
@@ -213,7 +213,7 @@ interface IgnoreFileOptions extends Omit<FileOptions, 'update'> {
213
213
  * ```
214
214
  * @param options File target options.
215
215
  */
216
- declare function ignoreFile(options: IgnoreFileOptions): Promise<void>;
216
+ export declare function ignoreFile(options: IgnoreFileOptions): Promise<void>;
217
217
  /**
218
218
  * Ensure file is present/absent synchronously with content initialized or modified by line.
219
219
  *
@@ -226,16 +226,16 @@ declare function ignoreFile(options: IgnoreFileOptions): Promise<void>;
226
226
  * ```
227
227
  * @param options File target options.
228
228
  */
229
- declare function ignoreFileSync(options: IgnoreFileOptions): void;
229
+ export declare function ignoreFileSync(options: IgnoreFileOptions): void;
230
230
  //#endregion
231
231
  //#region src/json.d.ts
232
- interface JSONOption<V = JSONValue> extends Omit<FileOptions, 'update'> {
232
+ export interface JSONOption<V = JSONValue> extends Omit<FileOptions, 'update'> {
233
233
  /**
234
234
  * File content mapping function
235
235
  */
236
236
  readonly update?: ((content: undefined | V) => undefined | V) | undefined;
237
237
  }
238
- type JSONValue = Array<JSONValue> | boolean | null | number | string | {
238
+ export type JSONValue = Array<JSONValue> | boolean | null | number | string | {
239
239
  [key: string]: JSONValue;
240
240
  };
241
241
  /**
@@ -243,29 +243,29 @@ type JSONValue = Array<JSONValue> | boolean | null | number | string | {
243
243
  *
244
244
  * @param options
245
245
  */
246
- declare function json<Value>(options: JSONOption<Value>): Promise<void>;
246
+ export declare function json<Value>(options: JSONOption<Value>): Promise<void>;
247
247
  /**
248
248
  * Ensure file is present/absent synchronously with content value initialized or modified with `update`
249
249
  *
250
250
  * @param options
251
251
  */
252
- declare function jsonSync<Value>(options: JSONOption<Value>): void;
252
+ export declare function jsonSync<Value>(options: JSONOption<Value>): void;
253
253
  //#endregion
254
254
  //#region src/meta.d.ts
255
- declare const meta: Readonly<{
255
+ export declare const meta: Readonly<{
256
256
  buildNumber: number;
257
257
  name: string;
258
258
  version: string;
259
259
  }>;
260
260
  //#endregion
261
261
  //#region src/yaml.d.ts
262
- interface YAMLOption<V = YAMLValue> extends Omit<FileOptions, 'update'> {
262
+ export interface YAMLOption<V = YAMLValue> extends Omit<FileOptions, 'update'> {
263
263
  /**
264
264
  * File content mapping function
265
265
  */
266
266
  readonly update?: ((content: undefined | V) => undefined | V) | undefined;
267
267
  }
268
- type YAMLValue = Array<YAMLValue> | boolean | null | number | string | {
268
+ export type YAMLValue = Array<YAMLValue> | boolean | null | number | string | {
269
269
  [key: string]: YAMLValue;
270
270
  };
271
271
  /**
@@ -273,16 +273,16 @@ type YAMLValue = Array<YAMLValue> | boolean | null | number | string | {
273
273
  *
274
274
  * @param options
275
275
  */
276
- declare function yaml<Value>(options: YAMLOption<Value>): Promise<void>;
276
+ export declare function yaml<Value>(options: YAMLOption<Value>): Promise<void>;
277
277
  /**
278
278
  * Ensure file is present/absent synchronously with content value initialized or modified with `update`
279
279
  *
280
280
  * @param options
281
281
  */
282
- declare function yamlSync<Value>(options: YAMLOption<Value>): void;
282
+ export declare function yamlSync<Value>(options: YAMLOption<Value>): void;
283
283
  //#endregion
284
284
  //#region src/yarnConfig.d.ts
285
- interface YarnConfigOptions {
285
+ export interface YarnConfigOptions {
286
286
  /**
287
287
  * Configuration key
288
288
  */
@@ -308,7 +308,7 @@ interface YarnConfigOptions {
308
308
  * update: (content) => content.replace('node-modules', 'hoisted'),
309
309
  * })
310
310
  */
311
- declare function yarnConfig(options: YarnConfigOptions): Promise<void>;
311
+ export declare function yarnConfig(options: YarnConfigOptions): Promise<void>;
312
312
  /**
313
313
  * Synchronous version of {@link yarnConfig}
314
314
  *
@@ -320,11 +320,11 @@ declare function yarnConfig(options: YarnConfigOptions): Promise<void>;
320
320
  * update: (content) => content.replace('node-modules', 'hoisted'),
321
321
  * })
322
322
  */
323
- declare function yarnConfigSync(options: YarnConfigOptions): void;
323
+ export declare function yarnConfigSync(options: YarnConfigOptions): void;
324
324
  //#endregion
325
325
  //#region src/yarnVersion.d.ts
326
- type YarnVersionKind = 'berry' | 'classic';
327
- interface YarnVersionOptions {
326
+ export type YarnVersionKind = 'berry' | 'classic';
327
+ export interface YarnVersionOptions {
328
328
  /**
329
329
  * Option target state
330
330
  */
@@ -345,7 +345,7 @@ interface YarnVersionOptions {
345
345
  * update: () => 'berry', // or 'classic'
346
346
  * })
347
347
  */
348
- declare function yarnVersion(options: YarnVersionOptions): Promise<void>;
348
+ export declare function yarnVersion(options: YarnVersionOptions): Promise<void>;
349
349
  /**
350
350
  * Synchronous version of {@link yarnVersion}
351
351
  *
@@ -356,7 +356,6 @@ declare function yarnVersion(options: YarnVersionOptions): Promise<void>;
356
356
  * update: () => 'berry', // or 'classic'
357
357
  * })
358
358
  */
359
- declare function yarnVersionSync(options: YarnVersionOptions): void;
359
+ export declare function yarnVersionSync(options: YarnVersionOptions): void;
360
360
  //#endregion
361
- export { BlockOptions, DirectoryOptions, FileOptions, IgnoreFileOptions, JSONOption, JSONValue, YAMLOption, YAMLValue, YarnConfigOptions, YarnVersionKind, YarnVersionOptions, block, blockSync, directory, directorySync, file, fileSync, ignoreFile, ignoreFileSync, json, jsonSync, meta, yaml, yamlSync, yarnConfig, yarnConfigSync, yarnVersion, yarnVersionSync };
362
361
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/block.ts","../src/FileMode.ts","../src/directory.ts","../src/file.ts","../src/ignoreFile.ts","../src/json.ts","../src/meta.ts","../src/yaml.ts","../src/yarnConfig.ts","../src/yarnVersion.ts"],"mappings":";UAEiB;;;;EAIf;;;;EAKA,yCAAyC,yCAAyC;;;;;;EAOlF,UAAU;;;;EAKV;;;;EAKA;;;;;;;;;;;iBAgCc,MAAM,SAAS,eAAY;;;;;;;;;;iBAa3B,UAAU,SAAS;;;UCzElB;;;;WAIN,QAAQ;;;;WAKR,QAAQ;;;;WAKR,QAAQ;;UAGF;;;;WAIN;;;;WAKA;;;;WAKA;;;;UCtBM;;;;WAIN,OAAO;;;;WAKP;;;;WAKA;;;;;;;;;;;;;;;;;;;;iBAqBW,UAAU,SAAS,mBAAmB;;;;;;;;;;;;;;;;;;;iBAkC5C,cAAc,SAAS;;;UCrEtB;;;;WAIN,WAAW;;;;WAKX,OAAO;;;;WAKP;;;;WAKA;;;;;WAMA,WAAW;;;;;;;;;;;;;;;;;;;;;iBAsBA,KAAK,SAAS,cAAc;;;;;;;;;;;;;;;;;;;;iBAqClC,SAAS,SAAS;;;UC3FjB,0BAA0B,KAAK;;;;;WAKrC,WAAW,SAAS,8BAA8B;;;;;;;;;;;;;;iBAevC,WAAW,SAAS,oBAAoB;;;;;;;;;;;;;iBAgB9C,eAAe,SAAS;;;UCpCvB,WAAW,IAAI,mBAAmB,KAAK;;;;WAI7C,WAAW,qBAAqB,kBAAkB;;KAGjD,YAAY,MAAM;GAAmD,cAAc;;;;;;;iBAOzE,KAAK,OAAO,SAAS,WAAW,SAAS;;;;;;iBAS/C,SAAS,OAAO,SAAS,WAAW;;;cCzBvC,MAAI;EAEkF;EAEtB;EAES;;;;UCFrE,WAAW,IAAI,mBAAmB,KAAK;;;;WAI7C,WAAW,qBAAqB,kBAAkB;;KAGjD,YAAY,MAAM;GAAmD,cAAc;;;;;;;iBAOzE,KAAK,OAAO,SAAS,WAAW,SAAS;;;;;;iBAS/C,SAAS,OAAO,SAAS,WAAW;;;UCzBnC;;;;WAIN;;;;WAKA;;;;;WAMA,WAAW;;;;;;;;;;;;;iBAcA,WAAW,SAAS,oBAAoB;;;;;;;;;;;;iBAqB9C,eAAe,SAAS;;;KClD5B;UAEK;;;;WAIN;;;;;WAMA,4BAA4B;;;;;;;;;;;;iBAajB,YAAY,SAAS,qBAAqB;;;;;;;;;;;iBAoBhD,gBAAgB,SAAS"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/block.ts","../src/FileMode.ts","../src/directory.ts","../src/file.ts","../src/ignoreFile.ts","../src/json.ts","../src/meta.ts","../src/yaml.ts","../src/yarnConfig.ts","../src/yarnVersion.ts"],"mappings":";iBAEiB;;;;EAIf;;;;EAKA,yCAAyC,yCAAyC;;;;;;EAOlF,UAAU;;;;EAKV;;;;EAKA;;;;;;;;;;;wBAgCc,MAAM,SAAS,eAAY;;;;;;;;;;wBAa3B,UAAU,SAAS;;;UCzElB;;;;WAIN,QAAQ;;;;WAKR,QAAQ;;;;WAKR,QAAQ;;UAGF;;;;WAIN;;;;WAKA;;;;WAKA;;;;iBCtBM;;;;WAIN,OAAO;;;;WAKP;;;;WAKA;;;;;;;;;;;;;;;;;;;;wBAqBW,UAAU,SAAS,mBAAmB;;;;;;;;;;;;;;;;;;;wBAkC5C,cAAc,SAAS;;;iBCrEtB;;;;WAIN,WAAW;;;;WAKX,OAAO;;;;WAKP;;;;WAKA;;;;;WAMA,WAAW;;;;;;;;;;;;;;;;;;;;;wBAsBA,KAAK,SAAS,cAAc;;;;;;;;;;;;;;;;;;;;wBAqClC,SAAS,SAAS;;;iBC3FjB,0BAA0B,KAAK;;;;;WAKrC,WAAW,SAAS,8BAA8B;;;;;;;;;;;;;;wBAevC,WAAW,SAAS,oBAAoB;;;;;;;;;;;;;wBAgB9C,eAAe,SAAS;;;iBCpCvB,WAAW,IAAI,mBAAmB,KAAK;;;;WAI7C,WAAW,qBAAqB,kBAAkB;;YAGjD,YAAY,MAAM;GAAmD,cAAc;;;;;;;wBAOzE,KAAK,OAAO,SAAS,WAAW,SAAS;;;;;;wBAS/C,SAAS,OAAO,SAAS,WAAW;;;qBCzBvC,MAAI;EAEkF;EAEtB;EAES;;;;iBCFrE,WAAW,IAAI,mBAAmB,KAAK;;;;WAI7C,WAAW,qBAAqB,kBAAkB;;YAGjD,YAAY,MAAM;GAAmD,cAAc;;;;;;;wBAOzE,KAAK,OAAO,SAAS,WAAW,SAAS;;;;;;wBAS/C,SAAS,OAAO,SAAS,WAAW;;;iBCzBnC;;;;WAIN;;;;WAKA;;;;;WAMA,WAAW;;;;;;;;;;;;;wBAcA,WAAW,SAAS,oBAAoB;;;;;;;;;;;;wBAqB9C,eAAe,SAAS;;;YClD5B;iBAEK;;;;WAIN;;;;;WAMA,4BAA4B;;;;;;;;;;;;wBAajB,YAAY,SAAS,qBAAqB;;;;;;;;;;;wBAoBhD,gBAAgB,SAAS"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region src/block.d.ts
2
- interface BlockOptions {
2
+ export interface BlockOptions {
3
3
  /**
4
4
  * Block content to insert
5
5
  */
@@ -32,7 +32,7 @@ interface BlockOptions {
32
32
  *
33
33
  * @param options
34
34
  */
35
- declare function block(options: BlockOptions): Promise<void>;
35
+ export declare function block(options: BlockOptions): Promise<void>;
36
36
  /**
37
37
  * Replace synchronously a block in file that follows pattern :
38
38
  *
@@ -42,7 +42,7 @@ declare function block(options: BlockOptions): Promise<void>;
42
42
  *
43
43
  * @param options
44
44
  */
45
- declare function blockSync(options: BlockOptions): void;
45
+ export declare function blockSync(options: BlockOptions): void;
46
46
  //#endregion
47
47
  //#region src/FileMode.d.ts
48
48
  interface FileMode {
@@ -75,7 +75,7 @@ interface FilePermissionSet {
75
75
  }
76
76
  //#endregion
77
77
  //#region src/directory.d.ts
78
- interface DirectoryOptions {
78
+ export interface DirectoryOptions {
79
79
  /**
80
80
  * File permissions
81
81
  */
@@ -107,7 +107,7 @@ interface DirectoryOptions {
107
107
  *
108
108
  * @param options
109
109
  */
110
- declare function directory(options: DirectoryOptions): Promise<void>;
110
+ export declare function directory(options: DirectoryOptions): Promise<void>;
111
111
  /**
112
112
  * Ensure directory is present/absent
113
113
  *
@@ -126,10 +126,10 @@ declare function directory(options: DirectoryOptions): Promise<void>;
126
126
  *
127
127
  * @param options
128
128
  */
129
- declare function directorySync(options: DirectoryOptions): void;
129
+ export declare function directorySync(options: DirectoryOptions): void;
130
130
  //#endregion
131
131
  //#region src/file.d.ts
132
- interface FileOptions {
132
+ export interface FileOptions {
133
133
  /**
134
134
  * File encoding
135
135
  */
@@ -171,7 +171,7 @@ interface FileOptions {
171
171
  *
172
172
  * @param options
173
173
  */
174
- declare function file(options: FileOptions): Promise<void>;
174
+ export declare function file(options: FileOptions): Promise<void>;
175
175
  /**
176
176
  * Ensure file is present/absent with content initialized or modified with `update
177
177
  *
@@ -191,10 +191,10 @@ declare function file(options: FileOptions): Promise<void>;
191
191
  *
192
192
  * @param options
193
193
  */
194
- declare function fileSync(options: FileOptions): void;
194
+ export declare function fileSync(options: FileOptions): void;
195
195
  //#endregion
196
196
  //#region src/ignoreFile.d.ts
197
- interface IgnoreFileOptions extends Omit<FileOptions, 'update'> {
197
+ export interface IgnoreFileOptions extends Omit<FileOptions, 'update'> {
198
198
  /**
199
199
  * File content mapping function where content is represented as lines.
200
200
  * When the file does not yet exist, the callback receives `undefined`.
@@ -213,7 +213,7 @@ interface IgnoreFileOptions extends Omit<FileOptions, 'update'> {
213
213
  * ```
214
214
  * @param options File target options.
215
215
  */
216
- declare function ignoreFile(options: IgnoreFileOptions): Promise<void>;
216
+ export declare function ignoreFile(options: IgnoreFileOptions): Promise<void>;
217
217
  /**
218
218
  * Ensure file is present/absent synchronously with content initialized or modified by line.
219
219
  *
@@ -226,16 +226,16 @@ declare function ignoreFile(options: IgnoreFileOptions): Promise<void>;
226
226
  * ```
227
227
  * @param options File target options.
228
228
  */
229
- declare function ignoreFileSync(options: IgnoreFileOptions): void;
229
+ export declare function ignoreFileSync(options: IgnoreFileOptions): void;
230
230
  //#endregion
231
231
  //#region src/json.d.ts
232
- interface JSONOption<V = JSONValue> extends Omit<FileOptions, 'update'> {
232
+ export interface JSONOption<V = JSONValue> extends Omit<FileOptions, 'update'> {
233
233
  /**
234
234
  * File content mapping function
235
235
  */
236
236
  readonly update?: ((content: undefined | V) => undefined | V) | undefined;
237
237
  }
238
- type JSONValue = Array<JSONValue> | boolean | null | number | string | {
238
+ export type JSONValue = Array<JSONValue> | boolean | null | number | string | {
239
239
  [key: string]: JSONValue;
240
240
  };
241
241
  /**
@@ -243,29 +243,29 @@ type JSONValue = Array<JSONValue> | boolean | null | number | string | {
243
243
  *
244
244
  * @param options
245
245
  */
246
- declare function json<Value>(options: JSONOption<Value>): Promise<void>;
246
+ export declare function json<Value>(options: JSONOption<Value>): Promise<void>;
247
247
  /**
248
248
  * Ensure file is present/absent synchronously with content value initialized or modified with `update`
249
249
  *
250
250
  * @param options
251
251
  */
252
- declare function jsonSync<Value>(options: JSONOption<Value>): void;
252
+ export declare function jsonSync<Value>(options: JSONOption<Value>): void;
253
253
  //#endregion
254
254
  //#region src/meta.d.ts
255
- declare const meta: Readonly<{
255
+ export declare const meta: Readonly<{
256
256
  buildNumber: number;
257
257
  name: string;
258
258
  version: string;
259
259
  }>;
260
260
  //#endregion
261
261
  //#region src/yaml.d.ts
262
- interface YAMLOption<V = YAMLValue> extends Omit<FileOptions, 'update'> {
262
+ export interface YAMLOption<V = YAMLValue> extends Omit<FileOptions, 'update'> {
263
263
  /**
264
264
  * File content mapping function
265
265
  */
266
266
  readonly update?: ((content: undefined | V) => undefined | V) | undefined;
267
267
  }
268
- type YAMLValue = Array<YAMLValue> | boolean | null | number | string | {
268
+ export type YAMLValue = Array<YAMLValue> | boolean | null | number | string | {
269
269
  [key: string]: YAMLValue;
270
270
  };
271
271
  /**
@@ -273,16 +273,16 @@ type YAMLValue = Array<YAMLValue> | boolean | null | number | string | {
273
273
  *
274
274
  * @param options
275
275
  */
276
- declare function yaml<Value>(options: YAMLOption<Value>): Promise<void>;
276
+ export declare function yaml<Value>(options: YAMLOption<Value>): Promise<void>;
277
277
  /**
278
278
  * Ensure file is present/absent synchronously with content value initialized or modified with `update`
279
279
  *
280
280
  * @param options
281
281
  */
282
- declare function yamlSync<Value>(options: YAMLOption<Value>): void;
282
+ export declare function yamlSync<Value>(options: YAMLOption<Value>): void;
283
283
  //#endregion
284
284
  //#region src/yarnConfig.d.ts
285
- interface YarnConfigOptions {
285
+ export interface YarnConfigOptions {
286
286
  /**
287
287
  * Configuration key
288
288
  */
@@ -308,7 +308,7 @@ interface YarnConfigOptions {
308
308
  * update: (content) => content.replace('node-modules', 'hoisted'),
309
309
  * })
310
310
  */
311
- declare function yarnConfig(options: YarnConfigOptions): Promise<void>;
311
+ export declare function yarnConfig(options: YarnConfigOptions): Promise<void>;
312
312
  /**
313
313
  * Synchronous version of {@link yarnConfig}
314
314
  *
@@ -320,11 +320,11 @@ declare function yarnConfig(options: YarnConfigOptions): Promise<void>;
320
320
  * update: (content) => content.replace('node-modules', 'hoisted'),
321
321
  * })
322
322
  */
323
- declare function yarnConfigSync(options: YarnConfigOptions): void;
323
+ export declare function yarnConfigSync(options: YarnConfigOptions): void;
324
324
  //#endregion
325
325
  //#region src/yarnVersion.d.ts
326
- type YarnVersionKind = 'berry' | 'classic';
327
- interface YarnVersionOptions {
326
+ export type YarnVersionKind = 'berry' | 'classic';
327
+ export interface YarnVersionOptions {
328
328
  /**
329
329
  * Option target state
330
330
  */
@@ -345,7 +345,7 @@ interface YarnVersionOptions {
345
345
  * update: () => 'berry', // or 'classic'
346
346
  * })
347
347
  */
348
- declare function yarnVersion(options: YarnVersionOptions): Promise<void>;
348
+ export declare function yarnVersion(options: YarnVersionOptions): Promise<void>;
349
349
  /**
350
350
  * Synchronous version of {@link yarnVersion}
351
351
  *
@@ -356,7 +356,6 @@ declare function yarnVersion(options: YarnVersionOptions): Promise<void>;
356
356
  * update: () => 'berry', // or 'classic'
357
357
  * })
358
358
  */
359
- declare function yarnVersionSync(options: YarnVersionOptions): void;
359
+ export declare function yarnVersionSync(options: YarnVersionOptions): void;
360
360
  //#endregion
361
- export { BlockOptions, DirectoryOptions, FileOptions, IgnoreFileOptions, JSONOption, JSONValue, YAMLOption, YAMLValue, YarnConfigOptions, YarnVersionKind, YarnVersionOptions, block, blockSync, directory, directorySync, file, fileSync, ignoreFile, ignoreFileSync, json, jsonSync, meta, yaml, yamlSync, yarnConfig, yarnConfigSync, yarnVersion, yarnVersionSync };
362
361
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/block.ts","../src/FileMode.ts","../src/directory.ts","../src/file.ts","../src/ignoreFile.ts","../src/json.ts","../src/meta.ts","../src/yaml.ts","../src/yarnConfig.ts","../src/yarnVersion.ts"],"mappings":";UAEiB;;;;EAIf;;;;EAKA,yCAAyC,yCAAyC;;;;;;EAOlF,UAAU;;;;EAKV;;;;EAKA;;;;;;;;;;;iBAgCc,MAAM,SAAS,eAAY;;;;;;;;;;iBAa3B,UAAU,SAAS;;;UCzElB;;;;WAIN,QAAQ;;;;WAKR,QAAQ;;;;WAKR,QAAQ;;UAGF;;;;WAIN;;;;WAKA;;;;WAKA;;;;UCtBM;;;;WAIN,OAAO;;;;WAKP;;;;WAKA;;;;;;;;;;;;;;;;;;;;iBAqBW,UAAU,SAAS,mBAAmB;;;;;;;;;;;;;;;;;;;iBAkC5C,cAAc,SAAS;;;UCrEtB;;;;WAIN,WAAW;;;;WAKX,OAAO;;;;WAKP;;;;WAKA;;;;;WAMA,WAAW;;;;;;;;;;;;;;;;;;;;;iBAsBA,KAAK,SAAS,cAAc;;;;;;;;;;;;;;;;;;;;iBAqClC,SAAS,SAAS;;;UC3FjB,0BAA0B,KAAK;;;;;WAKrC,WAAW,SAAS,8BAA8B;;;;;;;;;;;;;;iBAevC,WAAW,SAAS,oBAAoB;;;;;;;;;;;;;iBAgB9C,eAAe,SAAS;;;UCpCvB,WAAW,IAAI,mBAAmB,KAAK;;;;WAI7C,WAAW,qBAAqB,kBAAkB;;KAGjD,YAAY,MAAM;GAAmD,cAAc;;;;;;;iBAOzE,KAAK,OAAO,SAAS,WAAW,SAAS;;;;;;iBAS/C,SAAS,OAAO,SAAS,WAAW;;;cCzBvC,MAAI;EAEkF;EAEtB;EAES;;;;UCFrE,WAAW,IAAI,mBAAmB,KAAK;;;;WAI7C,WAAW,qBAAqB,kBAAkB;;KAGjD,YAAY,MAAM;GAAmD,cAAc;;;;;;;iBAOzE,KAAK,OAAO,SAAS,WAAW,SAAS;;;;;;iBAS/C,SAAS,OAAO,SAAS,WAAW;;;UCzBnC;;;;WAIN;;;;WAKA;;;;;WAMA,WAAW;;;;;;;;;;;;;iBAcA,WAAW,SAAS,oBAAoB;;;;;;;;;;;;iBAqB9C,eAAe,SAAS;;;KClD5B;UAEK;;;;WAIN;;;;;WAMA,4BAA4B;;;;;;;;;;;;iBAajB,YAAY,SAAS,qBAAqB;;;;;;;;;;;iBAoBhD,gBAAgB,SAAS"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/block.ts","../src/FileMode.ts","../src/directory.ts","../src/file.ts","../src/ignoreFile.ts","../src/json.ts","../src/meta.ts","../src/yaml.ts","../src/yarnConfig.ts","../src/yarnVersion.ts"],"mappings":";iBAEiB;;;;EAIf;;;;EAKA,yCAAyC,yCAAyC;;;;;;EAOlF,UAAU;;;;EAKV;;;;EAKA;;;;;;;;;;;wBAgCc,MAAM,SAAS,eAAY;;;;;;;;;;wBAa3B,UAAU,SAAS;;;UCzElB;;;;WAIN,QAAQ;;;;WAKR,QAAQ;;;;WAKR,QAAQ;;UAGF;;;;WAIN;;;;WAKA;;;;WAKA;;;;iBCtBM;;;;WAIN,OAAO;;;;WAKP;;;;WAKA;;;;;;;;;;;;;;;;;;;;wBAqBW,UAAU,SAAS,mBAAmB;;;;;;;;;;;;;;;;;;;wBAkC5C,cAAc,SAAS;;;iBCrEtB;;;;WAIN,WAAW;;;;WAKX,OAAO;;;;WAKP;;;;WAKA;;;;;WAMA,WAAW;;;;;;;;;;;;;;;;;;;;;wBAsBA,KAAK,SAAS,cAAc;;;;;;;;;;;;;;;;;;;;wBAqClC,SAAS,SAAS;;;iBC3FjB,0BAA0B,KAAK;;;;;WAKrC,WAAW,SAAS,8BAA8B;;;;;;;;;;;;;;wBAevC,WAAW,SAAS,oBAAoB;;;;;;;;;;;;;wBAgB9C,eAAe,SAAS;;;iBCpCvB,WAAW,IAAI,mBAAmB,KAAK;;;;WAI7C,WAAW,qBAAqB,kBAAkB;;YAGjD,YAAY,MAAM;GAAmD,cAAc;;;;;;;wBAOzE,KAAK,OAAO,SAAS,WAAW,SAAS;;;;;;wBAS/C,SAAS,OAAO,SAAS,WAAW;;;qBCzBvC,MAAI;EAEkF;EAEtB;EAES;;;;iBCFrE,WAAW,IAAI,mBAAmB,KAAK;;;;WAI7C,WAAW,qBAAqB,kBAAkB;;YAGjD,YAAY,MAAM;GAAmD,cAAc;;;;;;;wBAOzE,KAAK,OAAO,SAAS,WAAW,SAAS;;;;;;wBAS/C,SAAS,OAAO,SAAS,WAAW;;;iBCzBnC;;;;WAIN;;;;WAKA;;;;;WAMA,WAAW;;;;;;;;;;;;;wBAcA,WAAW,SAAS,oBAAoB;;;;;;;;;;;;wBAqB9C,eAAe,SAAS;;;YClD5B;iBAEK;;;;WAIN;;;;;WAMA,4BAA4B;;;;;;;;;;;;wBAajB,YAAY,SAAS,qBAAqB;;;;;;;;;;;wBAoBhD,gBAAgB,SAAS"}
package/dist/index.js CHANGED
@@ -322,9 +322,9 @@ function toFileOption$1({ update, ...otherOptions }) {
322
322
  //#endregion
323
323
  //#region src/meta.ts
324
324
  const meta = Object.freeze({
325
- buildNumber: 1788194737,
325
+ buildNumber: 1788793943,
326
326
  name: "@w5s/configurator-core",
327
- version: "1.11.0"
327
+ version: "1.13.0"
328
328
  });
329
329
  //#endregion
330
330
  //#region src/yaml.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/configurator-core",
3
- "version": "1.11.0",
3
+ "version": "1.13.0",
4
4
  "description": "Core library for @w5s/configurator-core",
5
5
  "keywords": [
6
6
  "config",
@@ -46,5 +46,5 @@
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
- "gitHead": "5f5e5d054cec6e06bce7759585cc8482977b0fb7"
49
+ "gitHead": "f01e374782fdf338f411115d7e82a0353540282b"
50
50
  }