Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
build(npm): met à jour les dépendances NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
vmaubert committed Mar 17, 2022
1 parent c0289a8 commit 77969da
Show file tree
Hide file tree
Showing 9 changed files with 1,488 additions and 1,180 deletions.
6 changes: 1 addition & 5 deletions .ncurc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
"dateformat",
"node-fetch",
"p-queue",
"typedoc",
"eslint",
"typescript",
"@typescript-eslint/eslint-plugin",
"@typescript-eslint/parser"
"typedoc"
]
}
2,599 changes: 1,456 additions & 1,143 deletions package-lock.json

Large diffs are not rendered by default.

44 changes: 21 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,14 @@
},
"@comment dependencies": {
"modules esm": "crypto-random-string, p-queue, @sindresorhus/slugify, email-regex, decamelize, dateformat, node-fetch à ne pas updater tant que on ne compile pas pour es2020: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c. Pas simple de migrer ts-node.",
"typedoc": "bloqué à 0.21.19 https://github.com/mipatterson/typedoc-plugin-pages/issues/64",
"eslint": "bloqué à 7.x.x https://github.com/xjamundx/eslint-plugin-promise/pull/219",
"typescript": "bloqué à 4.4.x https://github.com/xjamundx/eslint-plugin-promise/pull/219"
"typedoc": "bloqué à 0.21.19 https://github.com/mipatterson/typedoc-plugin-pages/issues/64"
},
"dependencies": {
"@graphql-tools/graphql-file-loader": "^7.3.3",
"@graphql-tools/load": "^7.5.1",
"@graphql-tools/graphql-file-loader": "^7.3.5",
"@graphql-tools/load": "^7.5.3",
"@placemarkio/check-geojson": "^0.1.8",
"@sentry/node": "^6.17.9",
"@sentry/types": "^6.17.9",
"@sentry/node": "^6.18.2",
"@sentry/types": "^6.18.2",
"@sindresorhus/slugify": "^1.1.2",
"@turf/center": "^6.5.0",
"@turf/intersect": "^6.5.0",
Expand All @@ -83,9 +81,9 @@
"@types/geojson": "^7946.0.8",
"@types/graphql-type-json": "^0.3.2",
"@types/graphql-upload": "^8.0.11",
"@types/jest": "^27.4.0",
"@types/jest": "^27.4.1",
"@types/jsonwebtoken": "^8.5.8",
"@types/node": "^17.0.19",
"@types/node": "^17.0.21",
"@types/node-fetch": "^2.5.12",
"@types/node-mailjet": "^3.3.8",
"@types/proj4": "^2.5.2",
Expand All @@ -112,14 +110,14 @@
"geojson-rewind": "^0.3.1",
"graphql": "^16.3.0",
"graphql-fields": "^2.0.3",
"graphql-scalars": "^1.14.1",
"graphql-scalars": "^1.15.0",
"graphql-type-json": "^0.3.2",
"graphql-upload": "^13.0.0",
"html-to-text": "^8.1.0",
"jsondiffpatch": "^0.4.1",
"jsonwebtoken": "^8.5.1",
"jszip": "^3.7.1",
"knex": "1.0.3",
"knex": "1.0.4",
"knex-db-manager": "^0.7.0",
"make-dir": "^3.1.0",
"matomo-tracker": "^2.2.4",
Expand All @@ -128,27 +126,27 @@
"objection": "^3.0.1",
"p-queue": "^6.6.2",
"pg": "^8.7.3",
"proj4": "^2.7.5",
"proj4": "^2.8.0",
"shpjs": "^4.0.2",
"ts-node": "^10.5.0",
"tus-node-server": "^0.5.1",
"typescript": "^4.4.4",
"ts-node": "^10.7.0",
"tus-node-server": "^0.5.2",
"typescript": "^4.6.2",
"winston": "^3.6.0",
"xlsx": "^0.18.2"
"xlsx": "^0.18.4"
},
"devDependencies": {
"@jest/types": "^27.5.1",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "^5.3.1",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"codecov": "^3.8.3",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.4.0",
"eslint-config-standard": "^16.0.3",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0-1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-node": "^11.1.0",
Expand All @@ -157,9 +155,9 @@
"eslint-plugin-tsdoc": "^0.2.14",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.4",
"lint-staged": "^12.3.6",
"nodemon": "^2.0.15",
"npm-check-updates": "^12.4.0",
"npm-check-updates": "^12.5.3",
"pg-escape": "^0.2.0",
"prettier-eslint": "^13.0.0",
"semantic-release": "^19.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/api/graphql/resolvers/titres-etapes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ const specifiquesGet = async (
) => {
const tde = await titreTypeDemarcheTypeEtapeTypeGet(
{
titreTypeId: titreTypeId,
titreTypeId,
demarcheTypeId: titreDemarcheTypeId,
etapeTypeId: etapeType.id
},
Expand Down
1 change: 1 addition & 0 deletions src/business/processes/titres-demarches-depot-create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ const titreDemarcheDepotCheck = (titreDemarche: ITitreDemarche) => {
) {
return false
}

// Si on a déjà un dépot de la demande
return !titreDemarche.etapes?.find(e => e.typeId === 'mdp')
}
Expand Down
2 changes: 1 addition & 1 deletion src/business/rules/titre-activites-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ const titreActiviteBuild = (
return {
titreId,
date,
typeId: typeId,
typeId,
statutId: 'abs',
periodeId,
annee,
Expand Down
2 changes: 1 addition & 1 deletion src/database/queries/permissions/titres.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ describe('titresQueryModify', () => {
await AdministrationsTitresTypes.query().delete()
const administrationId = 'ope-ptmg-973-01'
await AdministrationsTitresTypes.query().insert({
administrationId: administrationId,
administrationId,
titreTypeId: 'arm',
gestionnaire: true
})
Expand Down
8 changes: 4 additions & 4 deletions tests/_utils/administrations-permissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const visibleCheck = async (
titreId: `${titreTypeId}${
locale ? '-local' : ''
}-${cible}-admin-${administrationId}`,
titreTypeId: titreTypeId
titreTypeId
},
gestionnaire ? administrationId : undefined,
locale ? administrationId : undefined,
Expand Down Expand Up @@ -162,7 +162,7 @@ const creationCheck = async (

const tde = (await titreTypeDemarcheTypeEtapeTypeGet(
{
titreTypeId: titreTypeId,
titreTypeId,
demarcheTypeId: demarcheType.id,
etapeTypeId: etapeType.id
},
Expand Down Expand Up @@ -300,7 +300,7 @@ const modificationCheck = async (
titreId: `${titreTypeId}${
locale ? '-local' : ''
}${etapeTypeId}-${cible}-modification-admin-${administrationId}`,
titreTypeId: titreTypeId
titreTypeId
},
gestionnaire ? administrationId : undefined,
locale ? administrationId : undefined,
Expand Down Expand Up @@ -399,7 +399,7 @@ const titreBuild = (
demarches: [
{
id: `${titreId}-demarche-id`,
titreId: titreId,
titreId,
typeId: 'oct',
etapes: [
{
Expand Down
4 changes: 2 additions & 2 deletions tests/titres-demarches.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ describe('demarcheModifier', () => {

const res = await graphQLCall(
demarcheModifierQuery,
{ demarche: { id: demarcheId, titreId: titreId, typeId: 'pro' } },
{ demarche: { id: demarcheId, titreId, typeId: 'pro' } },
'admin',
administrations.ptmg.id
)
Expand All @@ -199,7 +199,7 @@ describe('demarcheModifier', () => {

const res = await graphQLCall(
demarcheModifierQuery,
{ demarche: { id: demarcheId, titreId: titreId, typeId: 'pro' } },
{ demarche: { id: demarcheId, titreId, typeId: 'pro' } },
'admin',
administrations.dgtmGuyane.id
)
Expand Down

0 comments on commit 77969da

Please sign in to comment.