Compare commits

...

3 Commits

Author SHA1 Message Date
LukeHagar
5ae5c02dbf Bump version to 0.0.11 2023-04-18 18:24:35 +00:00
Luke Hagar
3da49e7178 Merge branch 'main' of https://github.com/LukeHagar/plexjs 2023-04-18 13:23:51 -05:00
Luke Hagar
e8658f4d85 all in one workflow 2023-04-18 13:23:45 -05:00
6 changed files with 25 additions and 8 deletions

View File

@@ -84,5 +84,22 @@ jobs:
with: with:
tag_name: ${{ github.event.inputs.version }} tag_name: ${{ github.event.inputs.version }}
release_name: ${{ github.event.inputs.version }} release_name: ${{ github.event.inputs.version }}
draft: true draft: false
prerelease: false prerelease: false
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
- run: |
cd plexjs
npm ci
- id: publish
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./plexjs/package.json

View File

@@ -1,7 +1,7 @@
name: Publish SDK package to npmjs name: Publish SDK package to npmjs
on: on:
release: release:
types: [created] types: [published]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -5,7 +5,7 @@ files:
destinationFilename: package.json destinationFilename: package.json
npmName: plexjs npmName: plexjs
npmRepository: lukehagar npmRepository: lukehagar
npmVersion: 0.0.10 npmVersion: 0.0.11
useSingleRequestParameter: true useSingleRequestParameter: true
sortParamsByRequiredFlag: true sortParamsByRequiredFlag: true
gitUserID: lukehagar gitUserID: lukehagar

View File

@@ -1,4 +1,4 @@
## plexjs@0.0.10 ## plexjs@0.0.11
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments: This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
_published:_ _published:_
``` ```
npm install plexjs@0.0.10 --save npm install plexjs@0.0.11 --save
``` ```
_unPublished (not recommended):_ _unPublished (not recommended):_

View File

@@ -1,12 +1,12 @@
{ {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.0.10", "version": "0.0.11",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.0.10", "version": "0.0.11",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"axios": "^0.26.1", "axios": "^0.26.1",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.0.10", "version": "0.0.11",
"description": "Community Made Plex JS/TS Module", "description": "Community Made Plex JS/TS Module",
"author": "Luke Hagar", "author": "Luke Hagar",
"type": "module", "type": "module",