@serwist/build 9.0.0-preview.24 → 9.0.0-preview.25
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FileDetails, GlobPartial } from "../types.js";
|
|
2
|
-
export declare const getFileDetails: ({ globDirectory, globFollow, globIgnores, globPattern, }: Omit<GlobPartial, "
|
|
2
|
+
export declare const getFileDetails: ({ globDirectory, globFollow, globIgnores, globPattern, }: Omit<GlobPartial, "globDirectory" | "globPatterns" | "templatedURLs"> & {
|
|
3
3
|
globDirectory: string;
|
|
4
4
|
globPattern: string;
|
|
5
5
|
}) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-file-details.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-details.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAK5D,eAAO,MAAM,cAAc;
|
|
1
|
+
{"version":3,"file":"get-file-details.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-details.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAK5D,eAAO,MAAM,cAAc,6DAKxB,KAAK,WAAW,EAAE,eAAe,GAAG,cAAc,GAAG,eAAe,CAAC,GAAG;IAEzE,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB,KAAG;IACF,kBAAkB,EAAE,WAAW,EAAE,CAAC;IAClC,OAAO,EAAE,MAAM,CAAC;CAkCjB,CAAC"}
|
package/dist/types.d.ts
CHANGED
|
@@ -34,9 +34,9 @@ export interface BasePartial {
|
|
|
34
34
|
*/
|
|
35
35
|
manifestTransforms?: ManifestTransform[];
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
37
|
+
* Determines the maximum size of files that will be precached. This prevents
|
|
38
|
+
* you from inadvertently precaching very large files that might have accidentally
|
|
39
|
+
* matched one of your patterns.
|
|
40
40
|
* @default 2097152
|
|
41
41
|
*/
|
|
42
42
|
maximumFileSizeToCacheInBytes?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serwist/build",
|
|
3
|
-
"version": "9.0.0-preview.
|
|
3
|
+
"version": "9.0.0-preview.25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A module that integrates into your build process, helping you generate a manifest of local files that should be precached.",
|
|
6
6
|
"files": [
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"author": "Google's Web DevRel Team, Serwist's Team",
|
|
23
23
|
"license": "MIT",
|
|
24
|
-
"repository": "https://
|
|
25
|
-
"bugs": "https://
|
|
24
|
+
"repository": "https://github.com/serwist/serwist",
|
|
25
|
+
"bugs": "https://github.com/serwist/serwist/issues",
|
|
26
26
|
"homepage": "https://serwist.pages.dev",
|
|
27
27
|
"main": "./dist/index.js",
|
|
28
28
|
"types": "./dist/index.d.ts",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"fs-extra": "11.2.0",
|
|
51
51
|
"glob": "10.3.12",
|
|
52
52
|
"pretty-bytes": "6.1.1",
|
|
53
|
-
"rollup": "4.14.
|
|
53
|
+
"rollup": "4.14.3",
|
|
54
54
|
"source-map": "0.8.0-beta.0",
|
|
55
55
|
"upath": "2.0.1",
|
|
56
56
|
"zod": "3.22.4"
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/common-tags": "1.8.4",
|
|
60
60
|
"@types/fs-extra": "11.0.4",
|
|
61
|
-
"@types/node": "20.12.
|
|
61
|
+
"@types/node": "20.12.7",
|
|
62
62
|
"@types/stringify-object": "4.0.5",
|
|
63
63
|
"type-fest": "4.15.0",
|
|
64
|
-
"typescript": "5.5.0-dev.
|
|
65
|
-
"@serwist/
|
|
66
|
-
"@serwist/utils": "9.0.0-preview.
|
|
64
|
+
"typescript": "5.5.0-dev.20240415",
|
|
65
|
+
"@serwist/configs": "9.0.0-preview.25",
|
|
66
|
+
"@serwist/utils": "9.0.0-preview.25"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"typescript": ">=5.0.0"
|
package/src/types.ts
CHANGED
|
@@ -38,9 +38,9 @@ export interface BasePartial {
|
|
|
38
38
|
*/
|
|
39
39
|
manifestTransforms?: ManifestTransform[];
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
41
|
+
* Determines the maximum size of files that will be precached. This prevents
|
|
42
|
+
* you from inadvertently precaching very large files that might have accidentally
|
|
43
|
+
* matched one of your patterns.
|
|
44
44
|
* @default 2097152
|
|
45
45
|
*/
|
|
46
46
|
maximumFileSizeToCacheInBytes?: number;
|