Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@hypermode/hyp-cli

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hypermode/hyp-cli - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

@@ -12,3 +12,3 @@ import { Command } from '@oclif/core';

static args = {};
static description = 'Link a Modus App To Hypermode';
static description = 'Link a repo with a Modus App to a Hypermode Project';
static examples = [

@@ -15,0 +15,0 @@ '<%= config.bin %> <%= command.id %>',

@@ -61,3 +61,3 @@ import { Command } from '@oclif/core';

static args = {};
static description = 'Login to Hypermode Console';
static description = 'Log into Hypermode';
static examples = ['<%= config.bin %> <%= command.id %>'];

@@ -64,0 +64,0 @@ static flags = {};

@@ -7,3 +7,3 @@ import { Command } from '@oclif/core';

static args = {};
static description = 'Logout of Hypermode Console in the CLI';
static description = 'Log Hyp CLI out of Hypermode';
static examples = ['<%= config.bin %> <%= command.id %>'];

@@ -10,0 +10,0 @@ static flags = {};

@@ -62,3 +62,3 @@ import { Help } from '@oclif/core';

+ ' '.repeat(Math.max(1, this.prePad + this.postPad - 12))
+ chalk.blueBright('https://docs.hypermode.com/introduction')
+ chalk.blueBright('https://docs.hypermode.com')
+ '\n';

@@ -65,0 +65,0 @@ // out += "View the repo:" + " ".repeat(Math.max(1, this.pre_pad + this.post_pad - 12)) + chalk.blueBright("https://github.com/HypermodeInc/modus") + "\n";

@@ -1,1 +0,1 @@

export declare const ciStr = "\nname: ci-hypermode-functions\n\non:\n workflow_dispatch:\n pull_request:\n push:\n branches:\n - main\n\nenv:\n MODUS_DIR: \"\"\n\npermissions:\n contents: read\n\njobs:\n build:\n name: build\n runs-on: ubuntu-latest\n steps:\n - name: Checkout code\n uses: actions/checkout@v4\n\n - name: Locate directory with modus.json\n id: set-dir\n run: |\n MODUS_JSON=$(find $(pwd) -name 'modus.json' -print0 | xargs -0 -n1 echo)\n if [ -n \"$MODUS_JSON\" ]; then\n MODUS_DIR=$(dirname \"$MODUS_JSON\")\n echo \"MODUS_DIR=$MODUS_DIR\" >> $GITHUB_ENV\n else\n echo \"modus.json not found\"\n exit 1\n fi\n\n - name: Setup Node\n uses: actions/setup-node@v4\n with:\n node-version: \"22\"\n\n - name: Build project\n run: npx -p @hypermode/modus-cli -y modus build\n working-directory: ${{ env.MODUS_DIR }}\n shell: bash\n\n - name: Publish GitHub artifact\n uses: actions/upload-artifact@v4\n with:\n name: build\n path: ${{ env.MODUS_DIR }}/build/*\n";
export declare const ciStr = "\nname: ci-hypermode-functions\n\non:\n workflow_dispatch:\n pull_request:\n push:\n branches:\n - main\n\nenv:\n MODUS_DIR: \"\"\n\npermissions:\n contents: read\n\njobs:\n build:\n name: build\n runs-on: ubuntu-latest\n steps:\n - name: Checkout code\n uses: actions/checkout@v4\n\n - name: Locate directory with modus.json\n id: set-dir\n run: |\n MODUS_JSON=$(find $(pwd) -name 'modus.json' -print0 | xargs -0 -n1 echo)\n if [ -n \"$MODUS_JSON\" ]; then\n MODUS_DIR=$(dirname \"$MODUS_JSON\")\n echo \"MODUS_DIR=$MODUS_DIR\" >> $GITHUB_ENV\n else\n echo \"modus.json not found\"\n exit 1\n fi\n\n - name: Setup Node\n uses: actions/setup-node@v4\n with:\n node-version: \"22\"\n\n - name: Setup Go\n uses: actions/setup-go@v5\n\n - name: Setup TinyGo\n uses: acifani/setup-tinygo@v2\n with:\n tinygo-version: \"0.34.0\"\n\n - name: Build project\n run: npx -p @hypermode/modus-cli -y modus build\n working-directory: ${{ env.MODUS_DIR }}\n shell: bash\n\n - name: Publish GitHub artifact\n uses: actions/upload-artifact@v4\n with:\n name: build\n path: ${{ env.MODUS_DIR }}/build/*\n";

@@ -42,2 +42,10 @@ export const ciStr = `

- name: Setup Go
uses: actions/setup-go@v5
- name: Setup TinyGo
uses: acifani/setup-tinygo@v2
with:
tinygo-version: "0.34.0"
- name: Build project

@@ -44,0 +52,0 @@ run: npx -p @hypermode/modus-cli -y modus build

@@ -6,3 +6,3 @@ {

"args": {},
"description": "Link a Modus App To Hypermode",
"description": "Link a repo with a Modus App to a Hypermode Project",
"examples": [

@@ -31,3 +31,3 @@ "<%= config.bin %> <%= command.id %>"

"args": {},
"description": "Login to Hypermode Console",
"description": "Log into Hypermode",
"examples": [

@@ -56,3 +56,3 @@ "<%= config.bin %> <%= command.id %>"

"args": {},
"description": "Logout of Hypermode Console in the CLI",
"description": "Log Hyp CLI out of Hypermode",
"examples": [

@@ -103,3 +103,3 @@ "<%= config.bin %> <%= command.id %>"

},
"version": "0.1.3"
"version": "0.1.4"
}
{
"name": "@hypermode/hyp-cli",
"description": "The Hypermode CLI",
"version": "0.1.3",
"version": "0.1.4",
"author": "Hypermode Inc.",

@@ -6,0 +6,0 @@ "license": "Apache-2.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet