Skip to content

Commit

Permalink
Move core files to src folder and move JS files to TypeScript (vercel…
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens authored Jan 3, 2023
1 parent 00d7a35 commit efcec4c
Show file tree
Hide file tree
Showing 1,267 changed files with 1,052 additions and 960 deletions.
6 changes: 3 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ examples/with-flow/**
examples/with-jest/**
examples/with-mobx-state-tree/**
examples/with-mobx/**
packages/next/bundles/webpack/packages/*.runtime.js
packages/next/bundles/webpack/packages/lazy-compilation-*.js
packages/next/compiled/**/*
packages/next/src/bundles/webpack/packages/*.runtime.js
packages/next/src/bundles/webpack/packages/lazy-compilation-*.js
packages/next/src/compiled/**/*
packages/react-refresh-utils/**/*.js
packages/react-dev-overlay/lib/**
**/__tmp__/**
Expand Down
6 changes: 3 additions & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ node_modules
**/.next/**
**/_next/**
**/dist/**
packages/next/bundles/webpack/packages/*.runtime.js
packages/next/bundles/webpack/packages/lazy-compilation-*.js
packages/next/compiled/**
packages/next/src/bundles/webpack/packages/*.runtime.js
packages/next/src/bundles/webpack/packages/lazy-compilation-*.js
packages/next/src/compiled/**
packages/react-refresh-utils/**/*.js
packages/react-refresh-utils/**/*.d.ts
packages/react-dev-overlay/lib/**
Expand Down
4 changes: 0 additions & 4 deletions packages/next/build/polyfills/fetch/index.js

This file was deleted.

13 changes: 0 additions & 13 deletions packages/next/build/swc/index.d.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/next/build/swc/options.d.ts

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions packages/next/shared/lib/isomorphic/path.d.ts

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import {
import { getPageStaticInfo } from './analysis/get-page-static-info'
import { normalizePathSep } from '../shared/lib/page-path/normalize-path-sep'
import { normalizePagePath } from '../shared/lib/page-path/normalize-page-path'
import { ServerRuntime } from '../types'
import { ServerRuntime } from '../../types'
import { normalizeAppPath } from '../shared/lib/router/utils/app-paths'
import { encodeMatchers } from './webpack/loaders/next-middleware-loader'
import { EdgeFunctionLoaderOptions } from './webpack/loaders/next-edge-function-loader'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ SOFTWARE.
export default new Proxy(
{},
{
get: function getter(target, key) {
get: function getter(_target, key) {
if (key === '__esModule') {
return false
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions packages/next/src/build/polyfills/fetch/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* globals self */
const fetchModule = self.fetch.bind(self)
module.exports = fetchModule
module.exports.default = module.exports
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit efcec4c

Please sign in to comment.