Skip to content

Commit

Permalink
chore: restructure project
Browse files Browse the repository at this point in the history
  • Loading branch information
lyricalsoul committed Feb 19, 2023
1 parent c386f1f commit 1dfe29d
Show file tree
Hide file tree
Showing 29 changed files with 2,912 additions and 1,407 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/npm-publish-github-packages.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish Package to NPM
on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
scope: '@musicorum'
- run: npm ci
- run: npm run build
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
3 changes: 1 addition & 2 deletions lib/.npmignore → .npmignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
examples
node_modules
.eslintignore
.eslintrc
.prettierrc
.gitignore
tsconfig.json
.npmrc
.npmrc
95 changes: 0 additions & 95 deletions examples/node/index.ts

This file was deleted.

19 changes: 0 additions & 19 deletions examples/node/package.json

This file was deleted.

20 changes: 0 additions & 20 deletions examples/node/tsconfig.json

This file was deleted.

151 changes: 0 additions & 151 deletions examples/node/yarn.lock

This file was deleted.

48 changes: 0 additions & 48 deletions lib/package.json

This file was deleted.

Loading

0 comments on commit 1dfe29d

Please sign in to comment.