![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@cuckoointernet/tsconfig
Advanced tools
These are base shared `tsconfig.json`s from which all other `tsconfig.json`'s inherit from.
tsconfig
These are base shared tsconfig.json
s from which all other tsconfig.json
's inherit from.
@cuckoointernet/tsconfig/base.json
├── @cuckoointernet/tsconfig/esm.json
│ └── @cuckoointernet/tsconfig/esm-jsx.json
├── @cuckoointernet/tsconfig/cjs.json
│ └── @cuckoointernet/tsconfig/cjs-jsx.json
└── @cuckoointernet/tsconfig/nextjs.json
Define include, exclude, compilerOptions.rootDir, and compilerOptions.outDir yourself.
{
"extends": "@cuckoointernet/tsconfig/nextjs.json",
"include": ["next-env.d.ts", "src/**/*.mdx", "src/**/*.ts", "src/**/*.tsx"],
"exclude": ["node_modules", "out"],
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist"
}
}
tsconfig.json
./dist
tsconfig.json
./dist
To avoid this, use your tsconfig.json
for type checking everything (source and tests) but define separate eg. tsconfig.build.json
files which exclude your tests when building your project.
{
"main": "./dist/cjs/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": ["./dist/**"],
"scripts": {
"build:cjs": "tsc --project tsconfig.cjs.json",
"build:esm": "tsc --project tsconfig.esm.json",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"clean": "rm -rf dist",
"dev:cjs": "tsc --watch --project tsconfig.cjs.json",
"dev:esm": "tsc --watch --project tsconfig.esm.json",
"dev": "concurrently 'npm:dev:esm' 'npm:dev:cjs'"
}
}
@cuckoointernet/tsconfig/base.json
The Default/Base/Root config which everything else inherits from, here we define how strict we want our packages to be by default.
@cuckoointernet/tsconfig/esm.json
To be used when building for modern browsers.
@cuckoointernet/tsconfig/esm-jsx.json
To be used when building React projects for modern browsers.
@cuckoointernet/tsconfig/cjs.json
To be used when building for older browsers.
@cuckoointernet/tsconfig/cjs-jsx.json
To be used when building React projects for older browsers.
@cuckoointernet/tsconfig/nextjs.json
To be used with Next.js projects.
FAQs
These are base shared `tsconfig.json`s from which all other `tsconfig.json`'s inherit from.
The npm package @cuckoointernet/tsconfig receives a total of 1 weekly downloads. As such, @cuckoointernet/tsconfig popularity was classified as not popular.
We found that @cuckoointernet/tsconfig demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.