Skip to content

Commit

Permalink
build: pure esm based package; fixing algosdk issues (#58)
Browse files Browse the repository at this point in the history
* build: pure esm based package; fixing algosdk issues

* chore: minor cleanup

* chore: removing unused packages
  • Loading branch information
aorumbayev authored Aug 28, 2024
1 parent e51887c commit e657498
Show file tree
Hide file tree
Showing 20 changed files with 1,695 additions and 2,238 deletions.
18 changes: 0 additions & 18 deletions .eslintrc

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: npm run build

- name: Lint
run: npm run lint:scripts
run: npm run lint

unit-tests:
name: Integration tests
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
run: npm ci

- name: Run tests
run: npm run test:integration
run: npm run test

- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v4
Expand Down
18 changes: 0 additions & 18 deletions .stylelintrc

This file was deleted.

11 changes: 0 additions & 11 deletions dts-bundle-generator.config.ts

This file was deleted.

44 changes: 44 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import prettier from "eslint-plugin-prettier";
import globals from "globals";
import tsParser from "@typescript-eslint/parser";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});

export default [
...compat.extends(
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
),
{
plugins: {
"@typescript-eslint": typescriptEslint,
prettier,
},

languageOptions: {
globals: {
...globals.browser,
...globals.node,
},

parser: tsParser,
},

rules: {
"prettier/prettier": "error",
},
},
];
13 changes: 0 additions & 13 deletions index.html

This file was deleted.

Loading

0 comments on commit e657498

Please sign in to comment.