Skip to content

Commit 9d6c7cb

Browse files
deps(dev): bump aegir from 41.3.5 to 42.2.2 (#399)
Bumps [aegir](https://github.com/ipfs/aegir) from 41.3.5 to 42.2.2. - [Release notes](https://github.com/ipfs/aegir/releases) - [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md) - [Commits](ipfs/aegir@v41.3.5...v42.2.2) --- updated-dependencies: - dependency-name: aegir dependency-type: direct:development update-type: version-update:semver-major ... --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: achingbrain <[email protected]>
1 parent 6901826 commit 9d6c7cb

21 files changed

+608
-684
lines changed

.github/dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ updates:
55
schedule:
66
interval: daily
77
time: "10:00"
8-
open-pull-requests-limit: 10
8+
open-pull-requests-limit: 20
99
commit-message:
1010
prefix: "deps"
1111
prefix-development: "deps(dev)"

.github/workflows/js-test-and-release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ on:
99

1010
permissions:
1111
contents: write
12+
id-token: write
1213
packages: write
14+
pull-requests: write
1315

1416
concurrency:
1517
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Semantic PR
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
jobs:
11+
main:
12+
uses: pl-strflt/.github/.github/workflows/[email protected]

.npmrc

-2
This file was deleted.

README.md

+5-48
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,30 @@
1-
# js-ipfs-unixfs <!-- omit in toc -->
2-
31
[![ipfs.tech](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.tech)
42
[![Discuss](https://img.shields.io/discourse/https/discuss.ipfs.tech/posts.svg?style=flat-square)](https://discuss.ipfs.tech)
53
[![codecov](https://img.shields.io/codecov/c/github/ipfs/js-ipfs-unixfs.svg?style=flat-square)](https://codecov.io/gh/ipfs/js-ipfs-unixfs)
64
[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/js-ipfs-unixfs/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/ipfs/js-ipfs-unixfs/actions/workflows/js-test-and-release.yml?query=branch%3Amaster)
75

86
> JS implementation of the IPFS UnixFS
97
10-
## Table of contents <!-- omit in toc -->
11-
12-
- [Structure](#structure)
13-
- [Lead Maintainer <!-- omit in toc -->](#lead-maintainer----omit-in-toc---)
14-
- [Development](#development)
15-
- [Publishing new versions](#publishing-new-versions)
16-
- [Using prerelease versions](#using-prerelease-versions)
17-
- [API Docs](#api-docs)
18-
- [License](#license)
19-
- [Contribute](#contribute)
8+
The UnixFS spec can be found at [ipfs/specs/UNIXFS.md](https://github.com/ipfs/specs/blob/master/UNIXFS.md)
209

21-
## Structure
10+
# Packages
2211

2312
- [`/packages/ipfs-unixfs`](./packages/ipfs-unixfs) JavaScript implementation of IPFS' unixfs (a Unix FileSystem representation on top of a MerkleDAG)
2413
- [`/packages/ipfs-unixfs-exporter`](./packages/ipfs-unixfs-exporter) JavaScript implementation of the UnixFs exporter used by IPFS
2514
- [`/packages/ipfs-unixfs-importer`](./packages/ipfs-unixfs-importer) JavaScript implementation of the UnixFs importer used by IPFS
2615

27-
The UnixFS spec can be found at [ipfs/specs/UNIXFS.md](https://github.com/ipfs/specs/blob/master/UNIXFS.md)
28-
29-
## Lead Maintainer <!-- omit in toc -->
30-
31-
[Alex Potsides](https://github.com/achingbrain)
32-
33-
- [`/packages/ipfs-unixfs`](./packages/ipfs-unixfs) Serialization/deserialization of UnixFS objects to protocol buffers
34-
- [`/packages/ipfs-unixfs-importer`](./packages/ipfs-unixfs-importer) Builds DAGs from files and directories
35-
- [`/packages/ipfs-unixfs-exporter`](./packages/ipfs-unixfs-exporter) Exports DAGs
36-
37-
## Development
38-
39-
1. Clone this repo
40-
2. Run `npm install`
41-
42-
This will install [lerna](https://www.npmjs.com/package/lerna) and bootstrap the various packages, dedpuing and hoisting dependencies into the root folder.
43-
44-
If later you wish to remove all the `node_modules`/`dist` folders and start again, run `npm run reset && npm install` from the root.
45-
46-
See the scripts section of the root [`package.json`](./package.json) for more commands.
47-
48-
### Publishing new versions
49-
50-
1. Ensure you have a `GH_TOKEN` env var containing a GitHub [Personal Access Token](https://github.com/settings/tokens) with `public_repo` permissions
51-
2. From the root of this repo run `npm run release` and follow the on screen prompts. It will use [conventional commits](https://www.conventionalcommits.org) to work out the new package version
52-
53-
### Using prerelease versions
54-
55-
Any changed packages from each successful build of master are published to npm as canary builds under the npm tag `next`.
56-
57-
Canary builds only consider changes to packages in the last built commit so changes to the root config files should not result in new prereleases being published to npm.
58-
59-
## API Docs
16+
# API Docs
6017

6118
- <https://ipfs.github.io/js-ipfs-unixfs>
6219

63-
## License
20+
# License
6421

6522
Licensed under either of
6623

6724
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
6825
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
6926

70-
## Contribute
27+
# Contribute
7128

7229
Contributions welcome! Please check out [the issues](https://github.com/ipfs/js-ipfs-unixfs/issues).
7330

package.json

+87-6
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
"bugs": {
1212
"url": "https://github.com/ipfs/js-ipfs-unixfs/issues"
1313
},
14-
"engines": {
15-
"node": ">=16.0.0",
16-
"npm": ">=7.0.0"
17-
},
1814
"private": true,
1915
"scripts": {
2016
"reset": "aegir run clean && aegir clean ./node_modules ./package-lock.json packages/*/node_modules packages/*/package-lock.json",
@@ -36,9 +32,94 @@
3632
"release": "npm run docs:no-publish && aegir run release && npm run docs"
3733
},
3834
"devDependencies": {
39-
"aegir": "^41.3.2"
35+
"aegir": "^42.2.2"
4036
},
4137
"workspaces": [
4238
"packages/*"
43-
]
39+
],
40+
"release": {
41+
"branches": [
42+
"main"
43+
],
44+
"plugins": [
45+
[
46+
"@semantic-release/commit-analyzer",
47+
{
48+
"preset": "conventionalcommits",
49+
"releaseRules": [
50+
{
51+
"breaking": true,
52+
"release": "major"
53+
},
54+
{
55+
"revert": true,
56+
"release": "patch"
57+
},
58+
{
59+
"type": "feat",
60+
"release": "minor"
61+
},
62+
{
63+
"type": "fix",
64+
"release": "patch"
65+
},
66+
{
67+
"type": "docs",
68+
"release": "patch"
69+
},
70+
{
71+
"type": "test",
72+
"release": "patch"
73+
},
74+
{
75+
"type": "deps",
76+
"release": "patch"
77+
},
78+
{
79+
"scope": "no-release",
80+
"release": false
81+
}
82+
]
83+
}
84+
],
85+
[
86+
"@semantic-release/release-notes-generator",
87+
{
88+
"preset": "conventionalcommits",
89+
"presetConfig": {
90+
"types": [
91+
{
92+
"type": "feat",
93+
"section": "Features"
94+
},
95+
{
96+
"type": "fix",
97+
"section": "Bug Fixes"
98+
},
99+
{
100+
"type": "chore",
101+
"section": "Trivial Changes"
102+
},
103+
{
104+
"type": "docs",
105+
"section": "Documentation"
106+
},
107+
{
108+
"type": "deps",
109+
"section": "Dependencies"
110+
},
111+
{
112+
"type": "test",
113+
"section": "Tests"
114+
}
115+
]
116+
}
117+
}
118+
],
119+
"@semantic-release/changelog",
120+
"@semantic-release/npm",
121+
"@semantic-release/github",
122+
"@semantic-release/git"
123+
]
124+
}
44125
}

0 commit comments

Comments
 (0)