@kingironman2011/license-checker 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Julian Speckmann
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,4 @@
1
+ import type { LicenseCheckOptions } from "../types.js";
2
+ export interface CliOptions extends LicenseCheckOptions {
3
+ }
4
+ export declare function getNormalizedArguments(args: string[]): CliOptions;
@@ -0,0 +1,53 @@
1
+ import path from "node:path";
2
+ export function getNormalizedArguments(args) {
3
+ const options = {
4
+ start: process.cwd(),
5
+ silent: false,
6
+ };
7
+ for (let index = 0; index < args.length; index += 1) {
8
+ const arg = args[index];
9
+ if (arg === "--silent" || arg === "-s")
10
+ options.silent = true;
11
+ else if (arg === "--production" || arg === "--prod") {
12
+ options.production = true;
13
+ options.development = false;
14
+ }
15
+ else if (arg === "--development" || arg === "--dev") {
16
+ options.production = false;
17
+ options.development = true;
18
+ }
19
+ else if (arg === "--all") {
20
+ options.production = false;
21
+ options.development = false;
22
+ }
23
+ else if (arg === "--extract" || arg === "-o" || arg === "--files") {
24
+ const value = args[index + 1];
25
+ if (!value || value.startsWith("-"))
26
+ throw new Error(`${arg} requires a directory`);
27
+ options.files = path.resolve(value);
28
+ index += 1;
29
+ }
30
+ else if (arg === "--help" || arg === "-h") {
31
+ printHelp();
32
+ process.exit(0);
33
+ }
34
+ else if (arg.startsWith("-")) {
35
+ throw new Error(`Unknown option: ${arg}`);
36
+ }
37
+ else {
38
+ options.start = path.resolve(arg);
39
+ }
40
+ }
41
+ return options;
42
+ }
43
+ function printHelp() {
44
+ console.log(`Usage: license-checker [project-directory] [options]
45
+
46
+ Options:
47
+ --silent, -s Do not print the license report
48
+ --extract, --files <dir> Copy license files into <dir>
49
+ --production, --prod Scan production dependencies only
50
+ --development, --dev Scan development dependencies only
51
+ --all Scan both dependency scopes (default)
52
+ --help, -h Show this help`);
53
+ }
package/dist/cli.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
package/dist/cli.js ADDED
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env node
2
+ import path from "node:path";
3
+ import { fileURLToPath } from "node:url";
4
+ import { getNormalizedArguments } from "./cli/options.js";
5
+ import { runLicenseCheck } from "./index.js";
6
+ async function main() {
7
+ const options = getNormalizedArguments(process.argv.slice(2));
8
+ const items = await runLicenseCheck(options);
9
+ if (options.silent)
10
+ return;
11
+ console.log(`Found ${items.length} dependencies:\n`);
12
+ for (const item of items)
13
+ console.log(`${item.name}@${item.version} ${item.license}`);
14
+ if (options.files)
15
+ console.log(`\nLicense files copied to ${options.files}`);
16
+ }
17
+ const invokedPath = process.argv[1] ? path.resolve(process.argv[1]) : "";
18
+ if (invokedPath === fileURLToPath(import.meta.url)) {
19
+ main().catch((error) => {
20
+ console.error(error instanceof Error ? error.message : error);
21
+ process.exitCode = 1;
22
+ });
23
+ }
@@ -0,0 +1,2 @@
1
+ import type { DependencyLicense, DependencyScope } from "../types.js";
2
+ export declare function readInstalledPackages(projectDir: string, scope: Exclude<DependencyScope, "both">): Promise<DependencyLicense[]>;
@@ -0,0 +1,66 @@
1
+ import { readFile, realpath } from "node:fs/promises";
2
+ import path from "node:path";
3
+ async function resolveDependency(parentDir, name) {
4
+ let currentDir = parentDir;
5
+ while (true) {
6
+ const candidate = path.join(currentDir, "node_modules", name, "package.json");
7
+ try {
8
+ await readFile(candidate, "utf8");
9
+ return path.dirname(candidate);
10
+ }
11
+ catch {
12
+ const parent = path.dirname(currentDir);
13
+ if (parent === currentDir)
14
+ return undefined;
15
+ currentDir = parent;
16
+ }
17
+ }
18
+ }
19
+ export async function readInstalledPackages(projectDir, scope) {
20
+ const root = JSON.parse(await readFile(path.join(projectDir, "package.json"), "utf8"));
21
+ const roots = scope === "production"
22
+ ? { ...root.dependencies, ...root.optionalDependencies }
23
+ : (root.devDependencies ?? {});
24
+ const found = new Map();
25
+ const visited = new Set();
26
+ async function visit(packagePath, dependencyName) {
27
+ let realPackagePath;
28
+ try {
29
+ realPackagePath = await realpath(packagePath);
30
+ }
31
+ catch {
32
+ return;
33
+ }
34
+ if (visited.has(realPackagePath))
35
+ return;
36
+ visited.add(realPackagePath);
37
+ const pkg = JSON.parse(await readFile(path.join(packagePath, "package.json"), "utf8"));
38
+ const name = pkg.name ?? dependencyName;
39
+ const version = pkg.version ?? "unknown";
40
+ const key = `${name}@${version}`;
41
+ found.set(key, {
42
+ name,
43
+ version,
44
+ license: pkg.license && typeof pkg.license === "string"
45
+ ? pkg.license
46
+ : ((typeof pkg.license === "object" ? pkg.license.type : undefined) ??
47
+ pkg.licenses?.map(({ type }) => type ?? "Unknown").join(" OR ") ??
48
+ "Unknown"),
49
+ scope,
50
+ packagePath,
51
+ licenseFiles: [],
52
+ });
53
+ const dependencies = { ...pkg.dependencies, ...pkg.optionalDependencies };
54
+ for (const childName of Object.keys(dependencies).toSorted()) {
55
+ const childPath = await resolveDependency(packagePath, childName);
56
+ if (childPath)
57
+ await visit(childPath, childName);
58
+ }
59
+ }
60
+ for (const name of Object.keys(roots).toSorted()) {
61
+ const packagePath = await resolveDependency(projectDir, name);
62
+ if (packagePath)
63
+ await visit(packagePath, name);
64
+ }
65
+ return [...found.values()];
66
+ }
@@ -0,0 +1,3 @@
1
+ import type { DependencyLicense, LicenseCheckOptions } from "./types.js";
2
+ export type { DependencyLicense, DependencyScope, LicenseCheckOptions, } from "./types.js";
3
+ export declare function runLicenseCheck(options?: LicenseCheckOptions): Promise<DependencyLicense[]>;
package/dist/index.js ADDED
@@ -0,0 +1,28 @@
1
+ import path from "node:path";
2
+ import { readInstalledPackages } from "./dependencies/read-installed-packages.js";
3
+ import { collectLicenseResults } from "./licenses/collect-license-results.js";
4
+ import { writeIndividualLicenseFilesToDir } from "./output/write-output.js";
5
+ export async function runLicenseCheck(options = {}) {
6
+ const projectDir = path.resolve(options.start ?? process.cwd());
7
+ const scopes = options.production
8
+ ? ["production"]
9
+ : options.development
10
+ ? ["development"]
11
+ : ["production", "development"];
12
+ const results = new Map();
13
+ for (const scope of scopes) {
14
+ const packages = await collectLicenseResults(await readInstalledPackages(projectDir, scope));
15
+ for (const item of packages) {
16
+ const key = `${item.name}@${item.version}`;
17
+ const existing = results.get(key);
18
+ if (existing)
19
+ existing.scope = "both";
20
+ else
21
+ results.set(key, item);
22
+ }
23
+ }
24
+ const items = [...results.values()].toSorted((a, b) => a.name.localeCompare(b.name) || a.version.localeCompare(b.version));
25
+ if (options.files)
26
+ await writeIndividualLicenseFilesToDir(path.resolve(options.files), items);
27
+ return items;
28
+ }
@@ -0,0 +1,4 @@
1
+ import type { LicenseCheckOptions } from "../types.js";
2
+ export interface CliOptions extends LicenseCheckOptions {
3
+ }
4
+ export declare function getNormalizedArguments(args: string[]): CliOptions;
@@ -0,0 +1,53 @@
1
+ import path from "node:path";
2
+ export function getNormalizedArguments(args) {
3
+ const options = {
4
+ start: process.cwd(),
5
+ silent: false,
6
+ };
7
+ for (let index = 0; index < args.length; index += 1) {
8
+ const arg = args[index];
9
+ if (arg === "--silent" || arg === "-s")
10
+ options.silent = true;
11
+ else if (arg === "--production" || arg === "--prod") {
12
+ options.production = true;
13
+ options.development = false;
14
+ }
15
+ else if (arg === "--development" || arg === "--dev") {
16
+ options.production = false;
17
+ options.development = true;
18
+ }
19
+ else if (arg === "--all") {
20
+ options.production = false;
21
+ options.development = false;
22
+ }
23
+ else if (arg === "--extract" || arg === "-o" || arg === "--files") {
24
+ const value = args[index + 1];
25
+ if (!value || value.startsWith("-"))
26
+ throw new Error(`${arg} requires a directory`);
27
+ options.files = path.resolve(value);
28
+ index += 1;
29
+ }
30
+ else if (arg === "--help" || arg === "-h") {
31
+ printHelp();
32
+ process.exit(0);
33
+ }
34
+ else if (arg.startsWith("-")) {
35
+ throw new Error(`Unknown option: ${arg}`);
36
+ }
37
+ else {
38
+ options.start = path.resolve(arg);
39
+ }
40
+ }
41
+ return options;
42
+ }
43
+ function printHelp() {
44
+ console.log(`Usage: license-checker [project-directory] [options]
45
+
46
+ Options:
47
+ --silent, -s Do not print the license report
48
+ --extract, --files <dir> Copy license files into <dir>
49
+ --production, --prod Scan production dependencies only
50
+ --development, --dev Scan development dependencies only
51
+ --all Scan both dependency scopes (default)
52
+ --help, -h Show this help`);
53
+ }
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env node
2
+ import path from "node:path";
3
+ import { fileURLToPath } from "node:url";
4
+ import { getNormalizedArguments } from "./cli/options.js";
5
+ import { runLicenseCheck } from "./index.js";
6
+ async function main() {
7
+ const options = getNormalizedArguments(process.argv.slice(2));
8
+ const items = await runLicenseCheck(options);
9
+ if (options.silent)
10
+ return;
11
+ console.log(`Found ${items.length} dependencies:\n`);
12
+ for (const item of items)
13
+ console.log(`${item.name}@${item.version} ${item.license}`);
14
+ if (options.files)
15
+ console.log(`\nLicense files copied to ${options.files}`);
16
+ }
17
+ const invokedPath = process.argv[1] ? path.resolve(process.argv[1]) : "";
18
+ if (invokedPath === fileURLToPath(import.meta.url)) {
19
+ main().catch((error) => {
20
+ console.error(error instanceof Error ? error.message : error);
21
+ process.exitCode = 1;
22
+ });
23
+ }
@@ -0,0 +1,2 @@
1
+ import type { DependencyLicense, DependencyScope } from "../types.js";
2
+ export declare function readInstalledPackages(projectDir: string, scope: Exclude<DependencyScope, "both">): Promise<DependencyLicense[]>;
@@ -0,0 +1,66 @@
1
+ import { readFile, realpath } from "node:fs/promises";
2
+ import path from "node:path";
3
+ async function resolveDependency(parentDir, name) {
4
+ let currentDir = parentDir;
5
+ while (true) {
6
+ const candidate = path.join(currentDir, "node_modules", name, "package.json");
7
+ try {
8
+ await readFile(candidate, "utf8");
9
+ return path.dirname(candidate);
10
+ }
11
+ catch {
12
+ const parent = path.dirname(currentDir);
13
+ if (parent === currentDir)
14
+ return undefined;
15
+ currentDir = parent;
16
+ }
17
+ }
18
+ }
19
+ export async function readInstalledPackages(projectDir, scope) {
20
+ const root = JSON.parse(await readFile(path.join(projectDir, "package.json"), "utf8"));
21
+ const roots = scope === "production"
22
+ ? { ...root.dependencies, ...root.optionalDependencies }
23
+ : (root.devDependencies ?? {});
24
+ const found = new Map();
25
+ const visited = new Set();
26
+ async function visit(packagePath, dependencyName) {
27
+ let realPackagePath;
28
+ try {
29
+ realPackagePath = await realpath(packagePath);
30
+ }
31
+ catch {
32
+ return;
33
+ }
34
+ if (visited.has(realPackagePath))
35
+ return;
36
+ visited.add(realPackagePath);
37
+ const pkg = JSON.parse(await readFile(path.join(packagePath, "package.json"), "utf8"));
38
+ const name = pkg.name ?? dependencyName;
39
+ const version = pkg.version ?? "unknown";
40
+ const key = `${name}@${version}`;
41
+ found.set(key, {
42
+ name,
43
+ version,
44
+ license: pkg.license && typeof pkg.license === "string"
45
+ ? pkg.license
46
+ : ((typeof pkg.license === "object" ? pkg.license.type : undefined) ??
47
+ pkg.licenses?.map(({ type }) => type ?? "Unknown").join(" OR ") ??
48
+ "Unknown"),
49
+ scope,
50
+ packagePath,
51
+ licenseFiles: [],
52
+ });
53
+ const dependencies = { ...pkg.dependencies, ...pkg.optionalDependencies };
54
+ for (const childName of Object.keys(dependencies).toSorted()) {
55
+ const childPath = await resolveDependency(packagePath, childName);
56
+ if (childPath)
57
+ await visit(childPath, childName);
58
+ }
59
+ }
60
+ for (const name of Object.keys(roots).toSorted()) {
61
+ const packagePath = await resolveDependency(projectDir, name);
62
+ if (packagePath)
63
+ await visit(packagePath, name);
64
+ }
65
+ return [...found.values()];
66
+ }
@@ -0,0 +1,3 @@
1
+ import type { DependencyLicense, LicenseCheckOptions } from "./types.js";
2
+ export type { DependencyLicense, DependencyScope, LicenseCheckOptions, } from "./types.js";
3
+ export declare function runLicenseCheck(options?: LicenseCheckOptions): Promise<DependencyLicense[]>;
@@ -0,0 +1,28 @@
1
+ import path from "node:path";
2
+ import { readInstalledPackages } from "./dependencies/read-installed-packages.js";
3
+ import { collectLicenseResults } from "./licenses/collect-license-results.js";
4
+ import { writeIndividualLicenseFilesToDir } from "./output/write-output.js";
5
+ export async function runLicenseCheck(options = {}) {
6
+ const projectDir = path.resolve(options.start ?? process.cwd());
7
+ const scopes = options.production
8
+ ? ["production"]
9
+ : options.development
10
+ ? ["development"]
11
+ : ["production", "development"];
12
+ const results = new Map();
13
+ for (const scope of scopes) {
14
+ const packages = await collectLicenseResults(await readInstalledPackages(projectDir, scope));
15
+ for (const item of packages) {
16
+ const key = `${item.name}@${item.version}`;
17
+ const existing = results.get(key);
18
+ if (existing)
19
+ existing.scope = "both";
20
+ else
21
+ results.set(key, item);
22
+ }
23
+ }
24
+ const items = [...results.values()].toSorted((a, b) => a.name.localeCompare(b.name) || a.version.localeCompare(b.version));
25
+ if (options.files)
26
+ await writeIndividualLicenseFilesToDir(path.resolve(options.files), items);
27
+ return items;
28
+ }
@@ -0,0 +1,2 @@
1
+ import type { DependencyLicense } from "../types.js";
2
+ export declare function collectLicenseResults(packages: DependencyLicense[]): Promise<DependencyLicense[]>;
@@ -0,0 +1,12 @@
1
+ import { readdir } from "node:fs/promises";
2
+ export async function collectLicenseResults(packages) {
3
+ for (const item of packages) {
4
+ const entries = await readdir(item.packagePath, { withFileTypes: true });
5
+ item.licenseFiles = entries
6
+ .filter((entry) => entry.isFile() &&
7
+ /^(license|licence|copying|notice)(\.|$)/i.test(entry.name))
8
+ .map((entry) => entry.name)
9
+ .toSorted((a, b) => a.localeCompare(b));
10
+ }
11
+ return packages.toSorted((a, b) => a.name.localeCompare(b.name) || a.version.localeCompare(b.version));
12
+ }
@@ -0,0 +1,2 @@
1
+ import type { DependencyLicense } from "../types.js";
2
+ export declare function writeIndividualLicenseFilesToDir(outputDir: string, items: DependencyLicense[]): Promise<void>;
@@ -0,0 +1,15 @@
1
+ import { cp, mkdir, writeFile } from "node:fs/promises";
2
+ import path from "node:path";
3
+ export async function writeIndividualLicenseFilesToDir(outputDir, items) {
4
+ for (const item of items) {
5
+ const safeName = item.name.replaceAll("/", "+");
6
+ const destination = path.join(outputDir, item.scope, `${safeName}@${item.version}`);
7
+ await mkdir(destination, { recursive: true });
8
+ for (const file of item.licenseFiles) {
9
+ await cp(path.join(item.packagePath, file), path.join(destination, file));
10
+ }
11
+ if (item.licenseFiles.length === 0) {
12
+ await writeFile(path.join(destination, "LICENSE-INFO.txt"), `License metadata: ${item.license}\n`);
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,29 @@
1
+ export type DependencyScope = "production" | "development" | "both";
2
+ export interface DependencyLicense {
3
+ name: string;
4
+ version: string;
5
+ license: string;
6
+ scope: DependencyScope;
7
+ packagePath: string;
8
+ licenseFiles: string[];
9
+ }
10
+ export interface LicenseCheckOptions {
11
+ start?: string;
12
+ production?: boolean;
13
+ development?: boolean;
14
+ silent?: boolean;
15
+ files?: string;
16
+ }
17
+ export interface PackageJson {
18
+ name?: string;
19
+ version?: string;
20
+ license?: string | {
21
+ type?: string;
22
+ };
23
+ licenses?: Array<{
24
+ type?: string;
25
+ }>;
26
+ dependencies?: Record<string, string>;
27
+ optionalDependencies?: Record<string, string>;
28
+ devDependencies?: Record<string, string>;
29
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { DependencyLicense } from "../types.js";
2
+ export declare function collectLicenseResults(packages: DependencyLicense[]): Promise<DependencyLicense[]>;
@@ -0,0 +1,12 @@
1
+ import { readdir } from "node:fs/promises";
2
+ export async function collectLicenseResults(packages) {
3
+ for (const item of packages) {
4
+ const entries = await readdir(item.packagePath, { withFileTypes: true });
5
+ item.licenseFiles = entries
6
+ .filter((entry) => entry.isFile() &&
7
+ /^(license|licence|copying|notice)(\.|$)/i.test(entry.name))
8
+ .map((entry) => entry.name)
9
+ .toSorted((a, b) => a.localeCompare(b));
10
+ }
11
+ return packages.toSorted((a, b) => a.name.localeCompare(b.name) || a.version.localeCompare(b.version));
12
+ }
@@ -0,0 +1,2 @@
1
+ import type { DependencyLicense } from "../types.js";
2
+ export declare function writeIndividualLicenseFilesToDir(outputDir: string, items: DependencyLicense[]): Promise<void>;
@@ -0,0 +1,15 @@
1
+ import { cp, mkdir, writeFile } from "node:fs/promises";
2
+ import path from "node:path";
3
+ export async function writeIndividualLicenseFilesToDir(outputDir, items) {
4
+ for (const item of items) {
5
+ const safeName = item.name.replaceAll("/", "+");
6
+ const destination = path.join(outputDir, item.scope, `${safeName}@${item.version}`);
7
+ await mkdir(destination, { recursive: true });
8
+ for (const file of item.licenseFiles) {
9
+ await cp(path.join(item.packagePath, file), path.join(destination, file));
10
+ }
11
+ if (item.licenseFiles.length === 0) {
12
+ await writeFile(path.join(destination, "LICENSE-INFO.txt"), `License metadata: ${item.license}\n`);
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,29 @@
1
+ export type DependencyScope = "production" | "development" | "both";
2
+ export interface DependencyLicense {
3
+ name: string;
4
+ version: string;
5
+ license: string;
6
+ scope: DependencyScope;
7
+ packagePath: string;
8
+ licenseFiles: string[];
9
+ }
10
+ export interface LicenseCheckOptions {
11
+ start?: string;
12
+ production?: boolean;
13
+ development?: boolean;
14
+ silent?: boolean;
15
+ files?: string;
16
+ }
17
+ export interface PackageJson {
18
+ name?: string;
19
+ version?: string;
20
+ license?: string | {
21
+ type?: string;
22
+ };
23
+ licenses?: Array<{
24
+ type?: string;
25
+ }>;
26
+ dependencies?: Record<string, string>;
27
+ optionalDependencies?: Record<string, string>;
28
+ devDependencies?: Record<string, string>;
29
+ }
package/dist/types.js ADDED
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,60 @@
1
1
  {
2
2
  "name": "@kingironman2011/license-checker",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.0.0",
4
+ "description": "A NPM Package to check other packages licenses and extract them.",
5
+ "keywords": [
6
+ "checker",
7
+ "extractor",
8
+ "license",
9
+ "npm",
10
+ "package"
11
+ ],
12
+ "license": "MIT",
13
+ "author": {
14
+ "name": "KingIronMan2011",
15
+ "email": "IronMan@king-mc.de",
16
+ "url": "https://kingironman.dev"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/KingIronMan2011/license-checker.git"
21
+ },
22
+ "bin": {
23
+ "license-checker": "dist/cli.js"
24
+ },
25
+ "files": [
26
+ "dist"
27
+ ],
28
+ "type": "module",
29
+ "main": "dist/index.js",
30
+ "types": "dist/index.d.ts",
31
+ "exports": {
32
+ ".": {
33
+ "import": "./dist/index.js",
34
+ "types": "./dist/index.d.ts",
35
+ "default": "./dist/index.js"
36
+ },
37
+ "./cli": "./dist/cli.js"
38
+ },
39
+ "publishConfig": {
40
+ "access": "public"
41
+ },
42
+ "devDependencies": {
43
+ "@types/node": "^26.6.6",
44
+ "oxfmt": "^0.78.0",
45
+ "oxlint": "^1.93.0",
46
+ "typescript": "^7.0.2"
47
+ },
48
+ "engines": {
49
+ "node": "^24",
50
+ "pnpm": "^12.21.0"
51
+ },
52
+ "scripts": {
53
+ "build": "tsc",
54
+ "format": "oxfmt --write .",
55
+ "format:check": "oxfmt --check .",
56
+ "lint": "oxlint .",
57
+ "lint:fix": "oxlint --fix .",
58
+ "types": "tsc --noEmit"
59
+ }
6
60
  }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.