Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use publicodes rc-5 with improved perfs #2854

Merged
merged 1 commit into from
Dec 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@apidevtools/swagger-cli": "^4.0.4",
"@koa/cors": "^4.0.0",
"@koa/router": "^12.0.0",
"@publicodes/rest-api": "1.0.0-rc.4",
"@publicodes/rest-api": "1.0.0-rc.5",
"@sentry/node": "^7.70.0",
"@sentry/utils": "^7.70.0",
"got": "^13.0.0",
Expand All @@ -43,7 +43,7 @@
"modele-social": "workspace:^",
"nodemon": "^3.0.1",
"piano-analytics-js": "^6.13.0",
"publicodes": "1.0.0-rc.4",
"publicodes": "1.0.0-rc.5",
"rate-limiter-flexible": "^2.4.2",
"swagger-ui-dist": "^5.7.2"
},
Expand Down
856 changes: 0 additions & 856 deletions api/source/test-e2e/__snapshots__/index.test.ts.snap

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions exoneration-covid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.0-rc.2

Use publicodes v1.0.0-rc.5

## 1.0.0-rc.1

Use publicodes v1.0.0-rc.4
Expand Down
4 changes: 2 additions & 2 deletions exoneration-covid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "exoneration-covid",
"version": "1.0.0-rc.1",
"version": "1.0.0-rc.2",
"description": "Les règles publicodes pour le calcul de l'exonération de cotisations covid (année 2021)",
"main": "./dist/index.js",
"types": "./index.d.ts",
Expand All @@ -21,7 +21,7 @@
"onchange": "^7.1.0"
},
"peerDependencies": {
"publicodes": "^1.0.0-rc.4"
"publicodes": "^1.0.0-rc.5"
},
"scripts": {
"build": "node ../scripts/build-rules.js",
Expand Down
3 changes: 3 additions & 0 deletions modele-social/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

# Journal des modifications
## 2.0.0-rc.2
Use publicodes v1.0.0-rc.5

## 2.0.0-rc.1
**BREAKING CHANGE**
Expand Down
4 changes: 2 additions & 2 deletions modele-social/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "modele-social",
"version": "2.0.0-rc.1",
"version": "2.0.0-rc.2",
"description": "Les règles publicodes du système social français",
"type": "module",
"main": "./dist/index.js",
Expand All @@ -23,7 +23,7 @@
"onchange": "^7.1.0"
},
"peerDependencies": {
"publicodes": "^1.0.0-rc.4"
"publicodes": "^1.0.0-rc.5"
},
"scripts": {
"build": "node ../scripts/build-rules.js",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^3.0.3",
"publicodes": "1.0.0-rc.4",
"publicodes": "1.0.0-rc.5",
"rimraf": "^5.0.1"
},
"resolutions": {
Expand Down
4 changes: 2 additions & 2 deletions site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@internationalized/number": "^3.2.1",
"@juggle/resize-observer": "^3.4.0",
"@leeoniya/ufuzzy": "^1.0.10",
"@publicodes/react-ui": "1.0.0-rc.4",
"@publicodes/react-ui": "1.0.0-rc.5",
"@react-aria/accordion": "^3.0.0-alpha.17",
"@react-pdf/renderer": "^3.1.12",
"@sentry/integrations": "^7.70.0",
Expand All @@ -71,7 +71,7 @@
"markdown-to-jsx": "^7.3.2",
"modele-social": "workspace:^",
"piano-analytics-js": "^6.13.0",
"publicodes": "1.0.0-rc.4",
"publicodes": "1.0.0-rc.5",
"react": "^18.2.0",
"react-aria": "^3.24.0",
"react-day-picker": "^8.8.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ dirigeant . rémunération . net: 40000
dirigeant . rémunération . net . après impôt: 33549
entreprise . chiffre d'affaires: 54807
impôt . montant: 6451
protection sociale . retraite . base: 1714
protection sociale . retraite . base: null
protection sociale . retraite . complémentaire: 0
protection sociale . retraite . trimestres: 4"
protection sociale . retraite . trimestres: 0"
`;

exports[`calculate simulations-professions-libérales > CIPAV conjoint collaborateur 1`] = `
Expand Down
38 changes: 19 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7580,22 +7580,22 @@ __metadata:
languageName: node
linkType: hard

"@publicodes/react-ui@npm:1.0.0-rc.4":
version: 1.0.0-rc.4
resolution: "@publicodes/react-ui@npm:1.0.0-rc.4"
"@publicodes/react-ui@npm:1.0.0-rc.5":
version: 1.0.0-rc.5
resolution: "@publicodes/react-ui@npm:1.0.0-rc.5"
dependencies:
styled-components: ^6.1.1
peerDependencies:
publicodes: ^1.0.0-beta.71
react: ^18
react-dom: ^18
checksum: 7e72c2496c5ca3e66c8dabc13f015c05c2a865157ba8cf58031bc9d9915d31e94f12a708c28d4f5eb3f7a4632b9059e0b9dba962dd1cfc50a49ba370462848bc
checksum: ef5e4b87519ae8e2fbd5538330fa9dd3f0006362c1195d1ce946f7293beba47809db5182c64d191a0460312448b45eedd81bb60e704e2b3283629b33b7b2a129
languageName: node
linkType: hard

"@publicodes/rest-api@npm:1.0.0-rc.4":
version: 1.0.0-rc.4
resolution: "@publicodes/rest-api@npm:1.0.0-rc.4"
"@publicodes/rest-api@npm:1.0.0-rc.5":
version: 1.0.0-rc.5
resolution: "@publicodes/rest-api@npm:1.0.0-rc.5"
dependencies:
"@koa/cors": ^3.4.3
"@koa/router": ^10.1.1
Expand All @@ -7604,7 +7604,7 @@ __metadata:
openapi-validator-middleware: ^3.2.6
peerDependencies:
publicodes: ^1.0.0-beta.47
checksum: cbe8ccf93f90cb61acff88bb7bde66e43f98573e137eee4aa027c59a8840d877d65a1afad177355fd86d062043ea73e8228781d15a9598b2b680da09d4add1e6
checksum: 3f08ef0e0bebe13e7294b42d79fbb284a56948cebae22e0d557dc8794aaed19c054a3338519cd89cac2f557dc4e45eb46d0bed1fdf835fe1c9340b8b216c7fb0
languageName: node
linkType: hard

Expand Down Expand Up @@ -13819,7 +13819,7 @@ __metadata:
"@apidevtools/swagger-cli": ^4.0.4
"@koa/cors": ^4.0.0
"@koa/router": ^12.0.0
"@publicodes/rest-api": 1.0.0-rc.4
"@publicodes/rest-api": 1.0.0-rc.5
"@sentry/node": ^7.70.0
"@sentry/utils": ^7.70.0
"@types/ioredis-mock": ^8.2.2
Expand All @@ -13839,7 +13839,7 @@ __metadata:
modele-social: "workspace:^"
nodemon: ^3.0.1
piano-analytics-js: ^6.13.0
publicodes: 1.0.0-rc.4
publicodes: 1.0.0-rc.5
rate-limiter-flexible: ^2.4.2
swagger-ui-dist: ^5.7.2
ts-node: ^10.9.1
Expand Down Expand Up @@ -18856,7 +18856,7 @@ __metadata:
js-yaml: ^4.1.0
onchange: ^7.1.0
peerDependencies:
publicodes: ^1.0.0-rc.4
publicodes: ^1.0.0-rc.5
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -24359,7 +24359,7 @@ __metadata:
js-yaml: ^4.1.0
onchange: ^7.1.0
peerDependencies:
publicodes: ^1.0.0-rc.4
publicodes: ^1.0.0-rc.5
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -26624,12 +26624,12 @@ __metadata:
languageName: node
linkType: hard

"publicodes@npm:1.0.0-rc.4":
version: 1.0.0-rc.4
resolution: "publicodes@npm:1.0.0-rc.4"
"publicodes@npm:1.0.0-rc.5":
version: 1.0.0-rc.5
resolution: "publicodes@npm:1.0.0-rc.5"
peerDependencies:
"@types/mocha": ^9.0.0
checksum: 036eab9c2263a8f44e2099c7ab9f7d0d7e6b2526de61e133a3c13c3576380936edc83d0aeab86cde12483597876fe6975dcdfa1438efb26c6fd3844f225dc56d
checksum: 2fcc67b433b629dc5f22f445ef0b466476baaf899c6eabb71ad5ddccbbe3bcc92c34772e6abe0efecb0db3d1fb99c6e9a9d869d36f1bfb543dd6a45db446b87d
languageName: node
linkType: hard

Expand Down Expand Up @@ -28327,7 +28327,7 @@ __metadata:
eslint-plugin-react: ^7.33.2
eslint-plugin-react-hooks: ^4.6.0
prettier: ^3.0.3
publicodes: 1.0.0-rc.4
publicodes: 1.0.0-rc.5
rimraf: ^5.0.1
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -28903,7 +28903,7 @@ __metadata:
"@internationalized/number": ^3.2.1
"@juggle/resize-observer": ^3.4.0
"@leeoniya/ufuzzy": ^1.0.10
"@publicodes/react-ui": 1.0.0-rc.4
"@publicodes/react-ui": 1.0.0-rc.5
"@react-aria/accordion": ^3.0.0-alpha.17
"@react-pdf/renderer": ^3.1.12
"@react-types/accordion": ^3.0.0-alpha.16
Expand Down Expand Up @@ -28950,7 +28950,7 @@ __metadata:
modele-social: "workspace:^"
netlify-cli: ^17.10.1
piano-analytics-js: ^6.13.0
publicodes: 1.0.0-rc.4
publicodes: 1.0.0-rc.5
react: ^18.2.0
react-aria: ^3.24.0
react-day-picker: ^8.8.2
Expand Down
Loading