@univerjs/presets 1.3.1 → 1.4.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/lib/cjs/index.js +1 -2
- package/lib/es/index.js +1 -2
- package/lib/index.js +1 -2
- package/package.json +14 -14
package/lib/cjs/index.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
let _univerjs_core = require("@univerjs/core");
|
|
3
3
|
let _univerjs_core_facade = require("@univerjs/core/facade");
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/preset.ts
|
|
6
6
|
function createUniver(options) {
|
|
7
7
|
const { presets, plugins, collaboration, override = [], ...univerOptions } = options;
|
|
8
8
|
if (collaboration) {
|
|
@@ -44,7 +44,6 @@ function createUniver(options) {
|
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
//#endregion
|
|
48
47
|
exports.createUniver = createUniver;
|
|
49
48
|
Object.keys(_univerjs_core).forEach(function (k) {
|
|
50
49
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
package/lib/es/index.js
CHANGED
|
@@ -7,7 +7,7 @@ export * from "@univerjs/core/facade"
|
|
|
7
7
|
|
|
8
8
|
export * from "@univerjs/themes"
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
// src/preset.ts
|
|
11
11
|
function createUniver(options) {
|
|
12
12
|
const { presets, plugins, collaboration, override = [], ...univerOptions } = options;
|
|
13
13
|
if (collaboration) {
|
|
@@ -49,5 +49,4 @@ function createUniver(options) {
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
//#endregion
|
|
53
52
|
export { createUniver };
|
package/lib/index.js
CHANGED
|
@@ -7,7 +7,7 @@ export * from "@univerjs/core/facade"
|
|
|
7
7
|
|
|
8
8
|
export * from "@univerjs/themes"
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
// src/preset.ts
|
|
11
11
|
function createUniver(options) {
|
|
12
12
|
const { presets, plugins, collaboration, override = [], ...univerOptions } = options;
|
|
13
13
|
if (collaboration) {
|
|
@@ -49,5 +49,4 @@ function createUniver(options) {
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
//#endregion
|
|
53
52
|
export { createUniver };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/presets",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Build Univer apps faster and easier with pre-configured plugin collections.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -45,25 +45,25 @@
|
|
|
45
45
|
"lib"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@univerjs/core": "1.
|
|
49
|
-
"@univerjs/drawing": "1.
|
|
50
|
-
"@univerjs/engine-formula": "1.
|
|
51
|
-
"@univerjs/engine-render": "1.
|
|
52
|
-
"@univerjs/network": "1.
|
|
53
|
-
"@univerjs/protocol": "1.
|
|
54
|
-
"@univerjs/rpc": "1.
|
|
55
|
-
"@univerjs/telemetry": "1.
|
|
56
|
-
"@univerjs/themes": "1.
|
|
48
|
+
"@univerjs/core": "1.4.0",
|
|
49
|
+
"@univerjs/drawing": "1.4.0",
|
|
50
|
+
"@univerjs/engine-formula": "1.4.0",
|
|
51
|
+
"@univerjs/engine-render": "1.4.0",
|
|
52
|
+
"@univerjs/network": "1.4.0",
|
|
53
|
+
"@univerjs/protocol": "1.4.0",
|
|
54
|
+
"@univerjs/rpc": "1.4.0",
|
|
55
|
+
"@univerjs/telemetry": "1.4.0",
|
|
56
|
+
"@univerjs/themes": "1.4.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@univerjs-infra/shared": "1.
|
|
59
|
+
"@univerjs-infra/shared": "1.4.0",
|
|
60
60
|
"@wendellhu/redi": "1.1.3",
|
|
61
|
-
"
|
|
61
|
+
"tsrs": "0.20.1-ts7.1.0-beta"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
|
-
"typecheck": "
|
|
64
|
+
"typecheck": "tsrs --noEmit",
|
|
65
65
|
"build:bundle": "univer-cli preset build --cleanup",
|
|
66
|
-
"build:types": "
|
|
66
|
+
"build:types": "tsrs -p tsconfig.node.json",
|
|
67
67
|
"build": "pnpm run build:bundle && pnpm run build:types"
|
|
68
68
|
},
|
|
69
69
|
"module": "./lib/es/index.js"
|