Skip to content

Commit 54232be

Browse files
authored
feat(scaffolding): Get working release version (#2)
1 parent 03492bc commit 54232be

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

.github/npm-publish.yml renamed to .github/workflows/npm-publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ jobs:
2525
node-version: 14
2626

2727
- run: npm install
28-
29-
# publishes to NPM using third party tool (more info here https://github.com/JS-DevTools/npm-publish)
30-
- uses: JS-DevTools/npm-publish@v1
31-
with:
32-
token: ${{ secrets.NPM_TOKEN }}
28+
29+
- run: npm publish
30+
env:
31+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,19 @@ This template should help get you started developing with Vue 3 in Vite. The tem
55
## Recommended IDE Setup
66

77
- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)
8+
9+
10+
## How to test locally
11+
12+
Run
13+
```
14+
vite build
15+
npm link
16+
```
17+
18+
and then in a different project repo you can
19+
```
20+
run npm link "@lob/vue-address-autocomplete"
21+
```
22+
23+
At which point you can now test the repo locally

src/components/AddressAutocomplete.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<v-select :options="['Canada', 'United States']"></v-select>
2+
<v-select :options="['This is not in a working state yet']"></v-select>
33
</template>
44

55
<script>

0 commit comments

Comments
 (0)