-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e814b1e
commit e80ecfc
Showing
5 changed files
with
29 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Publish to NPM | ||
|
||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18.x] | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- uses: ./.github/workflows/build.yml | ||
with: | ||
node-version: 18.x | ||
- name: Deploy package | ||
if: github.ref == 'refs/heads/main' | ||
run: npm publish --dry-run | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
{ | ||
"name": "vue-class-migrator", | ||
"version": "0.0.1", | ||
"author": "Victor Cuena Garcia <[email protected]>", | ||
"description": "CLI tool to help migrating vue class components to vue 3 compatible components.", | ||
"bin": { | ||
"vue-class-migrator": "./dist/index.js" | ||
}, | ||
"engines": { | ||
"node": "18" | ||
}, | ||
"files": ["dist"], | ||
"scripts": { | ||
"migrate": "ts-node src/index.ts", | ||
"build": "npx tsc", | ||
"lint": "eslint src", | ||
"test": "jest" | ||
}, | ||
"license": "MIT", | ||
"author": "Victor Cuena Garcia", | ||
"license": "Apache-2.0", | ||
"homepage": "https://github.com/getyourguide/vue-class-migrator#readme", | ||
"repository": { | ||
"type": "git", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters