Compare commits

...

10 Commits

Author SHA1 Message Date
LukeHagar
0794b8457e Bump version to 0.0.15 2023-04-18 18:41:24 +00:00
Luke Hagar
c6ba56222a Update bump_version.yml 2023-04-18 13:40:27 -05:00
Luke Hagar
e8f38b8d0a Update bump_version.yml 2023-04-18 13:37:21 -05:00
Luke Hagar
898fa0212d Merge branch 'main' of https://github.com/LukeHagar/plexjs 2023-04-18 13:36:06 -05:00
Luke Hagar
67a632bbc2 Update bump_version.yml 2023-04-18 13:35:57 -05:00
LukeHagar
19c72dd7d3 Bump version to 0.0.13 2023-04-18 18:32:10 +00:00
Luke Hagar
f4e18606ce Merge branch 'main' of https://github.com/LukeHagar/plexjs 2023-04-18 13:31:21 -05:00
Luke Hagar
dfb04b01ca Update bump_version.yml 2023-04-18 13:31:13 -05:00
LukeHagar
59185de71e Bump version to 0.0.12 2023-04-18 18:30:31 +00:00
Luke Hagar
ef52691a35 working on npm publish version 2023-04-18 13:29:02 -05:00
6 changed files with 18 additions and 44 deletions

View File

@@ -5,6 +5,11 @@ on:
inputs: inputs:
version: version:
description: The version to bump to description: The version to bump to
push:
branches:
- main
paths:
- plexjs/**
jobs: jobs:
update_typescript_version: update_typescript_version:
@@ -69,6 +74,13 @@ jobs:
npm install npm install
npm run build npm run build
- name: Publish to NPM
id: publish
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./plexjs/package.json
- name: Commit changes and create new version tag - name: Commit changes and create new version tag
if: steps.buildSDK.outcome == 'success' if: steps.buildSDK.outcome == 'success'
uses: stefanzweifel/git-auto-commit-action@v4 uses: stefanzweifel/git-auto-commit-action@v4
@@ -86,20 +98,3 @@ jobs:
release_name: ${{ github.event.inputs.version }} release_name: ${{ github.event.inputs.version }}
draft: false 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,21 +0,0 @@
name: Publish SDK package to npmjs
on:
release:
types: [published]
jobs:
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

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

View File

@@ -1,4 +1,4 @@
## plexjs@0.0.11 ## plexjs@0.0.15
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.11 --save npm install plexjs@0.0.15 --save
``` ```
_unPublished (not recommended):_ _unPublished (not recommended):_

View File

@@ -1,12 +1,12 @@
{ {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.0.11", "version": "0.0.15",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lukehagar/plexjs", "name": "@lukehagar/plexjs",
"version": "0.0.11", "version": "0.0.15",
"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.11", "version": "0.0.15",
"description": "Community Made Plex JS/TS Module", "description": "Community Made Plex JS/TS Module",
"author": "Luke Hagar", "author": "Luke Hagar",
"type": "module", "type": "module",