Skip to content

Commit

Permalink
chore!: generate script to use with loadScript()
Browse files Browse the repository at this point in the history
This seems to be the preferred way to work with libraries in hydra.
The chrome extension is in the `chrome-extension-deprecated`
branch and won't receive any more updates.
  • Loading branch information
arnoson committed Dec 12, 2022
1 parent 2bb93ca commit e8e2252
Show file tree
Hide file tree
Showing 18 changed files with 270 additions and 3,614 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release

on:
push:
tags:
- 'v*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-node@v3
with:
node-version: 16.x

- run: corepack enable

- name: Install
run: pnpm i

- name: Build
run: pnpm run build

- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
8 changes: 0 additions & 8 deletions dist/assets/content-script-e89494d9.js

This file was deleted.

Binary file removed dist/assets/hydra-midi-icon-128.png
Binary file not shown.
Binary file removed dist/assets/hydra-midi-icon-48.png
Binary file not shown.
11 changes: 0 additions & 11 deletions dist/content-script.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 0 additions & 27 deletions dist/manifest.json

This file was deleted.

13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
{
"type": "module",
"scripts": {
"cleanup": "shx rm -rf ./dist",
"build": "npm run cleanup && rollup -c",
"dev": "rollup -c -w"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^13.0.0",
"@tonaljs/tonal": "^4.6.0",
"@types/webmidi": "^2.0.4",
"rollup": "^2.52.3",
"rollup-plugin-chrome-extension": "^3.5.7",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.2.0",
"@types/webmidi": "^2.0.6",
"rollup": "^3.7.3",
"rollup-plugin-string": "^3.0.0",
"shx": "^0.3.3",
"web-ext": "^6.2.0"
"shx": "^0.3.4"
}
}
Loading

0 comments on commit e8e2252

Please sign in to comment.