mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-06-10 23:13:17 +00:00
package/prettier-plugin-pug: fix build and properly modernise
Based on the full set of changes to the astro plugin, not just the basic fetcher update.
This commit is contained in:
parent
5e206fb0a3
commit
b8ae815a8b
1 changed files with 6 additions and 9 deletions
|
|
@ -4,6 +4,7 @@
|
|||
gitMinimal,
|
||||
pnpm_9,
|
||||
pnpmConfigHook,
|
||||
zstd,
|
||||
fetchPnpmDeps,
|
||||
pins,
|
||||
fetchFromGitHub,
|
||||
|
|
@ -36,25 +37,21 @@ in
|
|||
nodejs
|
||||
gitMinimal
|
||||
writableTmpDirAsHomeHook
|
||||
(pnpmConfigHook.overrideAttrs {
|
||||
propagatedBuildInputs = [pnpm_9];
|
||||
(pnpmConfigHook.override {
|
||||
pnpm = pnpm_9;
|
||||
})
|
||||
pnpm_9
|
||||
zstd
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
pnpm run build
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
preInstall = ''
|
||||
cp -r dist/ $out
|
||||
cp -r node_modules $out
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue