Skip to content

Commit

Permalink
Merge pull request #44 from Exabyte-io/update/made-code-esse
Browse files Browse the repository at this point in the history
chore: @mat3ra/code reference
  • Loading branch information
timurbazhirov authored Mar 26, 2024
2 parents fc2387d + 9af7758 commit 3b94281
Show file tree
Hide file tree
Showing 9 changed files with 834 additions and 322 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
if: github.repository != 'Exabyte-io/template-definitions'
strategy:
matrix:
node-version: [14.x]
node-version:
- 14.x
- 20.x

steps:
- name: Checkout this repository
Expand Down Expand Up @@ -69,7 +71,6 @@ jobs:
- name: Publish JS release
uses: ./actions/js/publish
with:
node-version: 14.x
npm-token: ${{ secrets.NPM_TOKEN }}
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}

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 3b94281

Please sign in to comment.