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

The initial PR. #1

Open
wants to merge 46 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
a398e32
Initial WIP
scott-christopher Oct 24, 2016
6f28f62
Add more test coverage
scott-christopher Oct 25, 2016
dbccb9b
circle: make lint test
davidchambers Oct 25, 2016
866e445
add CONTRIBUTING.md
davidchambers Oct 25, 2016
dd94342
license: update copyright information and automate future updates
davidchambers Oct 25, 2016
685deaf
test: integrate Istanbul
davidchambers Oct 25, 2016
183fc62
style: use single-line comments
davidchambers Oct 25, 2016
3a34414
[email protected]
davidchambers Oct 29, 2016
7fb23d0
[email protected]
davidchambers Oct 29, 2016
48d8d89
[email protected]
davidchambers Dec 6, 2016
d8b4709
[email protected]
davidchambers Dec 6, 2016
0442769
makefile: support Git versions which do not accept --date=format:...
davidchambers Feb 16, 2017
1c8eeca
[email protected]
davidchambers Apr 3, 2017
7a7bc1b
circle: upgrade to CircleCI 2.0
davidchambers Oct 27, 2017
acd100e
sanctuary-scripts#64d6cacb7fef537d5ebf7bbd8354139ed6d715c1
davidchambers Oct 27, 2017
8bc877e
sanctuary-scripts#3d870d34d860753a4adc51c85651b8a12cb78095
davidchambers Oct 28, 2017
2a27d17
sanctuary-scripts#bca58462b2c007956b8f9acf7af21e374fdec380
davidchambers Jan 7, 2018
1cb9cb7
[email protected]
davidchambers Feb 4, 2018
864ec25
tweaks for Node v4.x.x compatibility
davidchambers Feb 4, 2018
b1f056c
[email protected]
davidchambers Mar 17, 2018
7f779f3
[email protected]
davidchambers Mar 25, 2018
55442fe
[email protected]
davidchambers Apr 6, 2018
b53a942
[email protected]
davidchambers Apr 8, 2018
220d74f
[email protected]
davidchambers Apr 29, 2018
17ada1d
[email protected]
davidchambers Apr 29, 2018
30f4ef2
[email protected]
davidchambers May 13, 2018
9c55e2e
[email protected]
davidchambers May 14, 2018
63af825
[email protected]
davidchambers May 20, 2018
3cbe3b0
[email protected]
davidchambers Mar 9, 2019
7bde49c
[email protected]
davidchambers Mar 21, 2019
c496233
[email protected]
davidchambers Apr 2, 2019
9c3f6c8
[email protected]
davidchambers Apr 4, 2019
43a222f
remove bower.json
davidchambers Jan 1, 2020
86a1c27
circle: housekeeping
davidchambers Jan 2, 2020
d802beb
[email protected]
davidchambers Jan 3, 2020
f2ddc16
[email protected]
davidchambers Jan 17, 2020
8a6b50a
circle: create test matrix without nvm
davidchambers Jun 5, 2021
02bc627
circle: update Node versions
davidchambers Dec 6, 2023
16619b1
update references to default branch
davidchambers Dec 6, 2023
7d1d8f6
[email protected]
davidchambers Dec 8, 2023
0a11ece
use ES6 syntax
davidchambers Dec 9, 2023
b12d8d7
[email protected]
davidchambers Dec 11, 2023
97822b1
convert test modules to ES modules
davidchambers Jan 8, 2024
5a69eee
[email protected]
davidchambers Jan 8, 2024
04c4a4a
use ES modules
davidchambers Jan 17, 2024
0d68222
circle: update Node versions
davidchambers Oct 27, 2024
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
19 changes: 19 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2.1

orbs:
node: circleci/[email protected]

workflows:
test:
jobs:
- node/test:
setup:
# derive cache key from package.json
- run: cp package.json package-lock.json
override-ci-command: rm package-lock.json && npm install && git checkout -- package.json
matrix:
parameters:
version:
- 18.0.0
- 20.0.0
- 22.0.0
6 changes: 6 additions & 0 deletions .config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repo-owner = sanctuary-js
repo-name = sanctuary-set
min-branch-coverage = 0
contributing-file = .github/CONTRIBUTING.md
source-files = src/**/*.js
module-type = commonjs
14 changes: 14 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"root": true,
"extends": ["./node_modules/sanctuary-style/eslint.json"],
"parserOptions": {"sourceType": "module"},
"globals": {"globalThis": "readonly"},
"overrides": [
{
"files": ["test/**/*.js"],
"rules": {
"max-len": ["off"]
}
}
]
}
27 changes: 27 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Contributing

Note: __README.md__ is generated from comments in __index.js__. Do not modify
__README.md__ directly.

1. Update local main branch:

$ git checkout main
$ git pull upstream main

2. Create feature branch:

$ git checkout -b feature-x

3. Make one or more atomic commits, and ensure that each commit has a
descriptive commit message. Commit messages should be line wrapped
at 72 characters.

4. Run `make test lint`, and address any errors. Preferably, fix commits
in place using `git rebase` or `git commit --amend` to make the changes
easier to review.

5. Push:

$ git push origin feature-x

6. Open a pull request.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/coverage/
/node_modules/
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
24 changes: 24 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
The MIT License (MIT)

Copyright (c) 2016 Sanctuary

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import BoxedSet from './src/BoxedSet.js';

export default BoxedSet;
36 changes: 36 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "sanctuary-set",
"version": "0.0.0",
"description": "Fantasy Land compliant immutable set type",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/sanctuary-js/sanctuary-set.git"
},
"type": "module",
"exports": {
".": "./index.js",
"./package.json": "./package.json"
},
"scripts": {
"doctest": "sanctuary-doctest",
"lint": "sanctuary-lint",
"release": "sanctuary-release",
"test": "npm run lint && sanctuary-test && npm run doctest"
},
"dependencies": {
"sanctuary-show": "2.0.0"
},
"devDependencies": {
"jsverify": "0.8.x",
"sanctuary-scripts": "7.0.x"
},
"files": [
"/src"
],
"keywords": [
"fantasy-land",
"immutable",
"set"
]
}
Empty file added scripts/doctest
Empty file.
Loading