-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Breaking change to remove CHT Core 4.6 support and add support for 4.11
- Loading branch information
1 parent
f3c4ee1
commit 74dac6d
Showing
51 changed files
with
134,927 additions
and
177,630 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Run Build | ||
|
||
on: | ||
push: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
defaults: | ||
run: | ||
working-directory: . | ||
|
||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci --legacy-peer-deps | ||
- run: ./build.sh --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
'4.6': require('../dist/cht-core-4-6/cht-core-bundle.dev'), | ||
'4.11': require('../dist/cht-core-4-11/cht-core-bundle.dev'), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module.exports = { | ||
ddocs: require('../../build/cht-core-4-11-ddocs.json'), | ||
RegistrationUtils: require('../../build/cht-core-4-11/shared-libs/registration-utils'), | ||
CalendarInterval: require('../../build/cht-core-4-11/shared-libs/calendar-interval'), | ||
RulesEngineCore: require('../../build/cht-core-4-11/shared-libs/rules-engine'), | ||
ContactTypesUtils: require('../../build/cht-core-4-11/shared-libs/contact-types-utils'), | ||
RulesEmitter: require('../../build/cht-core-4-11/shared-libs/rules-engine/src/rules-emitter'), | ||
nootils: require('../../build/cht-core-4-11/node_modules/cht-nootils'), | ||
Lineage: require('../../build/cht-core-4-11/shared-libs/lineage'), | ||
DataSource: require('../../build/cht-core-4-11/shared-libs/cht-datasource'), | ||
convertFormXmlToXFormModel: require('../../build/cht-core-4-11/api/src/services/generate-xform.js').generate, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const path = require('path'); | ||
|
||
module.exports = { | ||
FORM_STYLESHEET: path.join(__dirname, '../dist/cht-core-4-11/xsl/openrosa2html5form.xsl'), | ||
MODEL_STYLESHEET: path.join(__dirname, '../dist/cht-core-4-11/enketo-transformer/xsl/openrosa2xmlmodel.xsl'), | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
159,316 changes: 68,931 additions & 90,385 deletions
159,316
dist/cht-core-4-6/cht-core-bundle.dev.js → dist/cht-core-4-11/cht-core-bundle.dev.js
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/******/ (() => { // webpackBootstrap | ||
/******/ "use strict"; | ||
/******/ | ||
/******/ | ||
/******/ })() | ||
; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"coreVersion": "4.0.0", | ||
"coreVersion": "4.11.0", | ||
"user": "user_contact_id", | ||
"subject": "patient_id", | ||
|
||
|
Oops, something went wrong.