-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
37 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,11 +35,6 @@ RUN --mount=type=cache,target=/tmp/cache composer install --no-dev | |
|
||
WORKDIR /app | ||
|
||
# Decap config. | ||
ENV VITE_DECAP_REPO='AmazeeLabs/silverback-template' | ||
ARG LAGOON_GIT_BRANCH | ||
ENV VITE_DECAP_BRANCH="$LAGOON_GIT_BRANCH" | ||
|
||
# Copy the all package sources, install and prepare them. | ||
COPY . /app | ||
RUN --mount=type=cache,target=/tmp/cache pnpm i && \ | ||
|
@@ -119,6 +114,11 @@ RUN npm install -g [email protected] | |
|
||
COPY --from=builder /tmp/.deploy/publisher /app | ||
|
||
# Decap config. | ||
ENV VITE_DECAP_REPO='AmazeeLabs/silverback-template' | ||
ARG LAGOON_GIT_BRANCH | ||
ENV VITE_DECAP_BRANCH="$LAGOON_GIT_BRANCH" | ||
|
||
CMD pnpm publisher | ||
|
||
# ==================================================================================================== | ||
|
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,3 +1,8 @@ | ||
import { base, defineConfig } from '@custom/eslint-config'; | ||
|
||
export default defineConfig([...base]); | ||
export default defineConfig([ | ||
...base, | ||
{ | ||
ignores: ['.cache/**'], | ||
}, | ||
]); |
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 |
---|---|---|
|
@@ -5,3 +5,6 @@ | |
public | ||
styles.css | ||
persisted-store | ||
|
||
# Deno comes with "netlify dev". We don't need its lock file. | ||
/deno.lock |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// This isn't a Deno project, yet Deno is added by netlify-cli when | ||
// "netlify dev" is used. | ||
// This file is picked up by Deno automatically, so we can use it to adjust Deno | ||
// behavior. | ||
{ | ||
// By default, Deno will use node_modules/.deno dir for storing dependencies. | ||
// Somehow it messes up node_modules resolution leading to Gatsby build | ||
// errors. So we prevent Deno from using node_modules dir. | ||
"nodeModulesDir": false, | ||
} |