@odoo/o-spreadsheet 18.2.0-alpha.4 → 18.2.0-alpha.5
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/dist/o-spreadsheet.cjs.js +303 -248
- package/dist/o-spreadsheet.d.ts +6 -27
- package/dist/o-spreadsheet.esm.js +303 -248
- package/dist/o-spreadsheet.iife.js +303 -248
- package/dist/o-spreadsheet.iife.min.js +212 -216
- package/dist/o_spreadsheet.xml +5553 -5540
- package/package.json +8 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odoo/o-spreadsheet",
|
|
3
|
-
"version": "18.2.0-alpha.
|
|
3
|
+
"version": "18.2.0-alpha.5",
|
|
4
4
|
"description": "A spreadsheet component",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/o-spreadsheet.cjs.js",
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
"dist/*.xml"
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
|
-
"serve-static": "live-server --open=demo --watch=build/o_spreadsheet.iife.js,build/o_spreadsheet.xml,demo",
|
|
16
|
+
"serve-static": "live-server --open=demo --watch=build/o_spreadsheet.iife.js,build/o_spreadsheet.xml,build/o_spreadsheet.css,main.css,demo",
|
|
17
17
|
"dev": "npm-run-all --print-label bundle:dev --parallel server serve-static watch",
|
|
18
18
|
"server": "node tools/server/main.cjs",
|
|
19
19
|
"build:js": "tsc --module es6 --incremental",
|
|
20
20
|
"bundle:iife": "rollup -c -m -- --format iife",
|
|
21
21
|
"bundle:esm": "rollup -c -m -- --format esm",
|
|
22
22
|
"bundle:xml": "node tools/bundle_xml/main.cjs",
|
|
23
|
-
"bundle:dev": "npm-run-all build:js bundle:iife \"bundle:xml -- --outDir build\"",
|
|
24
|
-
"dist": "tsc --module es6 --declaration --declarationDir dist/types && rollup -c && npm run bundle:xml -- --outDir dist",
|
|
23
|
+
"bundle:dev": "npm-run-all build:js bundle:iife \"bundle:xml -- --outDir build\" && node tools/bundle_scss/main.cjs --out build",
|
|
24
|
+
"dist": "tsc --module es6 --declaration --declarationDir dist/types && rollup -c && npm run bundle:xml -- --outDir dist && node tools/bundle_scss/main.cjs --out dist",
|
|
25
25
|
"test": "tsc --noEmit --project tsconfig.jest.json && jest",
|
|
26
26
|
"test:watch": "jest --watch",
|
|
27
27
|
"prettier": "prettier . --write",
|
|
@@ -31,9 +31,10 @@
|
|
|
31
31
|
"watch:bundle": "npm run bundle:iife -- --watch",
|
|
32
32
|
"watch:ts": "npm run build:js -- --watch",
|
|
33
33
|
"watch:xml": "node tools/bundle_xml/watch_xml_templates.cjs",
|
|
34
|
+
"watch:scss": "node tools/bundle_scss/watch_scss_files.cjs",
|
|
34
35
|
"unzipXlsx": "node tools/bundle_xlsx/unzip_xlsx_demo.cjs",
|
|
35
36
|
"zipXlsx": "node tools/bundle_xlsx/zip_xlsx_demo.cjs",
|
|
36
|
-
"build": "npm-run-all build:js bundle:esm \"bundle:xml -- --outDir build\""
|
|
37
|
+
"build": "npm-run-all build:js bundle:esm \"bundle:xml -- --outDir build\" && node tools/bundle_scss/main.cjs --out build"
|
|
37
38
|
},
|
|
38
39
|
"browserslist": [
|
|
39
40
|
"last 1 Chrome versions"
|
|
@@ -74,6 +75,7 @@
|
|
|
74
75
|
"express-ws": "^4.0.0",
|
|
75
76
|
"file-saver": "^2.0.5",
|
|
76
77
|
"fs": "^0.0.1-security",
|
|
78
|
+
"glob": "^10.2.6",
|
|
77
79
|
"husky": "^7.0.4",
|
|
78
80
|
"jest": "^29.5.0",
|
|
79
81
|
"jest-environment-jsdom": "^29.5.0",
|
|
@@ -90,6 +92,7 @@
|
|
|
90
92
|
"rollup": "^3.28.0",
|
|
91
93
|
"rollup-plugin-dts": "^5.3.1",
|
|
92
94
|
"rollup-plugin-typescript2": "^0.35.0",
|
|
95
|
+
"sass": "^1.62.1",
|
|
93
96
|
"typescript": "^5.4.3",
|
|
94
97
|
"xml-formatter": "^2.4.0"
|
|
95
98
|
},
|