@simpleplatform/contextualizer 1.0.1 → 1.0.2
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/bin/index.js +11 -2
- package/package.json +2 -2
package/bin/index.js
CHANGED
|
@@ -48,11 +48,20 @@ const binaryPath = path.join(__dirname, binaryName)
|
|
|
48
48
|
const isInstallOnly = process.argv.includes('--install-only')
|
|
49
49
|
|
|
50
50
|
async function downloadBinary() {
|
|
51
|
-
|
|
51
|
+
let assetName = ''
|
|
52
|
+
if (platform === 'darwin') {
|
|
53
|
+
assetName = arch === 'arm64' ? `${BIN_NAME}-macos-silicon` : `${BIN_NAME}-macos`
|
|
54
|
+
}
|
|
55
|
+
else if (platform === 'linux') {
|
|
56
|
+
assetName = arch === 'arm64' ? `${BIN_NAME}-linux-arm64` : `${BIN_NAME}-linux`
|
|
57
|
+
}
|
|
58
|
+
else if (platform === 'windows') {
|
|
59
|
+
assetName = `${BIN_NAME}-windows.exe`
|
|
60
|
+
}
|
|
52
61
|
// Construct release URL (adjust based on actual release asset naming/location)
|
|
53
62
|
// For monorepos, this might be tricky if releases aren't tagged per tool.
|
|
54
63
|
// For now assuming tag matches version.
|
|
55
|
-
const url = `${REPO_URL}/releases/download/
|
|
64
|
+
const url = `${REPO_URL}/releases/download/v${VERSION}-contextualizer/${assetName}`
|
|
56
65
|
|
|
57
66
|
// eslint-disable-next-line no-console
|
|
58
67
|
console.log(`Downloading ${binaryName} from ${url}...`)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simpleplatform/contextualizer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Effortlessly package your project's source code into a single, context-rich file for LLMs.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://docs.simple.dev",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"bin"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"axios": "
|
|
31
|
+
"axios": "1.13.2",
|
|
32
32
|
"fs-extra": "^11.2.0"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|