Skip to content

Commit

Permalink
updated: use esm modules
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Apr 8, 2023
1 parent 88d4625 commit 69e621e
Show file tree
Hide file tree
Showing 11 changed files with 1,339 additions and 2,361 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Expand Up @@ -3,4 +3,4 @@ env:
mocha: true

rules:
fp/no-rest-parameters: false
fp/no-rest-parameters: 0
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,25 @@
name: test

on:
push:
branches: [main, dev]
pull_request:
branches: [dev, main]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 19.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Local Unit Test ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: |
npm test
7 changes: 7 additions & 0 deletions .gitignore
Expand Up @@ -33,8 +33,15 @@ jspm_packages
# Optional npm cache directory
.npm

# editor file
.idea

# Optional REPL history
.node_repl_history

# mac useless file
.DS_Store

# Generated files
index.cjs
index.js
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

26 changes: 0 additions & 26 deletions curri.js

This file was deleted.

3 changes: 3 additions & 0 deletions index.d.ts
@@ -0,0 +1,3 @@
declare const curri: <T extends (...args:unknown[]) => unknown, U>(...args:T[]) => U

export default curri

0 comments on commit 69e621e

Please sign in to comment.