@odoo/o-spreadsheet 14.0.2 → 15.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "14.0.2",
3
+ "version": "15.2.0",
4
4
  "description": "A spreadsheet component",
5
5
  "main": "dist/o-spreadsheet.cjs.js",
6
6
  "browser": "dist/o-spreadsheet.iife.js",
@@ -11,11 +11,14 @@
11
11
  "dist/*.d.ts"
12
12
  ],
13
13
  "scripts": {
14
- "serve": "live-server --open=demo",
15
- "dev": "npm-run-all build --parallel serve \"build:* -- --watch\"",
14
+ "serve": "live-server --open=demo --watch=dist,demo",
15
+ "dev": "npm-run-all build --parallel server serve \"build:* -- --watch\"",
16
+ "server": "node tools/server/main.js",
16
17
  "build:js": "tsc --module es6 --incremental",
17
18
  "build:bundle": "rollup -c -m dev",
18
19
  "build": "npm run build:js && npm run build:bundle",
20
+ "doc": "typedoc",
21
+ "precommit": "npm run prettier && npm run doc",
19
22
  "test": "jest",
20
23
  "test:watch": "jest --watch",
21
24
  "prettier": "prettier {src/*.ts,src/**/*.ts,tests/*.ts,tests/**/*.ts,doc/*.md,demo/*.js} --write",
@@ -43,34 +46,45 @@
43
46
  },
44
47
  "homepage": "https://github.com/odoo/o-spreadsheet#readme",
45
48
  "devDependencies": {
46
- "@rollup/plugin-terser": "^0.2.0",
47
- "@types/chart.js": "^2.9.24",
49
+ "@rollup/plugin-node-resolve": "^11.0.1",
50
+ "@types/chart.js": "2.9.3",
48
51
  "@types/jest": "^27.0.1",
49
- "@types/node": "^13.11.1",
52
+ "@types/node": "^13.13.23",
50
53
  "babel-eslint": "^10.1.0",
54
+ "body-parser": "^1.19.0",
55
+ "cors": "^2.8.5",
51
56
  "eslint": "^6.8.0",
52
- "git-rev-sync": "^2.0.0",
57
+ "express": "^4.17.1",
58
+ "express-ws": "^4.0.0",
59
+ "file-saver": "^2.0.5",
60
+ "fs": "^0.0.1-security",
61
+ "git-rev-sync": "^2.1.0",
53
62
  "husky": "^7.0.4",
54
63
  "jest": "^27.2.0",
55
64
  "jest-environment-jsdom": "^27.2.0",
65
+ "jszip": "^3.6.0",
56
66
  "lint-staged": "^12.1.2",
57
67
  "live-server": "^1.2.1",
58
68
  "mockdate": "^3.0.2",
59
69
  "npm-run-all": "^4.1.5",
60
70
  "prettier": "2.3.1",
71
+ "prettier-plugin-organize-imports": "^1.1.1",
61
72
  "rollup": "^2.38.5",
62
73
  "rollup-plugin-dts": "^4.2.0",
74
+ "@rollup/plugin-terser": "^0.2.0",
63
75
  "rollup-plugin-typescript2": "^0.34.1",
64
76
  "ts-jest": "^27.0.5",
65
- "typescript": "^4.4.3"
77
+ "typedoc": "0.22.5",
78
+ "typedoc-plugin-markdown": "3.11.1",
79
+ "typescript": "^4.4.3",
80
+ "xml-formatter": "^2.4.0"
66
81
  },
67
82
  "prettier": {
68
83
  "printWidth": 100
69
84
  },
70
85
  "dependencies": {
71
- "@actions/core": "^1.10.0",
72
- "@actions/github": "^5.1.1",
73
- "@odoo/owl": "^1.4.10"
86
+ "@odoo/owl": "^1.4.10",
87
+ "bootstrap": "^4.6.0"
74
88
  },
75
89
  "jest": {
76
90
  "roots": [
@@ -90,7 +104,15 @@
90
104
  "jsx",
91
105
  "json",
92
106
  "node"
93
- ]
107
+ ],
108
+ "setupFilesAfterEnv": [
109
+ "<rootDir>/tests/setup/jest.setup.ts"
110
+ ],
111
+ "globals": {
112
+ "ts-jest": {
113
+ "tsconfig": "tsconfig.jest.json"
114
+ }
115
+ }
94
116
  },
95
117
  "lint-staged": {
96
118
  "{src/*.ts,src/**/*.ts,tests/*.ts,tests/**/*.ts,doc/*.md,demo/*.js}": "prettier --write"
package/readme.md CHANGED
@@ -37,13 +37,3 @@ Most of the code is contained in the following four modules:
37
37
  ## Documentation
38
38
 
39
39
  See [documentation](doc/readme.md).
40
-
41
- ## Workflow
42
-
43
- The repository relies on Github Workflows to automate the creation of releases
44
- as well as publishing the package on NPM.
45
-
46
- # test the workflow
47
- The workflow can be run locally with the help of https://github.com/nektos/act
48
- Bear in mind that it is not a full sandbox, you can run actual commands (like
49
- npm publish). Make sure you adapt said commands to dry runs.