oipage 1.7.0-alpha.5 → 1.7.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/help.js +1 -0
- package/bin/run +2 -1
- package/nodejs/animation/index.js +1 -1
- package/nodejs/cmdlog/index.js +1 -1
- package/nodejs/disk/index.js +1 -1
- package/nodejs/format/index.js +1 -1
- package/nodejs/json/index.js +1 -1
- package/nodejs/logform/index.js +1 -1
- package/nodejs/reader/index.js +1 -1
- package/nodejs/remote/index.js +1 -1
- package/nodejs/throttle/index.js +1 -1
- package/package.json +2 -2
- package/web/XMLHttpRequest/index.js +1 -1
- package/web/animation/index.js +1 -1
- package/web/format/index.js +1 -1
- package/web/json/index.js +1 -1
- package/web/onReady/index.js +1 -1
- package/web/performChunk/index.js +1 -1
- package/web/reader/index.js +1 -1
- package/web/style/index.js +1 -1
- package/web/throttle/index.js +1 -1
package/bin/help.js
CHANGED
package/bin/run
CHANGED
|
@@ -33,7 +33,8 @@ if (process.argv[2] === "serve") {
|
|
|
33
33
|
|
|
34
34
|
if (argvObj["--proxy"] && argvObj["--proxy"].length === 2) {
|
|
35
35
|
config.devServer.proxy[argvObj["--proxy"][0]] = {
|
|
36
|
-
target: argvObj["--proxy"][1]
|
|
36
|
+
target: argvObj["--proxy"][1],
|
|
37
|
+
pathRewrite: { ['^' + argvObj["--proxy"][0]]: '' }
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
40
|
|
package/nodejs/cmdlog/index.js
CHANGED
package/nodejs/disk/index.js
CHANGED
package/nodejs/format/index.js
CHANGED
package/nodejs/json/index.js
CHANGED
package/nodejs/logform/index.js
CHANGED
package/nodejs/reader/index.js
CHANGED
package/nodejs/remote/index.js
CHANGED
package/nodejs/throttle/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oipage",
|
|
3
|
-
"version": "1.7.0-alpha.
|
|
3
|
+
"version": "1.7.0-alpha.6",
|
|
4
4
|
"description": "前端网页或应用快速开发助手,包括开发服务器、辅助命令、实用API等",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"typings": "./types/index.d.ts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dev": "node ./bin/run run \"node ./build/index.js watch\" \"npm run serve\"",
|
|
9
9
|
"build": "node ./build/index.js",
|
|
10
10
|
"serve": "node ./bin/run serve --config ./oipage.config.js",
|
|
11
|
-
"dev:issue10": "node ./bin/run serve --proxy /
|
|
11
|
+
"dev:issue10": "node ./bin/run serve --proxy /proxydemo http://127.0.0.1:8080/docs -p 20000",
|
|
12
12
|
"bug:issue5": "node ./bin/run run \"node ./bin/run serve\"",
|
|
13
13
|
"bug:issue4": "node ./bin/run run \"node ./test/logform/index.spec.js\""
|
|
14
14
|
},
|
package/web/animation/index.js
CHANGED
package/web/format/index.js
CHANGED
package/web/json/index.js
CHANGED
package/web/onReady/index.js
CHANGED
package/web/reader/index.js
CHANGED
package/web/style/index.js
CHANGED
package/web/throttle/index.js
CHANGED