oipage 1.4.0-alpha.0 → 1.4.0-alpha.1

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/CHANGELOG CHANGED
@@ -49,7 +49,7 @@ v1.2.1:
49
49
  - 修复bug
50
50
  1、开发服务器
51
51
  * 修复路径不存在时未正确同步修改浏览器地址问题
52
- v1.3.0:(废弃,请用1.3.1代替)
52
+ v1.3.0:(已废弃,请用1.3.1代替)
53
53
  date:2025-05-18
54
54
  changes:
55
55
  - 修复bug
package/bin/serve.d.ts CHANGED
@@ -4,12 +4,12 @@ interface DevServerType {
4
4
  /**
5
5
  * 服务器端口号
6
6
  */
7
- port?: number
7
+ port: number
8
8
 
9
9
  /**
10
10
  * 服务器根路径
11
11
  */
12
- baseUrl?: string
12
+ baseUrl: string
13
13
  }
14
14
 
15
15
  interface InterceptType {
@@ -36,7 +36,7 @@ interface ConfigType {
36
36
  /**
37
37
  * 服务器运行配置
38
38
  */
39
- devServer?: DevServerType
39
+ devServer: DevServerType
40
40
 
41
41
  intercept?: Array<InterceptType>
42
42
 
@@ -48,8 +48,4 @@ interface ConfigType {
48
48
  }
49
49
  }
50
50
 
51
- interface ServeType {
52
- (config: ConfigType): void
53
- }
54
-
55
- export default ServeType
51
+ export default function (config?: ConfigType): void
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * animation of OIPage v1.4.0-alpha.0
2
+ * animation of OIPage v1.4.0-alpha.1
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * cmdlog of OIPage v1.4.0-alpha.0
2
+ * cmdlog of OIPage v1.4.0-alpha.1
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * disk of OIPage v1.4.0-alpha.0
2
+ * disk of OIPage v1.4.0-alpha.1
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * json of OIPage v1.4.0-alpha.0
2
+ * json of OIPage v1.4.0-alpha.1
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
  const {reader} = require("../reader/index.js");
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * logform of OIPage v1.4.0-alpha.0
2
+ * logform of OIPage v1.4.0-alpha.1
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
  const {linelog} = require("../cmdlog/index.js");
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * reader of OIPage v1.4.0-alpha.0
2
+ * reader of OIPage v1.4.0-alpha.1
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * throttle of OIPage v1.4.0-alpha.0
2
+ * throttle of OIPage v1.4.0-alpha.1
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oipage",
3
- "version": "1.4.0-alpha.0",
3
+ "version": "1.4.0-alpha.1",
4
4
  "description": "前端网页或应用快速开发助手,包括开发服务器、辅助命令、实用API等",
5
5
  "sideEffects": false,
6
6
  "scripts": {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * animation of OIPage v1.4.0-alpha.0
2
+ * animation of OIPage v1.4.0-alpha.1
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
package/web/json/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * json of OIPage v1.4.0-alpha.0
2
+ * json of OIPage v1.4.0-alpha.1
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
  import {reader} from "../reader/index.js";
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * onReady of OIPage v1.4.0-alpha.0
2
+ * onReady of OIPage v1.4.0-alpha.1
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * performChunk of OIPage v1.4.0-alpha.0
2
+ * performChunk of OIPage v1.4.0-alpha.1
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * reader of OIPage v1.4.0-alpha.0
2
+ * reader of OIPage v1.4.0-alpha.1
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * style of OIPage v1.4.0-alpha.0
2
+ * style of OIPage v1.4.0-alpha.1
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * throttle of OIPage v1.4.0-alpha.0
2
+ * throttle of OIPage v1.4.0-alpha.1
3
3
  * git+https://github.com/oi-contrib/OIPage.git
4
4
  */
5
5