Skip to content

Commit

Permalink
Set latest tag in package json files (#3731)
Browse files Browse the repository at this point in the history
  • Loading branch information
beerose authored Aug 15, 2022
1 parent dff9fd0 commit 0f4926f
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 30 deletions.
10 changes: 10 additions & 0 deletions .changeset/poor-walls-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@blitzjs/codemod": patch
"@blitzjs/generator": patch
"@blitzjs/auth": patch
"@blitzjs/next": patch
"@blitzjs/rpc": patch
"@blitzjs/config": patch
---

Set current Blitz tag to latest
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing

[Read the Contributing Guide at Blitzjs.com](https://alpha.blitzjs.com/docs/contributing)
[Read the Contributing Guide at Blitzjs.com](https://blitzjs.com/docs/contributing)

## To run tests

Expand Down
2 changes: 1 addition & 1 deletion packages/codemod/src/upgrade-legacy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
} from "./utils"
import {log} from "blitz"

const CURRENT_BLITZ_TAG = "alpha"
const CURRENT_BLITZ_TAG = "latest"

class ExpectedError extends Error {
constructor(message: string) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {logFailedVersionFetch} from "./get-latest-version"
import {fetchDistTags} from "./npm-fetch"

const CURRENT_BLITZ_TAG = "alpha"
const CURRENT_BLITZ_TAG = "latest"

export const getBlitzDependencyVersion = async () => {
try {
Expand Down
8 changes: 4 additions & 4 deletions packages/generator/templates/app/package.js.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
"*.{js}": ["eslint --fix"]
},
"dependencies": {
"@blitzjs/auth": "alpha",
"@blitzjs/next": "alpha",
"@blitzjs/rpc": "alpha",
"@blitzjs/auth": "latest",
"@blitzjs/next": "latest",
"@blitzjs/rpc": "latest",
"@prisma/client": "4.0.0",
"blitz": "alpha",
"blitz": "latest",
"next": "12.2.0",
"prisma": "4.0.0",
"react": "18.0.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/generator/templates/app/package.ts.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
"*.{js,ts,tsx}": ["eslint --fix"]
},
"dependencies": {
"@blitzjs/auth": "alpha",
"@blitzjs/next": "alpha",
"@blitzjs/rpc": "alpha",
"@blitzjs/auth": "latest",
"@blitzjs/next": "latest",
"@blitzjs/rpc": "latest",
"@prisma/client": "4.0.0",
"blitz": "alpha",
"blitz": "latest",
"next": "12.2.0",
"prisma": "4.0.0",
"react": "18.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/generator/templates/minimalapp/package.js.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"*.{js}": ["eslint --fix"]
},
"dependencies": {
"@blitzjs/next": "alpha",
"blitz": "alpha",
"@blitzjs/next": "latest",
"blitz": "latest",
"next": "12.2.0",
"react": "18.0.0",
"react-dom": "18.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/generator/templates/minimalapp/package.ts.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
]
},
"dependencies": {
"@blitzjs/next": "alpha",
"blitz": "alpha",
"@blitzjs/next": "latest",
"blitz": "latest",
"next": "12.2.0",
"react": "18.0.0",
"react-dom": "18.0.0",
Expand Down
30 changes: 15 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0f4926f

Please sign in to comment.