Skip to content

Commit

Permalink
Update distDir and deploy scripts (#598)
Browse files Browse the repository at this point in the history
* Update dist-dir and deploy scripts

* ci: fix ci.yml
  • Loading branch information
JayJay1024 authored Dec 19, 2023
1 parent 1852cca commit 4354ddd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ jobs:
- name: Build
run: |
npm run build:apps
npm run build:apps:test
npm run build
npm run build:test
1 change: 0 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
distDir: "/packages/apps/.next",
webpack: (config) => {
config.externals.push("lokijs", "encoding", "pino-pretty");
return config;
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"description": "Helix UI",
"private": true,
"scripts": {
"dev:apps": "next dev -p 3030",
"build:apps": "next build",
"start:apps": "next start",
"dev:apps:test": "NODE_ENV=test next dev -p 3030",
"build:apps:test": "NODE_ENV=test next build",
"start:apps:test": "NODE_ENV=test next start",
"dev": "next dev -p 3030",
"build": "next build",
"start": "next start",
"dev:test": "NODE_ENV=test next dev -p 3030",
"build:test": "NODE_ENV=test next build",
"start:test": "NODE_ENV=test next start",
"prettier": "prettier '**/*.{js,jsx,ts,tsx,json}' --write",
"lint": "next lint",
"test": "jest",
Expand Down
1 change: 0 additions & 1 deletion packages/apps/README.md

This file was deleted.

0 comments on commit 4354ddd

Please sign in to comment.