-
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.
feat: typescript et précalcule des isochrones (#4)
chore: typescript feat: precalcule des isochrones
- Loading branch information
Showing
165 changed files
with
132,693 additions
and
137,685 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,3 +109,8 @@ dist | |
trajectoires-pro.Rproj | ||
.Rhistory | ||
.Rdata | ||
|
||
server/data/isochrones/ | ||
server/data/isochrones_output/ | ||
|
||
tmp/ |
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
Large diffs are not rendered by default.
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,6 @@ | ||
{ | ||
"printWidth": 80, | ||
"bracketSpacing": true, | ||
"trailingComma": "es5", | ||
"arrowParens": "always" | ||
} |
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 |
---|---|---|
|
@@ -4,6 +4,10 @@ | |
"description": "[InserJeunes] Accompagnateur", | ||
"repository": "https://github.com/mission-apprentissage/c-est-qui-le-pro.git", | ||
"private": true, | ||
"workspaces": [ | ||
"server", | ||
"ui" | ||
], | ||
"author": "InserJeunes", | ||
"license": "MIT", | ||
"scripts": { | ||
|
@@ -18,6 +22,7 @@ | |
"@semantic-release/exec": "6.0.3", | ||
"@semantic-release/git": "10.0.1", | ||
"husky": "^8.0.3", | ||
"prettier": "2.6.2", | ||
"semantic-release": "19.0.2", | ||
"semantic-release-slack-bot": "3.5.2" | ||
}, | ||
|
@@ -27,4 +32,4 @@ | |
"trailingComma": "es5" | ||
}, | ||
"packageManager": "[email protected]" | ||
} | ||
} |
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,9 @@ | ||
import { defineConfig, getKnexTimestampPrefix } from "kysely-ctl"; | ||
import { kdb } from "#src/common/db/db.ts"; | ||
|
||
export default defineConfig({ | ||
kysely: kdb, | ||
migrations: { | ||
getMigrationPrefix: getKnexTimestampPrefix, | ||
}, | ||
}); |
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,11 @@ | ||
ACCOMPAGNATEUR_LOG_LEVEL: info | ||
ACCOMPAGNATEUR_LOG_DESTINATIONS: stdout,sql | ||
CATALOGUE_APPRENTISSAGE_USERNAME: "tmp" | ||
CATALOGUE_APPRENTISSAGE_PASSWORD: "tmp" | ||
ACCOMPAGNATEUR_ENV: dev | ||
EXPOSITION_API_USERNAME: "tmp" | ||
EXPOSITION_API_PASSWORD: "tmp" | ||
ACCOMPAGNATEUR_POSTGRES_URI: "tmp" | ||
DATABASE_URL: "tmp" | ||
ACCOMPAGNATEUR_POSTGRES_CA: "" | ||
ACCOMPAGNATEUR_SQL_LOG_LEVEL: error |
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,7 +1,16 @@ | ||
{ | ||
"node-option": [ | ||
"import=tsx", | ||
"enable-source-maps" | ||
], | ||
"extension": [ | ||
"ts" | ||
], | ||
"timeout": 5000, | ||
"exit": true, | ||
"recursive": true, | ||
"require": "tests/utils/mochaGlobalFixtures.js", | ||
"require": [ | ||
"tests/utils/mochaGlobalFixtures.js" | ||
], | ||
"reporter": "tests/utils/mochaReporter.cjs" | ||
} | ||
} |
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,15 +1,16 @@ | ||
FROM node:18-alpine | ||
|
||
#Install and cache node_modules | ||
COPY package.json yarn.lock /tmp/ | ||
RUN cd /tmp && \ | ||
yarn install --frozen-lockfile && \ | ||
mkdir -p /app && \ | ||
mv /tmp/node_modules /app/ | ||
WORKDIR /base | ||
COPY package.json . | ||
COPY yarn.lock . | ||
COPY server/package.json server/ | ||
RUN yarn install --frozen-lockfile | ||
|
||
COPY ./ /app | ||
WORKDIR /app | ||
COPY ./server server | ||
RUN yarn workspace server build | ||
|
||
WORKDIR /base/server | ||
VOLUME /data | ||
EXPOSE 5000 | ||
CMD ["yarn", "start"] |
Oops, something went wrong.