Skip to content

Commit a95de0c

Browse files
Merge pull request #45 from HealthIntersections/2026-02-gg-publising-release
2026 02 gg publising release
2 parents 502f9a6 + 7d4cb1f commit a95de0c

14 files changed

Lines changed: 45 additions & 304 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
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

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ tests/library/.last-integration-test-run
2626

2727
package-cache/
2828

29-
passwords.ini
29+
data/passwords.ini
3030

3131
test-cache/
3232

3333
tests/vs/.vsac-last-run
3434

3535
data/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

4141
data/bin/validator_cli.jar.version
4242

.npmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,21 @@ nodemon.json
1010
# Test files
1111
test/
1212
tests/
13+
bin/
1314
__tests__/
1415
*.test.js
1516
*.spec.js
1617
test-results/
1718
coverage/
19+
tx/fixtures/
1820

1921
# Data and runtime files
2022
data/
2123
tx/data/
2224
logs/
2325
*.log
2426
*.sqlite
27+
passwords.ini
2528

2629
# Build artifacts
2730
node_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

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to the Health Intersections Node Server will be documented i
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and 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

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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

library/folder-setup.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {
@@ -105,7 +105,7 @@
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": {

registry/readme.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)