From 0a71ccbbef6733de0a1272bb21376258c601fe64 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 30 Nov 2025 06:09:29 +0900 Subject: setup pnpm and tsc --- pkgs/client/package.json | 13 +++++++++++++ pkgs/client/src/index.ts | 1 + pkgs/client/tsconfig.json | 10 ++++++++++ pkgs/server/package.json | 13 +++++++++++++ pkgs/server/src/index.ts | 1 + pkgs/server/tsconfig.json | 9 +++++++++ pkgs/shared/package.json | 13 +++++++++++++ pkgs/shared/src/index.ts | 1 + pkgs/shared/tsconfig.json | 9 +++++++++ 9 files changed, 70 insertions(+) create mode 100644 pkgs/client/package.json create mode 100644 pkgs/client/src/index.ts create mode 100644 pkgs/client/tsconfig.json create mode 100644 pkgs/server/package.json create mode 100644 pkgs/server/src/index.ts create mode 100644 pkgs/server/tsconfig.json create mode 100644 pkgs/shared/package.json create mode 100644 pkgs/shared/src/index.ts create mode 100644 pkgs/shared/tsconfig.json (limited to 'pkgs') diff --git a/pkgs/client/package.json b/pkgs/client/package.json new file mode 100644 index 0000000..35a5bae --- /dev/null +++ b/pkgs/client/package.json @@ -0,0 +1,13 @@ +{ + "name": "@kioku/client", + "version": "0.1.0", + "private": true, + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "nsfisis", + "license": "MIT", + "packageManager": "pnpm@10.23.0", + "type": "module" +} diff --git a/pkgs/client/src/index.ts b/pkgs/client/src/index.ts new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/pkgs/client/src/index.ts @@ -0,0 +1 @@ +export {}; diff --git a/pkgs/client/tsconfig.json b/pkgs/client/tsconfig.json new file mode 100644 index 0000000..0dc0dfe --- /dev/null +++ b/pkgs/client/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "lib": ["ES2022", "DOM", "DOM.Iterable"], + "outDir": "./dist", + "rootDir": "./src" + }, + "include": ["src/**/*"], + "exclude": ["node_modules", "dist"] +} diff --git a/pkgs/server/package.json b/pkgs/server/package.json new file mode 100644 index 0000000..d986b65 --- /dev/null +++ b/pkgs/server/package.json @@ -0,0 +1,13 @@ +{ + "name": "@kioku/server", + "version": "0.1.0", + "private": true, + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "nsfisis", + "license": "MIT", + "packageManager": "pnpm@10.23.0", + "type": "module" +} diff --git a/pkgs/server/src/index.ts b/pkgs/server/src/index.ts new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/pkgs/server/src/index.ts @@ -0,0 +1 @@ +export {}; diff --git a/pkgs/server/tsconfig.json b/pkgs/server/tsconfig.json new file mode 100644 index 0000000..ed464a9 --- /dev/null +++ b/pkgs/server/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "outDir": "./dist", + "rootDir": "./src" + }, + "include": ["src/**/*"], + "exclude": ["node_modules", "dist"] +} diff --git a/pkgs/shared/package.json b/pkgs/shared/package.json new file mode 100644 index 0000000..c15c299 --- /dev/null +++ b/pkgs/shared/package.json @@ -0,0 +1,13 @@ +{ + "name": "@kioku/shared", + "version": "0.1.0", + "private": true, + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "nsfisis", + "license": "MIT", + "packageManager": "pnpm@10.23.0", + "type": "module" +} diff --git a/pkgs/shared/src/index.ts b/pkgs/shared/src/index.ts new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/pkgs/shared/src/index.ts @@ -0,0 +1 @@ +export {}; diff --git a/pkgs/shared/tsconfig.json b/pkgs/shared/tsconfig.json new file mode 100644 index 0000000..ed464a9 --- /dev/null +++ b/pkgs/shared/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "outDir": "./dist", + "rootDir": "./src" + }, + "include": ["src/**/*"], + "exclude": ["node_modules", "dist"] +} -- cgit v1.2.3-70-g09d2