Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion license-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"**/*.@(editorconfig|md|log|lock|patch|prettierrc|gitignore|eslintignore|stylelintrc|csv|gz|geojson|woff2|woff|xml|yarnrc|yarn-integrity|ttf|map|pdf|snap|dockerignore|jsonc|idea|env|info|key|pub|cjs|sql)",
".husky",
"**/*.ipynb",
"**/.wireit",
".git",
".github/DISCUSSION_TEMPLATE/Installation.yml",
".github/CODEOWNERS",
".idea",
"**/patches",
".secrets",
"deploy_key.enc",
Expand Down
3 changes: 3 additions & 0 deletions packages/commons/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
# production
/build

# development
.wireit

# misc
.DS_Store
.env.local
Expand Down
2 changes: 1 addition & 1 deletion packages/commons/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const baseConfig = require('../../eslint.config.js')
const eventsConfig = require('./eslint.events.config.js')

module.exports = defineConfig([
{ ignores: ['build/**/*', 'eslint*'] },
{ ignores: ['build/**/*', 'eslint*', '.wireit'] },
...baseConfig,
{
languageOptions: {
Expand Down
41 changes: 38 additions & 3 deletions packages/commons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,47 @@
"start": "yarn build:watch",
"test": "yarn test:compilation && jest",
"test:watch": "jest --watch",
"test:compilation": "tsc -b",
"test:compilation": "wireit",
"lint": "eslint -c eslint.config.js --fix --max-warnings=0",
"postinstall": "yarn build",
"build": "yarn tsc -b tsconfig.build.json",
"build:watch": "yarn tsc -b --watch --preserveWatchOutput tsconfig.build.json",
"build": "wireit",
"build:watch": "yarn build --watch",
"build:clean": "rm -rf build"
},
"wireit": {
"build": {
"command": "yarn tsc -b tsconfig.build.json --pretty",
"clean": "if-file-deleted",
"files": [
"src/**/*.ts",
"!src/**/*.test.ts",
"tsconfig-esm.json",
"tsconfig-commonjs.json",
"tsconfig.build.json"
],
"output": [
"build/dist/common/**",
"build/dist/tsconfig-commonjs.tsbuildinfo",
"build/dist/esm/**",
"build/dist/tsconfig-esm.tsbuildinfo"
]
},
"test:compilation": {
"command": "yarn tsc -b --pretty",
"clean": "if-file-deleted",
"files": [
"src/**/*.test.ts",
"tsconfig-commonjs.json",
"tsconfig.json"
],
"output": [
"build/dist/common/**",
"build/dist/tsconfig-commonjs.tsbuildinfo",
"build/dist/tests/**",
"build/dist/tsconfig-tests.tsbuildinfo"
]
}
},
"private": true,
"dependencies": {
"@types/fhir": "^0.0.37",
Expand All @@ -51,6 +85,7 @@
"pkg-up": "^3.1.0",
"typescript": "5.6.3",
"uuid": "^9.0.0",
"wireit": "^0.14.12",
"zod": "^3.23.8",
"zod-openapi": "^4.2.4"
},
Expand Down
61 changes: 58 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10221,14 +10221,23 @@
dependencies:
"@types/react" "*"

"@types/react@*", "@types/react@16 || 17 || 18", "@types/[email protected]", "@types/react@>=16", "@types/react@^16":
"@types/react@*", "@types/react@16 || 17 || 18", "@types/[email protected]", "@types/react@>=16":
version "18.3.1"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.1.tgz#fed43985caa834a2084d002e4771e15dfcbdbe8e"
integrity sha512-V0kuGBX3+prX+DQ/7r2qsv1NsdfnCLnTgnRJ1pYnxykBhGMz+qj+box5lq7XsO5mtZsBqpjwwTu/7wszPfMBcw==
dependencies:
"@types/prop-types" "*"
csstype "^3.0.2"

"@types/react@^16":
version "16.14.66"
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.14.66.tgz#38fb6d7630756c78b896413499bf2fd0f8c7cc0a"
integrity sha512-KPilYP4+25N2ki7vrB4adSR2ucAj95xJcGfKC09bsxcHT+QtB//K7i1FenPnbkLA0Xt9pRi1/RXC1wxFvL9Wtw==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "^0.16"
csstype "^3.0.2"

"@types/readdir-glob@*":
version "1.1.3"
resolved "https://registry.npmjs.org/@types/readdir-glob/-/readdir-glob-1.1.3.tgz"
Expand Down Expand Up @@ -10290,6 +10299,11 @@
dependencies:
htmlparser2 "^8.0.0"

"@types/scheduler@^0.16":
version "0.16.8"
resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.8.tgz#ce5ace04cfeabe7ef87c0091e50752e36707deff"
integrity sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==

"@types/semver@^7.3.4":
version "7.5.8"
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.8.tgz#8268a8c57a3e4abd25c165ecd36237db7948a55e"
Expand Down Expand Up @@ -12247,6 +12261,11 @@ balanced-match@^2.0.0:
resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz"
integrity sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==

balanced-match@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-3.0.1.tgz#e854b098724b15076384266497392a271f4a26a0"
integrity sha512-vjtV3hiLqYDNRoiAv0zC4QaGAMPomEoq83PRmYIofPswwZurCeWR5LByXm7SyoL0Zh5+2z0+HC7jG8gSZJUh0w==

barcode-detector@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/barcode-detector/-/barcode-detector-2.3.1.tgz#91d0d4e3b913d87f94bae5d024b6b9b5cedc420c"
Expand Down Expand Up @@ -12471,6 +12490,13 @@ brace-expansion@^2.0.1:
dependencies:
balanced-match "^1.0.0"

brace-expansion@^4.0.0:
version "4.0.1"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-4.0.1.tgz#3387e13eaa2992025d05ea47308f77e4a8dedd1e"
integrity sha512-YClrbvTCXGe70pU2JiEiPLYXO9gQkyxYeKpJIQHVS/gOs6EWMQP2RYBwjFLNT322Ji8TOC3IMPfsYCedNpzKfA==
dependencies:
balanced-match "^3.0.0"

braces@^3.0.2, braces@~3.0.2:
version "3.0.2"
resolved "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz"
Expand Down Expand Up @@ -16917,6 +16943,17 @@ fast-glob@^3.0.3, fast-glob@^3.2.12, fast-glob@^3.2.9:
merge2 "^1.3.0"
micromatch "^4.0.4"

fast-glob@^3.2.11:
version "3.3.3"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.3.tgz#d06d585ce8dba90a16b0505c543c3ccfb3aeb818"
integrity sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==
dependencies:
"@nodelib/fs.stat" "^2.0.2"
"@nodelib/fs.walk" "^1.2.3"
glob-parent "^5.1.2"
merge2 "^1.3.0"
micromatch "^4.0.8"

fast-glob@^3.3.2:
version "3.3.2"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129"
Expand Down Expand Up @@ -16984,7 +17021,14 @@ [email protected], fast-url-parser@^1.1.3:
dependencies:
punycode "^1.3.2"

[email protected], [email protected], fast-xml-parser@^4.1.3, fast-xml-parser@^4.2.2:
[email protected]:
version "4.2.5"
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.2.5.tgz#a6747a09296a6cb34f2ae634019bf1738f3b421f"
integrity sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==
dependencies:
strnum "^1.0.5"

fast-xml-parser@^4.1.3, fast-xml-parser@^4.2.2:
version "4.4.1"
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz#86dbf3f18edf8739326447bcaac31b4ae7f6514f"
integrity sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==
Expand Down Expand Up @@ -20559,7 +20603,7 @@ [email protected]:
resolved "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz"
integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==

jsonc-parser@^3.2.0:
jsonc-parser@^3.0.0, jsonc-parser@^3.2.0:
version "3.3.1"
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.3.1.tgz#f2a524b4f7fd11e3d791e559977ad60b98b798b4"
integrity sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==
Expand Down Expand Up @@ -29571,6 +29615,17 @@ winston@^3.0.0:
triple-beam "^1.3.0"
winston-transport "^4.7.0"

wireit@^0.14.12:
version "0.14.12"
resolved "https://registry.yarnpkg.com/wireit/-/wireit-0.14.12.tgz#c35788b4be4a796a8d05d204ec7d3f5c4b355d71"
integrity sha512-gNSd+nZmMo6cuICezYXRIayu6TSOeCSCDzjSF0q6g8FKDsRbdqrONrSZYzdk/uBISmRcv4vZtsno6GyGvdXwGA==
dependencies:
brace-expansion "^4.0.0"
chokidar "^3.5.3"
fast-glob "^3.2.11"
jsonc-parser "^3.0.0"
proper-lockfile "^4.1.2"

word-wrap@^1.2.5, word-wrap@~1.2.3:
version "1.2.5"
resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34"
Expand Down
Loading