Skip to content

Commit

Permalink
build(nvm)!: require >=18.18.2 <20.6.0 || >20.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Oct 23, 2023
1 parent b3a715b commit 40212b1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 11 deletions.
8 changes: 2 additions & 6 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
---
codecov:
notify:
after_n_builds: 4
after_n_builds: 3
wait_for_ci: true
require_ci_to_pass: true

comment:
after_n_builds: 4
after_n_builds: 3
behavior: default
layout: header,diff,flags,components,tree,footer
require_base: false
Expand Down Expand Up @@ -116,10 +116,6 @@ flags:
carryforward: false
paths:
- src/
node16:
carryforward: false
paths:
- src/

github_checks:
annotations: true
Expand Down
1 change: 0 additions & 1 deletion .github/infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ branches:
- context: gitguardian
- context: lint
- context: spelling
- context: test (16)
- context: test (18)
- context: test (19)
- context: test (20)
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ jobs:
- 20
- 19
- 18
- 16
steps:
- id: checkout
name: Checkout ${{ env.REF_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.5.0
20
3 changes: 2 additions & 1 deletion build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import { defineBuildConfig, type Config } from '@flex-development/mkbuild'
import pathe from '@flex-development/pathe'
import { at } from '@flex-development/tutils'
import pkg from './package.json' assert { type: 'json' }
import tsconfig from './tsconfig.build.json' assert { type: 'json' }

Expand Down Expand Up @@ -39,7 +40,7 @@ const config: Config = defineBuildConfig({
keepNames: true,
minifySyntax: true,
target: [
pkg.engines.node.replace(/^\D+/, 'node'),
'node' + at(/([\d.]+)/.exec(pkg.engines.node), 0, ''),
tsconfig.compilerOptions.target
],
tsconfig: 'tsconfig.build.json'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"chai": "5.0.0-alpha.1"
},
"engines": {
"node": ">=16.20.0"
"node": ">=18.18.2 <20.6.0 || >20.6.0"
},
"packageManager": "[email protected]",
"readme": "README.md",
Expand Down

0 comments on commit 40212b1

Please sign in to comment.