Catalog npm
Back to packageRELEASE DETAILS

1.0.1

npm

@0x57/typescript-config

TypeScript configuration for 0x57 projects

Published13 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": "40e512b73413fadcb491caee1b0a85648ac780c9",
  "tarball": "https://registry.npmjs.org/@0x57/typescript-config/-/typescript-config-1.0.1.tgz",
  "fileCount": 4,
  "integrity": "sha512-6kLNlVTbnViP6R0RskCbGyZ3e5tII1sFTTLkJUX6RHcFxyxFLHsZRoE0rUds8WUmx/AOoVBt1joVof0ON6RNcQ==",
  "signatures": [
    {
      "sig": "MEUCIHvtPPO8ebLKjSzG3mroiYODFz7sVGyqOubL5eGl0lVOAiEA0G7tYVi+IXxpD7cDwzu4ABgTkV+RzgnDU8ypb3m8JmI=",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 1904
}

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:eb131b18dac331b4f8e88e89a8feeda51a16e0170fa98018d5fe5d86684c0660

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 →