mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-25 13:57:11 +02:00
Remove yarn references
This commit is contained in:
parent
810c0e7031
commit
66c805de3e
11 changed files with 17 additions and 2074 deletions
8
.github/actions/yarn-install/action.yml
vendored
8
.github/actions/yarn-install/action.yml
vendored
|
@ -1,8 +0,0 @@
|
||||||
name: "Yarn Install"
|
|
||||||
description: "Runs yarn install with --frozen-lockfile"
|
|
||||||
runs:
|
|
||||||
using: "composite"
|
|
||||||
steps:
|
|
||||||
- name: Run yarn install
|
|
||||||
run: yarn install --frozen-lockfile
|
|
||||||
shell: bash
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -22,7 +22,7 @@ node_modules
|
||||||
# debug
|
# debug
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
yarn-error.log*
|
pnpm-debug.log*
|
||||||
|
|
||||||
# local env files
|
# local env files
|
||||||
.env
|
.env
|
||||||
|
|
10
README.md
10
README.md
|
@ -38,7 +38,7 @@ The following instructions are for running the project locally for development.
|
||||||
2. Install dependencies
|
2. Install dependencies
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn
|
pnpm install
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Setup environment variables
|
3. Setup environment variables
|
||||||
|
@ -54,7 +54,7 @@ The following instructions are for running the project locally for development.
|
||||||
4. Generate Prisma client
|
4. Generate Prisma client
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn db:generate
|
pnpm db:generate
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Setup database
|
5. Setup database
|
||||||
|
@ -64,13 +64,13 @@ The following instructions are for running the project locally for development.
|
||||||
To start the database, run:
|
To start the database, run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn docker:up
|
pnpm docker:up
|
||||||
```
|
```
|
||||||
|
|
||||||
Next run the following command to setup the database:
|
Next run the following command to setup the database:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn db:reset
|
pnpm db:reset
|
||||||
```
|
```
|
||||||
|
|
||||||
This will:
|
This will:
|
||||||
|
@ -82,7 +82,7 @@ The following instructions are for running the project locally for development.
|
||||||
6. Start the Next.js server
|
6. Start the Next.js server
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn dev
|
pnpm dev
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
|
|
|
@ -10,11 +10,6 @@ This site is kindly built with and hosted by [Mintlify](https://mintlify.com).
|
||||||
|
|
||||||
To preview your changes locally, you can use the [mintlify cli](https://mintlify.com/docs/development) to run a development server.
|
To preview your changes locally, you can use the [mintlify cli](https://mintlify.com/docs/development) to run a development server.
|
||||||
|
|
||||||
Install the cli globally:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
yarn global add mintlify
|
|
||||||
```
|
|
||||||
|
|
||||||
Navigate to this directory (where you can find `mint.json`):
|
Navigate to this directory (where you can find `mint.json`):
|
||||||
|
|
||||||
|
@ -25,7 +20,7 @@ cd apps/docs
|
||||||
Start the development server:
|
Start the development server:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mintlify dev
|
npx mintlify dev
|
||||||
```
|
```
|
||||||
|
|
||||||
## Components
|
## Components
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM node:20 AS builder
|
FROM node:20 AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN yarn global add turbo
|
RUN npm install -g pnpm turbo
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN turbo prune --scope=@rallly/web --docker
|
RUN turbo prune --scope=@rallly/web --docker
|
||||||
|
|
||||||
|
@ -10,13 +10,13 @@ FROM node:20 AS installer
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY .gitignore .gitignore
|
COPY .gitignore .gitignore
|
||||||
COPY --from=builder /app/out/json/ .
|
COPY --from=builder /app/out/json/ .
|
||||||
COPY --from=builder /app/out/yarn.lock ./yarn.lock
|
COPY --from=builder /app/out/pnpm-lock.yaml ./pnpm-lock.yaml
|
||||||
RUN yarn --network-timeout 1000000
|
RUN pnpm install --frozen-lockfile
|
||||||
|
|
||||||
# Build the project
|
# Build the project
|
||||||
COPY --from=builder /app/out/full/ .
|
COPY --from=builder /app/out/full/ .
|
||||||
COPY turbo.json turbo.json
|
COPY turbo.json turbo.json
|
||||||
RUN yarn db:generate
|
RUN pnpm db:generate
|
||||||
|
|
||||||
ARG APP_VERSION
|
ARG APP_VERSION
|
||||||
ENV NEXT_PUBLIC_APP_VERSION=$APP_VERSION
|
ENV NEXT_PUBLIC_APP_VERSION=$APP_VERSION
|
||||||
|
@ -24,7 +24,7 @@ ENV NEXT_PUBLIC_APP_VERSION=$APP_VERSION
|
||||||
ARG SELF_HOSTED
|
ARG SELF_HOSTED
|
||||||
ENV NEXT_PUBLIC_SELF_HOSTED=$SELF_HOSTED
|
ENV NEXT_PUBLIC_SELF_HOSTED=$SELF_HOSTED
|
||||||
|
|
||||||
RUN SKIP_ENV_VALIDATION=1 yarn build
|
RUN SKIP_ENV_VALIDATION=1 pnpm build
|
||||||
|
|
||||||
FROM node:20-slim AS runner
|
FROM node:20-slim AS runner
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ RUN apt-get update \
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN yarn global add prisma
|
RUN npm install -g prisma
|
||||||
# Don't run production as root
|
# Don't run production as root
|
||||||
RUN addgroup --system --gid 1001 nodejs
|
RUN addgroup --system --gid 1001 nodejs
|
||||||
RUN adduser --system --uid 1001 nextjs
|
RUN adduser --system --uid 1001 nextjs
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
"prettier": "prettier --write ./src",
|
"prettier": "prettier --write ./src",
|
||||||
"test:integration": "NODE_ENV=test playwright test",
|
"test:integration": "NODE_ENV=test playwright test",
|
||||||
"test:unit": "vitest run",
|
"test:unit": "vitest run",
|
||||||
"test": "yarn test:unit && yarn test:e2e",
|
|
||||||
"test:codegen": "playwright codegen http://localhost:3000",
|
"test:codegen": "playwright codegen http://localhost:3000",
|
||||||
"docker:start": "./scripts/docker-start.sh"
|
"docker:start": "./scripts/docker-start.sh"
|
||||||
},
|
},
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
"release": "./scripts/create-release.sh"
|
"release": "./scripts/create-release.sh"
|
||||||
},
|
},
|
||||||
"prisma": {
|
"prisma": {
|
||||||
"seed": "yarn workspace @rallly/database db:seed"
|
"seed": "pnpm workspace @rallly/database db:seed"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@prisma/client": "^5.20.0",
|
"@prisma/client": "^5.20.0",
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
||||||
# yarn lockfile v1
|
|
||||||
|
|
||||||
|
|
||||||
"@prisma/client@^4.10.1":
|
|
||||||
version "4.10.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/@prisma/client/-/client-4.10.1.tgz#c47fd54661ee74b174cee63e9dc418ecf57a6ccd"
|
|
||||||
integrity sha512-VonXLJZybdt8e5XZH5vnIGCRNnIh6OMX1FS3H/yzMGLT3STj5TJ/OkMcednrvELgk8PK89Vo3aSh51MWNO0axA==
|
|
||||||
dependencies:
|
|
||||||
"@prisma/engines-version" "4.10.1-2.aead147aa326ccb985dcfed5b065b4fdabd44b19"
|
|
||||||
|
|
||||||
"@prisma/engines-version@4.10.1-2.aead147aa326ccb985dcfed5b065b4fdabd44b19":
|
|
||||||
version "4.10.1-2.aead147aa326ccb985dcfed5b065b4fdabd44b19"
|
|
||||||
resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-4.10.1-2.aead147aa326ccb985dcfed5b065b4fdabd44b19.tgz#312359d9d00e39e323136d0270876293d315658e"
|
|
||||||
integrity sha512-tsjTho7laDhf9EJ9EnDxAPEf7yrigSMDhniXeU4YoWc7azHAs4GPxRi2P9LTFonmHkJLMOLjR77J1oIP8Ife1w==
|
|
||||||
|
|
||||||
"@prisma/engines@4.10.1":
|
|
||||||
version "4.10.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-4.10.1.tgz#c7062747f254e5d5fce98a8cae566c25f9f29fb2"
|
|
||||||
integrity sha512-B3tcTxjx196nuAu1GOTKO9cGPUgTFHYRdkPkTS4m5ptb2cejyBlH9X7GOfSt3xlI7p4zAJDshJP4JJivCg9ouA==
|
|
||||||
|
|
||||||
prisma@^4.10.1:
|
|
||||||
version "4.10.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/prisma/-/prisma-4.10.1.tgz#88084695d7b364ae6bebf93d5006f84439c4e7d1"
|
|
||||||
integrity sha512-0jDxgg+DruB1kHVNlcspXQB9au62IFfVg9drkhzXudszHNUAQn0lVuu+T8np0uC2z1nKD5S3qPeCyR8u5YFLnA==
|
|
||||||
dependencies:
|
|
||||||
"@prisma/engines" "4.10.1"
|
|
|
@ -1,27 +0,0 @@
|
||||||
# React Email Starter
|
|
||||||
|
|
||||||
A live preview right in your browser so you don't need to keep sending real emails during development.
|
|
||||||
|
|
||||||
## Getting Started
|
|
||||||
|
|
||||||
First, install the dependencies:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm install
|
|
||||||
# or
|
|
||||||
yarn
|
|
||||||
```
|
|
||||||
|
|
||||||
Then, run the development server:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm run dev
|
|
||||||
# or
|
|
||||||
yarn dev
|
|
||||||
```
|
|
||||||
|
|
||||||
Open [localhost:3000](http://localhost:3000) with your browser to see the result.
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
MIT License
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
yarn prisma generate
|
pnpm prisma generate
|
||||||
yarn build
|
pnpm build
|
||||||
# Deploy migration using direct database connection (no connection pool)
|
# Deploy migration using direct database connection (no connection pool)
|
||||||
DATABASE_URL=$DIRECT_DATABASE_URL yarn db:deploy
|
DATABASE_URL=$DIRECT_DATABASE_URL pnpm db:deploy
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue