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

@jamsite/jamsite-cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jamsite/jamsite-cli - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

.github/workflows/nodejs.yml

10

bin/jamsite.js

@@ -37,3 +37,3 @@ #!/usr/bin/env node

} else {
console.error(`Unknown command "${command}"`)
console.error(`Error: Unknown command "${command}"`)
await runCommand('help', 1)

@@ -46,6 +46,4 @@ }

if (command) {
runCommand(command)
} else {
runCommand('help', 1)
}
command
? runCommand(command)
: runCommand('help', 1)

8

lib/command-build.js

@@ -0,3 +1,9 @@

const requireRel = require('./require-rel')
module.exports = async function commandBuild () {
console.error('Not implemented yet!')
const Jamsite = requireRel(process.cwd(), 'node_modules', '@jamsite', 'jamsite').Jamsite
const jamsite = new Jamsite(process.cwd())
// todo: run user defined build scripts
jamsite.build()
}

@@ -1,7 +0,6 @@

const path = require('path')
const requireRel = require('./require-rel')
module.exports = async function commandStart () {
const modulePath = require.resolve(path.join(process.cwd(), 'node_modules', '@jamsite', 'jamsite-dev'))
const jamsite = require(modulePath)
jamsite.start()
const jamsite = requireRel(process.cwd(), 'node_modules', '@jamsite', 'jamsite-dev')
jamsite.start(process.cwd())
}

@@ -1,7 +0,6 @@

const path = require('path')
const requireRel = require('./require-rel')
module.exports = async function commandStart () {
const modulePath = require.resolve(path.join(process.cwd(), 'node_modules', '@jamsite', 'jamsite'))
const jamsite = require(modulePath)
jamsite.start()
const jamsite = requireRel(process.cwd(), 'node_modules', '@jamsite', 'jamsite')
await jamsite.start(process.cwd())
}
{
"name": "@jamsite/jamsite-cli",
"version": "0.0.3",
"version": "0.0.4",
"description": "Jamsite cli - JAMstack framework cli interface",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc