@verdaccio/cli 8.0.0-next-8.3 → 8.0.0-next-8.5
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/CHANGELOG.md +27 -0
- package/package.json +7 -7
- package/test/cli-test.spec.ts +2 -0
- package/test/utils.spec.ts +16 -12
- package/tsconfig.json +0 -3
- package/jest.config.js +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @verdaccio/cli
|
|
2
2
|
|
|
3
|
+
## 8.0.0-next-8.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [ba71932]
|
|
8
|
+
- Updated dependencies [64a7fc0]
|
|
9
|
+
- Updated dependencies [4adaa83]
|
|
10
|
+
- Updated dependencies [5cbee6f]
|
|
11
|
+
- Updated dependencies [a049bba]
|
|
12
|
+
- @verdaccio/config@8.0.0-next-8.5
|
|
13
|
+
- @verdaccio/core@8.0.0-next-8.5
|
|
14
|
+
- @verdaccio/logger@8.0.0-next-8.5
|
|
15
|
+
- @verdaccio/node-api@8.0.0-next-8.5
|
|
16
|
+
|
|
17
|
+
## 8.0.0-next-8.4
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- e93d6a3: chore: auth package requires logger as parameter
|
|
22
|
+
- Updated dependencies [48aa89f]
|
|
23
|
+
- Updated dependencies [58e0d95]
|
|
24
|
+
- Updated dependencies [e93d6a3]
|
|
25
|
+
- @verdaccio/core@8.0.0-next-8.4
|
|
26
|
+
- @verdaccio/node-api@8.0.0-next-8.4
|
|
27
|
+
- @verdaccio/config@8.0.0-next-8.4
|
|
28
|
+
- @verdaccio/logger@8.0.0-next-8.4
|
|
29
|
+
|
|
3
30
|
## 8.0.0-next-8.3
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdaccio/cli",
|
|
3
|
-
"version": "8.0.0-next-8.
|
|
3
|
+
"version": "8.0.0-next-8.5",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Juan Picado",
|
|
6
6
|
"email": "juanpicado19@gmail.com"
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"main": "./build/index.js",
|
|
34
34
|
"types": "build/index.d.ts",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@verdaccio/config": "8.0.0-next-8.
|
|
37
|
-
"@verdaccio/core": "8.0.0-next-8.
|
|
38
|
-
"@verdaccio/logger": "8.0.0-next-8.
|
|
39
|
-
"@verdaccio/node-api": "8.0.0-next-8.
|
|
40
|
-
"clipanion": "4.0.0-rc.
|
|
36
|
+
"@verdaccio/config": "8.0.0-next-8.5",
|
|
37
|
+
"@verdaccio/core": "8.0.0-next-8.5",
|
|
38
|
+
"@verdaccio/logger": "8.0.0-next-8.5",
|
|
39
|
+
"@verdaccio/node-api": "8.0.0-next-8.5",
|
|
40
|
+
"clipanion": "4.0.0-rc.4",
|
|
41
41
|
"envinfo": "7.13.0",
|
|
42
42
|
"kleur": "4.1.5",
|
|
43
43
|
"semver": "7.6.3"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"clean": "rimraf ./build",
|
|
54
|
-
"test": "
|
|
54
|
+
"test": "vitest run",
|
|
55
55
|
"type-check": "tsc --noEmit -p tsconfig.build.json",
|
|
56
56
|
"build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json",
|
|
57
57
|
"build:js": "babel src/ --out-dir build/ --copy-files --extensions \".ts,.tsx\" --source-maps",
|
package/test/cli-test.spec.ts
CHANGED
package/test/utils.spec.ts
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
|
+
import { describe, expect, test } from 'vitest';
|
|
2
|
+
|
|
1
3
|
import { isVersionValid } from '../src/utils';
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
describe('utils', () => {
|
|
6
|
+
test('valid version node.js', () => {
|
|
7
|
+
expect(isVersionValid('v14.0.0')).toBeTruthy();
|
|
8
|
+
expect(isVersionValid('v15.0.0')).toBeTruthy();
|
|
9
|
+
expect(isVersionValid('v16.0.0')).toBeTruthy();
|
|
10
|
+
expect(isVersionValid('v17.0.0')).toBeTruthy();
|
|
11
|
+
});
|
|
9
12
|
|
|
10
|
-
test('is invalid version node.js', () => {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
test('is invalid version node.js', () => {
|
|
14
|
+
expect(isVersionValid('v13.0.0')).toBeFalsy();
|
|
15
|
+
expect(isVersionValid('v12.0.0')).toBeFalsy();
|
|
16
|
+
expect(isVersionValid('v8.0.0')).toBeFalsy();
|
|
17
|
+
expect(isVersionValid('v4.0.0')).toBeFalsy();
|
|
18
|
+
expect(isVersionValid('v0.0.10')).toBeFalsy();
|
|
19
|
+
});
|
|
16
20
|
});
|
package/tsconfig.json
CHANGED