Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs/aegir
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 585b0040f8a5e092e50f49c4a67b34938ad0a87c
Choose a base ref
...
head repository: ipfs/aegir
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fc4d7b9034c17628c37fa4a89a2d2fd908c70848
Choose a head ref
Loading
Showing with 3,086 additions and 1,857 deletions.
  1. +1 −1 .aegir.js
  2. +6 −45 .github/workflows/automerge.yml
  3. +10 −7 .github/workflows/js-test-and-release.yml
  4. +26 −0 .github/workflows/stale.yml
  5. +177 −0 CHANGELOG.md
  6. +8 −11 README.md
  7. +4 −16 md/esm.md
  8. +132 −0 md/migration-to-v37.md
  9. +23 −23 md/ts-jsdoc.md
  10. +111 −57 package.json
  11. +29 −61 src/build/index.js
  12. +77 −0 src/check-project/check-build-files.js
  13. +29 −0 src/check-project/check-licence-files.js
  14. +34 −0 src/check-project/check-monorepo-files.js
  15. +219 −0 src/check-project/check-readme.js
  16. +8 −0 src/check-project/files/.github/dependabot.yml
  17. +4 −0 src/check-project/files/LICENSE
  18. +5 −0 src/check-project/files/LICENSE-APACHE
  19. +19 −0 src/check-project/files/LICENSE-MIT
  20. +12 −0 src/check-project/files/lerna.json
  21. +422 −0 src/check-project/index.js
  22. +32 −0 src/check-project/manifests/monorepo.js
  23. +60 −0 src/check-project/manifests/typed-cjs.js
  24. +76 −0 src/check-project/manifests/typed-esm.js
  25. +86 −0 src/check-project/manifests/typescript.js
  26. +45 −0 src/check-project/manifests/untyped-cjs.js
  27. +69 −0 src/check-project/semantic-release-config.js
  28. +249 −0 src/check-project/utils.js
  29. +12 −0 src/clean.js
  30. +18 −23 src/cmds/build.js
  31. +30 −0 src/cmds/check-project.js
  32. +24 −16 src/cmds/check.js
  33. +30 −0 src/cmds/clean.js
  34. +14 −25 src/cmds/{z-dependency-check.js → dependency-check.js}
  35. +0 −44 src/cmds/docs.js
  36. +16 −10 src/cmds/{z-lint-package-json.js → lint-package-json.js}
  37. +14 −10 src/cmds/lint.js
  38. +12 −113 src/cmds/release.js
  39. +55 −45 src/cmds/test-dependant.js
  40. +28 −10 src/cmds/test.js
  41. +0 −61 src/cmds/ts.js
  42. +12 −20 src/config/.npmpackagejsonlintrc.json
  43. +6 −3 src/config/pw-test.js
  44. +7 −3 src/config/tsconfig.aegir.json
  45. +41 −22 src/config/user.js
  46. +84 −56 src/dependency-check.js
  47. +0 −147 src/docs/index.js
  48. +82 −46 src/index.js
  49. +51 −7 src/lint.js
  50. +49 −0 src/release.js
  51. +0 −31 src/release/bump.js
  52. +0 −45 src/release/changelog.js
  53. +0 −18 src/release/commit.js
  54. +0 −28 src/release/contributors.js
  55. +0 −23 src/release/github.js
  56. +0 −150 src/release/index.js
  57. +0 −41 src/release/prerelease.js
  58. +0 −46 src/release/publish.js
  59. +0 −24 src/release/push.js
  60. +0 −12 src/release/tag.js
  61. +10 −13 src/test-dependant/index.js
  62. +12 −8 src/test/browser.js
  63. +15 −9 src/test/electron.js
  64. +33 −15 src/test/index.js
  65. +11 −14 src/test/node.js
  66. +8 −6 src/test/react-native.js
  67. +0 −165 src/ts/index.js
  68. +0 −40 src/ts/typedoc-plugin.js
  69. +5 −32 src/{types.d.ts → types.ts}
  70. +93 −49 src/utils.js
  71. +7 −7 test/browser.spec.js
  72. +14 −16 test/build.js
  73. +1 −1 test/config/fixtures/.aegir.js
  74. +11 −8 test/config/user.js
  75. +12 −8 test/dependants.js
  76. +10 −7 test/dependency-check.js
  77. +5 −5 test/fixtures.js
  78. +0 −1 test/fixtures/{.aegir.js → .aegir.cjs}
  79. +1 −1 test/fixtures/dependency-check/esm-fail/src/index.js
  80. +1 −1 test/fixtures/dependency-check/esm-pass/src/index.js
  81. +1 −1 test/fixtures/dependency-check/esm-pass/src/other.cjs
  82. +2 −2 test/fixtures/dependency-check/fail-prod/index.js
  83. +2 −2 test/fixtures/dependency-check/fail/index.js
  84. +2 −2 test/fixtures/dependency-check/pass-certain-files/derp/foo.js
  85. +1 −1 test/fixtures/dependency-check/pass-certain-files/index.js
  86. +2 −2 test/fixtures/dependency-check/pass/index.js
  87. +2 −2 test/fixtures/dependency-check/with-aegir-config/.aegir.js
  88. +2 −2 test/fixtures/dependency-check/with-aegir-config/index.js
  89. +1 −0 test/fixtures/dependency-check/with-aegir-config/package.json
  90. +1 −4 test/fixtures/js+ts/src/some.js
  91. 0 test/fixtures/{esm/an-esm-project → projects/a-ts-project}/node_modules/a-cjs-dep/package.json
  92. 0 test/fixtures/{esm/an-esm-project → projects/a-ts-project}/node_modules/a-cjs-dep/src/index.d.ts
  93. 0 test/fixtures/{esm/an-esm-project → projects/a-ts-project}/node_modules/a-cjs-dep/src/index.js
  94. 0 test/fixtures/{esm/an-esm-project → projects/a-ts-project}/node_modules/an-esm-dep/package.json
  95. 0 test/fixtures/{esm/an-esm-project → projects/a-ts-project}/node_modules/an-esm-dep/src/index.cjs
  96. 0 test/fixtures/{esm/an-esm-project → projects/a-ts-project}/node_modules/an-esm-dep/src/index.d.ts
  97. 0 test/fixtures/{esm/an-esm-project → projects/a-ts-project}/node_modules/an-esm-dep/src/index.js
  98. +24 −0 test/fixtures/projects/a-ts-project/package.json
  99. 0 test/fixtures/{esm/an-esm-project/src/index.js → projects/a-ts-project/src/index.ts}
  100. +9 −0 test/fixtures/projects/a-ts-project/test/index.spec.ts
  101. +10 −0 test/fixtures/projects/a-ts-project/tsconfig.json
  102. +12 −0 test/fixtures/projects/an-esm-project/node_modules/a-cjs-dep/package.json
  103. +2 −0 test/fixtures/projects/an-esm-project/node_modules/a-cjs-dep/src/index.d.ts
  104. +4 −0 test/fixtures/projects/an-esm-project/node_modules/a-cjs-dep/src/index.js
  105. +18 −0 test/fixtures/projects/an-esm-project/node_modules/an-esm-dep/package.json
  106. +4 −0 test/fixtures/projects/an-esm-project/node_modules/an-esm-dep/src/index.cjs
  107. +2 −0 test/fixtures/projects/an-esm-project/node_modules/an-esm-dep/src/index.d.ts
  108. +4 −0 test/fixtures/projects/an-esm-project/node_modules/an-esm-dep/src/index.js
  109. +1 −1 test/fixtures/{esm → projects}/an-esm-project/package.json
  110. +10 −0 test/fixtures/projects/an-esm-project/src/index.js
  111. 0 test/fixtures/{esm → projects}/an-esm-project/test/esm-test.spec.js
  112. +1 −0 test/fixtures/test-dependant/monorepo/packages/submodule/package.json
  113. +0 −1 test/fixtures/test-dependant/monorepo/packages/submodule/test.js
  114. +1 −0 test/fixtures/test-dependant/project/package.json
  115. +0 −1 test/fixtures/test-dependant/project/test.js
  116. +1 −2 test/fixtures/tests/context-access.js
  117. +0 −1 test/fixtures/tests/unhandled-promise-rejection.js
  118. +23 −20 test/lint.js
  119. +9 −11 test/node.js
  120. +62 −11 test/test.js
  121. +14 −16 test/utils/echo-server.js
  122. +4 −4 test/utils/get-port.js
  123. +2 −1 tsconfig.json
  124. +14 −25 utils/chai.js
  125. +9 −13 utils/echo-server.js
  126. +3 −6 utils/fixtures.browser.js
  127. +4 −7 utils/fixtures.js
  128. +2 −7 utils/get-port.js
  129. +9 −0 utils/resolve.browser.js
  130. +5 −6 utils/resolve.js
2 changes: 1 addition & 1 deletion .aegir.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @type {import("./src/types").PartialOptions} */
module.exports = {
export default {
docs: {
entryPoint: 'utils'
}
51 changes: 6 additions & 45 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,11 @@
# Automatically merge pull requests opened by web3-bot, as soon as (and only if) all tests pass.
# This reduces the friction associated with updating with our workflows.
# File managed by web3-bot. DO NOT EDIT.
# See https://github.com/protocol/.github/ for details.

on: [ pull_request ]
name: Automerge
on: [ pull_request ]

jobs:
automerge-check:
if: github.event.pull_request.user.login == 'web3-bot'
runs-on: ubuntu-latest
outputs:
status: ${{ steps.should-automerge.outputs.status }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Check if we should automerge
id: should-automerge
run: |
for commit in $(git rev-list --first-parent origin/${{ github.event.pull_request.base.ref }}..${{ github.event.pull_request.head.sha }}); do
committer=$(git show --format=$'%ce' -s $commit)
echo "Committer: $committer"
if [[ "$committer" != "web3-bot@users.noreply.github.com" ]]; then
echo "Commit $commit wasn't committed by web3-bot, but by $committer."
echo "::set-output name=status::false"
exit
fi
done
echo "::set-output name=status::true"
automerge:
needs: automerge-check
runs-on: ubuntu-latest
# The check for the user is redundant here, as this job depends on the automerge-check job,
# but it prevents this job from spinning up, just to be skipped shortly after.
if: github.event.pull_request.user.login == 'web3-bot' && needs.automerge-check.outputs.status == 'true'
steps:
- name: Wait on tests
uses: lewagon/wait-on-check-action@bafe56a6863672c681c3cf671f5e10b20abf2eaa # v0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
running-workflow-name: 'automerge' # the name of this job
- name: Merge PR
uses: pascalgn/automerge-action@741c311a47881be9625932b0a0de1b0937aab1ae # v0.13.1
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: ""
MERGE_METHOD: "squash"
MERGE_DELETE_BRANCH: true
uses: protocol/.github/.github/workflows/automerge.yml@master
with:
job: 'automerge'
17 changes: 10 additions & 7 deletions .github/workflows/js-test-and-release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# File managed by web3-bot. DO NOT EDIT.
# See https://github.com/protocol/.github/ for details.

name: test & maybe release
on:
push:
@@ -35,7 +38,7 @@ jobs:
node-version: ${{ matrix.node }}
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npm run --if-present test:node
- uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
- uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
with:
directory: ./.nyc_output
flags: node
@@ -50,7 +53,7 @@ jobs:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npm run --if-present test:chrome
- uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
- uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
with:
directory: ./.nyc_output
flags: chrome
@@ -65,7 +68,7 @@ jobs:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npm run --if-present test:chrome-webworker
- uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
- uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
with:
directory: ./.nyc_output
flags: chrome-webworker
@@ -80,7 +83,7 @@ jobs:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npm run --if-present test:firefox
- uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
- uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
with:
directory: ./.nyc_output
flags: firefox
@@ -95,7 +98,7 @@ jobs:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npm run --if-present test:firefox-webworker
- uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
- uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
with:
directory: ./.nyc_output
flags: firefox-webworker
@@ -110,7 +113,7 @@ jobs:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npx xvfb-maybe npm run --if-present test:electron-main
- uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
- uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
with:
directory: ./.nyc_output
flags: electron-main
@@ -125,7 +128,7 @@ jobs:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
- run: npx xvfb-maybe npm run --if-present test:electron-renderer
- uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
- uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
with:
directory: ./.nyc_output
flags: electron-renderer
26 changes: 26 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Close and mark stale issue

on:
schedule:
- cron: '0 0 * * *'

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days.'
close-issue-message: 'This issue was closed because it is missing author input.'
stale-issue-label: 'kind/stale'
any-of-labels: 'need/author-input'
exempt-issue-labels: 'need/triage,need/community-input,need/maintainer-input,need/maintainers-input,need/analysis'
days-before-issue-stale: 6
days-before-issue-close: 7
enable-statistics: true
177 changes: 177 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,180 @@
## [37.1.1](https://github.com/ipfs/aegir/compare/v37.1.0...v37.1.1) (2022-06-14)


### Trivial Changes

* **deps:** bump playwright-test from 7.4.1 to 8.0.0 ([#980](https://github.com/ipfs/aegir/issues/980)) ([c0dff4b](https://github.com/ipfs/aegir/commit/c0dff4b64a61fa2c961a4da66ea4f40dfaf3ece0))

## [37.1.0](https://github.com/ipfs/aegir/compare/v37.0.17...v37.1.0) (2022-06-14)


### Features

* ensure readme is in correct format ([#997](https://github.com/ipfs/aegir/issues/997)) ([9bcb366](https://github.com/ipfs/aegir/commit/9bcb366215a78bd918bf20bcfdae7bf62efc2108))


### Bug Fixes

* sort exports map ([#999](https://github.com/ipfs/aegir/issues/999)) ([0b82fee](https://github.com/ipfs/aegir/commit/0b82feea6e7989e781128aeb4de47efc4c77872c))


### Trivial Changes

* **deps-dev:** bump electron from 18.3.3 to 19.0.4 ([#995](https://github.com/ipfs/aegir/issues/995)) ([05ea778](https://github.com/ipfs/aegir/commit/05ea7782c3f1822921100b06c51b6b7fb3ed8e1b))
* **deps:** bump conventional-changelog-conventionalcommits from 4.6.3 to 5.0.0 ([#987](https://github.com/ipfs/aegir/issues/987)) ([0170bcf](https://github.com/ipfs/aegir/commit/0170bcf6d1bfcea0c95ae193ab007a0bfdb8f95f))

### [37.0.17](https://github.com/ipfs/aegir/compare/v37.0.16...v37.0.17) (2022-05-27)


### Bug Fixes

* ignore minified files and transpiled fixtures in dep-check ([#986](https://github.com/ipfs/aegir/issues/986)) ([3feff4a](https://github.com/ipfs/aegir/commit/3feff4a143f524c4c02ab705b46241a62fbc19e7))

### [37.0.16](https://github.com/ipfs/aegir/compare/v37.0.15...v37.0.16) (2022-05-26)


### Bug Fixes

* ts tests ([#984](https://github.com/ipfs/aegir/issues/984)) ([0206c4c](https://github.com/ipfs/aegir/commit/0206c4cca00f88bc5e87e6b0e92634c6d1bb2d8f))


### Trivial Changes

* **deps-dev:** bump sinon from 13.0.2 to 14.0.0 ([#976](https://github.com/ipfs/aegir/issues/976)) ([f18d914](https://github.com/ipfs/aegir/commit/f18d914a9353482dd1c089e099f2b7ef6ab951cc))

### [37.0.15](https://github.com/ipfs/aegir/compare/v37.0.14...v37.0.15) (2022-04-21)


### Bug Fixes

* export types ([#968](https://github.com/ipfs/aegir/issues/968)) ([61335c1](https://github.com/ipfs/aegir/commit/61335c1ca165833bb0d61a7cdce93c6bdeb63ded))


### Trivial Changes

* update lilconfig version in package.json ([#967](https://github.com/ipfs/aegir/issues/967)) ([479ad00](https://github.com/ipfs/aegir/commit/479ad00ec91f4c9a54b7666664dc245b631fe1a1))

### [37.0.14](https://github.com/ipfs/aegir/compare/v37.0.13...v37.0.14) (2022-04-19)


### Bug Fixes

* run dep check in prod mode ([#964](https://github.com/ipfs/aegir/issues/964)) ([43f20bf](https://github.com/ipfs/aegir/commit/43f20bf4ae9c33a9e03f6b4a93962be5fd706fee))

### [37.0.13](https://github.com/ipfs/aegir/compare/v37.0.12...v37.0.13) (2022-04-11)


### Bug Fixes

* make resolve node-only ([#962](https://github.com/ipfs/aegir/issues/962)) ([57e6fff](https://github.com/ipfs/aegir/commit/57e6fffc463b3cb1c444ce7bb98aacb9c019b2ae))

### [37.0.12](https://github.com/ipfs/aegir/compare/v37.0.11...v37.0.12) (2022-04-11)


### Bug Fixes

* run compiled tests ([#961](https://github.com/ipfs/aegir/issues/961)) ([e2d14de](https://github.com/ipfs/aegir/commit/e2d14de098ed9e1b8780d2debd9a7bd97c5254b1))

### [37.0.11](https://github.com/ipfs/aegir/compare/v37.0.10...v37.0.11) (2022-04-09)


### Bug Fixes

* run uncompiled tests for browsers ([#960](https://github.com/ipfs/aegir/issues/960)) ([120c4cb](https://github.com/ipfs/aegir/commit/120c4cb4ca380dd11cd4ec88d912fb64453ccb05))

### [37.0.10](https://github.com/ipfs/aegir/compare/v37.0.9...v37.0.10) (2022-04-09)


### Trivial Changes

* update migration guide ([9201d17](https://github.com/ipfs/aegir/commit/9201d17d64e7f791d64047adb1d3279cbc8d6821))

### [37.0.9](https://github.com/ipfs/aegir/compare/v37.0.8...v37.0.9) (2022-04-09)


### Bug Fixes

* run npm scripts instead of chaining to other commands ([#959](https://github.com/ipfs/aegir/issues/959)) ([098fca3](https://github.com/ipfs/aegir/commit/098fca327f24d0c01906590596e736548a97d6e3))
* skip tsc during linting for ts projects ([#958](https://github.com/ipfs/aegir/issues/958)) ([af32fb1](https://github.com/ipfs/aegir/commit/af32fb1377fb41876eba385181e041cb3c4d0b65))


### Trivial Changes

* add migration guide for 37 ([f4bec49](https://github.com/ipfs/aegir/commit/f4bec497ecb49f5d1e62231220e82c4fd09e18ac))
* **deps:** bump eslint-plugin-jsdoc from 38.1.6 to 39.0.0 ([#955](https://github.com/ipfs/aegir/issues/955)) ([ca50cb6](https://github.com/ipfs/aegir/commit/ca50cb628b56dad12b5ff90167e5a0b60a359471))

### [37.0.8](https://github.com/ipfs/aegir/compare/v37.0.7...v37.0.8) (2022-04-08)


### Bug Fixes

* dep-check command name ([#957](https://github.com/ipfs/aegir/issues/957)) ([0257e77](https://github.com/ipfs/aegir/commit/0257e778e04f76fa1eb09532fd53fdde77538d1d))

### [37.0.7](https://github.com/ipfs/aegir/compare/v37.0.6...v37.0.7) (2022-04-08)


### Bug Fixes

* use @semantic-release/github fork ([#956](https://github.com/ipfs/aegir/issues/956)) ([92bfc37](https://github.com/ipfs/aegir/commit/92bfc3751f7fe6919d008ff9696683ac59f9247a))

### [37.0.6](https://github.com/ipfs/aegir/compare/v37.0.5...v37.0.6) (2022-04-07)


### Bug Fixes

* set correct semantic-release config for files with aegir release ([#954](https://github.com/ipfs/aegir/issues/954)) ([93136ff](https://github.com/ipfs/aegir/commit/93136ffec213ad7b5279a6f0ce00385ff6ebb02c))

### [37.0.5](https://github.com/ipfs/aegir/compare/v37.0.4...v37.0.5) (2022-04-07)


### Bug Fixes

* add semantic-release-monorepo to release command ([#953](https://github.com/ipfs/aegir/issues/953)) ([28c25f5](https://github.com/ipfs/aegir/commit/28c25f50b19c0e3f4378ed239af476778edb9769))

### [37.0.4](https://github.com/ipfs/aegir/compare/v37.0.3...v37.0.4) (2022-04-07)


### Bug Fixes

* types and deps ([#952](https://github.com/ipfs/aegir/issues/952)) ([aa0d44d](https://github.com/ipfs/aegir/commit/aa0d44d1abb086cbf8ce3db5a453daa493fc1945))

### [37.0.3](https://github.com/ipfs/aegir/compare/v37.0.2...v37.0.3) (2022-04-07)


### Bug Fixes

* export utils and add tests for testing projects ([#951](https://github.com/ipfs/aegir/issues/951)) ([46b7f07](https://github.com/ipfs/aegir/commit/46b7f0700e1505e37723754bcde6c2ce522b5069))

### [37.0.2](https://github.com/ipfs/aegir/compare/v37.0.1...v37.0.2) (2022-04-07)


### Bug Fixes

* exclude .ts files from electron test ([#950](https://github.com/ipfs/aegir/issues/950)) ([1a28e68](https://github.com/ipfs/aegir/commit/1a28e68be2901bd66209e37b651b802acd2db1f0))

### [37.0.1](https://github.com/ipfs/aegir/compare/v37.0.0...v37.0.1) (2022-04-07)


### Bug Fixes

* remove ora and use listr instead, make tests run on node ([#949](https://github.com/ipfs/aegir/issues/949)) ([dd5583a](https://github.com/ipfs/aegir/commit/dd5583a43a0089d3819668beeda3489edc674be1))

## [37.0.0](https://github.com/ipfs/aegir/compare/v36.2.3...v37.0.0) (2022-04-07)


### ⚠ BREAKING CHANGES

* ESM modules are now published as ESM and not dual-ESM/CJS

### Features

* update build and release commands ([#946](https://github.com/ipfs/aegir/issues/946)) ([e3a4b45](https://github.com/ipfs/aegir/commit/e3a4b450c5eb271ae3557144d78636695751ce11))


### Trivial Changes

* add missing dep ([bc62524](https://github.com/ipfs/aegir/commit/bc62524460691031e410ca4ddb97d8bc6b08d4f7))

### [36.2.3](https://github.com/ipfs/aegir/compare/v36.2.2...v36.2.3) (2022-03-18)


19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
# AEgir
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai)
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.io/)
# AEgir
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai)
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.io/)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/ipfs/aegir/ci/master?style=flat-square)

> Automated JavaScript project management.
## Lead Maintainer
## Lead Maintainer

[Hugo Dias](https://github.com/hugomrdias)

## Project Structure

The project structure when using this is quite strict, to ease
replication and configuration overhead.
The project structure when using this is quite strict, to ease replication and configuration overhead.

All source code should be placed under `src`, with the main entry
point being `src/index.js`.
All source code should be placed under `src`, with the main entry point being `src/index.js` or `src/index.ts`.

All test files should be placed under `test`. Individual test files should end in `.spec.js` and will be ran in all environments (node, browser, webworker, electron-main and electron-renderer). To run node specific tests a file named `test/node.js` should be used to require all node test files and the same thing for the other environments with a file named `test/browser.js`.
All test files should be placed under `test`. Individual test files should end in `.spec.js` or `.spec.ts` and will be ran in all environments (node, browser, webworker, electron-main and electron-renderer). To run node specific tests a file named `test/node.js` or `test/node.ts` should be used to require all node test files and the same thing for the other environments with a file named `test/browser.js` or `test/browser.ts`.

Your `package.json` should have the following entries and should pass `aegir lint-package-json`.


```json
"main": "src/index.js",
"files": [
@@ -80,7 +77,7 @@ Aegir can be fully configured using a config file named `.aegir.js` or the packa
```js
// file: .aegir.js

'use strict'


/** @type {import('aegir').PartialOptions} */
module.exports = {
Loading