@mnci/cli 1.11.2 → 1.12.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/cli.js +8 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -167,9 +167,9 @@ function fileExists(path) {
|
|
|
167
167
|
|
|
168
168
|
// src/util/names.ts
|
|
169
169
|
function assertValidProjectName(name, label) {
|
|
170
|
-
if (!/^[a-z][a-z0-9-]*$/.test(name)) {
|
|
170
|
+
if (!/^[a-z][a-z0-9-]*(?:\.[a-z0-9-]+)*$/.test(name)) {
|
|
171
171
|
throw new Error(
|
|
172
|
-
`${label} '${name}' is invalid \u2014 use lowercase letters, digits and
|
|
172
|
+
`${label} '${name}' is invalid \u2014 use lowercase letters, digits, hyphens and dots, starting with a letter, with no leading, trailing or repeated dot (e.g. 'my-project', 'my.service').`
|
|
173
173
|
);
|
|
174
174
|
}
|
|
175
175
|
}
|
|
@@ -1269,6 +1269,12 @@ out
|
|
|
1269
1269
|
tmp
|
|
1270
1270
|
package-lock.json
|
|
1271
1271
|
*.lock
|
|
1272
|
+
.venv
|
|
1273
|
+
venv
|
|
1274
|
+
__pycache__
|
|
1275
|
+
.pytest_cache
|
|
1276
|
+
.ruff_cache
|
|
1277
|
+
.dart_tool
|
|
1272
1278
|
`;
|
|
1273
1279
|
function vscodeWorkspace(workspaceName) {
|
|
1274
1280
|
return JSON.stringify(
|