Skip to content

Commit 05e8785

Browse files
authored
Merge pull request #94 from obewds/dev
1.1.0 - updated outdated deps and switch to automated publishing
2 parents 79850ce + 97ab5d5 commit 05e8785

28 files changed

+1552
-1726
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# ./.github/workflows/publish_npm_package.yml
2+
3+
# For more information see: https://github.com/marketplace/actions/npm-publish
4+
5+
name: Node.js CI NPM Publish Package
6+
7+
on:
8+
pull_request:
9+
types:
10+
- closed
11+
12+
jobs:
13+
publish:
14+
if: github.event.pull_request.merged == true
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
node-version: [16.x]
19+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
20+
steps:
21+
- uses: actions/checkout@v3
22+
- uses: actions/setup-node@v3
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
cache: 'npm'
26+
- id: publish
27+
uses: JS-DevTools/npm-publish@v1
28+
with:
29+
access: "public"
30+
tag: ${{ steps.publish.outputs.version }}
31+
token: ${{ secrets.NPM_GITHUB_OBEWDS_AUTOMATION_AUTH_TOKEN }}
32+
- if: steps.publish.outputs.old-version != steps.publish.outputs.version
33+
run: npm install && npm run pkg:org && npm run git:tag
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# ./.github/workflows/vitest_pull_request_tests.yml
2+
3+
# This workflow will do a clean installation of node dependencies
4+
# then cache/restore them
5+
# then build the source code (currently disabled)
6+
# then run tests across different versions of node (only node 16.x for Vitest currently)
7+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
8+
9+
name: Node.js CI Vitest Run Tests
10+
11+
on:
12+
pull_request:
13+
branches: [ "main" ]
14+
# push:
15+
# branches: [ "main" ]
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
strategy:
21+
matrix:
22+
node-version: [16.x]
23+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
24+
steps:
25+
- uses: actions/checkout@v3
26+
- name: Use Node.js ${{ matrix.node-version }}
27+
uses: actions/setup-node@v3
28+
with:
29+
node-version: ${{ matrix.node-version }}
30+
cache: 'npm'
31+
- run: npm ci
32+
# - run: npm run generate --if-present
33+
- run: npm test

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,17 @@ All notable changes to this project will be documented in this file. Dates are d
44

55
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
66

7-
#### [v1.0.1](https://github.com/obewds/vue-tw-inline/compare/v1.0.1...v1.0.1)
7+
#### [v1.1.0](https://github.com/obewds/vue-tw-inline/compare/v1.0.1...v1.1.0)
8+
9+
- reinstalled node modules and regenerated package-lock [`edf4edd`](https://github.com/obewds/vue-tw-inline/commit/edf4edd29d0f625b8ac3bb3a4325c1a3f93010ca)
10+
- added @vitest/coverage-c8 dep [`a67f81a`](https://github.com/obewds/vue-tw-inline/commit/a67f81a76b96dd9b1fed7a742bb3e413ba8abef5)
11+
- uninstalled c8 dep [`9359a82`](https://github.com/obewds/vue-tw-inline/commit/9359a8271c275b513c28e1f01918d455236d1c4a)
12+
- removed @rollup/plugin-typescript dep [`667d333`](https://github.com/obewds/vue-tw-inline/commit/667d3339db048f6cdf94d8048c8decf8baee62ae)
13+
- added vitest_pull_request_tests.yml github action [`bcbffb7`](https://github.com/obewds/vue-tw-inline/commit/bcbffb701514c94db8c9c207537a2f2f4b869b86)
14+
- added publish_npm_package.yml github action [`b2fbad0`](https://github.com/obewds/vue-tw-inline/commit/b2fbad095ec2a5c1d624271589557f3e924aa12b)
15+
- updated changelog for patch 1.0.1 [`83f2b7c`](https://github.com/obewds/vue-tw-inline/commit/83f2b7c21a398055848214cc9ca00b89dc5cbba8)
16+
- removed @rollup/plugin-typescript from vite config [`f9da63c`](https://github.com/obewds/vue-tw-inline/commit/f9da63c01b2ecc13a2f987e6c0ce33a3d5497e9e)
17+
- removed package:xxx npm scripts and replaced with generate npm script [`f233265`](https://github.com/obewds/vue-tw-inline/commit/f233265453b7fd4095a60f671bb240f5f91d9ee1)
818

919
#### [v1.0.1](https://github.com/obewds/vue-tw-inline/compare/v1.0.0...v1.0.1)
1020

dist/types/components/VueTwInline.vue.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ declare const _default: {
9292
type: StringConstructor;
9393
default: string;
9494
};
95-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
95+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
9696
text: string;
9797
bgPalette: string;
9898
bgColor: string;
@@ -192,7 +192,7 @@ declare const _default: {
192192
type: StringConstructor;
193193
default: string;
194194
};
195-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
195+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
196196
text: string;
197197
bgPalette: string;
198198
bgColor: string;

dist/vue-tw-inline.iife.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/.vitepress/dist/404.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

docs/.vitepress/dist/assets/app.1ddafd7a.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/.vitepress/dist/assets/app.a1e80dd1.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)