Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

19 changes: 0 additions & 19 deletions .eslintrc.json

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
node-version: 'lts/*'

- name: Install dependencies
run: npm install
Expand All @@ -34,7 +34,7 @@ jobs:

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
HUSKY: 0
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
HUSKY: 0
run: npx semantic-release
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Tests

on:
pull_request:
branches: [ master ]
branches: [master]

jobs:
release:
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
node-version: 'lts/*'

- name: Install dependencies
run: npm install
Expand Down
101 changes: 97 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,97 @@
node_modules
dist
.reports
.docs
# Dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Build outputs
dist/
build/
*.tsbuildinfo

# Test coverage
.reports/
coverage/
*.lcov

# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~
.project
.classpath
.settings/

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
Desktop.ini

# Logs
logs/
*.log

# Runtime data
pids/
*.pid
*.seed
*.pid.lock

# Temporary folders
tmp/
temp/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port
5 changes: 1 addition & 4 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx commitlint --edit $1
npx --no -- commitlint --edit "$1"
5 changes: 2 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lint
npm run format
npm run build
3 changes: 0 additions & 3 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run test
5 changes: 1 addition & 4 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

exec < /dev/tty && git cz --hook || true
exec < /dev/tty && npx cz --hook || true
51 changes: 41 additions & 10 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,42 @@
.*
build
commitlint.config.ts
jest.config.ts
node_modules
release.config.ts
rollup.config.ts
src
test
# Source and test files
src/
test/

# Configuration files
*.config.ts
*.config.js
tsconfig*.json
typedoc.json
eslint.config.ts
commitlint.config.ts
.prettierrc
.prettierignore
.releaserc

# Build and development files
.reports/
.husky/
.github/
.git/
.gitignore

# Dependencies
node_modules/

# Documentation
CHANGELOG.md

# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules/
dist/
.coverage/
package-lock.json
*.d.ts
13 changes: 13 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"useTabs": false,
"trailingComma": "es5",
"printWidth": 100,
"endOfLine": "lf",
"arrowParens": "avoid",
"bracketSpacing": true,
"bracketSameLine": false,
"quoteProps": "as-needed"
}
20 changes: 10 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

### Bug Fixes

* fixing the release action ([92e5584](https://github.com/nass600/plex-sdk/commit/92e5584e670d1a44aff62f1e3caefa5af9a3c29f))
- fixing the release action ([92e5584](https://github.com/nass600/plex-sdk/commit/92e5584e670d1a44aff62f1e3caefa5af9a3c29f))

# [2.0.0](https://github.com/nass600/plex-sdk/compare/1.0.5...2.0.0) (2023-01-09)

### Features

* modified search endpoint to accept optional params ([400e347](https://github.com/nass600/plex-sdk/commit/400e347008c45fc3df77ff624d4f1d9972d4a477))
- modified search endpoint to accept optional params ([400e347](https://github.com/nass600/plex-sdk/commit/400e347008c45fc3df77ff624d4f1d9972d4a477))

### BREAKING CHANGES

* The pms.search function modifies the signature to accept and object, including the
query
- The pms.search function modifies the signature to accept and object, including the
query

* ci: changing to github actions
- ci: changing to github actions

## [1.0.5](https://github.com/nass600/plex-sdk/compare/1.0.4...1.0.5) (2021-01-10)

Expand All @@ -25,26 +25,26 @@

### Bug Fixes

* cleaned up documentation files ([1c9650c](https://github.com/nass600/plex-sdk/commit/1c9650cabf2b46e934b73b5758fa4c9915c7eda1))
- cleaned up documentation files ([1c9650c](https://github.com/nass600/plex-sdk/commit/1c9650cabf2b46e934b73b5758fa4c9915c7eda1))

## [1.0.2](https://github.com/nass600/plex-sdk/compare/1.0.1...1.0.2) (2021-01-02)

### Bug Fixes

* fixed badges in readme ([c002f6b](https://github.com/nass600/plex-sdk/commit/c002f6b0455762ac5a0ecdffe845a259697ea545))
- fixed badges in readme ([c002f6b](https://github.com/nass600/plex-sdk/commit/c002f6b0455762ac5a0ecdffe845a259697ea545))

## [1.0.1](https://github.com/nass600/plex-sdk/compare/1.0.0...1.0.1) (2021-01-02)

### Bug Fixes

* removed moment ([a47aa14](https://github.com/nass600/plex-sdk/commit/a47aa142a946dc812b2ec30d118f16651854c3f2))
- removed moment ([a47aa14](https://github.com/nass600/plex-sdk/commit/a47aa142a946dc812b2ec30d118f16651854c3f2))

# 1.0.0 (2021-01-02)

### Bug Fixes

* fixed semantic release config ([d2d46fd](https://github.com/nass600/plex-sdk/commit/d2d46fd25cbd55f7820c51bd3485a6ebd3524922))
- fixed semantic release config ([d2d46fd](https://github.com/nass600/plex-sdk/commit/d2d46fd25cbd55f7820c51bd3485a6ebd3524922))

### Features

* initial endpoints ([40e4d05](https://github.com/nass600/plex-sdk/commit/40e4d0520bde0aee6309379f958e99ee5f28a105))
- initial endpoints ([40e4d05](https://github.com/nass600/plex-sdk/commit/40e4d0520bde0aee6309379f958e99ee5f28a105))
Loading