Skip to content

Commit

Permalink
Merge branch 'canary' into fix-unicode-and-url-encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Aug 12, 2021
2 parents 146565c + 1552b83 commit a9ed1e3
Show file tree
Hide file tree
Showing 6 changed files with 105 additions and 3 deletions.
34 changes: 34 additions & 0 deletions examples/with-clerk/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel
34 changes: 34 additions & 0 deletions examples/with-deta-base/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel
34 changes: 34 additions & 0 deletions examples/with-mqtt-js/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel
2 changes: 1 addition & 1 deletion packages/next/build/generate-build-id.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export async function generateBuildId(
generate: () => string | null,
generate: () => string | null | Promise<string | null>,
fallback: () => string
): Promise<string> {
let buildId = await generate()
Expand Down
2 changes: 1 addition & 1 deletion packages/next/server/config-shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export type NextConfig = { [key: string]: any } & {
cleanDistDir?: boolean
assetPrefix?: string
useFileSystemPublicRoutes?: boolean
generateBuildId?: () => string | null
generateBuildId?: () => string | null | Promise<string | null>
generateEtags?: boolean
pageExtensions?: string[]
compress?: boolean
Expand Down
2 changes: 1 addition & 1 deletion scripts/check-examples.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

for folder in examples/* ; do
cp -n packages/create-next-app/templates/default/gitignore $folder/.gitignore;
if [ -f "$folder/package.json" ]; then
cp -n packages/create-next-app/templates/default/gitignore $folder/.gitignore;
cat $folder/package.json | jq '.license = "MIT" | .private = true' | sponge $folder/package.json
fi
if [ -f "$folder/tsconfig.json" ]; then
Expand Down

0 comments on commit a9ed1e3

Please sign in to comment.