@a3t/rapid 0.1.10 → 0.1.11
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/bin.js
CHANGED
|
@@ -286,14 +286,13 @@ function getPrebuiltConfig(templateName, containerEnv, postStartCommand) {
|
|
|
286
286
|
function getDevContainerConfig(detected, usePrebuilt = false) {
|
|
287
287
|
const baseFeatures = {
|
|
288
288
|
"ghcr.io/devcontainers/features/git:1": {},
|
|
289
|
-
"ghcr.io/devcontainers
|
|
290
|
-
"ghcr.io/devcontainers-contrib/features/starship:1": {}
|
|
289
|
+
"ghcr.io/devcontainers/features/github-cli:1": {}
|
|
291
290
|
};
|
|
292
291
|
const containerEnv = {
|
|
293
292
|
OP_SERVICE_ACCOUNT_TOKEN: "${localEnv:OP_SERVICE_ACCOUNT_TOKEN}"
|
|
294
293
|
};
|
|
295
|
-
const
|
|
296
|
-
const postCreateBase = `${
|
|
294
|
+
const installTools = "sudo apt-get update -qq && sudo apt-get install -y -qq jq direnv && curl -sS https://downloads.1password.com/linux/keys/1password.asc | sudo gpg --dearmor -o /usr/share/keyrings/1password.gpg && echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/1password.gpg] https://downloads.1password.com/linux/debian/amd64 stable main' | sudo tee /etc/apt/sources.list.d/1password.list && sudo apt-get update -qq && sudo apt-get install -y -qq 1password-cli && curl -fsSL https://starship.rs/install.sh | sh -s -- -y";
|
|
295
|
+
const postCreateBase = `${installTools} && npm install -g @anthropic-ai/claude-code && curl -fsSL https://opencode.ai/install | bash`;
|
|
297
296
|
const postStartCommand = "direnv allow 2>/dev/null || true";
|
|
298
297
|
const language = detected?.language || "unknown";
|
|
299
298
|
const templateName = language === "javascript" ? "typescript" : language === "unknown" ? "universal" : language;
|
|
@@ -307,8 +306,7 @@ function getDevContainerConfig(detected, usePrebuilt = false) {
|
|
|
307
306
|
name: "RAPID TypeScript",
|
|
308
307
|
image: "mcr.microsoft.com/devcontainers/typescript-node:22",
|
|
309
308
|
features: {
|
|
310
|
-
...baseFeatures
|
|
311
|
-
"ghcr.io/devcontainers-contrib/features/pnpm:2": {}
|
|
309
|
+
...baseFeatures
|
|
312
310
|
},
|
|
313
311
|
customizations: {
|
|
314
312
|
vscode: {
|
|
@@ -339,9 +337,7 @@ function getDevContainerConfig(detected, usePrebuilt = false) {
|
|
|
339
337
|
image: "mcr.microsoft.com/devcontainers/python:3.12",
|
|
340
338
|
features: {
|
|
341
339
|
...baseFeatures,
|
|
342
|
-
"ghcr.io/devcontainers/features/node:1": { version: "22" }
|
|
343
|
-
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
|
|
344
|
-
"ghcr.io/devcontainers-contrib/features/uv:1": {}
|
|
340
|
+
"ghcr.io/devcontainers/features/node:1": { version: "22" }
|
|
345
341
|
},
|
|
346
342
|
customizations: {
|
|
347
343
|
vscode: {
|
|
@@ -367,7 +363,7 @@ function getDevContainerConfig(detected, usePrebuilt = false) {
|
|
|
367
363
|
}
|
|
368
364
|
},
|
|
369
365
|
containerEnv,
|
|
370
|
-
postCreateCommand: `${postCreateBase} && pip install aider-chat`,
|
|
366
|
+
postCreateCommand: `${postCreateBase} && pip install poetry uv aider-chat`,
|
|
371
367
|
postStartCommand,
|
|
372
368
|
remoteUser: "vscode"
|
|
373
369
|
};
|
|
@@ -3623,4 +3619,4 @@ program.action(() => {
|
|
|
3623
3619
|
export {
|
|
3624
3620
|
program
|
|
3625
3621
|
};
|
|
3626
|
-
//# sourceMappingURL=chunk-
|
|
3622
|
+
//# sourceMappingURL=chunk-J7OOLQCF.js.map
|