@openfn/language-fhir-ndr-et 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/README.md +8 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -3,8 +3,6 @@
3
3
  An OpenFn **_adaptor_** for building integration jobs for use with the FHIR API
4
4
  for NDR Ethopia.
5
5
 
6
- **Builds are DISABLED in CI and local development at the moment - see https://github.com/OpenFn/adaptors/issues/776**
7
-
8
6
  ## Documentation
9
7
 
10
8
  This adaptor is largely auto-generated from the spec at
@@ -30,7 +28,14 @@ To generate the adaptor source, run `pnpm build:src`. This will generate the
30
28
  builder functions and typings, but not generate all the other adaptor stuff,
31
29
  like docs and dist.
32
30
 
33
- Run `pnpm build` to generate source AND build the actual adaptor.
31
+ The source is NOT rebuilt in CI or during a general repo build (because a change
32
+ to the remote spec can result in a diff in the source, and a diff in the source
33
+ creates problems all over)
34
+
35
+ The standard `pnpm build` will generate docs and typedefs and stuff, but NOT the
36
+ source.
37
+
38
+ So locally, run `pnpm build:src` to rebuild the adaptor code.
34
39
 
35
40
  The first time the source build runs, a new "spec" file will be downloaded. To
36
41
  force a new download (ie to update the spec) delete `./spec/spec.json`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfn/language-fhir-ndr-et",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "OpenFn fhir adaptor for NDR HIV in Ehtiopia",
5
5
  "type": "module",
6
6
  "exports": {
@@ -52,7 +52,7 @@
52
52
  "types": "types/index.d.ts",
53
53
  "main": "dist/index.cjs",
54
54
  "scripts": {
55
- "_build": "pnpm clean && esno build/build.ts && build-adaptor fhir-ndr-et",
55
+ "build": "pnpm clean build-adaptor fhir-ndr-et",
56
56
  "build:src": "esno build/build.ts",
57
57
  "build:adaptor": "pnpm build-adaptor fhir-ndr-et",
58
58
  "build:schema": "esno build/generate-schema.ts",