-
Notifications
You must be signed in to change notification settings - Fork 48
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
0 parents
commit d3c3707
Showing
70 changed files
with
22,809 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
module.exports = { | ||
types: [ | ||
{ | ||
value: 'feat', | ||
name: '✨ 新功能', | ||
}, | ||
{ | ||
value: 'fix', | ||
name: '🐛 bug修复', | ||
}, | ||
{ | ||
value: 'refactor', | ||
name: '🎨 样式调整', | ||
}, | ||
{ | ||
value: 'perf', | ||
name: '👌 性能优化', | ||
}, | ||
{ | ||
value: 'build & ci', | ||
name: '📦 构建与CI修改', | ||
}, | ||
{ | ||
value: 'doc', | ||
name: '📖 文档更新', | ||
}, | ||
{ | ||
value: 'chore', | ||
name: '🙈 其他修改', | ||
}, | ||
], | ||
|
||
scopes: [], | ||
|
||
messages: { | ||
type: '提交类型:', | ||
subject: '简短说明:', | ||
confirmCommit: '确认提交?', | ||
}, | ||
|
||
allowCustomScopes: true, | ||
allowBreakingChanges: ['feat', 'fix'], | ||
skipQuestions: ['scope', 'body', 'breaking', 'footer'], | ||
} |
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 @@ | ||
GENERATE_SOURCEMAP = false |
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,39 @@ | ||
# compiled output | ||
/dist | ||
/node_modules | ||
/build | ||
/.cache | ||
/utools/build | ||
/utools/index.js | ||
/.parcel-cache | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
|
||
# OS | ||
.DS_Store | ||
|
||
# Tests | ||
/coverage | ||
/.nyc_output | ||
|
||
# IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json |
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,3 @@ | ||
{ | ||
"cssvar.extensions": ["src/assets/css/vs.css"] | ||
} |
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,21 @@ | ||
## 内网穿透 NAT | ||
|
||
基于 localtunnel 封装的 utools 内网穿透插件 | ||
|
||
欢迎 start ✨ | ||
|
||
![](https://cdn.jsdelivr.net/gh/lblblong/image-bed@main/1627284934657-QQ截图20210726144102.png) | ||
|
||
## 安装 | ||
|
||
首先下载最新一个 [release](https://github.com/lblblong/nat-utools/releases) 中的 `upx` 插件文件 | ||
|
||
然后呼出 `utools` 输入框,将刚刚下载的 `upx` 插件拖入输入框安装即可 | ||
|
||
现在就可以使用啦,在 `utools` 输入框输入关键词即可打开内网穿透面板:nw,内网穿透 | ||
|
||
## 部分界面 | ||
|
||
![](https://cdn.jsdelivr.net/gh/lblblong/image-bed@main/1627284934657-QQ截图20210726144102.png) | ||
![](https://cdn.jsdelivr.net/gh/lblblong/image-bed@main/1627284982765-QQ截图20210726144111.png) | ||
![](https://cdn.jsdelivr.net/gh/lblblong/image-bed@main/1627284993059-QQ截图20210726144126.png) |
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,18 @@ | ||
const CracoAlias = require('craco-alias') | ||
|
||
module.exports = { | ||
eslint: { | ||
enable: false, | ||
model: 'file', | ||
}, | ||
plugins: [ | ||
{ | ||
plugin: CracoAlias, | ||
options: { | ||
source: 'tsconfig', | ||
baseUrl: './', | ||
tsConfigPath: './tsconfig.path.json', | ||
}, | ||
}, | ||
], | ||
} |
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,68 @@ | ||
{ | ||
"name": "nat-utools-lerna", | ||
"version": "2.0.0", | ||
"description": "", | ||
"homepage": ".", | ||
"author": "lblblong", | ||
"license": "ISC", | ||
"scripts": { | ||
"serve": "nodemon --watch src -e tsx,scss,ts,css --exec craco build", | ||
"serve:preload": "cd ./packages/preload && npm run serve", | ||
"build": "npm run build:html && npm run build:preload", | ||
"build:html": "rm -rf ./utools/build && craco build && cp -r ./build ./utools", | ||
"build:preload": "cd ./packages/preload && npm run build", | ||
"commit": "git-cz" | ||
}, | ||
"dependencies": { | ||
"ajax-hook": "^2.0.3", | ||
"classnames": "^2.3.1", | ||
"dayjs": "^1.10.7", | ||
"history": "^5.0.0", | ||
"lbl-popups": "^1.0.0", | ||
"mobx": "^6.3.3", | ||
"mobx-react": "^7.2.0", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2" | ||
}, | ||
"devDependencies": { | ||
"@craco/craco": "^6.3.0", | ||
"@types/localtunnel": "^2.0.1", | ||
"@types/node": "^12.0.0", | ||
"@types/react": "^17.0.0", | ||
"@types/react-dom": "^17.0.0", | ||
"commitizen": "^4.2.4", | ||
"craco-alias": "^3.0.1", | ||
"csstype": "^3.0.9", | ||
"cz-customizable": "^6.3.0", | ||
"react-scripts": "4.0.3", | ||
"sass": "^1.42.1", | ||
"typescript": "^4.1.2", | ||
"utility-types": "^3.10.0", | ||
"utools-helper": "^1.4.6" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "node_modules/cz-customizable" | ||
} | ||
}, | ||
"prettier": { | ||
"semi": false, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"printWidth": 120, | ||
"trailingComma": "all", | ||
"jsxSingleQuote": true | ||
}, | ||
"browserslist": { | ||
"production": [ | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
], | ||
"development": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" | ||
] | ||
} | ||
} |
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 @@ | ||
/node_modules |
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,6 @@ | ||
dist: xenial | ||
language: node_js | ||
node_js: | ||
- "8" | ||
- "10" | ||
- "12" |
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,81 @@ | ||
# 2.0.2 (2021-09-18) | ||
|
||
- Upgrade dependencies | ||
|
||
# 2.0.1 (2021-01-09) | ||
|
||
- Upgrade dependencies | ||
|
||
# 2.0.0 (2019-09-16) | ||
|
||
- Add support for tunneling a local HTTPS server | ||
- Add support for localtunnel server with IP-based tunnel URLs | ||
- Node.js client API is now Promise-based, with backwards compatibility to callback | ||
- Major refactor of entire codebase using modern ES syntax (requires Node.js v8.3.0 or above) | ||
|
||
# 1.9.2 (2019-06-01) | ||
|
||
- Update debug to 4.1.1 | ||
- Update axios to 0.19.0 | ||
|
||
# 1.9.1 (2018-09-08) | ||
|
||
- Update debug to 2.6.9 | ||
|
||
# 1.9.0 (2018-04-03) | ||
|
||
- Add _request_ event to Tunnel emitter | ||
- Update yargs to support config via environment variables | ||
- Add basic request logging when --print-requests argument is used | ||
|
||
# 1.8.3 (2017-06-11) | ||
|
||
- update request dependency | ||
- update debug dependency | ||
- update openurl dependency | ||
|
||
# 1.8.2 (2016-11-17) | ||
|
||
- fix host header transform | ||
- update request dependency | ||
|
||
# 1.8.1 (2016-01-20) | ||
|
||
- fix bug w/ HostHeaderTransformer and binary data | ||
|
||
# 1.8.0 (2015-11-04) | ||
|
||
- pass socket errors up to top level | ||
|
||
# 1.7.0 (2015-07-22) | ||
|
||
- add short arg options | ||
|
||
# 1.6.0 (2015-05-15) | ||
|
||
- keep sockets alive after connecting | ||
- add --open param to CLI | ||
|
||
# 1.5.0 (2014-10-25) | ||
|
||
- capture all errors on remote socket and restart the tunnel | ||
|
||
# 1.4.0 (2014-08-31) | ||
|
||
- don't emit errors for ETIMEDOUT | ||
|
||
# 1.2.0 / 2014-04-28 | ||
|
||
- return `client` from `localtunnel` API instantiation | ||
|
||
# 1.1.0 / 2014-02-24 | ||
|
||
- add a host header transform to change the 'Host' header in requests | ||
|
||
# 1.0.0 / 2014-02-14 | ||
|
||
- default to localltunnel.me for host | ||
- remove exported `connect` method (just export one function that does the same thing) | ||
- change localtunnel signature to (port, opt, fn) | ||
|
||
# 0.2.2 / 2014-01-09 |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2018 Roman Shtylman | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Oops, something went wrong.