@univerjs/preset-sheets-node-core 0.25.0 → 1.0.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/README.md +3 -3
- package/lib/cjs/index.js +135 -1
- package/lib/cjs/locales/ar-SA.js +17 -1
- package/lib/cjs/locales/ca-ES.js +17 -1
- package/lib/cjs/locales/de-DE.js +17 -1
- package/lib/cjs/locales/en-US.js +17 -1
- package/lib/cjs/locales/es-ES.js +17 -1
- package/lib/cjs/locales/fa-IR.js +17 -1
- package/lib/cjs/locales/fr-FR.js +17 -1
- package/lib/cjs/locales/id-ID.js +17 -1
- package/lib/cjs/locales/it-IT.js +17 -1
- package/lib/cjs/locales/ja-JP.js +17 -1
- package/lib/cjs/locales/ko-KR.js +17 -1
- package/lib/cjs/locales/pl-PL.js +17 -1
- package/lib/cjs/locales/pt-BR.js +17 -1
- package/lib/cjs/locales/ru-RU.js +17 -1
- package/lib/cjs/locales/sk-SK.js +17 -1
- package/lib/cjs/locales/vi-VN.js +17 -1
- package/lib/cjs/locales/zh-CN.js +17 -1
- package/lib/cjs/locales/zh-HK.js +17 -1
- package/lib/cjs/locales/zh-TW.js +17 -1
- package/lib/cjs/rolldown-runtime-C_NdSu1c.js +34 -0
- package/lib/cjs/worker.js +46 -1
- package/lib/es/index.js +74 -61
- package/lib/es/locales/ar-SA.js +11 -16
- package/lib/es/locales/ca-ES.js +11 -16
- package/lib/es/locales/de-DE.js +11 -16
- package/lib/es/locales/en-US.js +11 -16
- package/lib/es/locales/es-ES.js +11 -16
- package/lib/es/locales/fa-IR.js +11 -16
- package/lib/es/locales/fr-FR.js +11 -16
- package/lib/es/locales/id-ID.js +11 -16
- package/lib/es/locales/it-IT.js +11 -16
- package/lib/es/locales/ja-JP.js +11 -16
- package/lib/es/locales/ko-KR.js +11 -16
- package/lib/es/locales/pl-PL.js +11 -16
- package/lib/es/locales/pt-BR.js +11 -16
- package/lib/es/locales/ru-RU.js +11 -16
- package/lib/es/locales/sk-SK.js +11 -16
- package/lib/es/locales/vi-VN.js +11 -16
- package/lib/es/locales/zh-CN.js +11 -16
- package/lib/es/locales/zh-HK.js +11 -16
- package/lib/es/locales/zh-TW.js +11 -16
- package/lib/es/worker.js +25 -23
- package/lib/index.js +74 -61
- package/lib/locales/ar-SA.js +11 -16
- package/lib/locales/ca-ES.js +11 -16
- package/lib/locales/de-DE.js +11 -16
- package/lib/locales/en-US.js +11 -16
- package/lib/locales/es-ES.js +11 -16
- package/lib/locales/fa-IR.js +11 -16
- package/lib/locales/fr-FR.js +11 -16
- package/lib/locales/id-ID.js +11 -16
- package/lib/locales/it-IT.js +11 -16
- package/lib/locales/ja-JP.js +11 -16
- package/lib/locales/ko-KR.js +11 -16
- package/lib/locales/pl-PL.js +11 -16
- package/lib/locales/pt-BR.js +11 -16
- package/lib/locales/ru-RU.js +11 -16
- package/lib/locales/sk-SK.js +11 -16
- package/lib/locales/vi-VN.js +11 -16
- package/lib/locales/zh-CN.js +11 -16
- package/lib/locales/zh-HK.js +11 -16
- package/lib/locales/zh-TW.js +11 -16
- package/lib/types/index.d.ts +16 -1
- package/lib/types/locales/ar-SA.d.ts +1 -3
- package/lib/types/locales/ca-ES.d.ts +1 -3
- package/lib/types/locales/de-DE.d.ts +1 -3
- package/lib/types/locales/en-US.d.ts +1 -3
- package/lib/types/locales/es-ES.d.ts +1 -3
- package/lib/types/locales/fa-IR.d.ts +1 -3
- package/lib/types/locales/fr-FR.d.ts +1 -3
- package/lib/types/locales/id-ID.d.ts +1 -3
- package/lib/types/locales/it-IT.d.ts +1 -3
- package/lib/types/locales/ja-JP.d.ts +1 -3
- package/lib/types/locales/ko-KR.d.ts +1 -3
- package/lib/types/locales/pl-PL.d.ts +1 -3
- package/lib/types/locales/pt-BR.d.ts +1 -3
- package/lib/types/locales/ru-RU.d.ts +1 -3
- package/lib/types/locales/sk-SK.d.ts +1 -3
- package/lib/types/locales/vi-VN.d.ts +1 -3
- package/lib/types/locales/zh-CN.d.ts +1 -3
- package/lib/types/locales/zh-HK.d.ts +1 -3
- package/lib/types/locales/zh-TW.d.ts +1 -3
- package/lib/types/preset.d.ts +46 -0
- package/lib/types/types.d.ts +15 -11
- package/lib/types/worker.d.ts +17 -1
- package/lib/worker.js +25 -23
- package/package.json +25 -28
- package/lib/types/umd.d.ts +0 -30
- package/lib/umd/index.js +0 -66
- package/lib/umd/locales/ar-SA.js +0 -60
- package/lib/umd/locales/ca-ES.js +0 -55
- package/lib/umd/locales/de-DE.js +0 -60
- package/lib/umd/locales/en-US.js +0 -60
- package/lib/umd/locales/es-ES.js +0 -55
- package/lib/umd/locales/fa-IR.js +0 -60
- package/lib/umd/locales/fr-FR.js +0 -60
- package/lib/umd/locales/id-ID.js +0 -60
- package/lib/umd/locales/it-IT.js +0 -60
- package/lib/umd/locales/ja-JP.js +0 -59
- package/lib/umd/locales/ko-KR.js +0 -53
- package/lib/umd/locales/pl-PL.js +0 -60
- package/lib/umd/locales/pt-BR.js +0 -60
- package/lib/umd/locales/ru-RU.js +0 -47
- package/lib/umd/locales/sk-SK.js +0 -55
- package/lib/umd/locales/vi-VN.js +0 -59
- package/lib/umd/locales/zh-CN.js +0 -60
- package/lib/umd/locales/zh-HK.js +0 -60
- package/lib/umd/locales/zh-TW.js +0 -60
- package/lib/umd/worker.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/preset-sheets-node-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Preset for running Univer Sheets on Node.js with core features.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"homepage": "https://univer.ai",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "https://github.com/dream-num/univer
|
|
15
|
+
"url": "https://github.com/dream-num/univer"
|
|
16
16
|
},
|
|
17
17
|
"bugs": {
|
|
18
|
-
"url": "https://github.com/dream-num/univer
|
|
18
|
+
"url": "https://github.com/dream-num/univer/issues"
|
|
19
19
|
},
|
|
20
20
|
"keywords": [
|
|
21
21
|
"univer",
|
|
@@ -33,14 +33,9 @@
|
|
|
33
33
|
"require": "./lib/cjs/index.js",
|
|
34
34
|
"types": "./lib/types/index.d.ts"
|
|
35
35
|
},
|
|
36
|
-
"./*": {
|
|
37
|
-
"import": "./lib/es/*",
|
|
38
|
-
"require": "./lib/cjs/*",
|
|
39
|
-
"types": "./lib/types/index.d.ts"
|
|
40
|
-
},
|
|
41
36
|
"./worker": {
|
|
42
37
|
"import": "./lib/es/worker.js",
|
|
43
|
-
"require": "./lib/cjs/
|
|
38
|
+
"require": "./lib/cjs/worker.js",
|
|
44
39
|
"types": "./lib/types/worker.d.ts"
|
|
45
40
|
},
|
|
46
41
|
"./locales/*": {
|
|
@@ -57,6 +52,7 @@
|
|
|
57
52
|
"directories": {
|
|
58
53
|
"lib": "lib"
|
|
59
54
|
},
|
|
55
|
+
"types": "./lib/types/index.d.ts",
|
|
60
56
|
"files": [
|
|
61
57
|
"lib"
|
|
62
58
|
],
|
|
@@ -64,30 +60,31 @@
|
|
|
64
60
|
"rxjs": ">=7.0.0"
|
|
65
61
|
},
|
|
66
62
|
"dependencies": {
|
|
67
|
-
"@univerjs/docs": "0.
|
|
68
|
-
"@univerjs/engine-formula": "0.
|
|
69
|
-
"@univerjs/
|
|
70
|
-
"@univerjs/
|
|
71
|
-
"@univerjs/sheets": "0.
|
|
72
|
-
"@univerjs/sheets-
|
|
73
|
-
"@univerjs/sheets-
|
|
74
|
-
"@univerjs/sheets-
|
|
75
|
-
"@univerjs/sheets-
|
|
76
|
-
"@univerjs/sheets-
|
|
77
|
-
"@univerjs/sheets-
|
|
78
|
-
"@univerjs/
|
|
79
|
-
"@univerjs/sheets-thread-comment": "0.
|
|
80
|
-
"@univerjs/thread-comment": "0.25.0"
|
|
63
|
+
"@univerjs/docs": "1.0.0-alpha.0",
|
|
64
|
+
"@univerjs/engine-formula": "1.0.0-alpha.0",
|
|
65
|
+
"@univerjs/rpc-node": "1.0.0-alpha.0",
|
|
66
|
+
"@univerjs/sheets": "1.0.0-alpha.0",
|
|
67
|
+
"@univerjs/sheets-data-validation": "1.0.0-alpha.0",
|
|
68
|
+
"@univerjs/sheets-drawing": "1.0.0-alpha.0",
|
|
69
|
+
"@univerjs/sheets-filter": "1.0.0-alpha.0",
|
|
70
|
+
"@univerjs/sheets-formula": "1.0.0-alpha.0",
|
|
71
|
+
"@univerjs/sheets-hyper-link": "1.0.0-alpha.0",
|
|
72
|
+
"@univerjs/sheets-numfmt": "1.0.0-alpha.0",
|
|
73
|
+
"@univerjs/sheets-sort": "1.0.0-alpha.0",
|
|
74
|
+
"@univerjs/thread-comment": "1.0.0-alpha.0",
|
|
75
|
+
"@univerjs/sheets-thread-comment": "1.0.0-alpha.0"
|
|
81
76
|
},
|
|
82
77
|
"devDependencies": {
|
|
83
|
-
"
|
|
84
|
-
"rxjs": "7.8.2",
|
|
78
|
+
"rxjs": "^7.8.2",
|
|
85
79
|
"typescript": "^6.0.3",
|
|
86
|
-
"@univerjs-infra/shared": "0.
|
|
80
|
+
"@univerjs-infra/shared": "1.0.0-alpha.0",
|
|
81
|
+
"@univerjs/core": "1.0.0-alpha.0",
|
|
82
|
+
"@univerjs/presets": "1.0.0-alpha.0"
|
|
87
83
|
},
|
|
88
84
|
"scripts": {
|
|
89
|
-
"
|
|
90
|
-
"build:
|
|
85
|
+
"build:bundle": "univer-cli preset build --cleanup",
|
|
86
|
+
"build:types": "tsc -p tsconfig.node.json",
|
|
87
|
+
"build": "pnpm run build:bundle && pnpm run build:types",
|
|
91
88
|
"typecheck": "tsc --noEmit"
|
|
92
89
|
},
|
|
93
90
|
"module": "./lib/es/index.js"
|
package/lib/types/umd.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { IPreset, IUniverFormulaConfig } from './types';
|
|
2
|
-
import '@univerjs/sheets/lib/facade';
|
|
3
|
-
import '@univerjs/sheets-formula/lib/facade';
|
|
4
|
-
import '@univerjs/sheets-data-validation/lib/facade';
|
|
5
|
-
import '@univerjs/engine-formula/lib/facade';
|
|
6
|
-
import '@univerjs/sheets-filter/lib/facade';
|
|
7
|
-
import '@univerjs/sheets-hyper-link/lib/facade';
|
|
8
|
-
import '@univerjs/sheets-numfmt/lib/facade';
|
|
9
|
-
import '@univerjs/sheets-sort/lib/facade';
|
|
10
|
-
import '@univerjs/sheets-thread-comment/lib/facade';
|
|
11
|
-
export type * from '@univerjs/engine-formula/lib/facade';
|
|
12
|
-
export type * from '@univerjs/sheets-data-validation/lib/facade';
|
|
13
|
-
export type * from '@univerjs/sheets-filter/lib/facade';
|
|
14
|
-
export type * from '@univerjs/sheets-formula/lib/facade';
|
|
15
|
-
export type * from '@univerjs/sheets-hyper-link/lib/facade';
|
|
16
|
-
export type * from '@univerjs/sheets-numfmt/lib/facade';
|
|
17
|
-
export type * from '@univerjs/sheets-sort/lib/facade';
|
|
18
|
-
export type * from '@univerjs/sheets-thread-comment/lib/facade';
|
|
19
|
-
export type * from '@univerjs/sheets/lib/facade';
|
|
20
|
-
export interface IUniverSheetsNodeCorePresetConfig {
|
|
21
|
-
/**
|
|
22
|
-
* The formula configuration.
|
|
23
|
-
*/
|
|
24
|
-
formula?: IUniverFormulaConfig;
|
|
25
|
-
/**
|
|
26
|
-
* The URL of the worker script.
|
|
27
|
-
*/
|
|
28
|
-
workerSrc?: string;
|
|
29
|
-
}
|
|
30
|
-
export declare function UniverSheetsNodeCorePreset(config?: Partial<IUniverSheetsNodeCorePresetConfig>): IPreset;
|