File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9191 needs : test
9292 permissions :
9393 contents : read
94+ id-token : write
9495
9596 steps :
9697 - uses : actions/checkout@v4
@@ -115,7 +116,7 @@ jobs:
115116 run : npm version ${{ steps.get_version.outputs.VERSION }} --no-git-tag-version
116117
117118 - name : Publish to npm
118- run : npm publish --access public
119+ run : npm publish --access public --provenance
119120 env :
120121 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
121122
Original file line number Diff line number Diff line change @@ -26,17 +26,17 @@ tests/library/.last-integration-test-run
2626
2727package-cache /
2828
29- passwords.ini
29+ data / passwords.ini
3030
3131test-cache /
3232
3333tests /vs /.vsac-last-run
3434
3535data /terminology-cache /
3636
37- shl /private-key.pem
37+ data / shl /private-key.pem
3838
39- shl /public-key.pem
39+ data / shl /public-key.pem
4040
4141data /bin /validator_cli.jar.version
4242
Original file line number Diff line number Diff line change @@ -10,18 +10,21 @@ nodemon.json
1010# Test files
1111test /
1212tests /
13+ bin /
1314__tests__ /
1415* .test.js
1516* .spec.js
1617test-results /
1718coverage /
19+ tx /fixtures /
1820
1921# Data and runtime files
2022data /
2123tx /data /
2224logs /
2325* .log
2426* .sqlite
27+ passwords.ini
2528
2629# Build artifacts
2730node_modules /
@@ -31,6 +34,7 @@ node_modules/
3134# IDE and OS files
3235.idea /
3336.vscode /
37+ .eslintignore
3438* .swp
3539* .swo
3640.DS_Store
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ All notable changes to the Health Intersections Node Server will be documented i
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ v0.4.0] - 2026-02-05
9+ ### Changed
10+ - Just testing the release process; some tidy up to testing data
11+
812## [ v0.3.0] - 2026-02-05
913### Added
1014- Add first draft of publishing engine
Original file line number Diff line number Diff line change @@ -230,25 +230,27 @@ GitHub Actions will automatically:
230230 ### Fixed
231231 - Bug fix description
232232```
233+ 2 . Update ` package.json ` to have the same release version
233234
234- 2 . Commit your changes:
235+ 3 . Commit your changes:
235236``` bash
236- git add CHANGELOG.md
237237 git commit -m " Prepare release vX.Y.Z"
238238 git push origin main
239239```
240240
241- 3 . Tag and push the release:
241+ 4 . Tag and push the release:
242242``` bash
243243 git tag vX.Y.Z
244244 git push origin vX.Y.Z
245245```
246246
247- 4 . Monitor the release:
247+ 5 . Monitor the release:
248248 - Check [ GitHub Actions] ( https://github.com/HealthIntersections/fhirsmith/actions ) for the Release workflow
249249 - Verify the [ GitHub Release] ( https://github.com/HealthIntersections/fhirsmith/releases ) was created
250250 - Confirm Docker images are available at [ GHCR] ( https://github.com/HealthIntersections/fhirsmith/pkgs/container/fhirsmith )
251251
252+ 6 . Update ` package.json ` to have the next release version -SNAPSHOT
253+
252254** If a release fails:**
253255- Delete the tag: ` git tag -d vX.Y.Z && git push origin :refs/tags/vX.Y.Z `
254256- Fix the issue
Original file line number Diff line number Diff line change @@ -42,6 +42,12 @@ class FolderSetup {
4242 return filePath ;
4343 }
4444
45+ ensureFolder ( ...relativePath ) {
46+ const dirPath = path . join ( this . dataDir ( ) , ...relativePath ) ;
47+ fs . mkdirSync ( dirPath , { recursive : true } ) ;
48+ return dirPath ;
49+ }
50+
4551 logsDir ( ) {
4652 return this . subDir ( 'logs' ) ;
4753 }
Original file line number Diff line number Diff line change 11{
22 "name" : " fhirsmith" ,
3- "version" : " 0.3.0-SNAPSHOT " ,
3+ "version" : " 0.4.0 " ,
44 "description" : " A Node.js server that provides a collection of tools to serve the FHIR ecosystem" ,
55 "main" : " server.js" ,
66 "engines" : {
105105 "fast-xml-parser" : " ^5.3.4"
106106 },
107107 "bin" : {
108- "tx-import" : " ./tx-import.js" ,
108+ "tx-import" : " ./tx/importers/tx -import.js" ,
109109 "fhirsmith" : " ./server.js"
110110 },
111111 "repository" : {
Original file line number Diff line number Diff line change @@ -195,17 +195,7 @@ npm run test:jest
195195
196196## Data Persistence
197197
198- The crawler can save and load its state:
199-
200- ``` javascript
201- // Save current state
202- const data = crawler .saveData ();
203- fs .writeFileSync (' registry-data.json' , JSON .stringify (data));
204-
205- // Load saved state
206- const savedData = JSON .parse (fs .readFileSync (' registry-data.json' ));
207- crawler .loadData (savedData);
208- ```
198+ The crawler saves and loads its state in [ data] /registry-data.json
209199
210200## Development
211201
You can’t perform that action at this time.
0 commit comments