Skip to content

Commit

Permalink
Build Script Update (#2088)
Browse files Browse the repository at this point in the history
* Dockerfile and PNPM updates

* Updated Scripts to build dist

* Workflow revert
  • Loading branch information
cameron-eyds authored Dec 17, 2024
1 parent 5f29b62 commit 4848e04
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
30 changes: 15 additions & 15 deletions ppr-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduct
Make sure to install dependencies:

```bash
# npm
npm install

# pnpm
pnpm install

# ppnpm
ppnpm install

# yarn
yarn install

Expand All @@ -25,11 +25,11 @@ bun install
Start the development server on `http://localhost:3000`:

```bash
# npm
npm run dev

# pnpm
pnpm dev
pnpm run dev

# ppnpm
ppnpm dev

# yarn
yarn dev
Expand All @@ -43,11 +43,11 @@ bun run dev
Build the application for production:

```bash
# npm
npm run build

# pnpm
pnpm build
pnpm run build

# ppnpm
ppnpm build

# yarn
yarn build
Expand All @@ -59,11 +59,11 @@ bun run build
Locally preview production build:

```bash
# npm
npm run preview

# pnpm
pnpm preview
pnpm run preview

# ppnpm
ppnpm preview

# yarn
yarn preview
Expand Down
2 changes: 1 addition & 1 deletion ppr-ui/firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"hosting":
{
"site": "bcregistry-assets-dev",
"public": ".output",
"public": "dist",
"ignore": ["**/devops/**", "**/.*", "**/node_modules/**"],
"rewrites": [
{
Expand Down
2 changes: 1 addition & 1 deletion ppr-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"sbcName": "SBC Common Components",
"type": "module",
"scripts": {
"build": "nuxt build",
"build": "nuxt generate",
"build-check": "nuxt build",
"dev": "nuxt dev",
"preview": "nuxt preview --port 3000",
Expand Down

0 comments on commit 4848e04

Please sign in to comment.