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

Misc maintenance items #30

Merged
merged 6 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
35 changes: 0 additions & 35 deletions .eslintrc.cjs

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
node-version: 22.x
- run: npm clean-install
- run: npm run build
- run: node_modules/.bin/esbuild --target=es6 --bundle --minify --outfile=typage.js --global-name=age age-encryption
- run: node_modules/.bin/esbuild --target=es2022 --bundle --minify --outfile=typage.js --global-name=age age-encryption
- uses: actions/upload-artifact@v4
with:
name: age-esbuild
path: esbuild/typage.js
path: typage.js
upload:
if: github.event_name == 'release'
needs: build
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/node_modules
/dist
/docs
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ npm install age-encryption

## Usage

`age-encryption` is a modern ES Module, compatible with Node.js and Bun, with built-in types.

The whole API is [documented with TypeDoc](docs/README.md).
`age-encryption` is a modern ES Module with built-in types.
It's compiled for ES2022, compatible with Node.js 18+, Bun, and all recent browsers.

#### Encrypt and decrypt a file with a new recipient / identity pair

Expand Down Expand Up @@ -67,7 +66,7 @@ To produce a classic library file that sets `age` as a global variable, you can

```sh
cd "$(mktemp -d)" && npm init -y && npm install esbuild age-encryption
npx esbuild --target=es6 --bundle --minify --outfile=age.js --global-name=age age-encryption
npx esbuild --target=es2022 --bundle --minify --outfile=age.js --global-name=age age-encryption
```

or download a pre-built one from the [Releases page](https://github.com/FiloSottile/typage/releases).
Expand Down
21 changes: 0 additions & 21 deletions docs/README.md

This file was deleted.

152 changes: 0 additions & 152 deletions docs/classes/Decrypter.md

This file was deleted.

129 changes: 0 additions & 129 deletions docs/classes/Encrypter.md

This file was deleted.

Loading
Loading