Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM node:24-bookworm-slim

RUN apt-get update && apt-get install -y jq && rm -rf /var/lib/apt/lists/*

ENV INXT_RUNTIME=docker

WORKDIR /app
COPY . .

Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ Requires Node >= 22.13.0

[View Internxt CLI latest release here](https://www.npmjs.com/package/@internxt/cli)

## Updating

The CLI checks npm for a newer version once a day and prints a notice when one is available. To update:

`npm i -g @internxt/cli@latest`

# Usage

<!-- usage -->
Expand Down
97 changes: 7 additions & 90 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"@internxt/sdk": "1.24.0",
"@oclif/core": "5.1.9",
"@oclif/plugin-autocomplete": "4.0.4",
"@oclif/plugin-warn-if-update-available": "4.0.5",
"axios": "1.21.0",
"better-sqlite3": "12.11.1",
"bip39": "3.1.2",
Expand Down Expand Up @@ -105,8 +106,16 @@
"dirname": "internxt-cli",
"commands": "./dist/commands",
"plugins": [
"@oclif/plugin-autocomplete"
"@oclif/plugin-autocomplete",
"@oclif/plugin-warn-if-update-available"
],
"warn-if-update-available": {
"timeoutInDays": 1,
"frequency": 6,
"frequencyUnit": "hours",
"registry": "https://registry.npmjs.org",
"message": "<% if (process.env.INXT_RUNTIME === 'docker') { %>A new version of the Internxt CLI is available: <%= config.version %> → <%= latest %>. Pull the latest image with: docker pull internxt/webdav:latest<% } else { %>A new version of the Internxt CLI is available: <%= chalk.yellow(config.version) %> → <%= chalk.greenBright(latest) %>. Update with: npm install -g @internxt/cli@latest<% } %>"
},
"topicSeparator": " ",
"topics": {},
"hooks": {
Expand Down
Loading