From 9e3df566a953ba797aadb02ba2cbb0d40f16aed8 Mon Sep 17 00:00:00 2001 From: CXN144 Date: Thu, 5 Sep 2024 16:15:20 -0400 Subject: [PATCH] root morphir-ir --- .gitignore | 4 ++++ README.md | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index 0ab9ce180..89572683c 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,7 @@ tests-integration/reference-model/Dockerfile *Debug.log* tests-integration/cli2-qa-test/test-data/.DS_Store tests-integration/cli2-qa-test/test-data/business-terms/.DS_Store +tests-integration/typespec/model/morphir-ir.json +tests-integration/json-schema/model/morphir-ir.json +tests-integration/reference-model/morphir-ir.json +/morphir-ir.json diff --git a/README.md b/README.md index e38f95647..cb869f0e2 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,8 @@ root directory with the following structure: { "name": "My.Package", "sourceDirectory": "src", + "dependencies" : ["a", "b"] + "localDependencies" : ["a", "b"] "exposedModules": [ "Foo", "Bar" @@ -82,7 +84,12 @@ root directory with the following structure: * **name** - The name of the package. The package name should be a valid Elm module name and it should be used as a module prefix in your Elm models. If your package name is `My.Package` all your module files should either be directly under that or in submodules. + * **sourceDirectory** - The directory where your Elm sources are located. +* **dependencies** - List of URI references to other IR files. Supports +`file://`|`http://`|`https://`|`data://` protocols. +* **localDependencies** - List of relative paths to depending IRs. (for backwards compatibility) +`file://`|`http://`|`https://`|`data://` protocols. * **exposedModules** - The list of modules in the public interface of the package. Module names should exclude the common package prefix. In the above example `Foo` refers to the Elm module `My.Package.Foo`.