-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from actions/i-feel-pretty
Expand Prettier usage
- Loading branch information
Showing
15 changed files
with
74 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
--- | ||
name-template: "v$RESOLVED_VERSION" | ||
tag-template: "v$RESOLVED_VERSION" | ||
name-template: 'v$RESOLVED_VERSION' | ||
tag-template: 'v$RESOLVED_VERSION' | ||
template: | | ||
# Changelog | ||
$CHANGES | ||
See details of [all code changes](https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION) since previous release. | ||
categories: | ||
- title: "🚀 Features" | ||
- title: '🚀 Features' | ||
labels: | ||
- "feature" | ||
- "enhancement" | ||
- title: "🐛 Bug Fixes" | ||
- 'feature' | ||
- 'enhancement' | ||
- title: '🐛 Bug Fixes' | ||
labels: | ||
- "fix" | ||
- "bugfix" | ||
- "bug" | ||
- title: "🧰 Maintenance" | ||
- 'fix' | ||
- 'bugfix' | ||
- 'bug' | ||
- title: '🧰 Maintenance' | ||
labels: | ||
- "infrastructure" | ||
- "automation" | ||
- "documentation" | ||
- title: "🏎 Performance" | ||
label: "performance" | ||
change-template: "- $TITLE @$AUTHOR (#$NUMBER)" | ||
- 'infrastructure' | ||
- 'automation' | ||
- 'documentation' | ||
- title: '🏎 Performance' | ||
label: 'performance' | ||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
version-resolver: | ||
major: | ||
labels: | ||
- "type: breaking" | ||
- 'type: breaking' | ||
minor: | ||
labels: | ||
- "type: enhancement" | ||
- 'type: enhancement' | ||
patch: | ||
labels: | ||
- "type: bug" | ||
- "type: maintenance" | ||
- "type: documentation" | ||
- 'type: bug' | ||
- 'type: maintenance' | ||
- 'type: documentation' | ||
default: patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Ignore build artifacts | ||
/dist/ | ||
|
||
# Ignore all Markdown files | ||
*.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
reactStrictMode: true, | ||
swcMinify: true, | ||
swcMinify: true | ||
} | ||
|
||
module.exports = nextConfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
reactStrictMode: true, | ||
swcMinify: true, | ||
swcMinify: true | ||
} | ||
|
||
export default nextConfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
const getAllDynamicRoute = async function() { | ||
const getAllDynamicRoute = async function () { | ||
const routes = await (async () => { | ||
return ['/posts/hello-world', '/posts/hello-again']; | ||
})(); | ||
return routes; | ||
}; | ||
return ['/posts/hello-world', '/posts/hello-again'] | ||
})() | ||
return routes | ||
} | ||
|
||
module.exports = { | ||
mode: 'universal', | ||
generate: { | ||
async routes () { | ||
return getAllDynamicRoute(); | ||
async routes() { | ||
return getAllDynamicRoute() | ||
} | ||
} | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
const getAllDynamicRoute = async function() { | ||
const getAllDynamicRoute = async function () { | ||
const routes = await (async () => { | ||
return ['/posts/hello-world', '/posts/hello-again']; | ||
})(); | ||
return routes; | ||
}; | ||
return ['/posts/hello-world', '/posts/hello-again'] | ||
})() | ||
return routes | ||
} | ||
|
||
module.exports = { | ||
target: 'static', | ||
router: { base: '/docs/' }, | ||
mode: 'universal', | ||
generate: { | ||
async routes () { | ||
return getAllDynamicRoute(); | ||
async routes() { | ||
return getAllDynamicRoute() | ||
} | ||
} | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
const getAllDynamicRoute = async function() { | ||
const getAllDynamicRoute = async function () { | ||
const routes = await (async () => { | ||
return ['/posts/hello-world', '/posts/hello-again']; | ||
})(); | ||
return routes; | ||
}; | ||
return ['/posts/hello-world', '/posts/hello-again'] | ||
})() | ||
return routes | ||
} | ||
|
||
export default { | ||
target: 'static', | ||
router: { base: '/docs/' }, | ||
mode: 'universal', | ||
generate: { | ||
async routes () { | ||
return getAllDynamicRoute(); | ||
async routes() { | ||
return getAllDynamicRoute() | ||
} | ||
} | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
const getAllDynamicRoute = async function() { | ||
const getAllDynamicRoute = async function () { | ||
const routes = await (async () => { | ||
return ['/posts/hello-world', '/posts/hello-again']; | ||
})(); | ||
return routes; | ||
}; | ||
return ['/posts/hello-world', '/posts/hello-again'] | ||
})() | ||
return routes | ||
} | ||
|
||
export default { | ||
mode: 'universal', | ||
generate: { | ||
async routes () { | ||
return getAllDynamicRoute(); | ||
async routes() { | ||
return getAllDynamicRoute() | ||
} | ||
} | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters