Skip to content

Commit

Permalink
😒 chore: Rename package.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Jul 27, 2021
1 parent bf050d4 commit 7b1282e
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .esdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"autoPrivate": true
},
"brand": {
"title": "@data-structure/pairs"
"title": "@collection-abstraction/pairs"
},
"test": {
"type": "ava",
Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
:cherries: [@data-structure/pairs](https://data-structures-and-algorithms.github.io/pairs)
:cherries: [@collection-abstraction/pairs](https://collection-abstraction.github.io/pairs)
==

Pairs set for JavaScript.
See [docs](https://data-structures-and-algorithms.github.io/pairs/index.html).
See [docs](https://collection-abstraction.github.io/pairs/index.html).

> :warning: The code requires `regeneratorRuntime` to be defined, for instance by importing
> [regenerator-runtime/runtime](https://www.npmjs.com/package/regenerator-runtime).
```js
import {EfficientlyInvertiblePairs as Pairs} from '@data-structure/pairs';
import {EfficientlyInvertiblePairs as Pairs} from '@collection-abstraction/pairs';
const pairs = Pairs.from(['ab', [1,2], [1,3]]);
pairs.left(); // a 1
pairs.right(); // b 2 3
Expand All @@ -20,17 +20,17 @@ pairs.add('bc');
...
```

[![License](https://img.shields.io/github/license/data-structures-and-algorithms/pairs.svg)](https://raw.githubusercontent.com/data-structures-and-algorithms/pairs/main/LICENSE)
[![Version](https://img.shields.io/npm/v/@data-structure/pairs.svg)](https://www.npmjs.org/package/@data-structure/pairs)
[![Tests](https://img.shields.io/github/workflow/status/data-structures-and-algorithms/pairs/ci:test?event=push&label=tests)](https://github.com/data-structures-and-algorithms/pairs/actions/workflows/ci:test.yml?query=branch:main)
[![Dependencies](https://img.shields.io/david/data-structures-and-algorithms/pairs.svg)](https://david-dm.org/data-structures-and-algorithms/pairs)
[![Dev dependencies](https://img.shields.io/david/dev/data-structures-and-algorithms/pairs.svg)](https://david-dm.org/data-structures-and-algorithms/pairs?type=dev)
[![GitHub issues](https://img.shields.io/github/issues/data-structures-and-algorithms/pairs.svg)](https://github.com/data-structures-and-algorithms/pairs/issues)
[![Downloads](https://img.shields.io/npm/dm/@data-structure/pairs.svg)](https://www.npmjs.org/package/@data-structure/pairs)
[![License](https://img.shields.io/github/license/collection-abstraction/pairs.svg)](https://raw.githubusercontent.com/collection-abstraction/pairs/main/LICENSE)
[![Version](https://img.shields.io/npm/v/@collection-abstraction/pairs.svg)](https://www.npmjs.org/package/@collection-abstraction/pairs)
[![Tests](https://img.shields.io/github/workflow/status/collection-abstraction/pairs/ci:test?event=push&label=tests)](https://github.com/collection-abstraction/pairs/actions/workflows/ci:test.yml?query=branch:main)
[![Dependencies](https://img.shields.io/david/collection-abstraction/pairs.svg)](https://david-dm.org/collection-abstraction/pairs)
[![Dev dependencies](https://img.shields.io/david/dev/collection-abstraction/pairs.svg)](https://david-dm.org/collection-abstraction/pairs?type=dev)
[![GitHub issues](https://img.shields.io/github/issues/collection-abstraction/pairs.svg)](https://github.com/collection-abstraction/pairs/issues)
[![Downloads](https://img.shields.io/npm/dm/@collection-abstraction/pairs.svg)](https://www.npmjs.org/package/@collection-abstraction/pairs)

[![Code issues](https://img.shields.io/codeclimate/issues/data-structures-and-algorithms/pairs.svg)](https://codeclimate.com/github/data-structures-and-algorithms/pairs/issues)
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/data-structures-and-algorithms/pairs.svg)](https://codeclimate.com/github/data-structures-and-algorithms/pairs/trends/churn)
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/data-structures-and-algorithms/pairs/main.svg)](https://codecov.io/gh/data-structures-and-algorithms/pairs)
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/data-structures-and-algorithms/pairs.svg)](https://codeclimate.com/github/data-structures-and-algorithms/pairs/trends/technical_debt)
[![Documentation](https://data-structures-and-algorithms.github.io/pairs/badge.svg)](https://data-structures-and-algorithms.github.io/pairs/source.html)
[![Package size](https://img.shields.io/bundlephobia/minzip/@data-structure/pairs)](https://bundlephobia.com/result?p=@data-structure/pairs)
[![Code issues](https://img.shields.io/codeclimate/issues/collection-abstraction/pairs.svg)](https://codeclimate.com/github/collection-abstraction/pairs/issues)
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/collection-abstraction/pairs.svg)](https://codeclimate.com/github/collection-abstraction/pairs/trends/churn)
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/collection-abstraction/pairs/main.svg)](https://codecov.io/gh/collection-abstraction/pairs)
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/collection-abstraction/pairs.svg)](https://codeclimate.com/github/collection-abstraction/pairs/trends/technical_debt)
[![Documentation](https://collection-abstraction.github.io/pairs/badge.svg)](https://collection-abstraction.github.io/pairs/source.html)
[![Package size](https://img.shields.io/bundlephobia/minzip/@collection-abstraction/pairs)](https://bundlephobia.com/result?p=@collection-abstraction/pairs)
2 changes: 1 addition & 1 deletion doc/manual/example.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Examples

> More examples in [the test files](https://github.com/data-structures-and-algorithms/pairs/tree/main/test/src).
> More examples in [the test files](https://github.com/collection-abstraction/pairs/tree/main/test/src).
6 changes: 3 additions & 3 deletions doc/manual/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ or [jspm](https://jspm.org/docs).

### yarn
```terminal
yarn add @data-structure/pairs
yarn add @collection-abstraction/pairs
```

### npm
```terminal
npm install @data-structure/pairs --save
npm install @collection-abstraction/pairs --save
```

### jspm
```terminal
jspm install npm:@data-structure/pairs
jspm install npm:@collection-abstraction/pairs
```
4 changes: 2 additions & 2 deletions doc/manual/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import 'regenerator-runtime/runtime.js' ;

Then, import the library where needed
```js
const pairs = await import( '@data-structure/pairs' ) ;
const pairs = await import( '@collection-abstraction/pairs' ) ;
// or
import * as pairs from '@data-structure/pairs' ;
import * as pairs from '@collection-abstraction/pairs' ;
```
5 changes: 2 additions & 3 deletions doc/scripts/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ const domReady = function (callback) {
domReady(() => {
const projectname = document.createElement('a');
projectname.classList.add('project-name');
projectname.text = '@data-structure/pairs';
projectname.text = '@collection-abstraction/pairs';
projectname.href = './index.html';

const header = document.querySelector('header');
header.insertBefore(projectname, header.firstChild);

const testlink = document.querySelector('header > a[data-ice="testLink"]');
testlink.href =
'https://app.codecov.io/gh/data-structures-and-algorithms/pairs';
testlink.href = 'https://app.codecov.io/gh/collection-abstraction/pairs';
testlink.target = '_BLANK';

const searchBox = document.querySelector('.search-box');
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@data-structure/pairs",
"name": "@collection-abstraction/pairs",
"description": "Pairs set for JavaScript",
"version": "4.0.0",
"license": "AGPL-3.0",
"author": "make-github-pseudonymous-again",
"homepage": "https://data-structures-and-algorithms.github.io/pairs",
"homepage": "https://collection-abstraction.github.io/pairs",
"repository": {
"type": "git",
"url": "https://github.com/data-structures-and-algorithms/pairs"
"url": "https://github.com/collection-abstraction/pairs"
},
"bugs": {
"url": "https://github.com/data-structures-and-algorithms/pairs/issues"
"url": "https://github.com/collection-abstraction/pairs/issues"
},
"keywords": [
"pairs",
Expand Down

0 comments on commit 7b1282e

Please sign in to comment.