Skip to content

Commit

Permalink
feat(scaffolding): Get working release version (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thexumaker authored Mar 31, 2022
1 parent 03492bc commit 54232be
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/npm-publish.yml → .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
node-version: 14

- run: npm install

# publishes to NPM using third party tool (more info here https://github.com/JS-DevTools/npm-publish)
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,19 @@ This template should help get you started developing with Vue 3 in Vite. The tem
## Recommended IDE Setup

- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)


## How to test locally

Run
```
vite build
npm link
```

and then in a different project repo you can
```
run npm link "@lob/vue-address-autocomplete"
```

At which point you can now test the repo locally
2 changes: 1 addition & 1 deletion src/components/AddressAutocomplete.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<v-select :options="['Canada', 'United States']"></v-select>
<v-select :options="['This is not in a working state yet']"></v-select>
</template>

<script>
Expand Down

0 comments on commit 54232be

Please sign in to comment.