@odoo/o-spreadsheet 19.1.0-alpha.9 → 19.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "19.1.0-alpha.9",
3
+ "version": "19.2.0-alpha.1",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",
@@ -10,7 +10,8 @@
10
10
  "files": [
11
11
  "dist/*.js",
12
12
  "dist/*.d.ts",
13
- "dist/*.xml"
13
+ "dist/*.xml",
14
+ "dist/*.css"
14
15
  ],
15
16
  "engines": {
16
17
  "node": ">=22.0.0"
@@ -23,24 +24,22 @@
23
24
  "prettier": "prettier . --write",
24
25
  "check-formatting": "prettier . --check && eslint",
25
26
  "lint": "eslint --fix",
26
- "dev": "npm-run-all --print-label prebuild build:dev --parallel build:watch:engine build:watch server serve-static",
27
- "prebuild": "npm run build --workspaces --if-present",
28
- "build:dev": "npm-run-all build:js bundle:iife \"bundle:xml -- --outDir build\" \"bundle:css -- --out build\"",
29
- "build": "npm-run-all build:js bundle:esm bundle:iife \"bundle:xml -- --outDir build\" \"bundle:css -- --out build\"",
30
- "build:watch": "npm-run-all --parallel build:js:watch bundle:iife:watch bundle:xml:watch bundle:css:watch",
31
- "build:watch:engine": "npm run build:watch --workspace=@odoo/o-spreadsheet-engine",
32
- "build:js": "tsc --module es6 --incremental",
33
- "build:js:watch": "npm run build:js -- --watch",
27
+ "predev": "node tools/clean_build_files.cjs",
28
+ "dev": "npm-run-all --print-label --parallel build:watch server serve-static:wait",
29
+ "build": "npm-run-all transpile-js bundle:esm bundle:iife \"bundle:xml -- --outDir build\" \"bundle:css -- --out build\"",
30
+ "build:watch": "npm-run-all --parallel transpile-js:watch bundle:iife:watch bundle:xml:watch bundle:css:watch",
31
+ "transpile-js": "tsc --build --incremental --preserveWatchOutput",
32
+ "transpile-js:watch": "npm run transpile-js -- --watch",
34
33
  "bundle:cjs": "rollup -c -m -- --format cjs",
35
34
  "bundle:esm": "rollup -c -m -- --format esm",
36
35
  "bundle:iife": "rollup -c -m -- --format iife",
37
- "bundle:iife:watch": "npm run bundle:iife -- --watch",
38
- "bundle:dev": "rollup -c -m -- --format dev",
36
+ "bundle:iife:watch": "wait-on build/js/src/index.js && npm run bundle:iife -- --watch",
39
37
  "bundle:xml": "node tools/bundle_xml/main.cjs",
40
38
  "bundle:xml:watch": "node tools/bundle_xml/watch_xml_templates.cjs",
41
39
  "bundle:css": "node tools/bundle_css/main.cjs",
42
40
  "bundle:css:watch": "node tools/bundle_css/watch_css_files.cjs",
43
41
  "serve-static": "live-server --open=demo --watch=build/o_spreadsheet.iife.js,build/o_spreadsheet.xml,build/o_spreadsheet.css,demo",
42
+ "serve-static:wait": "wait-on build/o_spreadsheet.iife.js build/o_spreadsheet.xml build/o_spreadsheet.css && npm run serve-static",
44
43
  "server": "node tools/server/main.cjs",
45
44
  "predist": "npm run dist --workspaces --if-present",
46
45
  "dist": "tsc --module es6 --declaration --declarationDir dist/types && rollup -c",
@@ -111,6 +110,7 @@
111
110
  "seedrandom": "^3.0.5",
112
111
  "typescript": "^5.8.2",
113
112
  "typescript-eslint": "^8.30.1",
113
+ "wait-on": "^9.0.1",
114
114
  "xml-formatter": "^2.4.0"
115
115
  },
116
116
  "optionalDependencies": {
@@ -132,7 +132,7 @@
132
132
  "xmlSelfClosingSpace": false
133
133
  },
134
134
  "dependencies": {
135
- "@odoo/owl": "2.5.1",
135
+ "@odoo/owl": "2.8.1",
136
136
  "bootstrap": "^5.3.3",
137
137
  "font-awesome": "^4.7.0",
138
138
  "rbush": "^3.0.1"
package/readme.md CHANGED
@@ -39,6 +39,7 @@ npm run test -- --watch # run all tests, rerun on file change
39
39
  3. [Model creation](doc/integrating/integration.md#model-creation)
40
40
  4. [Collaborative edition](doc/integrating/integration.md#collaborative-edition)
41
41
  5. [Translation](doc/integrating/integration.md#translation)
42
+ 6. [Data model (json)](doc/data-model.md)
42
43
  <!--
43
44
 
44
45
  - use with other UI library