feat: init tmdb package

This commit is contained in:
Adrian Castro
2024-02-04 12:30:09 +01:00
parent 94ef89a95f
commit 1a9f955a37
4 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
{
"name": "@movie-web/tmdb",
"private": true,
"version": "0.1.0",
"type": "module",
"exports": {
".": "./src/index.ts"
},
"license": "MIT",
"scripts": {
"clean": "rm -rf .turbo node_modules",
"format": "prettier --check . --ignore-path ../../.gitignore",
"lint": "eslint .",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@movie-web/eslint-config": "workspace:^0.2.0",
"@movie-web/prettier-config": "workspace:^0.1.0",
"@movie-web/tsconfig": "workspace:^0.1.0",
"eslint": "^8.56.0",
"prettier": "^3.1.1",
"typescript": "^5.3.3"
},
"eslintConfig": {
"extends": [
"@movie-web/eslint-config/base"
]
},
"prettier": "@movie-web/prettier-config",
"dependencies": {
"tmdb-ts": "^1.6.1"
}
}

View File

@@ -0,0 +1 @@
export const name = "tmdb";

View File

@@ -0,0 +1,8 @@
{
"extends": "@movie-web/tsconfig/base.json",
"compilerOptions": {
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",
},
"include": ["*.ts", "src"],
"exclude": ["node_modules"],
}

33
pnpm-lock.yaml generated
View File

@@ -135,6 +135,31 @@ importers:
specifier: ^5.3.3 specifier: ^5.3.3
version: 5.3.3 version: 5.3.3
packages/tmdb:
dependencies:
tmdb-ts:
specifier: ^1.6.1
version: 1.6.1
devDependencies:
'@movie-web/eslint-config':
specifier: workspace:^0.2.0
version: link:../../tooling/eslint
'@movie-web/prettier-config':
specifier: workspace:^0.1.0
version: link:../../tooling/prettier
'@movie-web/tsconfig':
specifier: workspace:^0.1.0
version: link:../../tooling/typescript
eslint:
specifier: ^8.56.0
version: 8.56.0
prettier:
specifier: ^3.1.1
version: 3.2.4
typescript:
specifier: ^5.3.3
version: 5.3.3
tooling/eslint: tooling/eslint:
dependencies: dependencies:
'@typescript-eslint/eslint-plugin': '@typescript-eslint/eslint-plugin':
@@ -9537,6 +9562,14 @@ packages:
upper-case: 1.1.3 upper-case: 1.1.3
dev: true dev: true
/tmdb-ts@1.6.1:
resolution: {integrity: sha512-TJQYQctzky03z8bhlJtZ9ZjFHNvLhpow3qKHMMZj2LEOvlqcJ/Dyy33IyuBROrhzWLelkmGraAA718B0ENP1Fg==}
dependencies:
cross-fetch: 3.1.8
transitivePeerDependencies:
- encoding
dev: false
/tmp@0.0.33: /tmp@0.0.33:
resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==}
engines: {node: '>=0.6.0'} engines: {node: '>=0.6.0'}