vue-ninja 0.2.0-create-vue-alpha.1 → 0.3.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/hash-checker.js +1 -1
- package/dist/jest.js +1 -1
- package/dist/vitest.js +1 -1
- package/package.json +17 -16
package/dist/hash-checker.js
CHANGED
|
@@ -12,7 +12,7 @@ function findSpecIfItExists(hashes, spec) {
|
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
function listSpecs() {
|
|
15
|
-
return (0, utils_1.listFiles)('./{cypress,
|
|
15
|
+
return (0, utils_1.listFiles)('./{cypress,src}/**/*.@(cy|spec).ts');
|
|
16
16
|
}
|
|
17
17
|
function computeHash(specs) {
|
|
18
18
|
return specs.map(function (name) {
|
package/dist/jest.js
CHANGED
|
@@ -56,7 +56,7 @@ var jest = function (options) {
|
|
|
56
56
|
// jest exit code is 1 if a test fails
|
|
57
57
|
// so we'll go into the error handler even if the execution went well
|
|
58
58
|
// and we try to read the results in both cases
|
|
59
|
-
return ((0, utils_1.exec)('npm run test:unit
|
|
59
|
+
return ((0, utils_1.exec)('npm run test:unit -- --no-cache --run-in-band --collect-coverage --reporters=default --reporters=jest-stare')
|
|
60
60
|
.then(function () { return (0, utils_1.readFile)(RESULT_FILE); }, function (error) {
|
|
61
61
|
logger_1.default.debug(options, 'Jest test failed', error);
|
|
62
62
|
return (0, utils_1.readFile)(RESULT_FILE);
|
package/dist/vitest.js
CHANGED
|
@@ -22,7 +22,7 @@ function warnUserThatSomeTestsFailed(vitestResults) {
|
|
|
22
22
|
}
|
|
23
23
|
function warnUserThatVitestFailed(reject) {
|
|
24
24
|
logger_1.default.error('Error while running unit tests.');
|
|
25
|
-
logger_1.default.error("Maybe
|
|
25
|
+
logger_1.default.error("Maybe your code doesn't compile?");
|
|
26
26
|
logger_1.default.error('Launch `npm run test:unit` to see more.');
|
|
27
27
|
return reject();
|
|
28
28
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-ninja",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "CLI for the exercises of \"Become a ninja with Vue\"",
|
|
5
5
|
"main": "dist/vue-ninja.js",
|
|
6
6
|
"scripts": {
|
|
@@ -13,29 +13,30 @@
|
|
|
13
13
|
"license": "ISC",
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"chalk": "4.1.2",
|
|
16
|
-
"command-line-args": "5.2.
|
|
17
|
-
"glob": "
|
|
16
|
+
"command-line-args": "5.2.1",
|
|
17
|
+
"glob": "8.0.3",
|
|
18
18
|
"hash-files": "1.1.1",
|
|
19
|
-
"prompt": "1.
|
|
19
|
+
"prompt": "1.3.0",
|
|
20
20
|
"request": "2.88.2",
|
|
21
21
|
"rimraf": "3.0.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
25
|
-
"@typescript-eslint/parser": "5.
|
|
24
|
+
"@typescript-eslint/eslint-plugin": "5.27.0",
|
|
25
|
+
"@typescript-eslint/parser": "5.27.0",
|
|
26
26
|
"@types/command-line-args": "5.2.0",
|
|
27
|
-
"@types/glob": "7.
|
|
28
|
-
"@types/jest": "27.
|
|
29
|
-
"@types/node": "
|
|
30
|
-
"@types/request": "2.48.
|
|
27
|
+
"@types/glob": "7.2.0",
|
|
28
|
+
"@types/jest": "27.5.2",
|
|
29
|
+
"@types/node": "16.11.38",
|
|
30
|
+
"@types/request": "2.48.8",
|
|
31
31
|
"@types/rimraf": "3.0.2",
|
|
32
|
-
"
|
|
33
|
-
"eslint
|
|
32
|
+
"create-vue": "3.2.0",
|
|
33
|
+
"eslint": "8.16.0",
|
|
34
|
+
"eslint-config-prettier": "8.5.0",
|
|
34
35
|
"eslint-plugin-prettier": "4.0.0",
|
|
35
|
-
"jest": "
|
|
36
|
-
"prettier": "2.
|
|
37
|
-
"ts-jest": "
|
|
38
|
-
"typescript": "4.
|
|
36
|
+
"jest": "28.1.0",
|
|
37
|
+
"prettier": "2.6.2",
|
|
38
|
+
"ts-jest": "28.0.3",
|
|
39
|
+
"typescript": "4.7.2"
|
|
39
40
|
},
|
|
40
41
|
"bin": {
|
|
41
42
|
"vue-ninja": "dist/vue-ninja.js"
|