mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Convert to PrimeVue monorepo
This commit is contained in:
parent
970ba75b06
commit
61929eae75
4144 changed files with 59008 additions and 36177 deletions
14
packages/primevue/scripts/postbuild.mjs
Normal file
14
packages/primevue/scripts/postbuild.mjs
Normal file
|
@ -0,0 +1,14 @@
|
|||
import fs from 'fs-extra';
|
||||
import path from 'path';
|
||||
import { clearPackageJson, copyDependencies, renameDTSFile, resolvePath } from '../../../scripts/build-helper.mjs';
|
||||
|
||||
const { __dirname, __workspace, INPUT_DIR, OUTPUT_DIR } = resolvePath(import.meta.url);
|
||||
|
||||
copyDependencies(INPUT_DIR, OUTPUT_DIR, '/style');
|
||||
renameDTSFile(OUTPUT_DIR, 'index');
|
||||
|
||||
fs.copySync(path.resolve(__dirname, '../package.json'), `${OUTPUT_DIR}/package.json`);
|
||||
fs.copySync(path.resolve(__dirname, '../README.md'), `${OUTPUT_DIR}/README.md`);
|
||||
fs.copySync(path.resolve(__workspace, './LICENSE.md'), `${OUTPUT_DIR}/LICENSE.md`);
|
||||
|
||||
clearPackageJson(path.resolve(__dirname, `../${OUTPUT_DIR}/package.json`));
|
Loading…
Add table
Add a link
Reference in a new issue