Skip to content

Commit

Permalink
moved from pnpm to npm and workspaces (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
Physer authored Nov 8, 2024
1 parent b544ce2 commit 62206eb
Show file tree
Hide file tree
Showing 8 changed files with 8,955 additions and 7,735 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/reusable-build-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: lts/Iron
cache: "pnpm"
node-version: lts/*

- name: pnpm install
run: pnpm install
- name: npm install
run: npm install

- name: Build application
run: pnpm run build
run: npm run build

- name: Upload build artifacts
if: ${{ inputs.upload-artifcats }}
Expand Down
6 changes: 3 additions & 3 deletions apps/cloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "astro dev --port 3002",
"develop": "astro dev --port 3002",
"start": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview"
Expand All @@ -18,11 +18,11 @@
"@heroicons/react": "^2.1.3",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@xprtz/ui": "link:../../libs/ui",
"@xprtz/ui": "file:../../libs/ui",
"astro": "^4.16.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwindcss": "^3.4.3"
},
"author": "Alex Schouls"
}
}
1 change: 1 addition & 0 deletions apps/cloud/src/env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" />
6 changes: 3 additions & 3 deletions apps/dotnet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "astro dev --port 3001",
"develop": "astro dev --port 3001",
"start": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview"
Expand All @@ -18,11 +18,11 @@
"@heroicons/react": "^2.1.3",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@xprtz/ui": "link:../../libs/ui",
"@xprtz/ui": "file:../../libs/ui",
"astro": "^4.16.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwindcss": "^3.4.3"
},
"author": "Alex Schouls"
}
}
Loading

0 comments on commit 62206eb

Please sign in to comment.