@openmrs/esm-report-builder 0.1.1-pre.88 → 0.1.1-pre.89
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","pages":[{"component":"root","route":"report-builder","online":true,"offline":false,"order":1}],"extensions":[{"name":"system-administration-report-builder-card-link","slot":"system-admin-page-card-link-slot","component":"reportBuilderAdminLink","online":true,"offline":false,"privileges":"Task: reportbuilder.report.view"},{"component":"confirmModal","name":"confirm-modal","online":true,"offline":true}],"version":"0.1.1-pre.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","pages":[{"component":"root","route":"report-builder","online":true,"offline":false,"order":1}],"extensions":[{"name":"system-administration-report-builder-card-link","slot":"system-admin-page-card-link-slot","component":"reportBuilderAdminLink","online":true,"offline":false,"privileges":"Task: reportbuilder.report.view"},{"component":"confirmModal","name":"confirm-modal","online":true,"offline":true}],"version":"0.1.1-pre.89"}
|
package/e2e/core/global-setup.ts
CHANGED
|
@@ -13,9 +13,9 @@ async function globalSetup(config: FullConfig) {
|
|
|
13
13
|
const response = await requestContext.post(`${e2eBaseUrl}/ws/rest/v1/session`, {
|
|
14
14
|
headers: {
|
|
15
15
|
Authorization: authHeader,
|
|
16
|
-
'Content-Type': 'application/
|
|
16
|
+
'Content-Type': 'application/json',
|
|
17
17
|
},
|
|
18
|
-
|
|
18
|
+
data: {
|
|
19
19
|
sessionLocation: loginLocation,
|
|
20
20
|
},
|
|
21
21
|
failOnStatusCode: false,
|
|
@@ -10,11 +10,16 @@ RUN corepack enable && yarn install --immutable
|
|
|
10
10
|
|
|
11
11
|
COPY . .
|
|
12
12
|
|
|
13
|
-
# Build
|
|
13
|
+
# Build and pack this module
|
|
14
14
|
RUN yarn build
|
|
15
15
|
RUN yarn pack -o /app/_openmrs_esm_report_builder.tgz
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
|
|
17
|
+
# Assemble the SPA from the manifest's default module set plus this module.
|
|
18
|
+
# Do not run `openmrs build` afterwards: rebuilding the shell here decouples it
|
|
19
|
+
# from the manifest-pinned modules and breaks module federation.
|
|
20
|
+
RUN npm_config_legacy_peer_deps=true npm install -g openmrs@next
|
|
21
|
+
ARG CACHE_BUST
|
|
22
|
+
RUN npm_config_legacy_peer_deps=true openmrs assemble --manifest --mode config --config e2e/support/github/spa-assemble-config.json --target /app/spa
|
|
18
23
|
|
|
19
24
|
FROM openmrs/openmrs-reference-application-3-frontend:nightly
|
|
20
25
|
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"frontendModules": {
|
|
3
|
-
"@openmrs/esm-login-app": "next",
|
|
4
3
|
"@openmrs/esm-primary-navigation-app": "next",
|
|
5
|
-
"@openmrs/esm-home-app": "next",
|
|
6
|
-
"@openmrs/esm-system-admin-app": "next",
|
|
7
4
|
"@openmrs/esm-report-builder": "file:/app/_openmrs_esm_report_builder.tgz"
|
|
8
5
|
}
|
|
9
6
|
}
|