@oipage/cli 0.1.0-beta.0 → 0.2.0-alpha.0
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
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
v0.1.0:
|
|
2
|
-
date:
|
|
2
|
+
date:2026-03-30
|
|
3
3
|
changes:
|
|
4
4
|
- 初始化版本
|
|
5
5
|
(承接原OIPagev1.x的命令行相关功能: https://github.com/oi-contrib/OIPage/tree/v1.x)
|
|
6
|
+
v0.2.0:
|
|
7
|
+
date:
|
|
8
|
+
changes:
|
|
9
|
+
- 优化改造
|
|
10
|
+
1、暴露更多有用的插件
|
|
11
|
+
* ZipaperIntercept
|
|
12
|
+
* VISLiteIntercept
|
|
13
|
+
* ScssLoader
|
|
14
|
+
* HtmlLoader
|
|
@@ -24,7 +24,32 @@ module.exports = {
|
|
|
24
24
|
response.write(`let module = { exports: {} };
|
|
25
25
|
let exports = module.exports;
|
|
26
26
|
${source}
|
|
27
|
+
export let Cardinal = module.exports.Cardinal;
|
|
28
|
+
export let Hermite = module.exports.Hermite;
|
|
29
|
+
export let Matrix4 = module.exports.Matrix4;
|
|
30
|
+
export let rotate = module.exports.rotate;
|
|
31
|
+
export let move = module.exports.move;
|
|
32
|
+
export let scale = module.exports.scale;
|
|
33
|
+
export let getLoopColors = module.exports.getLoopColors;
|
|
34
|
+
export let animation = module.exports.animation;
|
|
35
|
+
export let ruler = module.exports.ruler;
|
|
36
|
+
export let SVG = module.exports.SVG;
|
|
27
37
|
export let Canvas = module.exports.Canvas;
|
|
38
|
+
export let RawCanvas = module.exports.RawCanvas;
|
|
39
|
+
export let getWebGLContext = module.exports.getWebGLContext;
|
|
40
|
+
export let Shader = module.exports.Shader;
|
|
41
|
+
export let Texture = module.exports.Texture;
|
|
42
|
+
export let Buffer = module.exports.Buffer;
|
|
43
|
+
export let Eoap = module.exports.Eoap;
|
|
44
|
+
export let Mercator = module.exports.Mercator;
|
|
45
|
+
export let throttle = module.exports.throttle;
|
|
46
|
+
export let assemble = module.exports.assemble;
|
|
47
|
+
export let MapCoordinate = module.exports.MapCoordinate;
|
|
48
|
+
export let TreeLayout = module.exports.TreeLayout;
|
|
49
|
+
export let PieLayout = module.exports.PieLayout;
|
|
50
|
+
export let BarLayout = module.exports.BarLayout;
|
|
51
|
+
export let initOption = module.exports.initOption;
|
|
52
|
+
export let mergeOption = module.exports.mergeOption;
|
|
28
53
|
`);
|
|
29
54
|
response.end();
|
|
30
55
|
}
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -20,4 +20,10 @@ exports.serve = function (config) {
|
|
|
20
20
|
|
|
21
21
|
mergeOption(option, config);
|
|
22
22
|
require("../bin/serve")(option);
|
|
23
|
-
};
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
exports.ZipaperIntercept = require("./oipage-zipaper-intercept.js");
|
|
26
|
+
exports.VISLiteIntercept = require("./oipage-vislite-intercept.js");
|
|
27
|
+
|
|
28
|
+
exports.ScssLoader = require("./oipage-scss-loader.js");
|
|
29
|
+
exports.HtmlLoader = require("./oipage-html-loader.js");
|