How do i build PrimeNg v19 Locally? it was easy with v17. Can't build and serve the UI lib locally #3555
Unanswered
alfredobialo
asked this question in
PrimeNG
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is the script section of package.json. @mert Sincan @cetincakiroglu
I have pnpm and husky installed
"scripts": { "setup": "pnpm run clean && pnpm run init", "clean": "npx rimraf --glob **/node_modules **/dist **/.angular ./pnpm-lock.yaml", "init": "pnpm install && husky", "link": "pnpm --filter './packages/*' dev:link", "release": "pnpm run build && pnpm recursive publish --filter './packages/*' --no-git-checks --report-summary", "release:beta": "pnpm run build && pnpm recursive publish --filter './packages/*' --no-git-checks --report-summary --tag v19-beta", "release:rc": "pnpm run build && pnpm recursive publish --filter './packages/*' --no-git-checks --report-summary --tag v19-rc", "build": "NODE_ENV=production pnpm run build:check && pnpm run build:packages", "build:check": "pnpm run format:check && pnpm run security:check", "build:packages": "pnpm run build:lib && pnpm run build:themes && pnpm run build:showcase", "build:lib": "pnpm --filter primeng build", "build:themes": "pnpm --filter themes build", "build:showcase": "pnpm --filter showcase build", "build:apidoc": "pnpm --filter showcase build:docs", "dev": "pnpm --filter showcase start", "security:check": "pnpm audit --prod --audit-level high", "format": "prettier --write \"**/*.{js,mjs,ts,mts,d.ts,html}\" --cache", "format:check": "prettier --check \"**/*.{js,mjs,ts,mts,d.ts,html}\"", "lint": "eslint --ext \".js,.mjs,.ts,.mts\" --ignore-path .gitignore . --cache", "lint:fix": "eslint --fix --ext \".js,.mjs,.ts,.mts\" --ignore-path .gitignore .", "test:unit": "pnpm --filter primeng test:unit" },
** "build": "NODE_ENV=production pnpm run build:check && pnpm run build:packages",** NODE_ENV not recognised
Beta Was this translation helpful? Give feedback.
All reactions