@uscreen.de/dev-service 0.11.11 → 0.11.14
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uscreen.de/dev-service",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.14",
|
|
4
4
|
"description": "cli to manage services in dev repos",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -40,19 +40,19 @@
|
|
|
40
40
|
"templates"
|
|
41
41
|
],
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@uscreen.de/eslint-config-prettystandard-node": "^0.2.
|
|
43
|
+
"@uscreen.de/eslint-config-prettystandard-node": "^0.2.4",
|
|
44
44
|
"husky": ">=6",
|
|
45
|
-
"lint-staged": ">=
|
|
46
|
-
"tap": "^16.0
|
|
45
|
+
"lint-staged": ">=13.0.2",
|
|
46
|
+
"tap": "^16.3.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"c8": "^7.11.0",
|
|
50
|
-
"commander": "^9.
|
|
50
|
+
"commander": "^9.3.0",
|
|
51
51
|
"fs-extra": "^10.0.1",
|
|
52
|
-
"nanoid": "^
|
|
52
|
+
"nanoid": "^4.0.0",
|
|
53
53
|
"parse-json": "^6.0.2",
|
|
54
54
|
"read-pkg": "^7.1.0",
|
|
55
|
-
"yaml": "^2.
|
|
55
|
+
"yaml": "^2.1.1"
|
|
56
56
|
},
|
|
57
57
|
"lint-staged": {
|
|
58
58
|
"*.js": "eslint --cache --fix"
|
package/src/check.js
CHANGED
package/src/install.js
CHANGED
|
@@ -31,8 +31,8 @@ const OPTIONS_PATH = path.resolve(SERVICES_DIR, '.options')
|
|
|
31
31
|
* Helper methods
|
|
32
32
|
*/
|
|
33
33
|
const getName = (service) => {
|
|
34
|
-
const
|
|
35
|
-
const [name] =
|
|
34
|
+
const withoutTag = service.replace(/:[a-z0-9_][a-z0-9_.-]{0,127}$/i, '')
|
|
35
|
+
const [name] = withoutTag.split('/').slice(-1)
|
|
36
36
|
|
|
37
37
|
return name
|
|
38
38
|
}
|
|
File without changes
|