Catalog npm
Back to packageRELEASE DETAILS

1.0.4

npm

@0x57/typescript-config

TypeScript configuration for 0x57 projects

Published18 Dec 2024
Direct dependencies1
Transitive dependenciesNot calculated

README

Current package documentation

@0x57/typescript-config

An opinionated shared TypeScript config targeting TypeScript v6+.

Usage

Install the package:

bun add -D @0x57/typescript-config

Then create or modify your tsconfig.json file depending on the situations below.

Next.js

{
	"extends": "@0x57/typescript-config/nextjs.json"
}

Library

{
	"extends": "@0x57/typescript-config/library.json",
	"compilerOptions": {
		"rootDir": "src",
		"outDir": "dist"
	},
	"include": ["src", "test"],
	"exclude": ["node_modules", "dist"]
}

Browser

The browser configuration assumes bundling with Vite.

{
	"extends": "@0x57/typescript-config/browser.json",
	"compilerOptions": {
		"rootDir": "src",
		"outDir": "dist"
	},
	"include": ["src", "test"],
	"exclude": ["node_modules", "dist"]
}

Server Application

If you are not using Bun, you may want to use the setup for a library instead.

{
	"extends": "@0x57/typescript-config/base.json"
}

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0x57/prettier-config
Environment
{
  "local_name": "@0x57/prettier-config",
  "alias": false,
  "peer_metadata": null
}
1.0.0runtime

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "e656f9d6b02a28c1e12e4e2f25b9ac39614ee7ba",
  "tarball": "https://registry.npmjs.org/@0x57/typescript-config/-/typescript-config-1.0.4.tgz",
  "fileCount": 6,
  "integrity": "sha512-LIpc7K27e+ROirqsr5DG7hb8FmGLtipo2giIVe579v++/aDjPv/yXKS5hKeuU7iDFysKvHSbbH1C5oWOh+6KIg==",
  "signatures": [
    {
      "sig": "MEYCIQDFTeB1sK9jmz63Q3kIG/fag6/wZtdRTf4pIwWvmQ2CBQIhAKFIaVRv1Vq3fDCMlftuEyZTkTeYPmx6Ib758p6nWmMM",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 2851
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:37 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:748828c20aa73ba88c9af8ac091ca595032fd8af15293dbd4d243e97ff061466

Other collected versions

2.0.210 Aug2.0.122 Jul2.0.01 Jun1.3.314 May1.3.212 May1.3.112 MayView all collected versions →