Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ const config = {
// don't lint fixtures
'packages/*/tests/**/fixtures*/**',
'packages/*/benchmarks/**/fixtures*/**',
'packages/framework-info/test/fixtures/**',
'packages/framework-info/dist/**',
'packages/*/lib/**',
'packages/*/dist/**',

Expand Down
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
packages/*/tests/**/fixtures/**
packages/*/test/**/fixtures*/**
packages/*/benchmarks/**/fixtures*/**
packages/framework-info/test/fixtures/**
# don't lint outputs
packages/*/lib
packages/*/dist
Expand Down
1 change: 0 additions & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"packages/edge-bundler": "14.0.6",
"packages/cache-utils": "6.0.3",
"packages/config": "23.0.10",
"packages/framework-info": "10.0.5",
"packages/functions-utils": "6.0.10",
"packages/git-utils": "6.0.2",
"packages/headers-parser": "9.0.1",
Expand Down
2 changes: 0 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ any @netlify/*-utils -> @netlify/build
-> buildbot
build-image -> buildbot
netlify/plugins -> buildbot
@netlify/framework-info -> buildbot
-> netlify-cli
```

Note that Renovate should take care of opening PRs to update the relevant packages that depend upon the modules you just
Expand Down
72 changes: 2 additions & 70 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"@netlify/cache-utils": "^6.0.3",
"@netlify/config": "^23.0.10",
"@netlify/edge-bundler": "14.0.6",
"@netlify/framework-info": "^10.0.5",
"@netlify/functions-utils": "^6.0.10",
"@netlify/git-utils": "^6.0.2",
"@netlify/opentelemetry-utils": "^2.0.1",
Expand Down Expand Up @@ -133,6 +132,7 @@
"ava": "^5.0.0",
"c8": "^10.0.0",
"cpy": "^11.0.0",
"cpy-cli": "^5.0.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used in postbuild

"get-node": "^14.2.1",
"get-port": "^7.0.0",
"has-ansi": "^6.0.0",
Expand Down
6 changes: 5 additions & 1 deletion packages/build/src/core/build.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { supportedRuntimes } from '@netlify/framework-info'
import { addAttributesToActiveSpan } from '@netlify/opentelemetry-utils'

import { getErrorInfo } from '../error/info.js'
Expand All @@ -24,6 +23,11 @@ import { warnOnMissingSideFiles } from './missing_side_file.js'
import { normalizeFlags } from './normalize_flags.js'
import type { BuildFlags } from './types.js'

const supportedRuntimes = {
next: { package: '@netlify/plugin-nextjs', skipFlag: 'NETLIFY_NEXT_PLUGIN_SKIP' },
gatsby: { package: '@netlify/plugin-gatsby', skipFlag: 'NETLIFY_GATSBY_PLUGIN_SKIP' },
}

// Performed on build start. Must be kept small and unlikely to fail since it
// does not have proper error handling. Error handling relies on `errorMonitor`
// being built, which relies itself on flags being normalized.
Expand Down
14 changes: 0 additions & 14 deletions packages/framework-info/.gitignore

This file was deleted.

Loading
Loading