Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into task/github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
skibinska committed Jun 27, 2024
2 parents 7366be4 + a330ee0 commit 473d374
Show file tree
Hide file tree
Showing 5 changed files with 1,091 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.17.0
18.18.0
17 changes: 17 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import prettier from "eslint-plugin-prettier";
import prettierConfig from "eslint-plugin-prettier/recommended";

export default [
{
languageOptions: {
globals: globals.browser,
},
plugins: {
prettier,
},
},
pluginJs.configs.recommended,
prettierConfig,
];
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import tokensFromJson from './dist/json/variables.json' assert { type: "json" };
import { createRequire } from "node:module";

const require = createRequire(import.meta.url);

const tokensFromJson = require("./dist/json/variables.json");

export const tokens = tokensFromJson;
// export const icons = someObjectContainingTheIcons
Loading

0 comments on commit 473d374

Please sign in to comment.