@medplum/cli 2.1.9 → 2.1.11
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.
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/auth.d.ts +1 -0
- package/dist/types/auth.d.ts.map +1 -0
- package/dist/types/aws/describe.d.ts +2 -1
- package/dist/types/aws/describe.d.ts.map +1 -0
- package/dist/types/aws/index.d.ts +1 -0
- package/dist/types/aws/index.d.ts.map +1 -0
- package/dist/types/aws/init.d.ts +1 -0
- package/dist/types/aws/init.d.ts.map +1 -0
- package/dist/types/aws/list.d.ts +1 -0
- package/dist/types/aws/list.d.ts.map +1 -0
- package/dist/types/aws/update-app.d.ts +3 -2
- package/dist/types/aws/update-app.d.ts.map +1 -0
- package/dist/types/aws/update-bucket-policies.d.ts +3 -2
- package/dist/types/aws/update-bucket-policies.d.ts.map +1 -0
- package/dist/types/aws/update-server.d.ts +2 -1
- package/dist/types/aws/update-server.d.ts.map +1 -0
- package/dist/types/aws/utils.d.ts +6 -5
- package/dist/types/aws/utils.d.ts.map +1 -0
- package/dist/types/bots.d.ts +1 -0
- package/dist/types/bots.d.ts.map +1 -0
- package/dist/types/bulk.d.ts +1 -0
- package/dist/types/bulk.d.ts.map +1 -0
- package/dist/types/hl7.d.ts +1 -0
- package/dist/types/hl7.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/profiles.d.ts +1 -0
- package/dist/types/profiles.d.ts.map +1 -0
- package/dist/types/project.d.ts +1 -0
- package/dist/types/project.d.ts.map +1 -0
- package/dist/types/rest.d.ts +1 -0
- package/dist/types/rest.d.ts.map +1 -0
- package/dist/types/storage.d.ts +1 -0
- package/dist/types/storage.d.ts.map +1 -0
- package/dist/types/test.setup.d.ts +1 -0
- package/dist/types/test.setup.d.ts.map +1 -0
- package/dist/types/util/client.d.ts +1 -0
- package/dist/types/util/client.d.ts.map +1 -0
- package/dist/types/util/command.d.ts +1 -0
- package/dist/types/util/command.d.ts.map +1 -0
- package/dist/types/utils.d.ts +2 -1
- package/dist/types/utils.d.ts.map +1 -0
- package/package.json +26 -26
package/dist/types/auth.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/auth.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,KAAK,6BAAgC,CAAC;AACnD,eAAO,MAAM,MAAM,6BAAiC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The AWS "describe" command prints details about a Medplum CloudFormation stack.
|
|
3
|
-
* @param tag The Medplum stack tag.
|
|
3
|
+
* @param tag - The Medplum stack tag.
|
|
4
4
|
*/
|
|
5
5
|
export declare function describeStacksCommand(tag: string): Promise<void>;
|
|
6
|
+
//# sourceMappingURL=describe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"describe.d.ts","sourceRoot":"","sources":["../../../src/aws/describe.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAsB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAOtE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/aws/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQpC,eAAO,MAAM,GAAG,SAAqE,CAAC"}
|
package/dist/types/aws/init.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../src/aws/init.ts"],"names":[],"mappings":"AAmBA,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC,CA+PtD"}
|
package/dist/types/aws/list.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/aws/list.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,CAWvD"}
|
|
@@ -3,7 +3,8 @@ export interface UpdateAppOptions {
|
|
|
3
3
|
}
|
|
4
4
|
/**
|
|
5
5
|
* The AWS "update-app" command updates the Medplum app in a Medplum CloudFormation stack to the latest version.
|
|
6
|
-
* @param tag The Medplum stack tag.
|
|
7
|
-
* @param options The update options.
|
|
6
|
+
* @param tag - The Medplum stack tag.
|
|
7
|
+
* @param options - The update options.
|
|
8
8
|
*/
|
|
9
9
|
export declare function updateAppCommand(tag: string, options: UpdateAppOptions): Promise<void>;
|
|
10
|
+
//# sourceMappingURL=update-app.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-app.d.ts","sourceRoot":"","sources":["../../../src/aws/update-app.ts"],"names":[],"mappings":"AAWA,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;GAIG;AACH,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAqC5F"}
|
|
@@ -7,8 +7,9 @@ export interface UpdateBucketPoliciesOptions {
|
|
|
7
7
|
*
|
|
8
8
|
* This is necessary for Medplum deployments outside of the us-east-1 region.
|
|
9
9
|
*
|
|
10
|
-
* @param tag The Medplum stack tag.
|
|
11
|
-
* @param options The update options.
|
|
10
|
+
* @param tag - The Medplum stack tag.
|
|
11
|
+
* @param options - The update options.
|
|
12
12
|
*/
|
|
13
13
|
export declare function updateBucketPoliciesCommand(tag: string, options: UpdateBucketPoliciesOptions): Promise<void>;
|
|
14
14
|
export declare function updateBucketPolicy(friendlyName: string, bucketResource: StackResource | undefined, distributionResource: StackResource | undefined, oaiResource: StackResource | undefined, options: UpdateBucketPoliciesOptions): Promise<void>;
|
|
15
|
+
//# sourceMappingURL=update-bucket-policies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-bucket-policies.d.ts","sourceRoot":"","sources":["../../../src/aws/update-bucket-policies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAK/D,MAAM,WAAW,2BAA2B;IAC1C,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAcD;;;;;;;GAOG;AACH,wBAAsB,2BAA2B,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,2BAA2B,GAAG,OAAO,CAAC,IAAI,CAAC,CAwBlH;AAED,wBAAsB,kBAAkB,CACtC,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,aAAa,GAAG,SAAS,EACzC,oBAAoB,EAAE,aAAa,GAAG,SAAS,EAC/C,WAAW,EAAE,aAAa,GAAG,SAAS,EACtC,OAAO,EAAE,2BAA2B,GACnC,OAAO,CAAC,IAAI,CAAC,CA2Cf"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The AWS "update-server" command updates the Medplum server in a Medplum CloudFormation stack.
|
|
3
|
-
* @param tag The Medplum stack tag.
|
|
3
|
+
* @param tag - The Medplum stack tag.
|
|
4
4
|
*/
|
|
5
5
|
export declare function updateServerCommand(tag: string): Promise<void>;
|
|
6
|
+
//# sourceMappingURL=update-server.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-server.d.ts","sourceRoot":"","sources":["../../../src/aws/update-server.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAwBpE"}
|
|
@@ -28,24 +28,24 @@ export declare function getAllStacks(): Promise<(StackSummary & {
|
|
|
28
28
|
})[]>;
|
|
29
29
|
/**
|
|
30
30
|
* Returns Medplum stack details for the given tag.
|
|
31
|
-
* @param tag The Medplum stack tag.
|
|
31
|
+
* @param tag - The Medplum stack tag.
|
|
32
32
|
* @returns The Medplum stack details.
|
|
33
33
|
*/
|
|
34
34
|
export declare function getStackByTag(tag: string): Promise<MedplumStackDetails | undefined>;
|
|
35
35
|
/**
|
|
36
36
|
* Returns Medplum stack details for the given stack name.
|
|
37
|
-
* @param stackName The CloudFormation stack name.
|
|
37
|
+
* @param stackName - The CloudFormation stack name.
|
|
38
38
|
* @returns The Medplum stack details.
|
|
39
39
|
*/
|
|
40
40
|
export declare function getStackDetails(stackName: string): Promise<MedplumStackDetails | undefined>;
|
|
41
41
|
/**
|
|
42
42
|
* Prints the given Medplum stack details to stdout.
|
|
43
|
-
* @param details The Medplum stack details.
|
|
43
|
+
* @param details - The Medplum stack details.
|
|
44
44
|
*/
|
|
45
45
|
export declare function printStackDetails(details: MedplumStackDetails): void;
|
|
46
46
|
/**
|
|
47
47
|
* Parses the ECS service name from the given AWS ECS service resource.
|
|
48
|
-
* @param resource The AWS ECS service resource.
|
|
48
|
+
* @param resource - The AWS ECS service resource.
|
|
49
49
|
* @returns The ECS service name.
|
|
50
50
|
*/
|
|
51
51
|
export declare function getEcsServiceName(resource: StackResource | undefined): string | undefined;
|
|
@@ -55,6 +55,7 @@ export declare function getEcsServiceName(resource: StackResource | undefined):
|
|
|
55
55
|
* In a perfect world, every deploy is clean, and hashed resources should be cached forever.
|
|
56
56
|
* However, we do not recalculate hashes after variable replacements.
|
|
57
57
|
* So if variables change, we need to invalidate the cache.
|
|
58
|
-
* @param distributionId The CloudFront distribution ID.
|
|
58
|
+
* @param distributionId - The CloudFront distribution ID.
|
|
59
59
|
*/
|
|
60
60
|
export declare function createInvalidation(distributionId: string): Promise<void>;
|
|
61
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/aws/utils.ts"],"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B,CAAC,OAAO,EAAE,mBAAmB,GAAG,IAAI,CAapE;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAEzF;AAED;;;;;;;GAOG;AACH,wBAAsB,kBAAkB,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAc9E"}
|
package/dist/types/bots.d.ts
CHANGED
|
@@ -5,3 +5,4 @@ export declare const saveBotDeprecate: Command;
|
|
|
5
5
|
export declare const deployBotDeprecate: Command;
|
|
6
6
|
export declare const createBotDeprecate: Command;
|
|
7
7
|
export declare function botWrapper(medplum: MedplumClient, botName: string, deploy?: boolean): Promise<void>;
|
|
8
|
+
//# sourceMappingURL=bots.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bots.d.ts","sourceRoot":"","sources":["../../src/bots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AASpC,eAAO,MAAM,GAAG,SAGe,CAAC;AAGhC,eAAO,MAAM,gBAAgB,SAAmC,CAAC;AACjE,eAAO,MAAM,kBAAkB,SAAqC,CAAC;AACrE,eAAO,MAAM,kBAAkB,SAAqC,CAAC;AA8BrE,wBAAsB,UAAU,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAUvG"}
|
package/dist/types/bulk.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk.d.ts","sourceRoot":"","sources":["../../src/bulk.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWpC,eAAO,MAAM,IAAI,SAAkF,CAAC"}
|
package/dist/types/hl7.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hl7.d.ts","sourceRoot":"","sources":["../../src/hl7.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkDpC,eAAO,MAAM,GAAG,SAAyD,CAAC;AAE1E,wBAAgB,wBAAwB,IAAI,MAAM,CAOjD"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAYA,wBAAsB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CA2CxD;AAED,wBAAsB,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,CAGzC"}
|
package/dist/types/profiles.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../src/profiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAapC,eAAO,MAAM,OAAO,SAIU,CAAC"}
|
package/dist/types/project.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/project.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAS5C,eAAO,MAAM,OAAO,SAIe,CAAC"}
|
package/dist/types/rest.d.ts
CHANGED
|
@@ -5,3 +5,4 @@ export declare const patch: import("commander").Command;
|
|
|
5
5
|
export declare const post: import("commander").Command;
|
|
6
6
|
export declare const put: import("commander").Command;
|
|
7
7
|
export declare function cleanUrl(medplum: MedplumClient, input: string): string;
|
|
8
|
+
//# sourceMappingURL=rest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rest.d.ts","sourceRoot":"","sources":["../../src/rest.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,aAAa,EAAE,MAAM,eAAe,CAAC;AAK1E,eAAO,MAAM,YAAY,6BAAiC,CAAC;AAC3D,eAAO,MAAM,GAAG,6BAA8B,CAAC;AAC/C,eAAO,MAAM,KAAK,6BAAgC,CAAC;AACnD,eAAO,MAAM,IAAI,6BAA+B,CAAC;AACjD,eAAO,MAAM,GAAG,6BAA8B,CAAC;AAiD/C,wBAAgB,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAStE"}
|
package/dist/types/storage.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../src/storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAK9C,qBAAa,iBAAkB,SAAQ,aAAa;IAClD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;gBAEtB,OAAO,EAAE,MAAM;IAM3B,KAAK,IAAI,IAAI;IAIb,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAI1C,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAUvD,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS;IAKxC,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI;IAIzC,OAAO,CAAC,QAAQ;IAOhB,OAAO,CAAC,SAAS;CAMlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=test.setup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test.setup.d.ts","sourceRoot":"","sources":["../../src/test.setup.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/util/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAIpE,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,oBAAoB,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,EACpD,gBAAgB,UAAO,GACtB,OAAO,CAAC,aAAa,CAAC,CA2CxB;AAiBD,wBAAgB,iBAAiB,IAAI,IAAI,CAExC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/util/command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAE5C,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CA4B1D"}
|
package/dist/types/utils.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export declare function readConfig(tagName?: string): MedplumConfig | undefined;
|
|
|
46
46
|
* Expanding archive files without controlling resource consumption is security-sensitive
|
|
47
47
|
*
|
|
48
48
|
* See: https://sonarcloud.io/organizations/medplum/rules?open=typescript%3AS5042&rule_key=typescript%3AS5042
|
|
49
|
-
* @param destinationDir The destination directory where all files will be extracted.
|
|
49
|
+
* @param destinationDir - The destination directory where all files will be extracted.
|
|
50
50
|
* @returns A tar file extractor.
|
|
51
51
|
*/
|
|
52
52
|
export declare function safeTarExtractor(destinationDir: string): internal.Writable;
|
|
@@ -58,3 +58,4 @@ export declare function profileExists(storage: FileSystemStorage, profile: strin
|
|
|
58
58
|
export declare function jwtBearerLogin(medplum: MedplumClient, profile: Profile): Promise<void>;
|
|
59
59
|
export declare function jwtAssertionLogin(medplum: MedplumClient, profile: Profile): Promise<void>;
|
|
60
60
|
export {};
|
|
61
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|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EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAM1E;AAED,wBAAgB,WAAW,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAGxD;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CASlF;AAED,wBAAsB,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAuB5F;AAED,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAY/F"}
|
package/package.json
CHANGED
|
@@ -1,22 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medplum/cli",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.11",
|
|
4
4
|
"description": "Medplum Command Line Interface",
|
|
5
|
-
"
|
|
6
|
-
|
|
5
|
+
"keywords": [
|
|
6
|
+
"medplum",
|
|
7
|
+
"fhir",
|
|
8
|
+
"healthcare",
|
|
9
|
+
"interoperability",
|
|
10
|
+
"json",
|
|
11
|
+
"serialization",
|
|
12
|
+
"hl7",
|
|
13
|
+
"standards",
|
|
14
|
+
"clinical",
|
|
15
|
+
"dstu2",
|
|
16
|
+
"stu3",
|
|
17
|
+
"r4",
|
|
18
|
+
"normative"
|
|
19
|
+
],
|
|
7
20
|
"homepage": "https://www.medplum.com/",
|
|
8
21
|
"repository": {
|
|
9
22
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/medplum/medplum.git",
|
|
23
|
+
"url": "git+https://github.com/medplum/medplum.git",
|
|
11
24
|
"directory": "packages/cli"
|
|
12
25
|
},
|
|
13
|
-
"
|
|
14
|
-
|
|
26
|
+
"license": "Apache-2.0",
|
|
27
|
+
"author": "Medplum <hello@medplum.com>",
|
|
28
|
+
"bin": {
|
|
29
|
+
"medplum": "./dist/cjs/index.cjs"
|
|
15
30
|
},
|
|
16
31
|
"scripts": {
|
|
17
|
-
"medplum": "ts-node src/index.ts",
|
|
18
|
-
"clean": "rimraf dist",
|
|
19
32
|
"build": "npm run clean && tsc --project tsconfig.build.json && node esbuild.mjs",
|
|
33
|
+
"clean": "rimraf dist",
|
|
34
|
+
"medplum": "ts-node src/index.ts",
|
|
20
35
|
"test": "jest"
|
|
21
36
|
},
|
|
22
37
|
"dependencies": {
|
|
@@ -43,22 +58,7 @@
|
|
|
43
58
|
"@types/node-fetch": "2.6.6",
|
|
44
59
|
"@types/tar": "6.1.6"
|
|
45
60
|
},
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
}
|
|
49
|
-
"keywords": [
|
|
50
|
-
"medplum",
|
|
51
|
-
"fhir",
|
|
52
|
-
"healthcare",
|
|
53
|
-
"interoperability",
|
|
54
|
-
"json",
|
|
55
|
-
"serialization",
|
|
56
|
-
"hl7",
|
|
57
|
-
"standards",
|
|
58
|
-
"clinical",
|
|
59
|
-
"dstu2",
|
|
60
|
-
"stu3",
|
|
61
|
-
"r4",
|
|
62
|
-
"normative"
|
|
63
|
-
]
|
|
61
|
+
"engines": {
|
|
62
|
+
"node": ">=18.0.0"
|
|
63
|
+
}
|
|
64
64
|
}
|