@odoo/owl 3.0.0-alpha.26 → 3.0.0-alpha.29
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 +4 -37
- package/dist/owl.cjs.js +6698 -6657
- package/dist/owl.es.js +6664 -6602
- package/dist/owl.iife.js +6874 -6835
- package/dist/owl.iife.min.js +27 -1
- package/dist/types/owl.d.ts +682 -624
- package/package.json +11 -95
- package/dist/compile_templates.mjs +0 -2474
- package/dist/owl-devtools.zip +0 -0
- package/dist/types/common/owl_error.d.ts +0 -3
- package/dist/types/common/utils.d.ts +0 -8
- package/dist/types/compiler/code_generator.d.ts +0 -134
- package/dist/types/compiler/index.d.ts +0 -13
- package/dist/types/compiler/inline_expressions.d.ts +0 -35
- package/dist/types/compiler/parser.d.ts +0 -170
- package/dist/types/compiler/standalone/index.d.ts +0 -2
- package/dist/types/compiler/standalone/setup_jsdom.d.ts +0 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/runtime/app.d.ts +0 -53
- package/dist/types/runtime/blockdom/attributes.d.ts +0 -8
- package/dist/types/runtime/blockdom/block_compiler.d.ts +0 -20
- package/dist/types/runtime/blockdom/config.d.ts +0 -8
- package/dist/types/runtime/blockdom/event_catcher.d.ts +0 -7
- package/dist/types/runtime/blockdom/events.d.ts +0 -8
- package/dist/types/runtime/blockdom/html.d.ts +0 -17
- package/dist/types/runtime/blockdom/index.d.ts +0 -26
- package/dist/types/runtime/blockdom/list.d.ts +0 -18
- package/dist/types/runtime/blockdom/multi.d.ts +0 -17
- package/dist/types/runtime/blockdom/text.d.ts +0 -26
- package/dist/types/runtime/blockdom/toggler.d.ts +0 -17
- package/dist/types/runtime/component.d.ts +0 -17
- package/dist/types/runtime/component_node.d.ts +0 -57
- package/dist/types/runtime/context.d.ts +0 -36
- package/dist/types/runtime/event_handling.d.ts +0 -1
- package/dist/types/runtime/hooks.d.ts +0 -32
- package/dist/types/runtime/index.d.ts +0 -46
- package/dist/types/runtime/lifecycle_hooks.d.ts +0 -10
- package/dist/types/runtime/plugin_hooks.d.ts +0 -6
- package/dist/types/runtime/plugin_manager.d.ts +0 -36
- package/dist/types/runtime/props.d.ts +0 -21
- package/dist/types/runtime/reactivity/computations.d.ts +0 -34
- package/dist/types/runtime/reactivity/computed.d.ts +0 -6
- package/dist/types/runtime/reactivity/effect.d.ts +0 -1
- package/dist/types/runtime/reactivity/proxy.d.ts +0 -47
- package/dist/types/runtime/reactivity/signal.d.ts +0 -31
- package/dist/types/runtime/registry.d.ts +0 -24
- package/dist/types/runtime/rendering/error_handling.d.ts +0 -13
- package/dist/types/runtime/rendering/fibers.d.ts +0 -36
- package/dist/types/runtime/rendering/scheduler.d.ts +0 -20
- package/dist/types/runtime/rendering/template_helpers.d.ts +0 -51
- package/dist/types/runtime/resource.d.ts +0 -18
- package/dist/types/runtime/status.d.ts +0 -11
- package/dist/types/runtime/template_set.d.ts +0 -36
- package/dist/types/runtime/types.d.ts +0 -77
- package/dist/types/runtime/utils.d.ts +0 -25
- package/dist/types/runtime/validation.d.ts +0 -19
- package/dist/types/version.d.ts +0 -1
- package/tools/compile_owl_templates.mjs +0 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odoo/owl",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.29",
|
|
4
4
|
"description": "Odoo Web Library (OWL)",
|
|
5
5
|
"main": "dist/owl.cjs.js",
|
|
6
6
|
"module": "dist/owl.es.js",
|
|
@@ -23,31 +23,14 @@
|
|
|
23
23
|
"node": ">=20.0.0"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
|
-
"build:bundle": "
|
|
27
|
-
"build:runtime": "rollup -c --failAfterWarnings runtime",
|
|
28
|
-
"build:compiler": "rollup -c --failAfterWarnings compiler",
|
|
26
|
+
"build:bundle": "node build.mjs",
|
|
29
27
|
"build": "npm run build:bundle",
|
|
30
|
-
"build:
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --watch --testTimeout=5000000",
|
|
37
|
-
"test:watch": "jest --watch",
|
|
38
|
-
"playground:serve": "python3 tools/playground_server.py || python tools/playground_server.py",
|
|
39
|
-
"playground": "npm run build && npm run playground:serve",
|
|
40
|
-
"preplayground:watch": "npm run build",
|
|
41
|
-
"playground:watch": "npm-run-all --parallel playground:serve \"build:* -- --watch\"",
|
|
42
|
-
"prettier": "prettier {src/*.ts,src/**/*.ts,tests/*.ts,tests/**/*.ts,doc/*.md,doc/**/*.md,tools/devtools/**/*.js} --write",
|
|
43
|
-
"prettier-fast": "git diff-tree --no-commit-id --name-only -r HEAD --diff-filter=d | xargs prettier --write",
|
|
44
|
-
"check-formatting": "prettier {src/*.ts,src/**/*.ts,tests/*.ts,tests/**/*.ts,doc/*.md,doc/**/*.md,tools/devtools/**/*.js} --check",
|
|
45
|
-
"lint": "eslint src/**/*.ts tests/**/*.ts",
|
|
46
|
-
"release": "node tools/release.cjs",
|
|
47
|
-
"compile_templates": "node tools/compile_owl_templates.mjs"
|
|
48
|
-
},
|
|
49
|
-
"bin": {
|
|
50
|
-
"compile_owl_templates": "tools/compile_owl_templates.mjs"
|
|
28
|
+
"build:types": "node build.mjs types",
|
|
29
|
+
"test": "vitest run",
|
|
30
|
+
"test:watch": "vitest",
|
|
31
|
+
"test:types": "tsc --project tsconfig.tests.json",
|
|
32
|
+
"prepack": "cp ../../README.md ../../LICENSE .",
|
|
33
|
+
"postpack": "rm -f README.md LICENSE"
|
|
51
34
|
},
|
|
52
35
|
"repository": {
|
|
53
36
|
"type": "git",
|
|
@@ -60,76 +43,9 @@
|
|
|
60
43
|
},
|
|
61
44
|
"homepage": "https://github.com/odoo/owl#readme",
|
|
62
45
|
"devDependencies": {
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"@codemirror/lang-javascript": "^6.2.5",
|
|
67
|
-
"@codemirror/lang-markdown": "^6.5.0",
|
|
68
|
-
"@codemirror/lang-xml": "^6.1.0",
|
|
69
|
-
"@codemirror/language": "^6.12.2",
|
|
70
|
-
"@codemirror/state": "^6.6.0",
|
|
71
|
-
"@codemirror/theme-one-dark": "^6.1.3",
|
|
72
|
-
"@codemirror/view": "^6.40.0",
|
|
73
|
-
"@emmetio/codemirror6-plugin": "^0.4.0",
|
|
74
|
-
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
75
|
-
"@rollup/plugin-terser": "^0.4.4",
|
|
76
|
-
"@types/jest": "^30.0.0",
|
|
77
|
-
"@types/jsdom": "^21.1.7",
|
|
78
|
-
"@types/node": "^25.2.0",
|
|
79
|
-
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
80
|
-
"@typescript-eslint/parser": "^8.54.0",
|
|
81
|
-
"chalk": "^3.0.0",
|
|
82
|
-
"codemirror": "^6.0.2",
|
|
83
|
-
"current-git-branch": "^1.1.0",
|
|
84
|
-
"eslint": "^9.39.2",
|
|
85
|
-
"git-rev-sync": "^3.0.2",
|
|
86
|
-
"github-api": "^3.4.0",
|
|
87
|
-
"globals": "^17.3.0",
|
|
88
|
-
"jest": "^30.2.0",
|
|
89
|
-
"jest-diff": "^27.3.1",
|
|
90
|
-
"jest-environment-jsdom": "^30.2.0",
|
|
91
|
-
"npm-run-all": "^4.1.5",
|
|
92
|
-
"prettier": "^3.8.1",
|
|
93
|
-
"rollup": "^4.57.1",
|
|
94
|
-
"rollup-plugin-copy": "^3.5.0",
|
|
95
|
-
"rollup-plugin-delete": "^3.0.2",
|
|
96
|
-
"rollup-plugin-dts": "^6.3.0",
|
|
97
|
-
"rollup-plugin-execute": "^1.1.1",
|
|
98
|
-
"rollup-plugin-string": "^3.0.0",
|
|
99
|
-
"rollup-plugin-typescript2": "^0.36.0",
|
|
100
|
-
"source-map-support": "^0.5.10",
|
|
101
|
-
"ts-jest": "^29.4.6",
|
|
102
|
-
"typescript": "^5.9.3"
|
|
103
|
-
},
|
|
104
|
-
"jest": {
|
|
105
|
-
"testEnvironment": "jsdom",
|
|
106
|
-
"roots": [
|
|
107
|
-
"<rootDir>/src",
|
|
108
|
-
"<rootDir>/tests"
|
|
109
|
-
],
|
|
110
|
-
"setupFiles": [
|
|
111
|
-
"./tests/mocks/mockEventTarget.js"
|
|
112
|
-
],
|
|
113
|
-
"transform": {
|
|
114
|
-
"^.+\\.ts?$": "ts-jest"
|
|
115
|
-
},
|
|
116
|
-
"verbose": false,
|
|
117
|
-
"testRegex": "(/tests/.*(test|spec))\\.ts?$",
|
|
118
|
-
"moduleFileExtensions": [
|
|
119
|
-
"ts",
|
|
120
|
-
"tsx",
|
|
121
|
-
"js",
|
|
122
|
-
"jsx",
|
|
123
|
-
"json",
|
|
124
|
-
"node"
|
|
125
|
-
]
|
|
126
|
-
},
|
|
127
|
-
"prettier": {
|
|
128
|
-
"printWidth": 100,
|
|
129
|
-
"endOfLine": "auto",
|
|
130
|
-
"trailingComma": "es5"
|
|
131
|
-
},
|
|
132
|
-
"dependencies": {
|
|
46
|
+
"@odoo/owl-compiler": "3.0.0-alpha.29",
|
|
47
|
+
"@odoo/owl-core": "3.0.0-alpha.29",
|
|
48
|
+
"@odoo/owl-runtime": "3.0.0-alpha.29",
|
|
133
49
|
"jsdom": "^25.0.1"
|
|
134
50
|
}
|
|
135
51
|
}
|