-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
sonvir249
committed
Apr 13, 2024
1 parent
5dce944
commit a5554a1
Showing
52 changed files
with
2,397 additions
and
7,803 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
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import matchers from '@testing-library/jest-dom/matchers'; | ||
import { expect } from 'vitest'; | ||
|
||
expect.extend(matchers); |
File renamed without changes.
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
8 changes: 4 additions & 4 deletions
8
frontend/src/__tests__/Register.test.js → frontend/src/__tests__/Register.test.jsx
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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,48 @@ | ||
import react from "@vitejs/plugin-react"; | ||
import path from "path"; | ||
import { defineConfig } from "vite"; | ||
|
||
const port = 9443; | ||
const origin = `${process.env.DDEV_PRIMARY_URL}:${port}`; | ||
|
||
// https://vitejs.dev/config/ | ||
export default defineConfig({ | ||
// Add entrypoint | ||
plugins: [react({ include: /\.(js|jsx|ts|tsx)$/, jsxRuntime: "classic" })], | ||
define: { | ||
"process.env.REACT_APP_API_BASE_URL": JSON.stringify( | ||
"https://contribkanban.com.ddev.site" | ||
), | ||
"process.env.PUBLIC_URL": JSON.stringify( | ||
"https://contribkanban.com.ddev.site" | ||
), | ||
"process.env.REACT_APP_LAGOON_BRANCH": JSON.stringify(""), | ||
"process.env.REACT_APP_LAGOON_PROJECT": JSON.stringify(""), | ||
"process.env.REACT_APP_LAGOON_ENVIRONMENT": JSON.stringify(""), | ||
"process.env.NODE_ENV": JSON.stringify("local"), | ||
}, | ||
build: { | ||
// our entry | ||
outDir: "build", | ||
rollupOptions: { | ||
input: path.resolve("src/index.jsx"), | ||
}, | ||
// manifest | ||
manifest: true, | ||
}, | ||
// Adjust Vites dev server for DDEV | ||
// https://vitejs.dev/config/server-options.html | ||
server: { | ||
// respond to all network requests: | ||
host: "0.0.0.0", | ||
port: port, | ||
strictPort: true, | ||
// Defines the origin of the generated asset URLs during development | ||
origin: origin, | ||
}, | ||
test: { | ||
globals: true, | ||
environment: "jsdom", | ||
setupFiles: './setupTest.js', | ||
}, | ||
}); |
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 @@ | ||
FROM node:16.16 as builder | ||
FROM node:18.20.2 as builder | ||
|
||
ARG LAGOON_PROJECT | ||
ARG LAGOON_GIT_BRANCH | ||
|
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.