Skip to content

Commit

Permalink
v1.5.0 - boundation, changelog, version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Nov 12, 2023
1 parent 42c5f40 commit 6565d0e
Show file tree
Hide file tree
Showing 10 changed files with 810 additions and 474 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
day: sunday
time: '00:00'
timezone: Australia/Perth
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
day: sunday
time: '00:00'
timezone: Australia/Perth
open-pull-requests-limit: 0
11 changes: 0 additions & 11 deletions .github/workflows/automerge.yml

This file was deleted.

42 changes: 30 additions & 12 deletions .github/workflows/bevry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,48 +8,54 @@ jobs:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
node:
- '10'
- '12'
- '14'
- '16'
- '18'
- '20'
- '21'
runs-on: ${{ matrix.os }}
continue-on-error: ${{ contains('macos-latest windows-latest', matrix.os) }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install desired Node.js version
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Verify Node.js Versions
run: >-
printf '%s' 'node: ' && node --version && printf '%s' 'npm: ' && npm
--version && node -e 'console.log(process.versions)'
- run: npm run our:setup
- run: npm run our:compile
- run: npm run our:verify
- name: Install targeted Node.js
if: ${{ matrix.node != 20 }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Verify Node.js Versions
run: >-
printf '%s' 'node: ' && node --version && printf '%s' 'npm: ' && npm
--version && node -e 'console.log(process.versions)'
- run: npm test
publish:
if: ${{ github.event_name == 'push' }}
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install desired Node.js version
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Verify Node.js Versions
run: >-
printf '%s' 'node: ' && node --version && printf '%s' 'npm: ' && npm
--version && node -e 'console.log(process.versions)'
- run: npm run our:setup
- run: npm run our:compile
- run: npm run our:meta
- name: publish to npm
uses: bevry-actions/[email protected].0
uses: bevry-actions/[email protected].1
with:
npmAuthToken: ${{ secrets.NPM_AUTH_TOKEN }}
npmBranchTag: ':next'
Expand All @@ -58,3 +64,15 @@ jobs:
with:
surgeLogin: ${{ secrets.SURGE_LOGIN }}
surgeToken: ${{ secrets.SURGE_TOKEN }}
automerge:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4 changes: 3 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 2023 March 24
# 2023 November 13
# https://github.com/bevry/base

# VCS Files
Expand Down Expand Up @@ -31,6 +31,8 @@ bower_components/
node_modules/

# Build Outputs
**/*.cjs
**/*.mjs
**/out.*
**/*.out.*
**/out/
Expand Down
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# History

## v1.5.0 2023 November 13

- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)

## v1.4.0 2023 November 1

- Fix `deleteFile` throwing `ENOENT` errors
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Helpers for reading, writing, deleting, and accessing a file.

## Usage

[Complete API Documentation.](http://master.file.bevry.surge.sh/docs/)
[Complete API Documentation.](http://main.file.bevry.surge.sh/docs/)

<!-- INSTALL/ -->

Expand All @@ -51,23 +51,23 @@ Helpers for reading, writing, deleting, and accessing a file.

``` html
<script type="module">
import * as pkg from '//cdn.skypack.dev/@bevry/file@^1.4.0'
import * as pkg from '//cdn.skypack.dev/@bevry/file@^1.5.0'
</script>
```

<a href="https://unpkg.com" title="unpkg is a fast, global content delivery network for everything on npm"><h3>unpkg</h3></a>

``` html
<script type="module">
import * as pkg from '//unpkg.com/@bevry/file@^1.4.0'
import * as pkg from '//unpkg.com/@bevry/file@^1.5.0'
</script>
```

<a href="https://jspm.io" title="Native ES Modules CDN"><h3>jspm</h3></a>

``` html
<script type="module">
import * as pkg from '//dev.jspm.io/@bevry/file@1.4.0'
import * as pkg from '//dev.jspm.io/@bevry/file@1.5.0'
</script>
```

Expand All @@ -77,9 +77,9 @@ Helpers for reading, writing, deleting, and accessing a file.

<ul><li><code>@bevry/file/source/index.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> source code with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li>
<li><code>@bevry/file/edition-browsers/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for web browsers with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li>
<li><code>@bevry/file</code> aliases <code>@bevry/file/edition-es2017/index.js</code></li>
<li><code>@bevry/file/edition-es2017/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#8th_Edition_-_ECMAScript_2017" title="ECMAScript ES2017">ES2017</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li>
<li><code>@bevry/file/edition-es2017-esm/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#8th_Edition_-_ECMAScript_2017" title="ECMAScript ES2017">ES2017</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li></ul>
<li><code>@bevry/file</code> aliases <code>@bevry/file/edition-es2022/index.js</code></li>
<li><code>@bevry/file/edition-es2022/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 10 || 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li>
<li><code>@bevry/file/edition-es2022-esm/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li></ul>

<!-- /INSTALL -->

Expand Down
Loading

0 comments on commit 6565d0e

Please sign in to comment.