-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: format with prettier * chore: disable "only changed" just for this PR * Format with prettier * chore: re-enable only_changed for future PRs * chore: move prettier into existing lint workflow * chore: format with prettier * chore: don't clean node_modules * chore: format with prettier --------- Co-authored-by: ascorbic <[email protected]>
- Loading branch information
Showing
84 changed files
with
4,855 additions
and
2,217 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 |
---|---|---|
|
@@ -13,14 +13,24 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
with: | ||
ref: ${{ github.head_ref }} | ||
fetch-depth: 0 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18.x' | ||
cache: 'npm' | ||
cache-dependency-path: '**/package-lock.json' | ||
- run: npm ci | ||
- name: Prettify code | ||
uses: creyD/[email protected] | ||
with: | ||
prettier_options: --write . | ||
only_changed: true | ||
commit_message: 'chore: format with prettier' | ||
clean_node_folder: false | ||
|
||
- name: Lint | ||
# github adds inline annotation for compact or stylish format | ||
# which is different than our default for local usage | ||
|
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,2 +1,12 @@ | ||
dist/ | ||
demo/ | ||
.next | ||
playwright-report/ | ||
.netlify | ||
CHANGELOG.md | ||
package-lock.json | ||
package.json | ||
edge-runtime/vendor/ | ||
deno.lock | ||
tests/fixtures/simple-next-app-dist-dir/cool/output | ||
.nx | ||
custom-dist-dir |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,6 +1,4 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"local>netlify/renovate-config" | ||
] | ||
"extends": ["local>netlify/renovate-config"] | ||
} |
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,8 +1,6 @@ | ||
export default function App({ Component, pageProps }) { | ||
if (!pageProps || typeof pageProps !== 'object') { | ||
throw new Error( | ||
`Invariant: received invalid pageProps in _app, received ${pageProps}` | ||
) | ||
throw new Error(`Invariant: received invalid pageProps in _app, received ${pageProps}`) | ||
} | ||
return <Component {...pageProps} /> | ||
} |
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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
export default function App({ Component, pageProps }) { | ||
if (!pageProps || typeof pageProps !== 'object') { | ||
throw new Error( | ||
`Invariant: received invalid pageProps in _app, received ${pageProps}` | ||
) | ||
throw new Error(`Invariant: received invalid pageProps in _app, received ${pageProps}`) | ||
} | ||
return <Component {...pageProps} /> | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,6 @@ export default function og() { | |
> | ||
Open Graph | ||
</div> | ||
) | ||
), | ||
) | ||
} | ||
} |
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,3 +1,3 @@ | ||
export const alt = 'Open Graph' | ||
|
||
export { default } from './og' | ||
export { default } from './og' |
2 changes: 1 addition & 1 deletion
2
tests/fixtures/nx-integrated/apps/next-app/app/api/hello/route.ts
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,3 +1,3 @@ | ||
export async function GET(request: Request) { | ||
return new Response('Hello, from API!'); | ||
return new Response('Hello, from API!') | ||
} |
Oops, something went wrong.