Skip to content

Commit

Permalink
fix changelog and script typos
Browse files Browse the repository at this point in the history
  • Loading branch information
KW-M committed Nov 26, 2024
1 parent 934f1c8 commit 2cd635b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/build-site-and-publish-to-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@ on:
- main

jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Setup pnpm 📦
uses: pnpm/action-setup@v4.0.0
- name: Setup pnpm 📦
uses: pnpm/action-setup@v4.0.0

- name: Install and Build 🔧 # This project is built using pnpm and outputs the result to the 'dist' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
pnpm install
pnpm run build:docs
pnpm run build:examples
cp -r docs examples/dist
- name: Install and Build 🔧 # This project is built using pnpm and outputs the result to the 'dist' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
pnpm install
pnpm run docs:build
pnpm run examples:build
cp -r docs examples/dist
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.6.3
with:
folder: examples/dist # The folder the action should deploy.
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
folder: examples/dist # The folder the action should deploy.
14 changes: 7 additions & 7 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# 0.3.0 - Nov 21 2024

- New preset functions make it easy to get started with the preset gamepad SVG and customize later.
- Support for 8-way dpads (diagonal directions) - see custom gamepads example
- Improved consistancy & file size for default gamepad SVGs - SVGs and necessary CSS can now be imported from the NPM library for use with bundlers & build tools.
- New preset function makes it easy to get started with the preset gamepad SVG and customize later.
- Support for 8-way dpads (diagonal directions) - see simple & custom gamepads examples
- Improved consistency & file size for default gamepad SVGs - SVGs and necessary CSS can now be imported from the NPM library for use with bundlers & build tools.
- Improved & Updated SVG Optimization script to SVGO 2
- This is the recomended way to create custom svg gamepads.
- Now supports proper global collison hash prefixes and correct layer name parsing from Adobe Suite, Afffinity Suite & Others.
- This is the recommended way to create custom SVG gamepads.
- Now supports proper global collision hash prefixes and correct layer name parsing from Adobe Suite, Afffinity Suite & Others.
- Can be imported from the NPM library
- Improved vector SVG authoring tips.

DEPRICATED:
DEPRECATED:

- Joystick direction arrows/"highlights" have are depricated to be removed in the next release - they are fairly niche feature that can easily be re-implemented with extraData in the joystick config and a custom joystickDisplayFunction and
- Joystick direction arrows/"highlights" have are deprecated to be removed in the next release - they are fairly niche feature that can easily be re-implemented with extraData in the joystick config and a custom joystickDisplayFunction - SEE custom gamepads example.

# 0.2.0 - Sep 27 2024

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"docs:build": "typedoc --options typedoc.json src/*",
"docs:watch": "typedoc --options typedoc.json src/* --watch",
"svgs:optimize": "svgo --recursive --folder ./gamepad_asset_originals/svg/ --output ./gamepad_assets/",
"pub": "(pnpm i && pnpm run svgs:optimize && pnpm run build && pnpm run examples:build && pnpm run docs:build && pnpm run test && cp -r ./dist ./dist/dist && packito -d ./dist --nopublish && np --no-tests --no-publish && pnpm publish) || rm -r ./dist",
"pub": "(pnpm i && pnpm run svgs:optimize && pnpm run build && pnpm run examples:build && pnpm run docs:build && pnpm run test && cp -r ./dist ./dist/dist && packito -d ./dist --nopublish && np --no-tests --no-publish && pnpm publish dist) || rm -r ./dist",
"pub-preview": "(pnpm i && pnpm run svgs:optimize && pnpm run build && pnpm run examples:build && pnpm run docs:build && pnpm run test && cp -r ./dist ./dist/dist && packito -d ./dist --nopublish && np --preview --no-tests --no-publish)"
},
"module": "./src/index.ts",
Expand Down

0 comments on commit 2cd635b

Please sign in to comment.