-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: pnpm now the default package manager for Start UI
there is still an issue with the dockerfile, starting in /home/nextjs/.cache instead of /app/.next
- Loading branch information
1 parent
8b7bf01
commit ba042e0
Showing
18 changed files
with
15,996 additions
and
14,927 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,24 @@ | ||
image: node:lts | ||
|
||
cache: | ||
key: | ||
files: | ||
- pnpm-lock.yaml | ||
paths: | ||
- node_modules | ||
- .yarn | ||
- .pnpm-store | ||
|
||
stages: | ||
- build | ||
- test | ||
|
||
build: | ||
stage: build | ||
before_script: | ||
- corepack enable | ||
- corepack prepare pnpm@latest-8 --activate | ||
- pnpm config set store-dir .pnpm-store | ||
script: | ||
- echo "Installing dependencies" | ||
- yarn install | ||
- pnpm install | ||
- echo "Building application" | ||
- yarn build | ||
|
||
test: | ||
image: | ||
# Make sure to update this version number on version update | ||
name: cypress/included:11.2.0 | ||
entrypoint: [''] | ||
stage: test | ||
script: | ||
- yarn install | ||
- yarn cypress install | ||
- echo "Checking format code eslint" | ||
- yarn eslint . | ||
- echo "Checking types" | ||
- yarn tsc --noEmit | ||
- echo "Running tests" | ||
- yarn test:ci --browser chrome | ||
- pnpm build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn lint-staged | ||
pnpm lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn lint | ||
pnpm lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ public | |
*.mdx | ||
.env* | ||
!.env.validator.js | ||
pnpm-lock.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.