-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 🐛 fix: Fix build * 🐛 fix: Fix version * 🔖 chore(release): v1.25.8-beta.1 [skip ci] ### [Version 1.25.8-beta.1](v1.25.7...v1.25.8-beta.1) <sup>Released on **2024-11-25**</sup> #### 🐛 Bug Fixes - **misc**: Fix build, Fix version. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix build ([947bd21](947bd21)) * **misc**: Fix version ([3b60176](3b60176)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div> * 🐛 fix: Fix build * 🐛 fix: Fix build * 🔖 chore(release): v1.25.8-beta.2 [skip ci] ### [Version 1.25.8-beta.2](v1.25.8-beta.1...v1.25.8-beta.2) <sup>Released on **2024-11-25**</sup> #### 🐛 Bug Fixes - **misc**: Fix build, Fix build. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix build ([b6ae2a1](b6ae2a1)) * **misc**: Fix build ([820b4bc](820b4bc)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div> * 🔧 chore: Clean file --------- Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
- Loading branch information
1 parent
e2f634a
commit 5939f0a
Showing
18 changed files
with
112 additions
and
58 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
import { defineConfig } from 'father'; | ||
|
||
export default defineConfig({ | ||
esm: { | ||
output: 'dist', | ||
overrides: { | ||
'src/core': { | ||
output: 'core', | ||
}, | ||
'src/react': { | ||
output: 'react', | ||
}, | ||
'src/server': { | ||
output: 'server', | ||
}, | ||
}, | ||
}, | ||
esm: { output: 'es' }, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,5 +57,6 @@ public/*.js | |
bun.lockb | ||
react/** | ||
server/** | ||
|
||
core/** | ||
react.d.ts | ||
server.d.ts |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './es/react'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { copyFileSync } from 'node:fs'; | ||
import { resolve } from 'node:path'; | ||
|
||
const root = resolve(__dirname, '..'); | ||
|
||
const build = async (filename: string) => { | ||
copyFileSync(filename, filename.replace('.js', '.d.ts')); | ||
}; | ||
|
||
build(resolve(root, 'react.js')); | ||
build(resolve(root, 'server.js')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { existsSync, unlinkSync } from 'node:fs'; | ||
import { resolve } from 'node:path'; | ||
|
||
const root = resolve(__dirname, '..'); | ||
|
||
const clean = async (filename: string) => { | ||
if (existsSync(filename)) { | ||
unlinkSync(filename); | ||
} | ||
}; | ||
|
||
clean(resolve(root, 'react.d.ts')); | ||
clean(resolve(root, 'server.d.ts')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './es/server'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters