diff --git a/api/package.json b/api/package.json index d7d811a0d..1e841ef2e 100644 --- a/api/package.json +++ b/api/package.json @@ -30,7 +30,7 @@ "@apidevtools/swagger-cli": "^4.0.4", "@koa/cors": "^3.3.0", "@koa/router": "^10.1.1", - "@publicodes/api": "^1.0.0-beta.45", + "@publicodes/api": "^1.0.0-beta.46", "@sentry/node": "^7.1.1", "@sentry/tracing": "^7.1.1", "koa": "^2.13.4", @@ -38,7 +38,7 @@ "koa-static": "^5.0.0", "modele-social": "workspace:^", "nodemon": "^2.0.16", - "publicodes": "^1.0.0-beta.45", + "publicodes": "^1.0.0-beta.46", "swagger-ui-dist": "^4.11.1" }, "devDependencies": { diff --git a/exoneration-covid/package.json b/exoneration-covid/package.json index 9d121a7b0..eac9e0f2e 100644 --- a/exoneration-covid/package.json +++ b/exoneration-covid/package.json @@ -19,10 +19,10 @@ "devDependencies": { "js-yaml": "^4.1.0", "onchange": "^7.1.0", - "publicodes": "=1.0.0-beta.45" + "publicodes": "=1.0.0-beta.46" }, "peerDependencies": { - "publicodes": "^1.0.0-beta.45" + "publicodes": "^1.0.0-beta.46" }, "scripts": { "build": "node ../scripts/build-rules.js", diff --git a/modele-social/package.json b/modele-social/package.json index d892b221c..40a186823 100644 --- a/modele-social/package.json +++ b/modele-social/package.json @@ -21,10 +21,10 @@ "devDependencies": { "js-yaml": "^4.1.0", "onchange": "^7.1.0", - "publicodes": "^1.0.0-beta.45" + "publicodes": "^1.0.0-beta.46" }, "peerDependencies": { - "publicodes": "^1.0.0-beta.45" + "publicodes": "^1.0.0-beta.46" }, "scripts": { "build": "node ../scripts/build-rules.js", diff --git a/site/cypress/integration/mon-entreprise/recherche.ts b/site/cypress/integration/mon-entreprise/recherche.ts index baffd9759..f76530e0b 100644 --- a/site/cypress/integration/mon-entreprise/recherche.ts +++ b/site/cypress/integration/mon-entreprise/recherche.ts @@ -24,6 +24,9 @@ describe('Recherche globales', function () { .next() .find('[role="button"]') .should('have.length', 1) - cy.contains('Règles de calculs').next().find('li').should('have.length', 2) + cy.contains('Règles de calculs') + .next() + .find('li') + .should('have.length.of.at.least', 2) }) }) diff --git a/site/package.json b/site/package.json index 627650109..62356152f 100644 --- a/site/package.json +++ b/site/package.json @@ -78,8 +78,8 @@ "isbot": "^3.5.0", "markdown-to-jsx": "^7.1.7", "modele-social": "workspace:^", - "publicodes": "^1.0.0-beta.45", - "publicodes-react": "^1.0.0-beta.45", + "publicodes": "^1.0.0-beta.46", + "publicodes-react": "^1.0.0-beta.46", "react": "^17.0.0", "react-color": "^2.14.0", "react-dom": "^17.0.0", diff --git a/yarn.lock b/yarn.lock index 80b7deb95..c959362f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4680,9 +4680,9 @@ __metadata: languageName: node linkType: hard -"@publicodes/api@npm:^1.0.0-beta.45": - version: 1.0.0-beta.45 - resolution: "@publicodes/api@npm:1.0.0-beta.45" +"@publicodes/api@npm:^1.0.0-beta.46": + version: 1.0.0-beta.46 + resolution: "@publicodes/api@npm:1.0.0-beta.46" dependencies: "@koa/cors": ^3.3.0 "@koa/router": ^10.1.1 @@ -4690,8 +4690,8 @@ __metadata: koa-body: ^5.0.0 openapi-validator-middleware: ^3.2.6 peerDependencies: - publicodes: ^1.0.0-beta.45 - checksum: c8917407748d325ca32bcf7f860ec13c9fe6e10eeb23c05d93784cb3aedcc65013c1936ba2c5c890809946efc55d97cbd1bf430dc6993961bcc1d372b8bc98a6 + publicodes: ^1.0.0-beta.46 + checksum: 0131f39efae7a484ae4188c88c33c10c7a362b46acb199e2211961b5fe1f6601aa22a5685dce8d02d5d64fe19f3c2522f8a239e862039b5a36c989ebe906201f languageName: node linkType: hard @@ -9998,7 +9998,7 @@ __metadata: "@apidevtools/swagger-cli": ^4.0.4 "@koa/cors": ^3.3.0 "@koa/router": ^10.1.1 - "@publicodes/api": ^1.0.0-beta.45 + "@publicodes/api": ^1.0.0-beta.46 "@sentry/node": ^7.1.1 "@sentry/tracing": ^7.1.1 "@types/koa": ^2.13.4 @@ -10013,7 +10013,7 @@ __metadata: koa-static: ^5.0.0 modele-social: "workspace:^" nodemon: ^2.0.16 - publicodes: ^1.0.0-beta.45 + publicodes: ^1.0.0-beta.46 rimraf: ^3.0.2 swagger-ui-dist: ^4.11.1 ts-node: ^10.8.0 @@ -15311,9 +15311,9 @@ __metadata: dependencies: js-yaml: ^4.1.0 onchange: ^7.1.0 - publicodes: =1.0.0-beta.45 + publicodes: =1.0.0-beta.46 peerDependencies: - publicodes: ^1.0.0-beta.45 + publicodes: ^1.0.0-beta.46 languageName: unknown linkType: soft @@ -20874,9 +20874,9 @@ __metadata: dependencies: js-yaml: ^4.1.0 onchange: ^7.1.0 - publicodes: ^1.0.0-beta.45 + publicodes: ^1.0.0-beta.46 peerDependencies: - publicodes: ^1.0.0-beta.45 + publicodes: ^1.0.0-beta.46 languageName: unknown linkType: soft @@ -23240,28 +23240,28 @@ __metadata: languageName: node linkType: hard -"publicodes-react@npm:^1.0.0-beta.45": - version: 1.0.0-beta.45 - resolution: "publicodes-react@npm:1.0.0-beta.45" +"publicodes-react@npm:^1.0.0-beta.46": + version: 1.0.0-beta.46 + resolution: "publicodes-react@npm:1.0.0-beta.46" dependencies: styled-components: ^5.1.0 peerDependencies: publicodes: 1.0.0-beta.40 react: ^17 || ^18 - checksum: d91452f4f78332ad84e59ffde8c2e566dbbf748d368c34375efb5a9c93c27a4b0fb86329d430c0feb9472f52225fcd8eac816ef779b2a56c32d43e29b7e4c93f + checksum: c335ef34060d333756fdff39eebe8827141edbe87ba097d380faeeda6f00c948f49cfd4961a249d417460001261933013cfc3ea2bfcaeb8bac79a81be807abf7 languageName: node linkType: hard -"publicodes@npm:=1.0.0-beta.45, publicodes@npm:^1.0.0-beta.45": - version: 1.0.0-beta.45 - resolution: "publicodes@npm:1.0.0-beta.45" +"publicodes@npm:=1.0.0-beta.46, publicodes@npm:^1.0.0-beta.46": + version: 1.0.0-beta.46 + resolution: "publicodes@npm:1.0.0-beta.46" dependencies: moo: ^0.5.1 nearley: ^2.19.2 yaml: ^1.9.2 peerDependencies: "@types/mocha": ^9.0.0 - checksum: 6958ba25a41b738eb71194110cec62e3664461d211b02ae9af90538a00c8c98fcf76d58be1ae795165d82412929bb076dd2021338127d63324c65676f38348d7 + checksum: 22bfcf1ed871a3005c2d2622a991c836531e449288d77c9d9dc900bf30932ea443a638c29bdf813b6fcea51586380808f48cdadcc81976f95e850a32685ef91b languageName: node linkType: hard @@ -25366,8 +25366,8 @@ __metadata: markdown-to-jsx: ^7.1.7 modele-social: "workspace:^" netlify-cli: ^10.6.3 - publicodes: ^1.0.0-beta.45 - publicodes-react: ^1.0.0-beta.45 + publicodes: ^1.0.0-beta.46 + publicodes-react: ^1.0.0-beta.46 react: ^17.0.0 react-color: ^2.14.0 react-dom: ^17.0.0