Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for curve ed25519 #7

Merged
merged 6 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .eslintrc.json → .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
"root": true,
"extends": ["@toruslabs/eslint-config-typescript"],
"parser": "@typescript-eslint/parser",
"ignorePatterns": "*.config.js",
"ignorePatterns": ["*.config.js", ".eslintrc.js"],
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 11,
"ecmaVersion": 2022,
"project": "./tsconfig.json"
}
}
26 changes: 26 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI
matthiasgeihs marked this conversation as resolved.
Show resolved Hide resolved

on: pull_request

jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20

- name: Install packages
run: npm ci

- name: Build
run: npm run build

- name: Test (default curve)
run: npm test

- name: Test (ed25519)
run: CURVE=ed25519 npm test
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14.17
v18.x
3 changes: 2 additions & 1 deletion .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# .prettierrc or .prettierrc.yaml
printWidth: 150
singleQuote: false
semi: true
semi: true
trailingComma: es5
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require("@toruslabs/config/babel.config")
5 changes: 0 additions & 5 deletions babel.config.json

This file was deleted.

Loading