artel 0.6.25199 → 0.6.25204

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": "artel",
3
- "version": "0.6.25199",
3
+ "version": "0.6.25204",
4
4
  "description": "*А* Исполнитель Артель | Artel Executor",
5
5
  "author": "Nezaboodka Team <contact@nezaboodka.com>",
6
6
  "license": "Apache License 2.0",
@@ -13,6 +13,6 @@
13
13
  "artel": "build/bin/artel-cli.mjs"
14
14
  },
15
15
  "dependencies": {
16
- "@artel/standard-edition": "^0.6.25199"
16
+ "@artel/standard-edition": "^0.6.25204"
17
17
  }
18
18
  }
@@ -1,35 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- import * as fs from "fs"
4
- import * as cp from "child_process"
5
-
6
- const AUTO_INSTALL = true // auto install if node_modules doesn't exist
7
- const AUTO_UPDATE = true // auto update if package.json is changed
8
-
9
- console.log(`\nArtel @ ${process.cwd()}`)
10
-
11
- let isUpToDate = !AUTO_INSTALL || fs.existsSync("node_modules")
12
- if (isUpToDate) {
13
- const m = fs.statSync("node_modules")
14
- const p1 = fs.statSync("package.json")
15
- const p2 = fs.statSync("package-lock.json")
16
- isUpToDate = !AUTO_UPDATE || (
17
- m.mtime >= p1.mtime && m.mtime >= p2.mtime &&
18
- m.mtime >= p1.ctime && m.mtime >= p2.ctime)
19
- }
20
-
21
- if (!isUpToDate && fs.existsSync("package.json")) {
22
- console.log("\nNode modules installation:")
23
- cp.spawnSync('npm', ["install"], {
24
- stdio: [process.stdin, process.stdout, process.stderr],
25
- shell: true })
26
- const now = new Date()
27
- fs.utimesSync("node_modules", now, now)
28
- console.log("\nNode modules installation is completed.\n")
29
- }
30
- else
31
- console.log("\n")
32
-
33
- import * as a from "@artel/artc/cli"
34
-
35
- await a