Skip to content

Commit

Permalink
chore: update drizzle-orm and drizzle-kit
Browse files Browse the repository at this point in the history
  • Loading branch information
esize committed Dec 26, 2023
1 parent 2413e72 commit 72b8804
Show file tree
Hide file tree
Showing 5 changed files with 5,219 additions and 649 deletions.
4 changes: 2 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
"@types/gradient-string": "^1.1.2",
"@types/inquirer": "^9.0.3",
"@types/node": "^18.17.0",
"drizzle-kit": "^0.20.7",
"drizzle-orm": "^0.28.5",
"drizzle-kit": "^0.20.8",
"drizzle-orm": "^0.29.2",
"next": "^14.0.3",
"next-auth": "^4.24.5",
"prettier": "^3.1.0",
Expand Down
5 changes: 2 additions & 3 deletions cli/src/installers/dependencyVersionMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ export const dependencyVersionMap = {
"@prisma/client": "^5.6.0",

// Drizzle
"drizzle-orm": "^0.28.5",
"drizzle-kit": "^0.20.7",
"dotenv-cli": "^7.3.0",
"drizzle-orm": "^0.29.2",
"drizzle-kit": "^0.20.8",
mysql2: "^3.6.1",
"@planetscale/database": "^1.11.0",

Expand Down
6 changes: 3 additions & 3 deletions cli/src/installers/drizzle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const drizzleInstaller: Installer = ({
}) => {
addPackageDependency({
projectDir,
dependencies: ["drizzle-kit", "dotenv-cli", "mysql2"],
dependencies: ["drizzle-kit", "mysql2"],
devMode: true,
});
addPackageDependency({
Expand Down Expand Up @@ -54,8 +54,8 @@ export const drizzleInstaller: Installer = ({
const packageJsonContent = fs.readJSONSync(packageJsonPath) as PackageJson;
packageJsonContent.scripts = {
...packageJsonContent.scripts,
"db:push": "dotenv drizzle-kit push:mysql",
"db:studio": "dotenv drizzle-kit studio",
"db:push": "drizzle-kit push:mysql",
"db:studio": "drizzle-kit studio",
};

fs.copySync(configFile, configDest);
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,23 @@
},
"dependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.1",
"@changesets/cli": "^2.27.1",
"@manypkg/cli": "^0.20.0",
"@total-typescript/ts-reset": "^0.3.7",
"@types/eslint": "^8.37.0",
"@types/node": "^18.17.0",
"@types/eslint": "^8.56.0",
"@types/node": "^18.19.3",
"@typescript-eslint/eslint-plugin": "6.0.0",
"@typescript-eslint/parser": "6.0.0",
"eslint": "^8.40.0",
"eslint-config-prettier": "^9.0.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-turbo": "^0.0.9",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-isaacscript": "^2.6.7",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^3.1.0",
"turbo": "^1.9.6",
"typescript": "^5.0.4"
"prettier": "^3.1.1",
"turbo": "^1.11.2",
"typescript": "^5.3.3"
}
}
Loading

0 comments on commit 72b8804

Please sign in to comment.