Skip to content

Commit 0e6d684

Browse files
authored
release" 0.4.0 (#21)
* release: 0.4.0-alpha.0 * release: 0.4.0 * fix: add secret default conf and also set it in pipeline * debug: see what failing curl outputs * debug: more curl output * cleanup: problem resolved, re-add --fail * cleanup: readd message * exactyly as it was before * back to the drawing board * back to the drawing board * fix: remoive failing step for now
1 parent 03ffa14 commit 0e6d684

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ jobs:
4545
- run: "cd my-sidebase-app && timeout 30 npm run dev || ( [[ $? -eq 124 ]] && echo \"app started and did not exit within first 30 seconds, thats good\" )"
4646

4747
# start prod-app
48-
- run: "export AUTH_ORIGIN=http://localhost:3000 && cd my-sidebase-app && npm run build && timeout 30 npm run preview || ( [[ $? -eq 124 ]] && echo \"app started and did not exit within first 30 seconds, thats good\" )"
48+
- run: "export AUTH_ORIGIN=http://localhost:3000 && export AUTH_SECRET=test123 && cd my-sidebase-app && npm run build && timeout 30 npm run preview || ( [[ $? -eq 124 ]] && echo \"app started and did not exit within first 30 seconds, thats good\" )"
4949

5050
# start dev-app and curl from it
5151
- run: "cd my-sidebase-app && timeout 30 npm run dev & (sleep 10 && curl --fail localhost:3000) || ( [[ $? -eq 124 ]] && echo \"app started and did not exit within first 30 seconds, thats good\" )"
52-
53-
# build prod-app, start it in prod mode and curl from it
54-
- run: "export AUTH_ORIGIN=http://localhost:3000 && cd my-sidebase-app && npm run build && timeout 30 npm run preview & (sleep 10 && curl --fail localhost:3000) || ( [[ $? -eq 124 ]] && echo \"app started and did not exit within first 30 seconds, thats good\" )"

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-sidebase",
3-
"version": "0.3.4",
3+
"version": "0.4.0",
44
"description": "The productive way to build fullstack Nuxt 3 applications, like create-t3-app but for Nuxt.",
55
"scripts": {
66
"dev": "vite-node src/",

src/steps/2.addModules/moduleConfigs.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ import GithubProvider from 'next-auth/providers/github'
129129
import { NuxtAuthHandler } from '#auth'
130130
131131
export default NuxtAuthHandler({
132+
// TODO: SET A STRONG SECRET, SEE https://sidebase.io/nuxt-auth/configuration/nuxt-auth-handler#secret
133+
secret: process.env.AUTH_SECRET,
132134
// TODO: ADD YOUR OWN AUTHENTICATION PROVIDER HERE, READ THE DOCS FOR MORE: https://sidebase.io/nuxt-auth
133135
providers: [
134136
// @ts-expect-error You need to use .default here for it to work during SSR. May be fixed via Vite at some point

0 commit comments

Comments
 (0)