Skip to content

Commit

Permalink
chore: @mat3ra/code reference
Browse files Browse the repository at this point in the history
  • Loading branch information
timurbazhirov committed Mar 26, 2024
1 parent fc2387d commit 9ff7124
Show file tree
Hide file tree
Showing 8 changed files with 831 additions and 320 deletions.
2 changes: 1 addition & 1 deletion build_entities.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable no-restricted-syntax */
const { getFilesInDirectory, JsYamlAllSchemas } = require("@exabyte-io/code.js/dist/utils");
const { getFilesInDirectory, JsYamlAllSchemas } = require("@mat3ra/code/dist/js/utils");
const Ajv = require("ajv");
const fs = require("fs");
const yaml = require("js-yaml");
Expand Down
2 changes: 1 addition & 1 deletion build_filter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { JsYamlAllSchemas } = require("@exabyte-io/code.js/dist/utils");
const { JsYamlAllSchemas } = require("@mat3ra/code/dist/js/utils");
const fs = require("fs");
const yaml = require("js-yaml");

Expand Down
1,130 changes: 820 additions & 310 deletions package-lock.json

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@
"underscore.string": "^3.3.4"
},
"devDependencies": {
"@exabyte-io/code.js": "2023.11.22-0",
"@exabyte-io/eslint-config": "^2022.11.17-0",
"@mat3ra/esse": "2024.3.25-6",
"@mat3ra/code": "2024.3.25-3",
"chai": "^4.3.4",
"eslint": "7.32.0",
"eslint-config-airbnb": "19.0.2",
Expand All @@ -68,8 +69,8 @@
"prettier": "^2.7.1"
},
"peerDependencies": {
"@exabyte-io/ade.js": "*",
"@exabyte-io/code.js": "*"
"@mat3ra/code": "*",
"@mat3ra/esse": "*"
},
"engines": {
"node": ">=12.0.0"
Expand Down
4 changes: 2 additions & 2 deletions src/method.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { InMemoryEntity } from "@exabyte-io/code.js/dist/entity";
import { deepClone } from "@exabyte-io/code.js/dist/utils";
import { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
import { deepClone } from "@mat3ra/code/dist/js/utils";
import lodash from "lodash";

import { PseudopotentialMethodConfig } from "./default_methods";
Expand Down
2 changes: 1 addition & 1 deletion src/methods/pseudopotential.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { safeMakeArray } from "@exabyte-io/code.js/dist/utils";
import { safeMakeArray } from "@mat3ra/code/dist/js/utils";
import _ from "underscore";

import { Method } from "../method";
Expand Down
2 changes: 1 addition & 1 deletion src/model.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { InMemoryEntity } from "@exabyte-io/code.js/dist/entity";
import { InMemoryEntity } from "@mat3ra/code/dist/js/entity";
import lodash from "lodash";

import { DFTModelConfig } from "./default_models";
Expand Down
2 changes: 1 addition & 1 deletion src/tree.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { deepClone, filterEntityList, mergeTerminalNodes } from "@exabyte-io/code.js/dist/utils";
import { deepClone, filterEntityList, mergeTerminalNodes } from "@mat3ra/code/dist/js/utils";
import lodash from "lodash";
import _ from "underscore";

Expand Down

0 comments on commit 9ff7124

Please sign in to comment.