@odoo/o-spreadsheet 16.2.0-alpha.3 → 16.2.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/package.json CHANGED
@@ -1,32 +1,32 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "16.2.0-alpha.3",
3
+ "version": "16.2.0",
4
4
  "description": "A spreadsheet component",
5
5
  "main": "dist/o-spreadsheet.cjs.js",
6
6
  "browser": "dist/o-spreadsheet.iife.js",
7
7
  "module": "dist/o-spreadsheet.es.js",
8
- "types": "dist/o_spreadsheet.d.ts",
8
+ "types": "dist/o-spreadsheet.d.ts",
9
9
  "files": [
10
10
  "dist/*.js",
11
11
  "dist/*.d.ts"
12
12
  ],
13
13
  "scripts": {
14
14
  "serve-static": "live-server --open=demo --watch=build/o_spreadsheet.js,build/o_spreadsheet.xml,demo",
15
- "dev": "npm-run-all build --parallel server serve-static watch:*",
15
+ "dev": "npm-run-all --print-label build --parallel server serve-static watch:*",
16
16
  "server": "node tools/server/main.js",
17
17
  "build:js": "tsc --module es6 --incremental",
18
- "bundle:js": "rollup -c -m dev",
19
- "bundle:xml": "node tools/bundle_xml/main.js",
20
- "build": "npm-run-all build:js bundle:js \"bundle:xml -- --outDir build\"",
18
+ "build:bundleJs": "rollup -c -m --configDev",
19
+ "build:bundleXml": "node tools/bundle_xml/main.js",
20
+ "build": "npm-run-all build:js build:bundleJs \"build:bundleXml -- --outDir build\"",
21
21
  "doc": "typedoc",
22
22
  "precommit": "npm run prettier && npm run doc",
23
23
  "test": "jest",
24
24
  "test:watch": "jest --watch",
25
25
  "prettier": "prettier . --write",
26
26
  "check-formatting": "prettier . --check",
27
- "dist": "tsc --module es6 --declaration --declarationDir dist/types && rollup -c && npm run bundle:xml -- --outDir dist",
27
+ "dist": "tsc --module es6 --declaration --declarationDir dist/types && rollup -c && npm run build:bundleXml -- --outDir dist",
28
28
  "prepare": "husky install",
29
- "watch:bundle": "npm run bundle:js -- --watch",
29
+ "watch:bundle": "npm run build:bundleJs -- --watch",
30
30
  "watch:ts": "npm run build:js -- --watch",
31
31
  "watch:xml": "node tools/bundle_xml/watch_xml_templates.js",
32
32
  "unzipXlsx": "node tools/bundle_xlsx/unzip_xlsx_demo.js",
@@ -54,6 +54,7 @@
54
54
  "devDependencies": {
55
55
  "@prettier/plugin-xml": "^2.0.1",
56
56
  "@rollup/plugin-node-resolve": "^11.0.1",
57
+ "@rollup/plugin-terser": "^0.2.0",
57
58
  "@types/chart.js": "2.9.3",
58
59
  "@types/jest": "^27.0.1",
59
60
  "@types/node": "^13.13.23",
@@ -75,6 +76,7 @@
75
76
  "jszip": "^3.6.0",
76
77
  "lint-staged": "^12.1.2",
77
78
  "live-server": "^1.2.1",
79
+ "minimist": "^1.2.8",
78
80
  "mockdate": "^3.0.2",
79
81
  "node-watch": "^0.7.3",
80
82
  "npm-run-all": "^4.1.5",
@@ -82,7 +84,6 @@
82
84
  "prettier-plugin-organize-imports": "^3.1.1",
83
85
  "rollup": "^2.38.5",
84
86
  "rollup-plugin-dts": "^4.2.0",
85
- "@rollup/plugin-terser": "^0.2.0",
86
87
  "rollup-plugin-typescript2": "^0.34.1",
87
88
  "ts-jest": "^27.0.5",
88
89
  "typedoc": "0.23.15",
@@ -132,6 +133,6 @@
132
133
  "*": "prettier --write"
133
134
  },
134
135
  "publishConfig": {
135
- "tag": "alpha"
136
+ "tag": "latest"
136
137
  }
137
138
  }
package/readme.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # o-spreadsheet
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/@odoo/o-spreadsheet)](https://www.npmjs.com/package/@odoo/o-spreadsheet)
4
+
3
5
  A standalone spreadsheet for the web, easily integrable and extendable.
4
6
 
5
7
  a.k.a. "[Owly](https://github.com/odoo/owl) Sheet" 🦉
@@ -9,7 +11,7 @@ a.k.a. "[Owly](https://github.com/odoo/owl) Sheet" 🦉
9
11
  - Import/Export of excel file format
10
12
  - and more...
11
13
 
12
- Try it with the [live demo](https://odoo.github.io/o-spreadsheet/)!
14
+ **Try it online** with the [live demo](https://odoo.github.io/o-spreadsheet/)!
13
15
 
14
16
  ![o-spreadsheet screenshot](doc/o-spreadsheet.png "o-spreadsheet demo")
15
17