From aa169182d14e49f7913efa12c87933dcfd6e3ca7 Mon Sep 17 00:00:00 2001 From: Isaac Corbrey Date: Mon, 15 Jun 2026 15:25:01 -0500 Subject: [PATCH] core: Scaffold library package --- package.json | 2 +- packages/core/README.md | 1 + packages/core/package.json | 25 ++++++++++ packages/core/src/index.ts | 1 + packages/core/tsconfig.json | 15 ++++++ pnpm-lock.yaml | 96 +++++++++++++++++++++++++++++++++++++ turbo.json | 6 ++- 7 files changed, 144 insertions(+), 2 deletions(-) create mode 100644 packages/core/README.md create mode 100644 packages/core/package.json create mode 100644 packages/core/src/index.ts create mode 100644 packages/core/tsconfig.json create mode 100644 pnpm-lock.yaml diff --git a/package.json b/package.json index 387ee5e..c197ed1 100644 --- a/package.json +++ b/package.json @@ -10,4 +10,4 @@ "turbo": "latest" }, "packageManager": "pnpm@10.29.2" -} \ No newline at end of file +} diff --git a/packages/core/README.md b/packages/core/README.md new file mode 100644 index 0000000..fcea24b --- /dev/null +++ b/packages/core/README.md @@ -0,0 +1 @@ +# `@phaseshift/core` \ No newline at end of file diff --git a/packages/core/package.json b/packages/core/package.json new file mode 100644 index 0000000..6efa3aa --- /dev/null +++ b/packages/core/package.json @@ -0,0 +1,25 @@ +{ + "name": "@phaseshift/core", + "sideEffects": false, + "version": "0.0.0", + "private": true, + "types": "./dist/index.d.ts", + "main": "./dist/index.js", + "files": [ + "dist" + ], + "exports": { + ".": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + }, + "scripts": { + "build": "tsc", + "dev": "tsc --watch" + }, + "devDependencies": { + "@phaseshift/tsconfig": "workspace:*", + "typescript": "^6.0.3" + } +} diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts new file mode 100644 index 0000000..590a510 --- /dev/null +++ b/packages/core/src/index.ts @@ -0,0 +1 @@ +export const VERSION: string = "0.0.0"; diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json new file mode 100644 index 0000000..d325d46 --- /dev/null +++ b/packages/core/tsconfig.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "extends": "@phaseshift/tsconfig/library.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist" + }, + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "dist" + ] +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 0000000..49fc63c --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,96 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + devDependencies: + turbo: + specifier: latest + version: 2.9.18 + + packages/core: + devDependencies: + '@phaseshift/tsconfig': + specifier: workspace:* + version: link:../tsconfig + typescript: + specifier: ^6.0.3 + version: 6.0.3 + + packages/tsconfig: {} + +packages: + + '@turbo/darwin-64@2.9.18': + resolution: {integrity: sha512-9f27peFu16ur8c0v9nUFUEyBnbKuuFsUTjHFWfmwGfzySBXbHwzU44QhZon6Mznz0cHsIr3984NQj/bVrnGSRw==} + cpu: [x64] + os: [darwin] + + '@turbo/darwin-arm64@2.9.18': + resolution: {integrity: sha512-9A6TMRq/Ib+QnbhLlgkhOm+624wO4pzSQ/yQviQfWHOlFvaYxdnIAYmu2H6TS6y7kSVL0DvzNe04NbESTOzFVQ==} + cpu: [arm64] + os: [darwin] + + '@turbo/linux-64@2.9.18': + resolution: {integrity: sha512-zCdIDtz69AnbYh913elJRRoF3QY5aa2HNnf+4rAkc7bQ+tWujiDkCNV7stazOUPggaDvhKIf2Z87qHftTeXSkw==} + cpu: [x64] + os: [linux] + + '@turbo/linux-arm64@2.9.18': + resolution: {integrity: sha512-Va1kXI04naMgYwqv/5Dfa36dTDx8015U7oaQAjrXa45ua9OoFjSV4OmvkML4EmXvUclQHCiBRbY8bvd0jV7eAg==} + cpu: [arm64] + os: [linux] + + '@turbo/windows-64@2.9.18': + resolution: {integrity: sha512-m0kDhZANxSNz9ck1ybogFscHabriAsp4eDFNrN/1H5WrgTF7b3VlcPZnhuO3v2+E2KnCbeAc+UUT10BZZHdDKw==} + cpu: [x64] + os: [win32] + + '@turbo/windows-arm64@2.9.18': + resolution: {integrity: sha512-nUdR8WqoomUys9iIQmG45TMiizJ+5BV8egSeLLZba/AWblyp3fVBcIH1kSE58OtK4g2YzbMJEth6Ttv9w5rqMA==} + cpu: [arm64] + os: [win32] + + turbo@2.9.18: + resolution: {integrity: sha512-bwabv6PupzeavybzEoArBAkwq5fnzwf8OFnRtpHwnviFWuwJPFxtyH+aVp36TmIqK3aYYgtTJ3J0m2ysxxSzQg==} + hasBin: true + + typescript@6.0.3: + resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==} + engines: {node: '>=14.17'} + hasBin: true + +snapshots: + + '@turbo/darwin-64@2.9.18': + optional: true + + '@turbo/darwin-arm64@2.9.18': + optional: true + + '@turbo/linux-64@2.9.18': + optional: true + + '@turbo/linux-arm64@2.9.18': + optional: true + + '@turbo/windows-64@2.9.18': + optional: true + + '@turbo/windows-arm64@2.9.18': + optional: true + + turbo@2.9.18: + optionalDependencies: + '@turbo/darwin-64': 2.9.18 + '@turbo/darwin-arm64': 2.9.18 + '@turbo/linux-64': 2.9.18 + '@turbo/linux-arm64': 2.9.18 + '@turbo/windows-64': 2.9.18 + '@turbo/windows-arm64': 2.9.18 + + typescript@6.0.3: {} diff --git a/turbo.json b/turbo.json index 4beba66..5da0fd0 100644 --- a/turbo.json +++ b/turbo.json @@ -13,6 +13,10 @@ "dependsOn": [ "build" ] + }, + "dev": { + "persistent": true, + "cache": false } } -} \ No newline at end of file +} -- 2.51.2