Skip to content

Commit eba5543

Browse files
committed
updates
1 parent 9973afb commit eba5543

11 files changed

Lines changed: 66 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,19 @@ on:
1111
jobs:
1212
test:
1313
runs-on: ubuntu-latest
14-
continue-on-error: true
1514
strategy:
1615
fail-fast: false
1716
matrix:
1817
package:
19-
- your-module-1
20-
- your-module-2
18+
- patients
19+
- medications
20+
- scheduling
21+
- clinical
22+
- lab-orders
23+
- lab-results
24+
- prescriptions
25+
- documents
26+
- us-states
2127

2228
env:
2329
PGHOST: localhost
@@ -82,13 +88,13 @@ jobs:
8288
uses: actions/cache@v4
8389
with:
8490
path: ~/.npm
85-
key: pgpm-${{ env.PGPM_VERSION }}
91+
key: pgpm-${{ runner.os }}-${{ env.PGPM_VERSION }}
8692

8793
- name: Install pgpm CLI globally
8894
run: npm install -g pgpm@${{ env.PGPM_VERSION }}
8995

9096
- name: Build
91-
run: pnpm -r build
97+
run: pnpm -r --if-present build
9298

9399
- name: Seed pg and app_user
94100
run: |

packages/clinical/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "clinical",
2+
"name": "@pgpm-demo/clinical",
33
"version": "0.0.1",
44
"author": "Dan Lynch <pyramation@gmail.com>",
55
"description": "clinical",
@@ -22,6 +22,9 @@
2222
"test:watch": "jest --watchAll"
2323
},
2424
"keywords": [],
25+
"dependencies": {
26+
"@pgpm-demo/scheduling": "workspace:*"
27+
},
2528
"devDependencies": {
2629
"pgsql-test": "^4.7.6",
2730
"makage": "^0.3.0"

packages/documents/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "documents",
2+
"name": "@pgpm-demo/documents",
33
"version": "0.0.1",
44
"author": "Dan Lynch <pyramation@gmail.com>",
55
"description": "documents",
@@ -22,6 +22,9 @@
2222
"test:watch": "jest --watchAll"
2323
},
2424
"keywords": [],
25+
"dependencies": {
26+
"@pgpm-demo/scheduling": "workspace:*"
27+
},
2528
"devDependencies": {
2629
"pgsql-test": "^4.7.6",
2730
"makage": "^0.3.0"

packages/lab-orders/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "lab-orders",
2+
"name": "@pgpm-demo/lab-orders",
33
"version": "0.0.1",
44
"author": "Dan Lynch <pyramation@gmail.com>",
55
"description": "lab-orders",
@@ -22,6 +22,9 @@
2222
"test:watch": "jest --watchAll"
2323
},
2424
"keywords": [],
25+
"dependencies": {
26+
"@pgpm-demo/scheduling": "workspace:*"
27+
},
2528
"devDependencies": {
2629
"pgsql-test": "^4.7.6",
2730
"makage": "^0.3.0"

packages/lab-results/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "lab-results",
2+
"name": "@pgpm-demo/lab-results",
33
"version": "0.0.1",
44
"author": "Dan Lynch <pyramation@gmail.com>",
55
"description": "lab-results",
@@ -22,6 +22,9 @@
2222
"test:watch": "jest --watchAll"
2323
},
2424
"keywords": [],
25+
"dependencies": {
26+
"@pgpm-demo/lab-orders": "workspace:*"
27+
},
2528
"devDependencies": {
2629
"pgsql-test": "^4.7.6",
2730
"makage": "^0.3.0"

packages/medications/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "medications",
2+
"name": "@pgpm-demo/medications",
33
"version": "0.0.1",
44
"author": "Dan Lynch <pyramation@gmail.com>",
55
"description": "medications",

packages/patients/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "patients",
2+
"name": "@pgpm-demo/patients",
33
"version": "0.0.1",
44
"author": "Dan Lynch <pyramation@gmail.com>",
55
"description": "patients",

packages/prescriptions/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "prescriptions",
2+
"name": "@pgpm-demo/prescriptions",
33
"version": "0.0.1",
44
"author": "Dan Lynch <pyramation@gmail.com>",
55
"description": "prescriptions",
@@ -22,6 +22,10 @@
2222
"test:watch": "jest --watchAll"
2323
},
2424
"keywords": [],
25+
"dependencies": {
26+
"@pgpm-demo/medications": "workspace:*",
27+
"@pgpm-demo/scheduling": "workspace:*"
28+
},
2529
"devDependencies": {
2630
"pgsql-test": "^4.7.6",
2731
"makage": "^0.3.0"

packages/scheduling/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "scheduling",
2+
"name": "@pgpm-demo/scheduling",
33
"version": "0.0.1",
44
"author": "Dan Lynch <pyramation@gmail.com>",
55
"description": "scheduling",
@@ -22,6 +22,9 @@
2222
"test:watch": "jest --watchAll"
2323
},
2424
"keywords": [],
25+
"dependencies": {
26+
"@pgpm-demo/patients": "workspace:*"
27+
},
2528
"devDependencies": {
2629
"pgsql-test": "^4.7.6",
2730
"makage": "^0.3.0"

packages/us-states/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "us-states",
2+
"name": "@pgpm-demo/us-states",
33
"version": "0.0.1",
44
"author": "Dan Lynch <pyramation@gmail.com>",
55
"description": "us-states",

0 commit comments

Comments
 (0)