|
10 | 10 | ], |
11 | 11 | "dependencies": { |
12 | 12 | "@dhis2-ui/calendar": "^10.7.6", |
13 | | - "@dhis2/rules-engine-javascript": "105.1.0", |
14 | 13 | "@dhis2/app-runtime": "^3.14.5", |
15 | 14 | "@dhis2/d2-i18n": "^1.1.0", |
16 | 15 | "@dhis2/d2-ui-rich-text": "^7.4.0", |
17 | 16 | "@dhis2/rule-engine": "^3.3.10", |
| 17 | + "@dhis2/rules-engine-javascript": "105.0.1", |
18 | 18 | "@dhis2/ui": "^10.9.0", |
19 | 19 | "@emotion/css": "^11.13.5", |
20 | 20 | "@emotion/react": "^11.14.0", |
|
64 | 64 | }, |
65 | 65 | "scripts": { |
66 | 66 | "start": "yarn verifyCacheVersion && concurrently --kill-others \"yarn workspaces run build:watch\" \"d2-app-scripts start\"", |
67 | | - "start:forCypress": "yarn workspaces run build && node scripts/startAppForCypress.js", |
| 67 | + "start:prod": "yarn build:standalone && serve -s build/app", |
| 68 | + "start:forCypress": "yarn build:standalone && node scripts/startAppForCypress.js", |
68 | 69 | "build": "yarn verifyCacheVersion && yarn workspaces run build && GENERATE_SOURCEMAP=false d2-app-scripts build && cp ./package.json ./build/app/package.json", |
69 | | - "build:standalone": "yarn workspaces run build && GENERATE_SOURCEMAP=false d2-app-scripts build --standalone", |
70 | | - "serve": "npx serve -s build/app", |
| 70 | + "build:standalone": "yarn verifyCacheVersion && yarn workspaces run build && GENERATE_SOURCEMAP=false d2-app-scripts build --standalone", |
71 | 71 | "test": "yarn workspaces run build && d2-app-scripts test", |
72 | 72 | "test:debug": "yarn workspaces run build && react-scripts --inspect-brk test --runInBand", |
73 | 73 | "jsdoc": "NODE_ENV=development jsdoc -c jsdoc-conf.json", |
74 | 74 | "linter:check": "yarn workspaces run linter:check && yarn workspaces run build && eslint -c .eslintrc . --quiet", |
75 | 75 | "tsc:check": "./node_modules/.bin/tsc --noEmit && yarn workspaces run tsc:check", |
76 | 76 | "cy:open": "export NODE_OPTIONS=--openssl-legacy-provider && concurrently --kill-others \"yarn start:forCypress\" \"wait-on 'http-get://127.0.0.1:3000' && cypress open\"", |
77 | 77 | "cy:run": "export NODE_OPTIONS=--openssl-legacy-provider && concurrently --kill-others \"yarn start:forCypress\" \"wait-on 'http-get://127.0.0.1:3000' && cypress run\"", |
78 | | - "cy:open:fast": "export NODE_OPTIONS=--openssl-legacy-provider && yarn build:standalone && concurrently --kill-others \"yarn serve\" \"wait-on 'http-get://127.0.0.1:3000' && cypress open\"", |
79 | | - "cy:run:fast": "export NODE_OPTIONS=--openssl-legacy-provider && yarn build:standalone && concurrently --kill-others \"yarn serve\" \"wait-on 'http-get://127.0.0.1:3000' && cypress run\"", |
80 | 78 | "verifyCacheVersion": "node scripts/verifyCacheVersion.js", |
81 | 79 | "postinstall": "husky install && node scripts/createSymlinkToInternalPackages.mjs", |
82 | 80 | "i18n:add": "d2-app-scripts i18n extract && git add ./i18n/", |
|
128 | 126 | "jsdoc-babel": "^0.5.0", |
129 | 127 | "jsdoc-export-default-interop": "^0.3.1", |
130 | 128 | "redux-devtools-extension": "^2.13.9", |
| 129 | + "serve": "^14.2.5", |
131 | 130 | "typescript": "^5.8.2", |
132 | 131 | "wait-on": "^8.0.1" |
133 | 132 | }, |
|
0 commit comments