Skip to content

Commit

Permalink
Migrate to pnpm.
Browse files Browse the repository at this point in the history
Fixed #11.
"Ready" text now disappears after 3 seconds when drawSynth is disabled.
Update dependencies.
  • Loading branch information
logue committed Sep 28, 2024
1 parent 57c42a8 commit b778313
Show file tree
Hide file tree
Showing 8 changed files with 5,338 additions and 954 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,30 @@ on:
branches: ['develop']

jobs:
build:
cache-and-install:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- name: Checkout ✅
uses: actions/[email protected]
- name: Checkout ✔
uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
name: Install pnpm 📦
with:
run_install: false

- name: Use Node.js ${{ matrix.node-version }} ⚡
uses: actions/setup-node@v3.4.1
- name: Install Node.js ⚡️
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Build 🔧
run: |
yarn install
yarn build:docs
pnpm install
pnpm build:docs
- name: Deploy to gh-pages 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.4
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.
893 changes: 0 additions & 893 deletions .yarn/releases/yarn-4.1.1.cjs

This file was deleted.

7 changes: 0 additions & 7 deletions .yarnrc.yml

This file was deleted.

56 changes: 28 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@logue/sf2synth",
"version": "0.7.0",
"version": "0.7.1",
"type": "module",
"description": "SoundFont2 Synthesizer",
"repository": {
Expand Down Expand Up @@ -63,10 +63,10 @@
"./dist/A320U-license.txt": "./dist/A320U-license.txt"
},
"engines": {
"node": ">=20.12.7",
"yarn": ">=1.22.19"
"node": ">=22.7.4",
"pnpm": ">=9.11.0"
},
"packageManager": "[email protected]",
"packageManager": "[email protected]",
"scripts": {
"dev": "vite",
"clean": "rimraf node_modules/.vite",
Expand All @@ -76,40 +76,40 @@
"lint": "eslint . --fix --cache --cache-location ./node_modules/.vite/vite-plugin-eslint && prettier . --write",
"lint:style": "stylelint \"./**/*.{css,sass,scss}\" --fix --cache-location ./node_modules/.vite/vite-plugin-stylelint",
"preview": "vite preview --mode=docs",
"prepare": "husky install"
"prepare": "husky"
},
"dependencies": {
"@logue/reverb": "^1.3.9",
"@logue/reverb": "^1.3.11",
"bootstrap": "^5.3.3"
},
"devDependencies": {
"@eslint/eslintrc": "^3.0.2",
"@eslint/js": "^9.1.1",
"@types/node": "^20.12.7",
"@types/webmidi": "^2.0.10",
"eslint": "^8.0.1",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.11.1",
"@types/node": "^22.7.4",
"@types/webmidi": "^2.1.0",
"eslint": "^9.11.1",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.0.0",
"globals": "^15.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"query-string": "^9.0.0",
"rimraf": "^5.0.5",
"sass": "1.75.0",
"stylelint": "^16.4.0",
"stylelint-config-recommended-scss": "^14.0.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-n": "^17.10.3",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.1.0",
"globals": "^15.9.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"query-string": "^9.1.0",
"rimraf": "^6.0.1",
"sass": "1.79.4",
"stylelint": "^16.9.0",
"stylelint-config-recommended-scss": "^14.1.0",
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^5.0.0",
"vite": "^5.2.10",
"vite-plugin-banner": "^0.7.1",
"vite-plugin-checker": "^0.6.4"
"stylelint-prettier": "^5.0.2",
"vite": "^5.4.8",
"vite-plugin-banner": "^0.8.0",
"vite-plugin-checker": "^0.8.0"
},
"husky": {
"hooks": {
Expand Down
Loading

0 comments on commit b778313

Please sign in to comment.