mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 01:42:34 +00:00
Fixed #6708 - Forms: Could not resolve "valibot"
This commit is contained in:
parent
97b50aea57
commit
cb7e707f03
22 changed files with 60 additions and 25 deletions
|
@ -5,7 +5,11 @@ import { clearPackageJson, copyDependencies, renameDTSFile, resolvePath } from '
|
|||
const { __dirname, __workspace, INPUT_DIR, OUTPUT_DIR } = resolvePath(import.meta.url);
|
||||
|
||||
copyDependencies(INPUT_DIR, OUTPUT_DIR, '/style');
|
||||
renameDTSFile(OUTPUT_DIR, 'index');
|
||||
renameDTSFile(OUTPUT_DIR, 'index', (name) => {
|
||||
return name !== 'types.d.ts';
|
||||
});
|
||||
|
||||
fs.copySync(path.resolve(__dirname, '../src/types.d.ts'), `${OUTPUT_DIR}/types.d.ts`);
|
||||
|
||||
fs.copySync(path.resolve(__dirname, '../package.json'), `${OUTPUT_DIR}/package.json`);
|
||||
fs.copySync(path.resolve(__dirname, '../README.md'), `${OUTPUT_DIR}/README.md`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue