Skip to content

Commit

Permalink
Release v0.27.0-20200730
Browse files Browse the repository at this point in the history
  • Loading branch information
aqzhyi committed Jul 30, 2020
1 parent 8fcca2e commit ab3c17a
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 13 deletions.
50 changes: 48 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,57 @@ via telegram personal https://t.me/whatisclown

## Development

`npm run dev`
1. one terminal session for `npm run server`
1. one terminal session for `npm run dev`
1. add new script in tempermonkey with
```js
// ==UserScript==
// @name Better etoro UI for Developer
// @description 提供你更好的 etoro 新台幣介面增強懶人包
// @version 0.1.0
// @author hilezir
// @grant GM_xmlhttpRequest
// @grant GM_addStyle
// @grant unsafeWindow
// @match https://*.etoro.com/*
// @match https://etoro.com/*
// @run-at document-idle
// @noframes
// @namespace http://tampermonkey.net/

// Xrequire https://www.googletagmanager.com/gtag/js?id=UA-60395189-2
// Xconnect www.googletagmanager.com
// Xconnect www.google-analytics.com

///////////////////** 開源程式碼庫 */
// @connect cdn.jsdelivr.net
// @connect cdnjs.cloudflare.com

///////////////////** 台灣臺灣銀行 */
// @connect bot.com.tw

///////////////////** 馬國大眾銀行 */
// @connect www.pbebank.com

///////////////////** 本地開發專用 */
// @connect 127.0.0.1
// ==/UserScript==

console.info('loading... etoro-better-ui')

window.GM_xmlhttpRequest({
url: 'http://127.0.0.1:8087/etoro.bundle.js?' + new Date().getTime(), // 開發模式
// url: 'https://cdn.jsdelivr.net/gh/hilezir/[email protected]/src_dist/etoro.bundle.js',
onload: event => {
eval(event.responseText)
},
})
```
1. make sure be enabled it script

## Deploy & Release

1. change version string in package.json
1. bump version string in package.json
2. `npm run build`
3. `git release v1.0.0`
4. [release](https://github.com/hilezir/etoro-better-ui/releases) on github
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "etoro-better-ui",
"version": "0.26.1-20200721",
"version": "0.27.0-20200730",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
20 changes: 10 additions & 10 deletions src_dist/etoro.bundle.js

Large diffs are not rendered by default.

0 comments on commit ab3c17a

Please sign in to comment.