@openmrs/esm-fast-data-entry-app 1.5.1-pre.851 → 1.5.1-pre.856

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/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":">=2.2.0"},"pages":[{"component":"root","routeRegex":"forms","online":true,"offline":true}],"extensions":[{"name":"forms-app-link","slot":"app-menu-slot","component":"formsAppMenuLink","online":true,"offline":true}],"version":"1.5.1-pre.851"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":">=2.2.0"},"pages":[{"component":"root","routeRegex":"forms","online":true,"offline":true}],"extensions":[{"name":"forms-app-link","slot":"app-menu-slot","component":"formsAppMenuLink","online":true,"offline":true}],"version":"1.5.1-pre.856"}
@@ -24,11 +24,16 @@ RUN apk update && \
24
24
  RUN rm -rf /usr/share/nginx/html/*
25
25
 
26
26
  COPY --from=frontend /etc/nginx/nginx.conf /etc/nginx/nginx.conf
27
- # this assumes that NOTHING in the framework is in a subdirectory
28
- COPY --from=frontend /usr/share/nginx/html/* /usr/share/nginx/html/
27
+ COPY --from=frontend /usr/share/nginx/html/ /usr/share/nginx/html/
29
28
  COPY --from=frontend /usr/local/bin/startup.sh /usr/local/bin/startup.sh
30
29
  RUN chmod +x /usr/local/bin/startup.sh
31
30
 
31
+ # remove the nightly image's precompressed importmap and routes registry;
32
+ # nginx serves .br/.gz variants first, and these would shadow the freshly
33
+ # assembled plain files copied in below
34
+ RUN rm -f /usr/share/nginx/html/importmap.json.br /usr/share/nginx/html/importmap.json.gz \
35
+ /usr/share/nginx/html/routes.registry.json.br /usr/share/nginx/html/routes.registry.json.gz
36
+
32
37
  COPY --from=dev /app/spa/ /usr/share/nginx/html/
33
38
 
34
39
  CMD ["/usr/local/bin/startup.sh"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-fast-data-entry-app",
3
- "version": "1.5.1-pre.851",
3
+ "version": "1.5.1-pre.856",
4
4
  "license": "MPL-2.0",
5
5
  "description": "O3 frontend module for fast data entry using the OpenMRS Angular Form Engine",
6
6
  "browser": "dist/openmrs-esm-fast-data-entry-app.js",