Skip to content

Commit

Permalink
Let Prettier reformat all of the things
Browse files Browse the repository at this point in the history
  • Loading branch information
James M. Greene authored and James M. Greene committed Sep 17, 2022
1 parent b030b06 commit 069c984
Show file tree
Hide file tree
Showing 12 changed files with 64 additions and 72 deletions.
42 changes: 21 additions & 21 deletions .github/release-drafter.yml
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_dispatch:
inputs:
TAG_NAME:
description: "Tag name that the major tag will point to"
description: 'Tag name that the major tag will point to'
required: true

env:
Expand Down
2 changes: 1 addition & 1 deletion src/fixtures/next/default.cjs
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
2 changes: 1 addition & 1 deletion src/fixtures/next/default.mjs
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
16 changes: 8 additions & 8 deletions src/fixtures/nuxt/async.cjs
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()
}
}
};
}
16 changes: 8 additions & 8 deletions src/fixtures/nuxt/async.expected.cjs
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()
}
}
};
}
16 changes: 8 additions & 8 deletions src/fixtures/nuxt/async.expected.mjs
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()
}
}
};
}
16 changes: 8 additions & 8 deletions src/fixtures/nuxt/async.mjs
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()
}
}
};
}
6 changes: 2 additions & 4 deletions src/fixtures/nuxt/default.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ module.exports = {
{ hid: 'description', name: 'description', content: '' },
{ name: 'format-detection', content: 'telephone=no' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]
},

// Global CSS: https://go.nuxtjs.dev/config-css
Expand All @@ -36,4 +34,4 @@ module.exports = {

// Build Configuration: https://go.nuxtjs.dev/config-build
build: {}
}
}
6 changes: 2 additions & 4 deletions src/fixtures/nuxt/default.expected.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ module.exports = {
{ hid: 'description', name: 'description', content: '' },
{ name: 'format-detection', content: 'telephone=no' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]
},

// Global CSS: https://go.nuxtjs.dev/config-css
Expand All @@ -38,4 +36,4 @@ module.exports = {

// Build Configuration: https://go.nuxtjs.dev/config-build
build: {}
}
}
6 changes: 2 additions & 4 deletions src/fixtures/nuxt/default.expected.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ export default {
{ hid: 'description', name: 'description', content: '' },
{ name: 'format-detection', content: 'telephone=no' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]
},

// Global CSS: https://go.nuxtjs.dev/config-css
Expand All @@ -38,4 +36,4 @@ export default {

// Build Configuration: https://go.nuxtjs.dev/config-build
build: {}
}
}
6 changes: 2 additions & 4 deletions src/fixtures/nuxt/default.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ export default {
{ hid: 'description', name: 'description', content: '' },
{ name: 'format-detection', content: 'telephone=no' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]
},

// Global CSS: https://go.nuxtjs.dev/config-css
Expand All @@ -36,4 +34,4 @@ export default {

// Build Configuration: https://go.nuxtjs.dev/config-build
build: {}
}
}

0 comments on commit 069c984

Please sign in to comment.