@within-7/minto 0.0.11 → 0.0.12
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/version.js +2 -2
- package/dist/version.js.map +1 -1
- package/package.json +4 -2
- package/scripts/postinstall.js +25 -24
package/dist/version.js
CHANGED
package/dist/version.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/version.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * Application version\n * This file is auto-generated during build process\n */\n\nexport const VERSION = '0.0.
|
|
4
|
+
"sourcesContent": ["/**\n * Application version\n * This file is auto-generated during build process\n */\n\nexport const VERSION = '0.0.12'\nexport const BUILD_DATE = '2025-12-09T07:45:00.000Z'\n"],
|
|
5
5
|
"mappings": "AAKO,MAAM,UAAU;AAChB,MAAM,aAAa;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@within-7/minto",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"bin": {
|
|
5
5
|
"minto": "cli.js",
|
|
6
6
|
"mt": "cli.js"
|
|
@@ -108,6 +108,8 @@
|
|
|
108
108
|
"@aws-sdk/client-bedrock-runtime": "3.587.0",
|
|
109
109
|
"@aws-sdk/smithy-client": "3.587.0",
|
|
110
110
|
"string-width": "4.2.3",
|
|
111
|
-
"strip-ansi": "6.0.1"
|
|
111
|
+
"strip-ansi": "6.0.1",
|
|
112
|
+
"formdata-node": "^6.0.3",
|
|
113
|
+
"node-domexception": "npm:domexception@^4.0.0"
|
|
112
114
|
}
|
|
113
115
|
}
|
package/scripts/postinstall.js
CHANGED
|
@@ -15,41 +15,42 @@ function getPackageVersion() {
|
|
|
15
15
|
|
|
16
16
|
function postinstallNotice() {
|
|
17
17
|
// Only print informational hints; never fail install.
|
|
18
|
+
// Use console.error (stderr) to ensure output is visible in npm install
|
|
18
19
|
try {
|
|
19
20
|
const version = getPackageVersion();
|
|
20
21
|
const isGlobal = process.env.npm_config_global === 'true';
|
|
21
22
|
|
|
22
|
-
console.
|
|
23
|
-
console.
|
|
24
|
-
console.
|
|
25
|
-
console.
|
|
26
|
-
console.
|
|
27
|
-
console.
|
|
28
|
-
console.
|
|
29
|
-
console.
|
|
30
|
-
console.
|
|
31
|
-
console.
|
|
23
|
+
console.error('');
|
|
24
|
+
console.error('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━');
|
|
25
|
+
console.error('');
|
|
26
|
+
console.error(' ✨ Minto installed successfully!');
|
|
27
|
+
console.error(' 📦 Version: ' + version);
|
|
28
|
+
console.error('');
|
|
29
|
+
console.error('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━');
|
|
30
|
+
console.error('');
|
|
31
|
+
console.error(' 🚀 Quick Start:');
|
|
32
|
+
console.error('');
|
|
32
33
|
|
|
33
34
|
if (isGlobal) {
|
|
34
|
-
console.
|
|
35
|
-
console.
|
|
36
|
-
console.
|
|
35
|
+
console.error(' minto # Start interactive mode');
|
|
36
|
+
console.error(' minto --help # Show all commands');
|
|
37
|
+
console.error(' mt # Short alias for minto');
|
|
37
38
|
} else {
|
|
38
|
-
console.
|
|
39
|
-
console.
|
|
39
|
+
console.error(' npx minto # Start interactive mode');
|
|
40
|
+
console.error(' npx minto --help # Show all commands');
|
|
40
41
|
}
|
|
41
42
|
|
|
42
|
-
console.
|
|
43
|
-
console.
|
|
44
|
-
console.
|
|
45
|
-
console.
|
|
46
|
-
console.
|
|
47
|
-
console.
|
|
43
|
+
console.error('');
|
|
44
|
+
console.error(' 📚 Documentation: https://within-7.com/minto');
|
|
45
|
+
console.error(' 🐛 Issues: https://github.com/within-7/minto/issues');
|
|
46
|
+
console.error('');
|
|
47
|
+
console.error('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━');
|
|
48
|
+
console.error('');
|
|
48
49
|
|
|
49
50
|
if (!isGlobal) {
|
|
50
|
-
console.
|
|
51
|
-
console.
|
|
52
|
-
console.
|
|
51
|
+
console.error(' 💡 Tip: Install globally for easier access:');
|
|
52
|
+
console.error(' npm install -g @within-7/minto');
|
|
53
|
+
console.error('');
|
|
53
54
|
}
|
|
54
55
|
} catch (err) {
|
|
55
56
|
// Silently fail - postinstall should never break the installation
|