Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codecompose/typescript-config

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codecompose/typescript-config - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

10

base.json

@@ -21,7 +21,8 @@ {

/* My Standard */
/* Opinion */
"incremental": true,
"module": "preserve",
"outDir": "${configDir}/dist",
"outDir": "dist",
"baseUrl": "${configDir}",
"rootDir": "${configDir}/src",
"baseUrl": "${configDir}",
"paths": {

@@ -31,3 +32,4 @@ "~/*": ["./src/*"]

},
"include": ["${configDir}/src", "${configDir}/src/**/*.json"]
"include": ["src", "src/**/*.json"],
"exclude": ["node_modules", "dist"]
}

13

nextjs.json

@@ -6,9 +6,14 @@ {

"compilerOptions": {
"jsx": "preserve",
"jsx": "preserve", // next does its own jsx transformation
"lib": ["dom", "dom.iterable", "esnext"],
"noEmit": true,
"incremental": true // because nextjs adds this automatically otherwise
"rootDir": "${configDir}", // nextjs targets files outside of src in root as well
"plugins": [
{
"name": "next" // plugin comes installed with nextjs
}
]
},
"include": ["${configDir}/src", "${configDir}/next-env.d.ts"],
"exclude": ["node_modules"] // because nextjs adds this automatically otherwise
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}
{
"name": "@codecompose/typescript-config",
"description": "Opinionated reusable TypeScript configurations",
"version": "1.0.2",
"version": "1.0.3",
"license": "MIT",

@@ -6,0 +6,0 @@ "author": "Thijs Koerselman",

@@ -7,3 +7,3 @@ {

"lib": ["dom", "dom.iterable", "es2023"],
"jsx": "preserve",
"jsx": "react-jsx",
/* If transpiling with TypeScript: */

@@ -10,0 +10,0 @@ "sourceMap": true,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc