hdoc-tools 0.9.9 → 0.9.10
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/hdoc-init.js
CHANGED
@@ -11,8 +11,8 @@
|
|
11
11
|
const promptProps = [{
|
12
12
|
name: 'id',
|
13
13
|
description: 'Document ID',
|
14
|
-
validator: /^[a-z][a-
|
15
|
-
warning: 'Document ID must only contain lower case letters and dashes',
|
14
|
+
validator: /^[a-z][a-z0-9-]+[a-z0-9]$/,
|
15
|
+
warning: 'Document ID must only contain lower case letters, decimal digits and dashes.',
|
16
16
|
required: true
|
17
17
|
},
|
18
18
|
{
|
package/hdoc-validate.js
CHANGED
package/package.json
CHANGED