diff --git a/package.json b/package.json index 7eb600d3ea..3989ac5c14 100644 --- a/package.json +++ b/package.json @@ -58,5 +58,10 @@ "packageManager": "yarn@3.3.0", "engines": { "node": "^18" + }, + "dependencies": { + "@publicodes/api": "betagouv/publicodes#head=fix-esm-publicodes-react&workspace=@publicodes/api", + "publicodes": "betagouv/publicodes#head=fix-esm-publicodes-react&workspace=publicodes", + "publicodes-react": "betagouv/publicodes#head=fix-esm-publicodes-react&workspace=publicodes-react" } } diff --git a/yarn.lock b/yarn.lock index c75095bc17..c05ae4b84b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4746,6 +4746,21 @@ __metadata: languageName: node linkType: hard +"@publicodes/api@betagouv/publicodes#head=fix-esm-publicodes-react&workspace=@publicodes/api": + version: 1.0.0-beta.61 + resolution: "@publicodes/api@https://github.com/betagouv/publicodes.git#workspace=%40publicodes%2Fapi&commit=5bb608a65ad8a6c1631c09a11c88bbe156d1ab90" + dependencies: + "@koa/cors": ^3.3.0 + "@koa/router": ^10.1.1 + koa: ^2.13.4 + koa-body: ^5.0.0 + openapi-validator-middleware: ^3.2.6 + peerDependencies: + publicodes: ^1.0.0-beta.47 + checksum: fbe87060f8d54b422e59db5c9fbdc94aa6d89476dd9c7ac8e24103c04c77ea4f06d93c02cb4294bb74ec0358c409241fe4d4067bc0e422344fe6e26ec88e07cc + languageName: node + linkType: hard + "@publicodes/api@npm:^1.0.0-beta.61": version: 1.0.0-beta.61 resolution: "@publicodes/api@npm:1.0.0-beta.61" @@ -23718,6 +23733,19 @@ __metadata: languageName: node linkType: hard +"publicodes-react@betagouv/publicodes#head=fix-esm-publicodes-react&workspace=publicodes-react": + version: 1.0.0-beta.61 + resolution: "publicodes-react@https://github.com/betagouv/publicodes.git#workspace=publicodes-react&commit=5bb608a65ad8a6c1631c09a11c88bbe156d1ab90" + dependencies: + styled-components: ^5.1.0 + peerDependencies: + publicodes: ^1.0.0-beta.40 + react: ^17 || ^18 + react-dom: ^17 || ^18 + checksum: 9af875bb454d52add92a0750cb3a606c30c83c8eb5843bde925ba461055a311a9310e73fcdeb1689e926f4e8730846ef2cc5281d4c28795bf98051106a44319e + languageName: node + linkType: hard + "publicodes-react@npm:^1.0.0-beta.61": version: 1.0.0-beta.61 resolution: "publicodes-react@npm:1.0.0-beta.61" @@ -23731,6 +23759,18 @@ __metadata: languageName: node linkType: hard +"publicodes@betagouv/publicodes#head=fix-esm-publicodes-react&workspace=publicodes": + version: 1.0.0-beta.61 + resolution: "publicodes@https://github.com/betagouv/publicodes.git#workspace=publicodes&commit=5bb608a65ad8a6c1631c09a11c88bbe156d1ab90" + dependencies: + moo: ^0.5.1 + nearley: ^2.19.2 + peerDependencies: + "@types/mocha": ^9.0.0 + checksum: 835d8599b5638e8bfa812048cd9cfe76ec3b3d75355a44e14d0d7a86f4f99b0b33d8030f5addf2bb9a76f316b18f6569e81f30a1c82d0e17d498b24161579509 + languageName: node + linkType: hard + "publicodes@npm:^1.0.0-beta.61": version: 1.0.0-beta.61 resolution: "publicodes@npm:1.0.0-beta.61" @@ -25313,6 +25353,7 @@ __metadata: "@actions/core": ^1.10.0 "@actions/github": ^5.1.1 "@ianvs/prettier-plugin-sort-imports": ^3.7.1 + "@publicodes/api": "betagouv/publicodes#head=fix-esm-publicodes-react&workspace=@publicodes/api" "@types/got": ^9.6.12 "@typescript-eslint/eslint-plugin": ^5.44.0 "@typescript-eslint/parser": ^5.44.0 @@ -25328,6 +25369,8 @@ __metadata: eslint-plugin-react: ^7.31.11 eslint-plugin-react-hooks: ^4.6.0 prettier: ^2.8.0 + publicodes: "betagouv/publicodes#head=fix-esm-publicodes-react&workspace=publicodes" + publicodes-react: "betagouv/publicodes#head=fix-esm-publicodes-react&workspace=publicodes-react" rimraf: ^3.0.2 languageName: unknown linkType: soft