Comparing version 1.0.11 to 1.0.12
{ | ||
"name": "tiny1z", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "The Tiny1z API Client is a convenient and lightweight npm package that allows developers to seamlessly integrate the Tiny1z URL Shortener API into their applications. Simplify URL shortening, retrieval, and management with just a few lines of code.", | ||
@@ -32,2 +32,5 @@ "main": "index.ts", | ||
"ts-loader": "^9.5.1", | ||
"ts-node": "^10.9.2", | ||
"tsconfig-paths": "^4.2.0", | ||
"tsconfig-paths-webpack-plugin": "^4.1.0", | ||
"typescript": "^5.4.2", | ||
@@ -34,0 +37,0 @@ "webpack": "^5.90.3", |
@@ -15,6 +15,5 @@ { | ||
}, | ||
"include": ["*.ts", | ||
"*.tsx"], | ||
"include": ["**/*.ts", "index.ts"], | ||
"exclude": ["node_modules", "dist"] | ||
} | ||
const path = require('path'); | ||
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin'); | ||
@@ -11,3 +12,4 @@ module.exports = { | ||
resolve: { | ||
extensions: ['.ts', '.tsx', '.js'], | ||
extensions: ['.ts', '.js'], | ||
plugins: [new TsconfigPathsPlugin({ configFile: './tsconfig.json' })], | ||
}, | ||
@@ -17,14 +19,8 @@ module: { | ||
{ | ||
test: /\.ts$|tsx/, | ||
use: 'ts-loader', | ||
test: /\.ts$/, | ||
loader: 'ts-loader', | ||
exclude: /node_modules/, | ||
}, | ||
// Add this rule for TypeScript files in node_modules | ||
{ | ||
test: /\.ts$|tsx/, | ||
use: 'ts-loader', | ||
include: /node_modules/, | ||
}, | ||
], | ||
}, | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12064
11
134