-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
ec55f4b
commit 40bd914
Showing
6 changed files
with
45 additions
and
8 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 |
---|---|---|
|
@@ -21,8 +21,6 @@ jobs: | |
- name: Fix git checkout line endings | ||
run: git config --global core.autocrlf input | ||
- uses: actions/[email protected] | ||
with: | ||
clean: false | ||
- name: Use Node.js 17.x | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -38,7 +36,7 @@ jobs: | |
- name: Install | ||
run: yarn install | ||
- name: Build | ||
run: yarn build | ||
run: yarn build:ci | ||
- name: Zip | ||
uses: papeloto/action-zip@v1 | ||
with: | ||
|
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,6 +1,6 @@ | ||
{ | ||
"name": "@onlybuys-bot/main", | ||
"version": "0.0.30", | ||
"version": "0.0.31", | ||
"description": "Multi-chain EVM compatible bot that buys new launches", | ||
"engines": { | ||
"node": ">= 16.13" | ||
|
@@ -22,7 +22,8 @@ | |
}, | ||
"scripts": { | ||
"lint": "yarn workspace @onlybuys-bot/electron lint", | ||
"build": "yarn workspace @onlybuys-bot/cli bundle && yarn && yarn workspace @onlybuys-bot/electron package" | ||
"build": "yarn workspace @onlybuys-bot/cli bundle && yarn && yarn workspace @onlybuys-bot/electron package", | ||
"build:ci": "yarn workspace @onlybuys-bot/cli bundle:ci && yarn && yarn workspace @onlybuys-bot/electron package" | ||
}, | ||
"author": "Kevin <[email protected]>", | ||
"license": "MIT", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
const path = require('path') | ||
const webpack = require('webpack') | ||
const nodeExternals = require('webpack-node-externals') | ||
|
||
module.exports = { | ||
entry: './src/main.ts', | ||
devtool: 'inline-source-map', | ||
mode: process.env.NODE_ENV === 'development' ? 'development' : 'production', | ||
target: 'node', | ||
externals: [nodeExternals()], | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.tsx?$/, | ||
use: 'ts-loader', | ||
exclude: [/node_modules/, /__tests__/], | ||
}, | ||
], | ||
}, | ||
resolve: { | ||
extensions: ['.tsx', '.ts', '.js'], | ||
}, | ||
output: { | ||
filename: 'bundle.js', | ||
path: path.resolve(__dirname, 'bundle-ci'), | ||
}, | ||
plugins: [ | ||
new webpack.ProvidePlugin({ | ||
// Promise: 'es6-promise', // Thanks Aaron (https://gist.github.com/Couto/b29676dd1ab8714a818f#gistcomment-1584602) | ||
// fetch: 'imports?this=>global!exports?global.fetch!node-fetch', | ||
}), | ||
], | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@onlybuys-bot/electron", | ||
"author": "Kevin <[email protected]>", | ||
"version": "0.0.30", | ||
"version": "0.0.31", | ||
"description": "UI application for onlybuys-bot", | ||
"main": "./.webpack/main", | ||
"scripts": { | ||
|