From 466baddfcc8f940a36dea25e4cd98d05e873157c Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Sat, 2 Jul 2022 14:53:03 +0800 Subject: [PATCH] docs(configuration): add new type (#6225) * docs(configuration): add new type * add note --- src/content/configuration/other-options.mdx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/content/configuration/other-options.mdx b/src/content/configuration/other-options.mdx index 18d4e427151e..8d94769cfa68 100644 --- a/src/content/configuration/other-options.mdx +++ b/src/content/configuration/other-options.mdx @@ -432,16 +432,20 @@ Both `hash` and `timestamp` are optional. ### immutablePaths -`[string]` +`(RegExp | string)[]` An array of paths that are managed by a package manager and contain a version or a hash in their paths so that all files are immutable. +Make sure to wrap the path in a capture group if you use regular expressions. + ### managedPaths -`[string]` +`(RegExp | string)[]` An array of paths that are managed by a package manager and can be trusted to not be modified otherwise. +Make sure to wrap the path in a capture group if you use regular expressions. + ### module `object = {hash boolean = true, timestamp boolean = true}`