mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix: update shebang in Index.ts and correct paths in package.json for CLI execution
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env npx ts-node
|
#!/usr/bin/env node
|
||||||
|
|
||||||
import { Command } from "commander";
|
import { Command } from "commander";
|
||||||
import { registerConfigCommands } from "./Commands/ConfigCommands";
|
import { registerConfigCommands } from "./Commands/ConfigCommands";
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/OneUptime/oneuptime"
|
"url": "https://github.com/OneUptime/oneuptime"
|
||||||
},
|
},
|
||||||
"main": "Index.ts",
|
"main": "./build/dist/Index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"oneuptime": "./Index.ts"
|
"oneuptime": "./build/dist/Index.js"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node --require ts-node/register Index.ts",
|
"start": "node --require ts-node/register Index.ts",
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
# Set the package name and version
|
# Set the package name and version
|
||||||
package_version=$PACKAGE_VERSION
|
package_version=$PACKAGE_VERSION
|
||||||
|
|||||||
Reference in New Issue
Block a user