@lorenzopant/tmdb 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -1
- package/tsconfig.json +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lorenzopant/tmdb",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "A completely type-safe The Movie Database (TMDB) API wrapper for typescript applications.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"@eslint/eslintrc": "^3.3.1",
|
|
22
22
|
"@eslint/js": "^9.30.0",
|
|
23
23
|
"@types/node": "^22.15.2",
|
|
24
|
+
"@types/react": "^19.1.8",
|
|
24
25
|
"@typescript-eslint/eslint-plugin": "^8.35.0",
|
|
25
26
|
"@typescript-eslint/parser": "^8.35.0",
|
|
26
27
|
"@vitest/coverage-v8": "^3.1.2",
|
|
@@ -31,6 +32,8 @@
|
|
|
31
32
|
"eslint-plugin-import": "^2.32.0",
|
|
32
33
|
"husky": "^9.1.7",
|
|
33
34
|
"pino": "^9.7.0",
|
|
35
|
+
"react": "^19.1.0",
|
|
36
|
+
"react-dom": "^19.1.0",
|
|
34
37
|
"release-it": "^19.0.3",
|
|
35
38
|
"release-it-pnpm": "^4.6.6",
|
|
36
39
|
"typescript": "^5.8.3",
|
|
@@ -38,6 +41,10 @@
|
|
|
38
41
|
"vite": "^7.0.0",
|
|
39
42
|
"vitest": "^3.2.4"
|
|
40
43
|
},
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"react": "^18.0.0",
|
|
46
|
+
"react-dom": "^18.0.0"
|
|
47
|
+
},
|
|
41
48
|
"scripts": {
|
|
42
49
|
"build": "tsc",
|
|
43
50
|
"build:watch": "tsc --watch",
|
package/tsconfig.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
/* Language and Environment */
|
|
14
14
|
"target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
|
15
15
|
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
|
16
|
-
|
|
16
|
+
"jsx": "react-jsx", /* Specify what JSX code is generated. */
|
|
17
17
|
// "libReplacement": true, /* Enable lib replacement. */
|
|
18
18
|
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
|
|
19
19
|
// "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
|
|
@@ -52,15 +52,15 @@
|
|
|
52
52
|
// "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
|
|
53
53
|
|
|
54
54
|
/* Emit */
|
|
55
|
-
"declaration": true,
|
|
56
|
-
|
|
55
|
+
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
|
|
56
|
+
"declarationMap": true, /* Create sourcemaps for d.ts files. */
|
|
57
57
|
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
|
|
58
58
|
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
|
|
59
59
|
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
|
|
60
60
|
// "noEmit": true, /* Disable emitting files from a compilation. */
|
|
61
61
|
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
|
|
62
|
-
"outDir": "dist",
|
|
63
|
-
"removeComments": false,
|
|
62
|
+
"outDir": "dist", /* Specify an output folder for all emitted files. */
|
|
63
|
+
"removeComments": false, /* Disable emitting comments. */
|
|
64
64
|
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
|
|
65
65
|
// "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
|
|
66
66
|
// "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
// "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
|
|
80
80
|
// "isolatedDeclarations": true, /* Require sufficient annotation on exports so other tools can trivially generate declaration files. */
|
|
81
81
|
// "erasableSyntaxOnly": true, /* Do not allow runtime constructs that are not part of ECMAScript. */
|
|
82
|
-
|
|
82
|
+
"allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
|
83
83
|
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
|
|
84
84
|
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
|
|
85
85
|
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|