stella-coder 3.9.0 → 3.9.1
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 +5 -5
- package/publish.mjs +1 -30
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stella-coder",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Stella Coder 3.9 — AI coding agent with computer control, smart home, Office automation, and antivirus",
|
|
6
|
+
"main": "stella-cli/index.mjs",
|
|
6
7
|
"bin": {
|
|
7
|
-
"stella": "
|
|
8
|
-
"stellar-av": "
|
|
8
|
+
"stella": "stella-cli/index.mjs",
|
|
9
|
+
"stellar-av": "antimalware/index.mjs"
|
|
9
10
|
},
|
|
10
11
|
"scripts": {
|
|
11
12
|
"stella": "node stella-cli/index.mjs",
|
|
@@ -14,8 +15,7 @@
|
|
|
14
15
|
"build": "next build",
|
|
15
16
|
"build:cli": "node stella-cli/build.mjs",
|
|
16
17
|
"start": "next start",
|
|
17
|
-
"lint": "eslint ."
|
|
18
|
-
"publish": "node publish.mjs"
|
|
18
|
+
"lint": "eslint ."
|
|
19
19
|
},
|
|
20
20
|
"keywords": ["ai", "coding", "agent", "terminal", "smart-home", "antivirus"],
|
|
21
21
|
"author": "codex alex",
|
package/publish.mjs
CHANGED
|
@@ -2,34 +2,15 @@
|
|
|
2
2
|
// Stella Coder — Publish to npm
|
|
3
3
|
import { execSync } from "node:child_process"
|
|
4
4
|
import fs from "node:fs"
|
|
5
|
-
import path from "node:path"
|
|
6
5
|
|
|
7
6
|
console.log("\n ✦ Stella Coder — Publish to npm\n")
|
|
8
7
|
|
|
9
|
-
// Check if logged in
|
|
10
|
-
try {
|
|
11
|
-
execSync("npm whoami", { stdio: "pipe" })
|
|
12
|
-
} catch {
|
|
13
|
-
console.log(" Вы не авторизованы в npm.")
|
|
14
|
-
console.log(" Выполните: npm login\n")
|
|
15
|
-
process.exit(1)
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// Get version from package.json
|
|
19
8
|
const pkg = JSON.parse(fs.readFileSync("package.json", "utf8"))
|
|
20
9
|
console.log(` Версия: ${pkg.version}`)
|
|
21
10
|
console.log(` Имя: ${pkg.name}\n`)
|
|
22
11
|
|
|
23
|
-
// Build
|
|
24
|
-
console.log(" [1/3] Сборка...")
|
|
25
|
-
try {
|
|
26
|
-
execSync("npm run build:cli", { stdio: "inherit" })
|
|
27
|
-
} catch {
|
|
28
|
-
console.log(" ⚠ Ошибка сборки, продолжаем...\n")
|
|
29
|
-
}
|
|
30
|
-
|
|
31
12
|
// Publish
|
|
32
|
-
console.log(" [
|
|
13
|
+
console.log(" [1/1] Публикация...")
|
|
33
14
|
try {
|
|
34
15
|
execSync("npm publish --access public", { stdio: "inherit" })
|
|
35
16
|
console.log("\n ✓ Опубликовано!\n")
|
|
@@ -38,15 +19,5 @@ try {
|
|
|
38
19
|
process.exit(1)
|
|
39
20
|
}
|
|
40
21
|
|
|
41
|
-
// Tag
|
|
42
|
-
console.log(" [3/3] Создание тега...")
|
|
43
|
-
try {
|
|
44
|
-
execSync(`git tag -a v${pkg.version} -m "Release v${pkg.version}"`, { stdio: "inherit" })
|
|
45
|
-
execSync(`git push origin v${pkg.version}`, { stdio: "inherit" })
|
|
46
|
-
console.log(` ✓ Тег v${pkg.version} создан\n`)
|
|
47
|
-
} catch {
|
|
48
|
-
console.log(" ⚠ Тег не создан (нужен git репозиторий)\n")
|
|
49
|
-
}
|
|
50
|
-
|
|
51
22
|
console.log(" Установка для пользователей:")
|
|
52
23
|
console.log(` npm install -g ${pkg.name}\n`)
|