miqro 1.7.11 → 1.7.15
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/cmds/new-test.d.ts +1 -1
- package/dist/cmds/new-test.js +1 -1
- package/dist/cmds/new.js +1 -1
- package/package.json +4 -4
package/dist/cmds/new-test.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const usage = "usage: [NODE_ENV=development] npx miqro new:test <identifier ex:
|
|
1
|
+
export declare const usage = "usage: [NODE_ENV=development] npx miqro new:test <identifier ex: TEST_SOMEFILE>";
|
|
2
2
|
export declare const main: () => void;
|
package/dist/cmds/new-test.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.main = exports.usage = void 0;
|
|
|
4
4
|
const core_1 = require("@miqro/core");
|
|
5
5
|
const fs_1 = require("fs");
|
|
6
6
|
const path_1 = require("path");
|
|
7
|
-
exports.usage = `usage: [NODE_ENV=development] npx miqro new:test <identifier ex:
|
|
7
|
+
exports.usage = `usage: [NODE_ENV=development] npx miqro new:test <identifier ex: TEST_SOMEFILE>`;
|
|
8
8
|
const testTemplates = {
|
|
9
9
|
js: (category) => `const options = {
|
|
10
10
|
category: "${category}",
|
package/dist/cmds/new.js
CHANGED
|
@@ -120,7 +120,7 @@ const mainJS = (typescript = false) => {
|
|
|
120
120
|
(0, fs_1.mkdirSync)((0, path_1.resolve)(appFolder, "test"), {
|
|
121
121
|
recursive: true
|
|
122
122
|
});
|
|
123
|
-
(0, utils_1.execSync)(`npx miqro test
|
|
123
|
+
(0, utils_1.execSync)(`npx miqro new:test test_api_health`, {
|
|
124
124
|
cwd: appFolder
|
|
125
125
|
});
|
|
126
126
|
console.log(`new project created on ${appFolder}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "miqro",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.15",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"author": "claukers",
|
|
18
18
|
"license": "ISC",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@miqro/core": "^1.5.
|
|
21
|
-
"@miqro/parser": "^0.0.
|
|
20
|
+
"@miqro/core": "^1.5.12",
|
|
21
|
+
"@miqro/parser": "^0.0.6",
|
|
22
22
|
"@miqro/runner": "^1.2.5",
|
|
23
|
-
"@miqro/test": "^0.0.11",
|
|
24
23
|
"deep-diff": "1.0.2"
|
|
25
24
|
},
|
|
26
25
|
"devDependencies": {
|
|
26
|
+
"@miqro/test": "^0.0.11",
|
|
27
27
|
"@types/cookie": "^0.4.1",
|
|
28
28
|
"@types/deep-diff": "1.0.1",
|
|
29
29
|
"@types/node": "^16.7.10",
|