Skip to content

Commit

Permalink
fix(nightly): support node 16 downgraded execa version (#1866)
Browse files Browse the repository at this point in the history
* fix: support node 16 downgraded execa version

* chore: bump version

* chore: bump deps lock
  • Loading branch information
ErKeLost authored Oct 23, 2024
1 parent 9ef367d commit d7c5ffb
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 119 deletions.
5 changes: 5 additions & 0 deletions .changeset/forty-penguins-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@farmfe/core": major
---

support node 16
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"biome.enabled": true,
"editor.defaultFormatter": "biomejs.biome",
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
Expand Down
8 changes: 4 additions & 4 deletions examples/refactor-react/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import "./main.css";
import reactLogo from "/react.svg";
import FarmLogo from "./assets/logo.png";
// import { a } from './a.js'
import { Button } from 'antd'
import { HappyProvider } from '@ant-design/happy-work-theme';
// import { Button } from 'antd'
// import { HappyProvider } from '@ant-design/happy-work-theme';
export function Main() {
const [count, setCount] = useState(0);
// console.log(a);
Expand All @@ -19,12 +19,12 @@ export function Main() {
<img src={reactLogo} className="logo react" alt="React logo" />
</a>
</div>
<HappyProvider>
{/* <HappyProvider>
<Button type="primary">Primary Button</Button>
<Button type="primary">Primary Button</Button>
<Button type="primary">Primary Button</Button>
<Button type="primary">Primary Button</Button>
</HappyProvider>
</HappyProvider> */}
<h1>Farm + react</h1>
<div className="card">
<button onClick={() => setCount((count) => count + 1)}>
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"deepmerge": "^4.3.1",
"dotenv": "^16.4.5",
"dotenv-expand": "^11.0.6",
"execa": "9.3.0",
"execa": "8.0.0",
"farm-browserslist-generator": "^1.0.5",
"farm-plugin-replace-dirname": "0.2.1",
"fast-glob": "^3.3.2",
Expand Down
2 changes: 0 additions & 2 deletions packages/core/src/server/middlewares/error.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/core/src/server/middlewares/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from './error.js';
export * from './htmlFallback.js';
export * from './lazyCompilation.js';
export * from './notFound.js';
Expand Down
3 changes: 1 addition & 2 deletions packages/runtime-plugin-hmr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
"type-check": "tsc -p tsconfig.json --noEmit"
},
"devDependencies": {
"@farmfe/runtime": "workspace:1.0.0-nightly-20241023020505",
"shiki": "^1.17.7"
"@farmfe/runtime": "workspace:1.0.0-nightly-20241023020505"
},
"dependencies": {
"core-js": "^3.30.1",
Expand Down
Loading

0 comments on commit d7c5ffb

Please sign in to comment.