diff --git a/package-lock.json b/package-lock.json index 6ba863b..c12df09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1242,9 +1242,8 @@ } }, "@exabyte-io/code.js": { - "version": "2022.11.11-0", - "resolved": "https://registry.npmjs.org/@exabyte-io/code.js/-/code.js-2022.11.11-0.tgz", - "integrity": "sha512-vYb6fS642fIppDY0yDqmXKJ83f/DZ1TZ8r7VjNK6gOn4CjxVfR+4QoMrDEbFHAuOgM37vxbiq8G+csmC7YsWEA==", + "version": "git+https://github.com/Exabyte-io/code.js.git#c357d1266e68e7a2274a7ad29a4eeac7cc49d05c", + "from": "git+https://github.com/Exabyte-io/code.js.git#feat/SOF-6077", "dev": true, "requires": { "@babel/cli": "7.16.0", @@ -2598,6 +2597,15 @@ "integrity": "sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==", "dev": true }, + "eslint-import-resolver-exports": { + "version": "1.0.0-beta.3", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-exports/-/eslint-import-resolver-exports-1.0.0-beta.3.tgz", + "integrity": "sha512-8F0zy/1pudF4m9Uuq8ctX2ElXzPLYjzcZgvtGKrz70dHMRmtHDa6X7lPdJKw/ia1blM+SZ5os3+1sBCnX95nYw==", + "dev": true, + "requires": { + "resolve.exports": "^1.1.0" + } + }, "eslint-import-resolver-node": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz", @@ -5080,6 +5088,12 @@ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true }, + "resolve.exports": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.0.tgz", + "integrity": "sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ==", + "dev": true + }, "restore-cursor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", diff --git a/package.json b/package.json index 50b9fb3..efa250c 100644 --- a/package.json +++ b/package.json @@ -45,13 +45,14 @@ "underscore.string": "^3.3.4" }, "devDependencies": { - "@exabyte-io/code.js": "2022.11.11-0", + "@exabyte-io/code.js": "git+https://github.com/Exabyte-io/code.js.git#feat/SOF-6077", "@exabyte-io/eslint-config": "^2022.11.17-0", "@exabyte-io/made.js": "2022.6.15-0", "chai": "^4.3.4", "eslint": "7.32.0", "eslint-config-airbnb": "19.0.2", "eslint-config-prettier": "^8.5.0", + "eslint-import-resolver-exports": "^1.0.0-beta.3", "eslint-plugin-import": "2.25.3", "eslint-plugin-jsdoc": "37.1.0", "eslint-plugin-jsx-a11y": "6.5.1", diff --git a/src/application.js b/src/application.js index a615aab..7365df5 100644 --- a/src/application.js +++ b/src/application.js @@ -1,5 +1,5 @@ import { allApplications, getAppData, getAppTree } from "@exabyte-io/application-flavors.js"; -import { NamedDefaultableInMemoryEntity } from "@exabyte-io/code.js/dist/entity"; +import { NamedDefaultableInMemoryEntity } from "@exabyte-io/code.js/entity"; import lodash from "lodash"; import { Executable } from "./executable"; diff --git a/src/context/providers.js b/src/context/providers.js index ed607e4..edc6be4 100644 --- a/src/context/providers.js +++ b/src/context/providers.js @@ -1,4 +1,4 @@ -import { ContextProvider } from "@exabyte-io/code.js/dist/context"; +import { ContextProvider } from "@exabyte-io/code.js/context"; export class ExecutableContextProvider extends ContextProvider { constructor(config) { diff --git a/src/context/providers/espresso/providers.js b/src/context/providers/espresso/providers.js index c0a43d9..58f0f0f 100644 --- a/src/context/providers/espresso/providers.js +++ b/src/context/providers/espresso/providers.js @@ -6,7 +6,7 @@ import { MaterialsSetContextMixin, MethodDataContextMixin, WorkflowContextMixin, -} from "@exabyte-io/code.js/dist/context"; +} from "@exabyte-io/code.js/context"; import { Made } from "@exabyte-io/made.js"; import { PERIODIC_TABLE } from "@exabyte-io/periodic-table.js"; import lodash from "lodash"; diff --git a/src/context/providers/nwchem/providers.js b/src/context/providers/nwchem/providers.js index 3b4fdb1..ddcff82 100644 --- a/src/context/providers/nwchem/providers.js +++ b/src/context/providers/nwchem/providers.js @@ -3,7 +3,7 @@ import { MaterialContextMixin, MethodDataContextMixin, WorkflowContextMixin, -} from "@exabyte-io/code.js/dist/context"; +} from "@exabyte-io/code.js/context"; import { Made } from "@exabyte-io/made.js"; import { PERIODIC_TABLE } from "@exabyte-io/periodic-table.js"; import lodash from "lodash"; diff --git a/src/context/providers/vasp/providers.js b/src/context/providers/vasp/providers.js index 94e26f0..d525eda 100644 --- a/src/context/providers/vasp/providers.js +++ b/src/context/providers/vasp/providers.js @@ -6,7 +6,7 @@ import { MaterialsSetContextMixin, MethodDataContextMixin, WorkflowContextMixin, -} from "@exabyte-io/code.js/dist/context"; +} from "@exabyte-io/code.js/context"; import { Made } from "@exabyte-io/made.js"; import { mix } from "mixwith"; diff --git a/src/context/registry.js b/src/context/registry.js index 9cb010c..4737afc 100644 --- a/src/context/registry.js +++ b/src/context/registry.js @@ -1,4 +1,4 @@ -import { createAndPatchRegistry } from "@exabyte-io/code.js/dist/context"; +import { createAndPatchRegistry } from "@exabyte-io/code.js/context"; import { NWChemTotalEnergyContextProvider, diff --git a/src/executable.js b/src/executable.js index b00873b..7260f3f 100644 --- a/src/executable.js +++ b/src/executable.js @@ -1,4 +1,4 @@ -import { NamedDefaultableInMemoryEntity, RuntimeItemsMixin } from "@exabyte-io/code.js/dist/entity"; +import { NamedDefaultableInMemoryEntity, RuntimeItemsMixin } from "@exabyte-io/code.js/entity"; import { mix } from "mixwith"; import { Flavor } from "./flavor"; diff --git a/src/flavor.js b/src/flavor.js index 9e42126..ba6e9d9 100644 --- a/src/flavor.js +++ b/src/flavor.js @@ -1,4 +1,4 @@ -import { NamedDefaultableInMemoryEntity, RuntimeItemsMixin } from "@exabyte-io/code.js/dist/entity"; +import { NamedDefaultableInMemoryEntity, RuntimeItemsMixin } from "@exabyte-io/code.js/entity"; import { mix } from "mixwith"; import { Template } from "./template"; diff --git a/src/template.js b/src/template.js index f93a713..01b0e7a 100644 --- a/src/template.js +++ b/src/template.js @@ -1,6 +1,6 @@ import { allTemplates } from "@exabyte-io/application-flavors.js"; -import { NamedInMemoryEntity } from "@exabyte-io/code.js/dist/entity"; -import { deepClone } from "@exabyte-io/code.js/dist/utils"; +import { NamedInMemoryEntity } from "@exabyte-io/code.js/entity"; +import { deepClone } from "@exabyte-io/code.js/utils"; import jinja from "swig"; import _ from "underscore"; diff --git a/src/tree.js b/src/tree.js index ac1480f..81137d1 100644 --- a/src/tree.js +++ b/src/tree.js @@ -1,6 +1,6 @@ /* eslint-disable new-cap */ import { allApplications, getAppData, getAppTree } from "@exabyte-io/application-flavors.js"; -import { getOneMatchFromObject } from "@exabyte-io/code.js/dist/utils"; +import { getOneMatchFromObject } from "@exabyte-io/code.js/utils"; /** * @summary Return all applications as both a nested object of Applications and an array of config objects