Commit .env.development/.staging/.production and track env files in git (matching uirefbase convention). No secrets: SSO_URL (sso-mock service), NEXT_PUBLIC_APP_URL (callback), SSO_APP_ID. .gitignore now ignores only *.local overrides. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
40 lines
447 B
Plaintext
40 lines
447 B
Plaintext
# dependencies
|
|
/node_modules
|
|
/.pnp
|
|
.pnp.*
|
|
.yarn/*
|
|
!.yarn/patches
|
|
!.yarn/plugins
|
|
!.yarn/releases
|
|
!.yarn/versions
|
|
|
|
# testing
|
|
/coverage
|
|
|
|
# next.js
|
|
/.next/
|
|
/out/
|
|
|
|
# production
|
|
/build
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
|
|
# env files — committed per project convention (参考 uirefbase);仅忽略本地覆盖文件
|
|
.env*.local
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|