-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
267 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
npmFrog | ||
====== | ||
# npmFrog | ||
|
||
A nice npmjs.org-like web interface for jFrog Artifactory | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
const env_local = { | ||
"MOCK": true, | ||
MOCK: true | ||
}; | ||
|
||
module.exports = { | ||
watchUI: { | ||
name: "frog-ui", | ||
script: "./node_modules/@vue/cli-service/bin/vue-cli-service.js", | ||
args: "serve", | ||
env_local, | ||
env_local | ||
}, | ||
compileServer: { | ||
name: "frog-compile-server", | ||
script: "./node_modules/typescript/bin/tsc", | ||
cwd: "server", | ||
args: "--watch", | ||
env_local, | ||
env_local | ||
}, | ||
runServer: { | ||
name: "frog-server", | ||
script: "index.js", | ||
cwd: "dist/server/", | ||
env_local, | ||
env_local | ||
}, | ||
serveUIStatic: { | ||
name: "frog-ui-static", | ||
script: "serve", | ||
env: { | ||
PM2_SERVE_PATH: "dist/webui", | ||
PM2_SERVE_PORT: 8000, | ||
}, | ||
PM2_SERVE_PORT: 8000 | ||
} | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
const tasks = require('./pm2.config'); | ||
const tasks = require("./pm2.config"); | ||
|
||
const runServer = tasks.runServer; | ||
runServer.watch = true; | ||
|
||
module.exports = { | ||
apps: [ | ||
tasks.compileServer, | ||
tasks.watchUI, | ||
runServer, | ||
] | ||
apps: [tasks.compileServer, tasks.watchUI, runServer] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
const tasks = require('./pm2.config'); | ||
const tasks = require("./pm2.config"); | ||
|
||
module.exports = { | ||
apps: [ | ||
tasks.runServer, | ||
tasks.serveUIStatic, | ||
] | ||
apps: [tasks.runServer, tasks.serveUIStatic] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.