Skip to content

Commit

Permalink
add initial migration
Browse files Browse the repository at this point in the history
  • Loading branch information
genox committed Oct 8, 2024
1 parent fe4c60d commit 46fc77c
Show file tree
Hide file tree
Showing 5 changed files with 4,262 additions and 19 deletions.
21 changes: 12 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,20 @@
"type": "module",
"scripts": {
"dev": "cross-env NODE_OPTIONS=--no-deprecation next dev",
"devturbo": "yarn dev --turbo",
"devsafe": "rm -rf .next && yarn dev",
"dev:compose:up": "docker-compose -f docker-compose.dev.yml up -d",
"dev:compose:down": "docker-compose -f docker-compose.dev.yml down",
"dev:compose:logs": "docker-compose -f docker-compose.dev.yml logs -f",
"dev:compose:reset": "docker-compose -f docker-compose.dev.yml down -v",
"devsafe": "rm -rf .next && cross-env NODE_OPTIONS=--no-deprecation next dev",
"build": "cross-env NODE_OPTIONS=--no-deprecation next build",
"payload": "cross-env NODE_OPTIONS=--no-deprecation payload",
"start": "cross-env NODE_OPTIONS=--no-deprecation next start",
"start": "cross-env NODE_OPTIONS=--no-deprecation payload migrate && cross-env NODE_OPTIONS=--no-deprecation next start",
"lint": "cross-env NODE_OPTIONS=--no-deprecation next lint --fix",
"ci": "payload migrate && pnpm build",
"migrate:create": "cross-env NODE_OPTIONS=--no-deprecation payload migrate:create && next lint --fix",
"migrate": "cross-env NODE_OPTIONS=--no-deprecation payload migrate",
"generate:types": "payload generate:types",
"generate:importmap": "payload generate:importMap",
"generate:schema": "payload-graphql generate:schema",
"standalone-script": "node ./src/scripts/standalone-script.js",
"generate:importMap": "payload generate:importMap",
"standalone-script": "tsx ./src/scripts/standalone-script.ts",
"up": "yarn upgrade-interactive",
"self-update": "yarn set version latest && yarn"
},
Expand Down Expand Up @@ -60,7 +63,7 @@
"@types/jsdom": "^21.1.7",
"@types/lodash-es": "^4.17.12",
"@types/mime-types": "^2.1.4",
"@types/node": "^20.16.10",
"@types/node": "^20.16.11",
"@types/nodemailer": "^6.4.16",
"@types/prettier": "^3.0.0",
"@types/pug": "^2.0.10",
Expand All @@ -78,7 +81,7 @@
"eslint-plugin-prettier": "^5.2.1",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.6",
"prettier-plugin-tailwindcss": "^0.6.8",
"tailwindcss": "^3.4.13",
"typescript": "5.6.2"
},
Expand Down
Loading

0 comments on commit 46fc77c

Please sign in to comment.