Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…m-core into offline/offline-ready
  • Loading branch information
icrc-jofrancisco committed Dec 18, 2023
2 parents cd6c8ae + 7518b3e commit db458fb
Show file tree
Hide file tree
Showing 563 changed files with 8,733 additions and 13,361 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": ["ts-react-important-stuff", "plugin:prettier/recommended"],
"extends": ["ts-react-important-stuff"],
"parser": "@typescript-eslint/parser",
"ignorePatterns": ["**/*.test.tsx"],
"rules": {
Expand Down
13 changes: 8 additions & 5 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
## Requirements
- [ ] This PR has a title that briefly describes the work done including the ticket number. If there is a ticket, make sure your PR title includes a [conventional commit](https://o3-dev.docs.openmrs.org/#/getting_started/contributing?id=your-pr-title-should-indicate-the-type-of-change-it-is) label. See existing PR titles for inspiration.
# Requirements

#### For changes to apps
- [ ] My work conforms to the [**OpenMRS 3.0 Styleguide**](https://om.rs/styleguide) and **design documentation**.
- [ ] This PR has a title that briefly describes the work done including the ticket number. Ensure your PR title includes a [conventional commit](https://o3-docs.openmrs.org/docs/frontend-modules/contributing#contributing-guidelines) label (such as `feat`, `fix`, or `chore`, among others). See existing PR titles for inspiration.

## For changes to apps

- [ ] My work conforms to the [**O3 Styleguide**](https://om.rs/styleguide) and [**design documentation**](https://om.rs/o3ui).

## If applicable

#### If applicable
- [ ] My work includes tests or is validated by existing tests.
- [ ] I have updated the [esm-framework mock](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-framework/mock.tsx) to reflect any API changes I have made.

Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
set -e # die on error

yarn turbo extract-translations
yarn pretty-quick --staged
yarn prettier && npx lint-staged
yarn turbo document --since main
670 changes: 335 additions & 335 deletions .yarn/releases/yarn-4.0.1.cjs → .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.0.1.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@ yarn link path/to/openmrs-esm-core/packages/framework/esm-api
```

This satisfies the build tooling, but we must do one more step to get the frontend
to load these dependencies at runtime
(see docs on [Runtime Dependencies](https://o3-dev.docs.openmrs.org/#/main/deps)).
to load these dependencies at runtime.

Here, there are two options:

Expand All @@ -173,13 +172,8 @@ dev server, you will need to link the tooling as well.
In packages/shell/esm-app-shell, run `yarn build:development --watch` to ensure that the built app shell is updated with your changes and available to the patient chart.
Then run your patient chart dev server as usual, with `yarn start`.

If you're not able to get this working, try the

#### Method 2: Using import map overrides

Read the [dev documentation](https://o3-dev.docs.openmrs.org/#/getting_started/setup?id=import-map-overrides)
about import map overrides if you have not already.

In `esm-core`, start the app shell with `yarn run:shell`. Then, in the patient chart repository, `cd` into whatever packages you are working on and run `yarn serve` from there. Then use the import map override tool in the browser to tell the frontend to load your local patient chart packages.

#### Once it's working
Expand Down
Empty file removed docs/.nojekyll
Empty file.
1 change: 0 additions & 1 deletion docs/CNAME

This file was deleted.

95 changes: 0 additions & 95 deletions docs/README.md

This file was deleted.

36 changes: 0 additions & 36 deletions docs/_sidebar.md

This file was deleted.

113 changes: 0 additions & 113 deletions docs/getting_started/contributing.md

This file was deleted.

50 changes: 0 additions & 50 deletions docs/getting_started/prerequisites.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/getting_started/release_and_deployment.md

This file was deleted.

Loading

0 comments on commit db458fb

Please sign in to comment.