stack/packages/stack-shared/package.json
Zai Shi 097fbc6e4c
Some checks failed
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Emulator Test / docker (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Test / docker (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (latest) (push) Has been cancelled
Preview Docs / run (push) Has been cancelled
Dev Environment Test / restart-dev-and-test (push) Has been cancelled
Run setup tests / setup-tests (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
Fix docker (#664)
<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md

-->

<!-- ELLIPSIS_HIDDEN -->

----

> [!IMPORTANT]
> Enable Docker build by removing fail step and switch from `bcrypt` to
`bcryptjs` for password hashing.
> 
>   - **Docker Workflow**:
> - Removed temporary fail step in
`.github/workflows/docker-server-build.yaml` to enable Docker build
process.
>   - **Dependencies**:
> - Replaced `bcrypt` with `bcryptjs` in `package.json` and `hashes.tsx`
for password hashing.
>     - Updated `@types/bcrypt` to `@types/bcryptjs` in `package.json`.
>   - **Documentation**:
> - Added `docker/README.md` with instructions for building and running
Docker containers for server and emulator.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for c7a3ed9f11. You can
[customize](https://app.ellipsis.dev/stack-auth/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
2025-05-08 01:31:03 +02:00

76 lines
1.7 KiB
JSON

{
"name": "@stackframe/stack-shared",
"version": "2.8.11",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"scripts": {
"build": "rimraf dist && tsup-node",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"clean": "rimraf dist && rimraf node_modules",
"dev": "tsup-node --watch",
"lint": "eslint --ext .tsx,.ts ."
},
"files": [
"README.md",
"dist",
"CHANGELOG.md",
"LICENSE"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/esm/index.js"
},
"./dist/*": {
"types": "./dist/*.d.ts",
"default": "./dist/esm/*.js"
}
},
"peerDependencies": {
"@types/react": ">=18.2 || >=19.0.0-rc.0",
"@types/react-dom": ">=18.2 || >=19.0.0-rc.0",
"react": ">=18.2 || >=19.0.0-rc.0",
"react-dom": ">=18.2 || >=19.0.0-rc.0",
"yup": "^1.4.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
},
"yup": {
"optional": true
}
},
"dependencies": {
"@simplewebauthn/browser": "^11.0.0",
"async-mutex": "^0.5.0",
"bcryptjs": "^3.0.2",
"crc": "^4.3.2",
"elliptic": "^6.5.7",
"ip-regex": "^5.0.0",
"jose": "^5.2.2",
"oauth4webapi": "^2.10.3",
"semver": "^7.6.3",
"uuid": "^9.0.1"
},
"devDependencies": {
"@sentry/nextjs": "^8.40.0",
"@simplewebauthn/types": "^11.0.0",
"@types/bcryptjs": "^3.0.0",
"@types/elliptic": "^6.4.18",
"@types/semver": "^7.5.8",
"@types/uuid": "^9.0.8",
"react": "^18.2",
"react-dom": "^18.2",
"rimraf": "^5.0.5"
}
}