Skip to content

Commit 50b1861

Browse files
authored
Merge pull request #62 from jankapunkt/refactor-file-structure
1.6.0
2 parents 4009ba3 + 65293e6 commit 50b1861

21 files changed

+8782
-7039
lines changed

FUNDING.yml renamed to .github/FUNDING.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
# These are supported funding model platforms
44

5-
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
5+
github:
6+
- jankapunkt
67
patreon: # Replace with a single Patreon username
78
open_collective: # Replace with a single Open Collective username
89
ko_fi: # Replace with a single Ko-fi username

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,24 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
node: [12, 14, 16]
17+
node: [14, 16, 18]
1818
steps:
1919
- name: Checkout ${{ matrix.node }}
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121

2222
- name: Setup node ${{ matrix.node }}
23-
uses: actions/setup-node@v1
23+
uses: actions/setup-node@v3
2424
with:
2525
node-version: ${{ matrix.node }}
2626

2727
- name: Cache dependencies ${{ matrix.node }}
28-
uses: actions/cache@v1
28+
uses: actions/cache@v3
2929
with:
3030
path: ~/.npm
3131
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
3232
restore-keys: |
3333
${{ runner.os }}-node-${{ matrix.node }}
34-
- run: cd package && npm ci
35-
- run: cd package && npm run lint
36-
- run: cd package && npm run test
34+
- run: npm ci
35+
- run: npm run lint
36+
- run: npm run test:coverage
3737

File renamed without changes.

api.md renamed to API.md

File renamed without changes.

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,20 @@ Set's prototype Methods are in contrast designed to work as a binary operation o
3131
Some algorithms may grow exponentially with a raising number of sets to be processes.
3232
Please, see the documentation notes on the respective methods.
3333

34+
### Extending `Set`
35+
36+
This package builds upon the `Set` implementation, instead of providing an own.
37+
Some suggest it's bad design to extend core implementations.
38+
39+
However, the core functionality of `Set` is stable and proven and this
40+
package tries to be minimally invasive on the `Set` implementation.
41+
42+
Please, leave an issue, in case this extension breaks your setup by
43+
whatever unexpected or undefined behaviour.
44+
3445
### Future Implementations
3546

36-
Currently this package only supports finite sets.
47+
Currently, this package only supports finite sets.
3748
A future implementation could include generators to support infinite sets and function-based operations with infinite sets. Ideas.concepts and contributions are very welcomed.
3849

3950
## Installation and Usage
@@ -59,7 +70,7 @@ Set.__isExtended__ // true if this package is installed
5970

6071
## API Documentation
6172

62-
There is a [markdown version](./api.md) and a [html version](https://jankapunkt.github.io/js-set-extension/) of the API documentation.
73+
There is a [markdown version](./API.md) and a [html version](https://jankapunkt.github.io/js-set-extension/) of the API documentation.
6374
If you think this documentation can be improved, please leave a pull request or open an issue.
6475

6576
## Run the tests

0 commit comments

Comments
 (0)