- Updated various dependencies in package.json and pnpm-lock.yaml, including: - `redis-memory-server` from 0.11.0 to 0.12.1 - `@sxzz/eslint-config` from 4.6.0 to 6.1.1 - `@types/node` from 22.13.10 to 22.14.0 - `eslint` from ^9.17.0 to ^9.24.0 - `lint-staged` from 15.3.0 to 15.5.0 - `typescript` from 5.7.3 to 5.8.3 - Other minor updates across various packages. - Refactored `CreateAuth` function in `auth.implement.ts` to utilize `createAuthMiddleware` for better session handling. - Enhanced exports in `auth.ts` to include new utility functions from `better-auth`. Signed-off-by: Innei <tukon479@gmail.com>
65 lines
2.0 KiB
JSON
65 lines
2.0 KiB
JSON
{
|
|
"private": true,
|
|
"packageManager": "pnpm@9.15.9",
|
|
"license": "AGPLv3",
|
|
"homepage": "https://github.com/mx-space/core#readme",
|
|
"repository": {
|
|
"directory": "mx-space/core",
|
|
"url": "https://github.com/mx-space/core"
|
|
},
|
|
"author": "Innei <https://innei.in>",
|
|
"scripts": {
|
|
"format": "prettier --write \"apps/**/*.ts\" \"test/**/*.ts\" \"packages/**/*.ts\"",
|
|
"prepare": "simple-git-hooks && node scripts/init-project.mjs",
|
|
"build:external": "pnpm -C \"packages/compiled\" run build",
|
|
"build": "pnpm run build:external && pnpm -C \"apps/core\" run build",
|
|
"dev": "pnpm run build:external && pnpm -C \"apps/core\" run start",
|
|
"bundle": "pnpm run build:external && pnpm -C \"apps/core\" run bundle",
|
|
"test": "pnpm run build:external && pnpm -C \"apps/core\" run test",
|
|
"lint": "pnpm -C \"apps/core\" run lint",
|
|
"publish:core": "cd apps/core && npm run publish"
|
|
},
|
|
"optionalDependencies": {
|
|
"mongodb-memory-server": "10.1.4",
|
|
"redis-memory-server": "0.12.1"
|
|
},
|
|
"dependencies": {
|
|
"zx-cjs": "7.0.7-0"
|
|
},
|
|
"devDependencies": {
|
|
"@innei/prettier": "0.15.0",
|
|
"@sxzz/eslint-config": "6.1.1",
|
|
"@types/node": "22.14.0",
|
|
"cross-env": "7.0.3",
|
|
"eslint": "^9.24.0",
|
|
"eslint-plugin-unused-imports": "4.1.4",
|
|
"lint-staged": "15.5.0",
|
|
"prettier": "3.5.3",
|
|
"rimraf": "6.0.1",
|
|
"simple-git-hooks": "2.12.1",
|
|
"ts-node": "10.9.2",
|
|
"tsconfig-paths": "4.2.0",
|
|
"tsup": "8.4.0",
|
|
"typescript": "5.8.3",
|
|
"vite-tsconfig-paths": "5.1.4"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"eslint --cache --fix",
|
|
"prettier --ignore-path ./.prettierignore --write "
|
|
]
|
|
},
|
|
"issues": "https://github.com/mx-space/core/issues",
|
|
"resolutions": {
|
|
"get-pixels@^3>request": "./external/request",
|
|
"mongodb": "6.12.0",
|
|
"pino": "./external/pino",
|
|
"semver": "7.7.1",
|
|
"typescript": "5.7.3",
|
|
"whatwg-url": "14.1.1"
|
|
}
|
|
}
|