Skip to content

Commit 88dc9d1

Browse files
author
Andrew Welch
committed
Merge branch 'release/1.0.2'
2 parents 026d728 + d5e3892 commit 88dc9d1

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## 1.0.2 - 2021.12.20
6+
### Fixed
7+
* Use `${CURDIR}` instead of `pwd` to be cross-platform compatible with Windows WSL2
8+
59
## 1.0.1 - 2021.12.19
610
### Added
711
* Added screenshots to the `README.md`

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ clean:
1010
rm -rf .pnpm-store
1111
rm -rf ${APP_DIR}/node_modules
1212
rm -rf ${VITE_DIR}
13-
rm ${APP_DIR}/pnpm-lock.yaml
13+
rm -f ${APP_DIR}/pnpm-lock.yaml
1414
docker:
1515
docker build \
1616
docker-config/ \
@@ -21,7 +21,7 @@ docker:
2121
--name vitejs-build-dev \
2222
--rm \
2323
-t \
24-
-v `pwd`:/app \
24+
-v "${CURDIR}":/app \
2525
-e VITE_REPO=${VITE_REPO} \
2626
-e VITE_DIR=${VITE_DIR} \
2727
-e APP_DIR=${APP_DIR} \
@@ -33,7 +33,7 @@ app-pnpm:
3333
--rm \
3434
-t \
3535
-p ${PORT}:${PORT} \
36-
-v `pwd`:/app \
36+
-v "${CURDIR}":/app \
3737
nystudio107/vitejs-dev:${TAG} \
3838
-c "cd /app/${APP_DIR} && pnpm link /app/${VITE_DIR}/packages/vite && pnpm $(filter-out $@,$(MAKECMDGOALS))"
3939
app-sh:
@@ -43,7 +43,7 @@ vite-pnpm:
4343
--name vitejs-vite-dev \
4444
--rm \
4545
-t \
46-
-v `pwd`:/app \
46+
-v "${CURDIR}":/app \
4747
nystudio107/vitejs-dev:${TAG} \
4848
-c "cd /app/${VITE_DIR}/packages/vite && pnpm $(filter-out $@,$(MAKECMDGOALS))"
4949
vite-sh:

0 commit comments

Comments
 (0)