mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
no brainer :) (#38)
This commit is contained in:
parent
7c11296a94
commit
805cb777d4
@ -3,25 +3,25 @@
|
||||
```bash
|
||||
# @scripthaus command webpack-watch
|
||||
# @scripthaus cd :playbook
|
||||
node_modules/.bin/webpack --watch --config webpack.dev.js
|
||||
node_modules/.bin/webpack --watch --config webpack/webpack.dev.js
|
||||
```
|
||||
|
||||
```bash
|
||||
# @scripthaus command webpack-build
|
||||
# @scripthaus cd :playbook
|
||||
node_modules/.bin/webpack --config webpack.dev.js
|
||||
node_modules/.bin/webpack --config webpack/webpack.dev.js
|
||||
```
|
||||
|
||||
```bash
|
||||
# @scripthaus command webpack-electron-watch
|
||||
# @scripthaus cd :playbook
|
||||
node_modules/.bin/webpack --watch --config webpack.electron.js
|
||||
node_modules/.bin/webpack --watch --config webpack/webpack.electron.js
|
||||
```
|
||||
|
||||
```bash
|
||||
# @scripthaus command webpack-electron-build
|
||||
# @scripthaus cd :playbook
|
||||
node_modules/.bin/webpack --config webpack.electron.js
|
||||
node_modules/.bin/webpack --config webpack/webpack.electron.js
|
||||
```
|
||||
|
||||
```bash
|
||||
@ -39,25 +39,25 @@ PROMPT_DEV=1 PCLOUD_ENDPOINT="https://ot2e112zx5.execute-api.us-west-2.amazonaws
|
||||
```bash
|
||||
# @scripthaus command devserver
|
||||
# @scripthaus cd :playbook
|
||||
node_modules/.bin/webpack-dev-server --config webpack.dev.js --host 0.0.0.0
|
||||
node_modules/.bin/webpack-dev-server --config webpack/webpack.dev.js --host 0.0.0.0
|
||||
```
|
||||
|
||||
```bash
|
||||
# @scripthaus command webshare-devserver
|
||||
# @scripthaus cd :playbook
|
||||
node_modules/.bin/webpack-dev-server --config webpack.share.dev.js --host 127.0.0.1
|
||||
node_modules/.bin/webpack-dev-server --config webpack/webpack.share.dev.js --host 127.0.0.1
|
||||
```
|
||||
|
||||
```bash
|
||||
# @scripthaus command webshare-build
|
||||
# @scripthaus cd :playbook
|
||||
node_modules/.bin/webpack --config webpack.share.dev.js
|
||||
node_modules/.bin/webpack --config webpack/webpack.share.dev.js
|
||||
```
|
||||
|
||||
```bash
|
||||
# @scripthaus command webshare-build-prod
|
||||
# @scripthaus cd :playbook
|
||||
node_modules/.bin/webpack --config webpack.share.prod.js
|
||||
node_modules/.bin/webpack --config webpack/webpack.share.prod.js
|
||||
```
|
||||
|
||||
```bash
|
||||
@ -78,8 +78,8 @@ node_modules/.bin/tsc --jsx preserve --noEmit --esModuleInterop --target ES5 --e
|
||||
rm -rf dist/
|
||||
rm -rf bin/
|
||||
rm -rf build/
|
||||
node_modules/.bin/webpack --config webpack.prod.js
|
||||
node_modules/.bin/webpack --config webpack.electron.prod.js
|
||||
node_modules/.bin/webpack --config webpack/webpack.prod.js
|
||||
node_modules/.bin/webpack --config webpack/webpack.electron.prod.js
|
||||
GO_LDFLAGS="-s -w -X main.BuildTime=$(date +'%Y%m%d%H%M')"
|
||||
(cd ../apishell; GOOS=darwin GOARCH=amd64 go build -ldflags="$GO_LDFLAGS" -o ../prompt-client/bin/mshell/mshell-v0.3-darwin.amd64 main-mshell.go)
|
||||
(cd ../apishell; GOOS=darwin GOARCH=arm64 go build -ldflags="$GO_LDFLAGS" -o ../prompt-client/bin/mshell/mshell-v0.3-darwin.arm64 main-mshell.go)
|
||||
|
@ -1,7 +1,7 @@
|
||||
@base-color: #eceeec;
|
||||
@base-background: rgba(21, 23, 21, 1);
|
||||
@base-background-transparent: rgba(21, 23, 21, 0.7);
|
||||
@base-background-dev: rgba(21, 23, 21, 0.7);
|
||||
@base-background-dev: rgba(57, 0, 78, 0.7);
|
||||
@base-border: rgba(241, 246, 243, 0.08);
|
||||
@background-session: rgba(13, 13, 13, 0.85);
|
||||
@background-session-components: rgba(48, 49, 48, 0.6);
|
||||
@ -57,5 +57,6 @@
|
||||
@terminal-font: "JetBrains Mono", sans-serif;
|
||||
|
||||
// to match Github
|
||||
@markdown-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial,sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
||||
@markdown-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif,
|
||||
"Apple Color Emoji", "Segoe UI Emoji";
|
||||
@markdown-highlight: rgb(35, 35, 35);
|
||||
|
@ -1,2 +1,2 @@
|
||||
const VERSION = "v0.4.0";
|
||||
const VERSION = "v0.5.0";
|
||||
module.exports = VERSION;
|
||||
|
@ -3,7 +3,7 @@ const merge = require("webpack-merge");
|
||||
const common = require("./webpack.common.js");
|
||||
const path = require("path");
|
||||
const CopyPlugin = require("copy-webpack-plugin");
|
||||
const VERSION = require("./version.js");
|
||||
const VERSION = require("../version.js");
|
||||
|
||||
var merged = merge.merge(common, {
|
||||
mode: "development",
|
@ -2,7 +2,7 @@ const webpack = require("webpack");
|
||||
const merge = require("webpack-merge");
|
||||
const common = require("./webpack.electron.js");
|
||||
const moment = require("dayjs");
|
||||
const VERSION = require("./version.js");
|
||||
const VERSION = require("../version.js");
|
||||
const path = require("path");
|
||||
|
||||
function makeBuildStr() {
|
@ -3,7 +3,7 @@ const merge = require("webpack-merge");
|
||||
const common = require("./webpack.common.js");
|
||||
const moment = require("dayjs");
|
||||
const path = require("path");
|
||||
const VERSION = require("./version.js");
|
||||
const VERSION = require("../version.js");
|
||||
|
||||
function makeBuildStr() {
|
||||
let buildStr = moment().format("YYYYMMDD-HHmmss");
|
@ -3,7 +3,7 @@ const merge = require("webpack-merge");
|
||||
const common = require("./webpack.share.js");
|
||||
const path = require("path");
|
||||
const CopyPlugin = require("copy-webpack-plugin");
|
||||
const VERSION = require("./version.js");
|
||||
const VERSION = require("../version.js");
|
||||
|
||||
var merged = merge.merge(common, {
|
||||
mode: "development",
|
@ -3,7 +3,7 @@ const merge = require("webpack-merge");
|
||||
const common = require("./webpack.share.js");
|
||||
const moment = require("dayjs");
|
||||
const path = require("path");
|
||||
const VERSION = require("./version.js");
|
||||
const VERSION = require("../version.js");
|
||||
|
||||
function makeBuildStr() {
|
||||
let buildStr = moment().format("YYYYMMDD-HHmmss");
|
Loading…
Reference in New Issue
Block a user