@getodk/web-forms 0.23.1 → 1.0.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,12 +1,12 @@
1
1
  {
2
2
  "name": "@getodk/web-forms",
3
- "version": "0.23.1",
3
+ "version": "1.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "ODK Web Forms",
6
6
  "author": "getodk",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/getodk/web-forms",
9
+ "url": "https://github.com/getodk/central-frontend",
10
10
  "directory": "packages/web-forms"
11
11
  },
12
12
  "bugs": "https://github.com/getodk/web-forms/issues",
@@ -23,16 +23,26 @@
23
23
  "README.md"
24
24
  ],
25
25
  "engines": {
26
- "node": "^20.19.3 || ^22.12.0 || ^24.11.0",
27
- "yarn": "4.11.0"
26
+ "node": "^24.16.0",
27
+ "npm": "11"
28
28
  },
29
29
  "scripts": {
30
- "build": "npm-run-all -nl 'build:*'",
30
+ "build": "npm-run-all -l build:clean build:translations build:demo build:js",
31
31
  "build:clean": "rimraf dist/ dist-demo/",
32
32
  "build:demo": "vite build --mode demo --outDir dist-demo",
33
33
  "build:js": "vite build",
34
+ "build:translations": "node bin/merge-translations.js",
35
+ "translations:pull": "cd ../.. && tx pull -r web_forms.strings -a -f --mode translator",
36
+ "translations:push": "cd ../.. && tx push -r web_forms.strings -s",
34
37
  "dev": "vite",
35
- "dist-demo": "yarn build && yarn vite serve dist-demo --port 5174",
38
+ "dist-demo": "npm run build && vite serve dist-demo --port 5174",
39
+ "feature-matrix": "node bin/feature-matrix/render.js",
40
+ "format:fix": "npm-run-all --print-name format:vue format:prettier",
41
+ "format:lint": "prettier -c \"**/*\" --ignore-unknown --cache",
42
+ "format:prettier": "prettier -w \"**/*\" --ignore-unknown --cache",
43
+ "format:vue": "eslint ./**/*.vue --report-unused-disable-directives --cache --fix",
44
+ "lint": "eslint . --report-unused-disable-directives --cache --max-warnings 0 && npm run format:lint",
45
+ "lint:fix": "eslint . --fix --report-unused-disable-directives --cache --max-warnings 0 && npm run format:fix",
36
46
  "test": "npm-run-all -nl 'test:*'",
37
47
  "test:e2e:functional:all": "playwright test --project=functional-*",
38
48
  "test:e2e:functional:chromium": "playwright test --project=functional-chromium",
@@ -58,39 +68,33 @@
58
68
  "@faker-js/faker": "^10.1.0",
59
69
  "@fontsource/hanken-grotesk": "^5.2.8",
60
70
  "@fontsource/roboto": "^5.2.9",
61
- "@getodk/xforms-engine": "0.21.1",
62
- "@playwright/test": "^1.58.2",
71
+ "@getodk/xforms-engine": "1.0.0",
63
72
  "@primeuix/themes": "1.0.3",
64
73
  "@types/image-blob-reduce": "^4",
65
74
  "@types/ramda": "^0.31.1",
66
- "@vitejs/plugin-vue": "^6.0.4",
67
75
  "@vitejs/plugin-vue-jsx": "^5.1.4",
68
- "@vue/test-utils": "^2.4.6",
69
76
  "jsdom": "^27.2.0",
70
- "npm-run-all2": "^8.0.4",
71
77
  "primeflex": "^4.0.0",
72
78
  "primevue": "4.3.3",
73
79
  "ramda": "^0.32.0",
74
- "rimraf": "^6.1.3",
75
80
  "sass": "^1.94.2",
76
81
  "typescript": "~5.9.3",
77
- "vite": "^7.3.1",
78
82
  "vite-plugin-css-injected-by-js": "^3.5.2",
79
- "vite-plugin-static-copy": "^3.2.0",
80
- "vitest": "^4.0.18",
81
- "vue": "^3.5.29",
82
- "vue-router": "^4.6.3",
83
- "vue-tsc": "^3.1.5"
83
+ "vite-plugin-static-copy": "^3.2.0"
84
84
  },
85
85
  "peerDependencies": {
86
86
  "vue": "^3.5.29"
87
87
  },
88
88
  "dependencies": {
89
+ "@formatjs/intl": "^4.1.4",
89
90
  "@mdi/js": "^7.4.47",
90
91
  "dompurify": "^3.3.0",
91
92
  "image-blob-reduce": "^4.1.0",
93
+ "konva": "^10.2.5",
92
94
  "ol": "^10.7.0",
93
- "vue-draggable-plus": "^0.6.1"
95
+ "primelocale": "^2.3.1",
96
+ "vue-draggable-plus": "^0.6.1",
97
+ "vue-konva": "^3.4.0"
94
98
  },
95
99
  "publishConfig": {
96
100
  "access": "public"