Skip to content

Commit

Permalink
Merge branch 'canary' into remove-unused-precompile
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle authored Jan 5, 2024
2 parents 9bb8f02 + 052006b commit 7ddfe33
Show file tree
Hide file tree
Showing 1,427 changed files with 49,178 additions and 35,416 deletions.
5 changes: 1 addition & 4 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ packages/react-refresh-utils/**/*.js
packages/react-dev-overlay/lib/**
**/__tmp__/**
.github/actions/next-stats-action/.work
.github/actions/validate-docs-links/lib/index.js
.github/actions/needs-triage/index.js
.github/actions/*/index.mjs
packages/next-codemod/transforms/__testfixtures__/**/*
packages/next-codemod/transforms/__tests__/**/*
packages/next-codemod/**/*.js
Expand All @@ -40,4 +37,4 @@ bench/nested-deps/**
bench/nested-deps-app-router/**
packages/next-bundle-analyzer/index.d.ts
examples/with-typescript-graphql/lib/gql/
test/development/basic/hmr/components/parse-error.js
test/development/basic/hmr/components/parse-error.js
10 changes: 1 addition & 9 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,6 @@
"jsdoc/no-undefined-types": "error"
}
},
{
"files": [
"test/**/*",
"examples/**/*",
"packages/create-next-app/templates/**/*"
],
"rules": { "react/react-in-jsx-scope": "off" }
},
{
"files": ["examples/**/*"],
"rules": {
Expand Down Expand Up @@ -351,7 +343,7 @@
"react/no-direct-mutation-state": "warn",
"react/no-is-mounted": "warn",
"react/no-typos": "error",
"react/react-in-jsx-scope": "error",
"react/react-in-jsx-scope": "off",
"react/require-render-return": "error",
"react/style-prop-object": "warn",
"react-hooks/rules-of-hooks": "error",
Expand Down
19 changes: 0 additions & 19 deletions .github/.kodiak.toml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/1.bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ body:
- 'MDX (@next/mdx)'
- 'Metadata (metadata, generateMetadata, next/head)'
- 'Middleware / Edge (API routes, runtime)'
- 'Module resolution (CJS / ESM, module resolving)'
- 'Operating System (Windows, MacOS, Linux)'
- 'Package manager (npm, pnpm, Yarn)'
- 'Routing (next/router, next/navigation, next/link)'
Expand All @@ -102,6 +103,18 @@ body:
- 'TypeScript (plugin, built-in types)'
validations:
required: true
- type: dropdown
attributes:
label: Which stage(s) are affected? (Select all that apply)
multiple: true
options:
- 'next dev (local)'
- 'next build (local)'
- 'next start (local)'
- 'Vercel (Deployed)'
- 'Other (Deployed)'
validations:
required: true
- type: markdown
attributes:
value: |
Expand Down
1 change: 0 additions & 1 deletion .github/actions/needs-triage/.gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion .github/actions/needs-triage/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ description: 'vercel/next.js specific auto-labeling action'
author: 'Next.js team'
runs:
using: 'node20'
main: 'index.js'
main: 'dist/index.js'
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ THE SOFTWARE.
nextjs-project
The MIT License (MIT)

Copyright (c) 2023 Vercel, Inc.
Copyright (c) 2024 Vercel, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/needs-triage/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"private": true,
"exports": "./index.js",
"exports": "./dist/index.js",
"files": [
"src"
],
"scripts": {
"build": "pnpm types && ncc -m -o . build lib/index.js --license licenses.txt",
"build": "pnpm types && ncc build lib/index.js -m -o dist --license licenses.txt",
"types": "tsc"
},
"devDependencies": {
Expand Down
12 changes: 5 additions & 7 deletions .github/actions/next-integration-stat/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,18 @@ author: Turbopack team
description: 'Display next.js integration test failure status'

inputs:
# Github token to use to create test report comment. If not specified, the default token will be used with username 'github-actions'
token:
default: ${{ github.token }}
description: 'GitHub token used to create the test report comment. If not specified, the default GitHub actions token will be used'

# The base of the test results to compare against. If not specified, will try to compare with latest main branch's test results.
diff_base:
default: 'main'
description: "The base of the test results to compare against. If not specified, will try to compare with latest main branch's test results."

# Include full test failure message in the report.
# This is currently disabled as we have too many failed test cases, causes
# too many report comment generated.
expand_full_result_message:
default: 'false'
description: 'Whether to include the full test failure message in the report. This is currently disabled as we have too many failed test cases, which would lead to massive comments.'

runs:
using: node16
main: index.js
using: node20
main: dist/index.js
Loading

0 comments on commit 7ddfe33

Please sign in to comment.