diff --git a/api/package.json b/api/package.json index f7aff2f41..a02078766 100644 --- a/api/package.json +++ b/api/package.json @@ -3,16 +3,19 @@ "license": "MIT", "version": "0.0.0", "description": "API du site mon-entreprise", - "main": "./dist/index.js", - "types": "./dist/index.d.ts", "type": "module", + "main": "./dist/index.cjs", + "types": "./dist/index.d.ts", "scripts": { "validate": "yarn swagger-cli validate ./source/openapi.yaml", - "start": "yarn clean && yarn build:watch & wait-on ./dist && NODE_OPTIONS=--experimental-json-modules nodemon -d 1s ./source/index.ts", - "build": "yarn build:openapi && yarn build:ts", - "build:watch": "yarn build:openapi:watch & yarn wait:openapi && yarn build:ts:watch --preserveWatchOutput", - "build:ts": "NODE_OPTIONS=--experimental-json-modules tsc", - "build:ts:watch": "yarn build:ts -w", + "start": "yarn clean && yarn build:watch & wait-on ./dist && nodemon -d 1s ./serverless.ts", + "build": "yarn build:openapi && yarn build:tsup", + "build:watch": "yarn build:openapi:watch & yarn wait:openapi && yarn build:tsup:watch", + "build:ts": "tsc", + "build:ts:watch": "yarn build:ts -w --preserveWatchOutput", + "build:tsup": "tsup-node", + "build:tsup:watch": "run build:tsup --watch", + "copy:openapi": "cp ./source/openapi.json ./dist", "wait:openapi": "wait-on ./source/openapi.json", "build:openapi": "yarn run swagger-cli bundle ./source/openapi.yaml > ./source/openapi.json", "build:openapi:watch": "nodemon -d 500ms -w ./source/openapi.yaml -x \"yarn build:openapi\"", @@ -26,23 +29,28 @@ "dependencies": { "@koa/cors": "^3.3.0", "@koa/router": "^10.1.1", + "@publicodes/api": "^1.0.0-beta.36", "koa": "^2.13.4", + "koa-body": "^5.0.0", "koa-static": "^5.0.0", - "modele-social": "portal:/home/wiinxt/mon-entreprise/modele-social", - "publicodes": "^1.0.0-beta.35", - "publicodes-api": "portal:/home/wiinxt/publicodes/packages/api", + "modele-social": "workspace:^", + "publicodes": "^1.0.0-beta.36", + "serverless-http": "^3.0.1", "swagger-ui-dist": "^4.11.0" }, "devDependencies": { "@apidevtools/swagger-cli": "^4.0.4", + "@netlify/functions": "^1.0.0", "@types/koa": "^2.13.4", "@types/koa-static": "^4.0.2", "@types/koa__cors": "^3.3.0", "@types/koa__router": "^8.0.11", "@types/node": "^17.0.32", "@types/swagger-ui-dist": "^3.30.1", - "nodemon": "^2.0.15", + "nodemon": "^2.0.16", + "serverless-http": "^3.0.1", "ts-node": "^10.7.0", + "tsup": "^5.12.8", "typescript": "4.7.1-rc", "wait-on": "^6.0.1" } diff --git a/api/serverless.ts b/api/serverless.ts new file mode 100644 index 000000000..251b05952 --- /dev/null +++ b/api/serverless.ts @@ -0,0 +1,8 @@ +import serverless from 'serverless-http' +import { app } from './source/index.cjs' + +const handler = serverless(app, { + provider: 'aws', +}) + +export { handler } diff --git a/api/source/index.ts b/api/source/index.cts similarity index 63% rename from api/source/index.ts rename to api/source/index.cts index aa70056d5..b8509dd7e 100644 --- a/api/source/index.ts +++ b/api/source/index.cts @@ -1,11 +1,11 @@ import cors from '@koa/cors' import Router from '@koa/router' +import { koaMiddleware as publicodesAPI } from '@publicodes/api' +import { readFileSync } from 'fs' import Koa from 'koa' import rules from 'modele-social' +import path from 'path' import Engine from 'publicodes' -import { koaMiddleware as publicodesAPI } from 'publicodes-api' -// @ts-ignore -import openapi from './openapi.json' import { docRoutes } from './route/doc.js' import { openapiRoutes } from './route/openapi.js' @@ -20,7 +20,11 @@ app.use(cors()) const apiRoutes = publicodesAPI(() => new Engine(rules)) -router.use('/v1', apiRoutes, docRoutes(), await openapiRoutes(openapi)) +const openapi = JSON.parse( + // eslint-disable-next-line no-undef + readFileSync(path.resolve(__dirname, 'openapi.json'), { encoding: 'utf8' }) +) as Record +router.use('/api/v1', apiRoutes, docRoutes(), openapiRoutes(openapi)) app.use(router.routes()) app.use(router.allowedMethods()) @@ -31,3 +35,5 @@ app.listen(port, function () { // eslint-disable-next-line no-console console.log('listening on port:', port) }) + +export { app } diff --git a/api/source/route/openapi.ts b/api/source/route/openapi.ts index 48e97f1f5..905b30be7 100644 --- a/api/source/route/openapi.ts +++ b/api/source/route/openapi.ts @@ -1,18 +1,15 @@ import Router from '@koa/router' import { Context } from 'koa' -import { openapi } from 'publicodes-api' +import { openapi as publicodesOpenapi } from '@publicodes/api' import { mergeDeep } from '../utils.js' /** - * /openapi.json route, merge customOpenapi with publicodes-api openapi json + * /openapi.json route, merge customOpenapi with @publicodes/api openapi json * @param customOpenapi * @returns */ -export const openapiRoutes = async ( - customOpenapi?: Record -) => { +export const openapiRoutes = (customOpenapi?: Record) => { const router = new Router() - const publicodesOpenapi = await openapi() const mergedOpenapi = customOpenapi ? mergeDeep(publicodesOpenapi, customOpenapi) diff --git a/api/tsconfig.json b/api/tsconfig.json index ba7d219cb..8f8e5665f 100644 --- a/api/tsconfig.json +++ b/api/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { /* Basic Options */ - "incremental": true, - "target": "ES2022", + // "incremental": true, // disabled for tsup, see https://github.com/egoist/tsup/issues/615 for implementation status + "target": "ES2020", "module": "Node16", "outDir": "dist", "declaration": true, @@ -25,6 +25,7 @@ /* Module Resolution Options */ "moduleResolution": "Node16", + "isolatedModules": true, "esModuleInterop": true, "resolveJsonModule": true, @@ -34,6 +35,6 @@ "ts-node": { "esm": true }, - "include": ["source"], + "include": ["source", "serverless.ts"], "exclude": ["**/node_modules", "**/dist", "**/*.test.*"] } diff --git a/api/tsup.config.ts b/api/tsup.config.ts new file mode 100644 index 000000000..89c9e1f79 --- /dev/null +++ b/api/tsup.config.ts @@ -0,0 +1,14 @@ +import { defineConfig } from 'tsup' + +export default defineConfig([ + { + entry: { + index: 'serverless.ts', + }, + format: ['cjs'], + target: 'es2020', + clean: true, + dts: true, + onSuccess: 'yarn copy:openapi', + }, +]) diff --git a/package.json b/package.json index 2de2560b1..1c8d3e4ab 100644 --- a/package.json +++ b/package.json @@ -37,11 +37,11 @@ }, "packageManager": "yarn@3.2.0", "devDependencies": { - "@typescript-eslint/eslint-plugin": "^5.18.0", - "@typescript-eslint/parser": "^5.18.0", - "eslint": "^8.12.0", + "@typescript-eslint/eslint-plugin": "^5.25.0", + "@typescript-eslint/parser": "^5.25.0", + "eslint": "^8.15.0", "eslint-config-prettier": "^8.5.0", - "eslint-config-standard": "^17.0.0-1", + "eslint-config-standard": "^17.0.0", "eslint-plugin-cypress": "^2.12.1", "eslint-plugin-import": "^2.26.0", "eslint-plugin-mocha": "^10.0.3", diff --git a/yarn.lock b/yarn.lock index 5c0d91747..b63b087a2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2234,20 +2234,20 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^1.2.1": - version: 1.2.1 - resolution: "@eslint/eslintrc@npm:1.2.1" +"@eslint/eslintrc@npm:^1.2.3": + version: 1.2.3 + resolution: "@eslint/eslintrc@npm:1.2.3" dependencies: ajv: ^6.12.4 debug: ^4.3.2 - espree: ^9.3.1 + espree: ^9.3.2 globals: ^13.9.0 ignore: ^5.2.0 import-fresh: ^3.2.1 js-yaml: ^4.1.0 - minimatch: ^3.0.4 + minimatch: ^3.1.2 strip-json-comments: ^3.1.1 - checksum: 1f797b9f94d71b965992cf6c44e3bcb574643014fd1e3d4862d25056bd5568f59c488461a7e9a1c1758ca7f0def5d3cb69c3d8b38581bcf4a53af74371243797 + checksum: 48e7b7ac05cd514eee2ebb1d487600f0dd637ac21f63605e353cff6a08c7223275fe4f571d15ee9deae4e78c53edc73369ffcbed15fba4dfc1806179dbf4dc85 languageName: node linkType: hard @@ -2747,6 +2747,15 @@ __metadata: languageName: node linkType: hard +"@netlify/functions@npm:^1.0.0": + version: 1.0.0 + resolution: "@netlify/functions@npm:1.0.0" + dependencies: + is-promise: ^4.0.0 + checksum: 1e3c234f14fd2fe8f46cae9336679054bf067b60217ee1c424adec1b1d1e4208eeaacb3401c48b625fe057df56f5dc553b961d4758f53bb0eae6f5b78d6385ad + languageName: node + linkType: hard + "@nodelib/fs.scandir@npm:2.1.5": version: 2.1.5 resolution: "@nodelib/fs.scandir@npm:2.1.5" @@ -2857,6 +2866,21 @@ __metadata: languageName: node linkType: hard +"@publicodes/api@npm:^1.0.0-beta.36": + version: 1.0.0-beta.36 + resolution: "@publicodes/api@npm:1.0.0-beta.36" + 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.35 + checksum: f25a8d7d3b64b409c63cbd1c472dbe78ac7155e716badea21a18061265b4496fd075de8d21bbbdfe412a0e8bea4b2c43013f536238b9396cf48dbc32edfb8590 + languageName: node + linkType: hard + "@react-aria/accordion@npm:^3.0.0-alpha.5": version: 3.0.0-nightly.3190 resolution: "@react-aria/accordion@npm:3.0.0-nightly.3190" @@ -6714,18 +6738,18 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.18.0": - version: 5.18.0 - resolution: "@typescript-eslint/eslint-plugin@npm:5.18.0" +"@typescript-eslint/eslint-plugin@npm:^5.25.0": + version: 5.25.0 + resolution: "@typescript-eslint/eslint-plugin@npm:5.25.0" dependencies: - "@typescript-eslint/scope-manager": 5.18.0 - "@typescript-eslint/type-utils": 5.18.0 - "@typescript-eslint/utils": 5.18.0 - debug: ^4.3.2 + "@typescript-eslint/scope-manager": 5.25.0 + "@typescript-eslint/type-utils": 5.25.0 + "@typescript-eslint/utils": 5.25.0 + debug: ^4.3.4 functional-red-black-tree: ^1.0.1 - ignore: ^5.1.8 + ignore: ^5.2.0 regexpp: ^3.2.0 - semver: ^7.3.5 + semver: ^7.3.7 tsutils: ^3.21.0 peerDependencies: "@typescript-eslint/parser": ^5.0.0 @@ -6733,101 +6757,101 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: e8f0e7cfa0d102b1006a0f674fbba6cfc3d5a609d3ebb07306d744d3db91080659cd2b9935ccbde2ad9bbbe9543bc47540df1ffada0e7676dd38957cdffd7436 + checksum: 7a47dc9b95031ab9e8d94a062b95c124486d471fa385335ef0129eff0854043b1894233fe28a2832cbf1c2be235242cf1eba087f4da1f4262599f18147ee1edd languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.18.0": - version: 5.18.0 - resolution: "@typescript-eslint/parser@npm:5.18.0" +"@typescript-eslint/parser@npm:^5.25.0": + version: 5.25.0 + resolution: "@typescript-eslint/parser@npm:5.25.0" dependencies: - "@typescript-eslint/scope-manager": 5.18.0 - "@typescript-eslint/types": 5.18.0 - "@typescript-eslint/typescript-estree": 5.18.0 - debug: ^4.3.2 + "@typescript-eslint/scope-manager": 5.25.0 + "@typescript-eslint/types": 5.25.0 + "@typescript-eslint/typescript-estree": 5.25.0 + debug: ^4.3.4 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 8e007a4980eb8794621bf51404b6ecc923eeffc661d7da2fac9d5c79f6ea70735322953dd88ee4a9b06d916f43e4cc633d724a5cf70c0a10a8cd251d54e67ff4 + checksum: 9bd53d6f5f5e7b64282760a4f68411f6f6e272754aa8b4c54951bd03c18981183277dfefff1207c3d549d25d34dbe162472f7fa102ec5306113a7811f263fc00 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.18.0": - version: 5.18.0 - resolution: "@typescript-eslint/scope-manager@npm:5.18.0" +"@typescript-eslint/scope-manager@npm:5.25.0": + version: 5.25.0 + resolution: "@typescript-eslint/scope-manager@npm:5.25.0" dependencies: - "@typescript-eslint/types": 5.18.0 - "@typescript-eslint/visitor-keys": 5.18.0 - checksum: c82625ec8293afea6e3df035612e7a7ccf3b23476a9b20bf7eb1190a52bca1886a3ea479d6b6b92eaac77dbbb2a23112b03e97f894aac39c45f7442672338cb6 + "@typescript-eslint/types": 5.25.0 + "@typescript-eslint/visitor-keys": 5.25.0 + checksum: 0616bad66bd3fe885df3401bbc3ab6631dca3b70ca3d2e8a9881d9a27654e3df9fd219abc9b7e1c23668c113d54bbb049c6231af3a2d86abcd919329b1cb4ff4 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:5.18.0": - version: 5.18.0 - resolution: "@typescript-eslint/type-utils@npm:5.18.0" +"@typescript-eslint/type-utils@npm:5.25.0": + version: 5.25.0 + resolution: "@typescript-eslint/type-utils@npm:5.25.0" dependencies: - "@typescript-eslint/utils": 5.18.0 - debug: ^4.3.2 + "@typescript-eslint/utils": 5.25.0 + debug: ^4.3.4 tsutils: ^3.21.0 peerDependencies: eslint: "*" peerDependenciesMeta: typescript: optional: true - checksum: a9722e18635d98ed7b468b1915d4bc9ef3de6dd85bfe734d932465977f9952655171cb5c886c7d42145ebb8ef1b5b7fcf50e9937a9370080246a7bae4cbd1047 + checksum: f733b42437e7a023985ad9324e57171c8b358f54a0c5a3be3b7bc7f317f1eeee4a60d14a1873efd820a3f9011c395f5e3a75eac4eaac520948aeba4d3e4e4953 languageName: node linkType: hard -"@typescript-eslint/types@npm:5.18.0": - version: 5.18.0 - resolution: "@typescript-eslint/types@npm:5.18.0" - checksum: 25d8d6f2f70ac4e93f4759a4927290749f528bce2150a87cde08200d706a6147880ca2ceeb8c93e0f370aace096c878096cd45427a59538877ac2121df8aaa01 +"@typescript-eslint/types@npm:5.25.0": + version: 5.25.0 + resolution: "@typescript-eslint/types@npm:5.25.0" + checksum: 0fa7eba1e35bbc32d865ce38cc5800aedf2b1d8aa17e8a20ff1cf05b59a92a684c0727f7ac2a26ecdf17483957bea163fe03fc1556503f23e0d974a8d9c33b82 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.18.0": - version: 5.18.0 - resolution: "@typescript-eslint/typescript-estree@npm:5.18.0" +"@typescript-eslint/typescript-estree@npm:5.25.0": + version: 5.25.0 + resolution: "@typescript-eslint/typescript-estree@npm:5.25.0" dependencies: - "@typescript-eslint/types": 5.18.0 - "@typescript-eslint/visitor-keys": 5.18.0 - debug: ^4.3.2 - globby: ^11.0.4 + "@typescript-eslint/types": 5.25.0 + "@typescript-eslint/visitor-keys": 5.25.0 + debug: ^4.3.4 + globby: ^11.1.0 is-glob: ^4.0.3 - semver: ^7.3.5 + semver: ^7.3.7 tsutils: ^3.21.0 peerDependenciesMeta: typescript: optional: true - checksum: 2fc564062180a0623966061ecd0c9ecf4dfaa2350cc9b7584444cdc71afa615c2bafe75f7ea684289e38b4fd73d33766f4a99f2c1999321ba3826ad7ccbf4ea9 + checksum: 72638b1a9826a3062f629e23d3c9147646dc2740add1aa8bb2e63131215eed3309bc86647f7e52acecf3c169e94677d869690a050de37b7cd880ea89c63bde2a languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.18.0": - version: 5.18.0 - resolution: "@typescript-eslint/utils@npm:5.18.0" +"@typescript-eslint/utils@npm:5.25.0": + version: 5.25.0 + resolution: "@typescript-eslint/utils@npm:5.25.0" dependencies: "@types/json-schema": ^7.0.9 - "@typescript-eslint/scope-manager": 5.18.0 - "@typescript-eslint/types": 5.18.0 - "@typescript-eslint/typescript-estree": 5.18.0 + "@typescript-eslint/scope-manager": 5.25.0 + "@typescript-eslint/types": 5.25.0 + "@typescript-eslint/typescript-estree": 5.25.0 eslint-scope: ^5.1.1 eslint-utils: ^3.0.0 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: f0b03a7fe557ce97480b3824043900e563c173d46a759c8272d92ecaf32ff96e98212df76dbd2d20dc91ce512e6219bb69c9036896b8d7e22eec22366f80381b + checksum: 744ab15cf003882db2f63b4cef1b788d5f3ab0f4b2f2fb0c1eee942cf899df9c66a34e2f6f614f1c562257041119ec03c12446f4ae72147b5f7cc0a2e5276ea6 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.18.0": - version: 5.18.0 - resolution: "@typescript-eslint/visitor-keys@npm:5.18.0" +"@typescript-eslint/visitor-keys@npm:5.25.0": + version: 5.25.0 + resolution: "@typescript-eslint/visitor-keys@npm:5.25.0" dependencies: - "@typescript-eslint/types": 5.18.0 - eslint-visitor-keys: ^3.0.0 - checksum: c856e3cf2fde3008e1d9bea3c73bc60d9060c7cb6d6ea186c20db9d74eff84986365f518dd1b4e142dca179e9a5cd7a6ed4381173d6abfd0ebd4d16d5cf50b94 + "@typescript-eslint/types": 5.25.0 + eslint-visitor-keys: ^3.3.0 + checksum: ec4d0558cf53305703c18dfd7e1cd53fc0736303a51d93a875227896a230fd049951cc0600c539719cc351d2c96cb4abc6aa9dd9b3a8401f27bb8033093f35b7 languageName: node linkType: hard @@ -7257,7 +7281,7 @@ __metadata: languageName: node linkType: hard -"acorn-jsx@npm:^5.3.1": +"acorn-jsx@npm:^5.3.1, acorn-jsx@npm:^5.3.2": version: 5.3.2 resolution: "acorn-jsx@npm:5.3.2" peerDependencies: @@ -7298,7 +7322,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.4.1, acorn@npm:^8.5.0, acorn@npm:^8.7.0": +"acorn@npm:^8.4.1, acorn@npm:^8.5.0": version: 8.7.0 resolution: "acorn@npm:8.7.0" bin: @@ -7307,6 +7331,15 @@ __metadata: languageName: node linkType: hard +"acorn@npm:^8.7.1": + version: 8.7.1 + resolution: "acorn@npm:8.7.1" + bin: + acorn: bin/acorn + checksum: aca0aabf98826717920ac2583fdcad0a6fbe4e583fdb6e843af2594e907455aeafe30b1e14f1757cd83ce1776773cf8296ffc3a4acf13f0bd3dfebcf1db6ae80 + languageName: node + linkType: hard + "address@npm:^1.0.1": version: 1.1.2 resolution: "address@npm:1.1.2" @@ -7564,6 +7597,13 @@ __metadata: languageName: node linkType: hard +"any-promise@npm:^1.0.0": + version: 1.3.0 + resolution: "any-promise@npm:1.3.0" + checksum: 0ee8a9bdbe882c90464d75d1f55cf027f5458650c4bd1f0467e65aec38ccccda07ca5844969ee77ed46d04e7dded3eaceb027e8d32f385688523fe305fa7e1de + languageName: node + linkType: hard + "anymatch@npm:^2.0.0": version: 2.0.0 resolution: "anymatch@npm:2.0.0" @@ -7607,6 +7647,8 @@ __metadata: "@apidevtools/swagger-cli": ^4.0.4 "@koa/cors": ^3.3.0 "@koa/router": ^10.1.1 + "@netlify/functions": ^1.0.0 + "@publicodes/api": ^1.0.0-beta.36 "@types/koa": ^2.13.4 "@types/koa-static": ^4.0.2 "@types/koa__cors": ^3.3.0 @@ -7614,13 +7656,15 @@ __metadata: "@types/node": ^17.0.32 "@types/swagger-ui-dist": ^3.30.1 koa: ^2.13.4 + koa-body: ^5.0.0 koa-static: ^5.0.0 - modele-social: "portal:/home/wiinxt/mon-entreprise/modele-social" - nodemon: ^2.0.15 - publicodes: ^1.0.0-beta.35 - publicodes-api: "portal:/home/wiinxt/publicodes/packages/api" + modele-social: "workspace:^" + nodemon: ^2.0.16 + publicodes: ^1.0.0-beta.36 + serverless-http: ^3.0.1 swagger-ui-dist: ^4.11.0 ts-node: ^10.7.0 + tsup: ^5.12.8 typescript: 4.7.1-rc wait-on: ^6.0.1 languageName: unknown @@ -8685,6 +8729,17 @@ __metadata: languageName: node linkType: hard +"bundle-require@npm:^3.0.2": + version: 3.0.4 + resolution: "bundle-require@npm:3.0.4" + dependencies: + load-tsconfig: ^0.2.0 + peerDependencies: + esbuild: ">=0.13" + checksum: 572ade4e799fa74a56fecc02b8d997f7cf652c9b87bf1cbe7aa98a72d536792a84f262d209d9552c8feabf57376fd2b7ff82e765ed024a15d6c1c086b553bd89 + languageName: node + linkType: hard + "bytes@npm:3.0.0": version: 3.0.0 resolution: "bytes@npm:3.0.0" @@ -8721,6 +8776,13 @@ __metadata: languageName: node linkType: hard +"cac@npm:^6.7.12": + version: 6.7.12 + resolution: "cac@npm:6.7.12" + checksum: c0d4129eb30fc43449e9078ac37bb3b837aab6261236a6642a6fb9d839bb6a41e191e1f2776f87569535db07dcbf4937680419126215b4c17c9dba4351d1bd5e + languageName: node + linkType: hard + "cacache@npm:^12.0.2": version: 12.0.4 resolution: "cacache@npm:12.0.4" @@ -9097,7 +9159,7 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^3.3.1, chokidar@npm:^3.4.1, chokidar@npm:^3.4.2, chokidar@npm:^3.5.2": +"chokidar@npm:^3.3.1, chokidar@npm:^3.4.1, chokidar@npm:^3.4.2, chokidar@npm:^3.5.1, chokidar@npm:^3.5.2": version: 3.5.3 resolution: "chokidar@npm:3.5.3" dependencies: @@ -9469,7 +9531,7 @@ __metadata: languageName: node linkType: hard -"commander@npm:^4.1.1": +"commander@npm:^4.0.0, commander@npm:^4.1.1": version: 4.1.1 resolution: "commander@npm:4.1.1" checksum: d7b9913ff92cae20cb577a4ac6fcc121bd6223319e54a40f51a14740a681ad5c574fd29a57da478a5f234a6fa6c52cbf0b7c641353e03c648b1ae85ba670b977 @@ -9844,7 +9906,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2": +"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" dependencies: @@ -10202,7 +10264,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2": +"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4": version: 4.3.4 resolution: "debug@npm:4.3.4" dependencies: @@ -10981,6 +11043,13 @@ __metadata: languageName: node linkType: hard +"esbuild-android-64@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-android-64@npm:0.14.39" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + "esbuild-android-arm64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-android-arm64@npm:0.13.8" @@ -10995,6 +11064,13 @@ __metadata: languageName: node linkType: hard +"esbuild-android-arm64@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-android-arm64@npm:0.14.39" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "esbuild-darwin-64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-darwin-64@npm:0.13.8" @@ -11009,6 +11085,13 @@ __metadata: languageName: node linkType: hard +"esbuild-darwin-64@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-darwin-64@npm:0.14.39" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "esbuild-darwin-arm64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-darwin-arm64@npm:0.13.8" @@ -11023,6 +11106,13 @@ __metadata: languageName: node linkType: hard +"esbuild-darwin-arm64@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-darwin-arm64@npm:0.14.39" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "esbuild-freebsd-64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-freebsd-64@npm:0.13.8" @@ -11037,6 +11127,13 @@ __metadata: languageName: node linkType: hard +"esbuild-freebsd-64@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-freebsd-64@npm:0.14.39" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "esbuild-freebsd-arm64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-freebsd-arm64@npm:0.13.8" @@ -11051,6 +11148,13 @@ __metadata: languageName: node linkType: hard +"esbuild-freebsd-arm64@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-freebsd-arm64@npm:0.14.39" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "esbuild-linux-32@npm:0.13.8": version: 0.13.8 resolution: "esbuild-linux-32@npm:0.13.8" @@ -11065,6 +11169,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-32@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-linux-32@npm:0.14.39" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + "esbuild-linux-64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-linux-64@npm:0.13.8" @@ -11079,6 +11190,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-64@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-linux-64@npm:0.14.39" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + "esbuild-linux-arm64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-linux-arm64@npm:0.13.8" @@ -11093,6 +11211,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-arm64@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-linux-arm64@npm:0.14.39" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + "esbuild-linux-arm@npm:0.13.8": version: 0.13.8 resolution: "esbuild-linux-arm@npm:0.13.8" @@ -11107,6 +11232,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-arm@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-linux-arm@npm:0.14.39" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "esbuild-linux-mips64le@npm:0.13.8": version: 0.13.8 resolution: "esbuild-linux-mips64le@npm:0.13.8" @@ -11121,6 +11253,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-mips64le@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-linux-mips64le@npm:0.14.39" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + "esbuild-linux-ppc64le@npm:0.13.8": version: 0.13.8 resolution: "esbuild-linux-ppc64le@npm:0.13.8" @@ -11135,6 +11274,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-ppc64le@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-linux-ppc64le@npm:0.14.39" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + "esbuild-linux-riscv64@npm:0.14.30": version: 0.14.30 resolution: "esbuild-linux-riscv64@npm:0.14.30" @@ -11142,6 +11288,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-riscv64@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-linux-riscv64@npm:0.14.39" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + "esbuild-linux-s390x@npm:0.14.30": version: 0.14.30 resolution: "esbuild-linux-s390x@npm:0.14.30" @@ -11149,6 +11302,13 @@ __metadata: languageName: node linkType: hard +"esbuild-linux-s390x@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-linux-s390x@npm:0.14.39" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + "esbuild-netbsd-64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-netbsd-64@npm:0.13.8" @@ -11163,6 +11323,13 @@ __metadata: languageName: node linkType: hard +"esbuild-netbsd-64@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-netbsd-64@npm:0.14.39" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + "esbuild-openbsd-64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-openbsd-64@npm:0.13.8" @@ -11177,6 +11344,13 @@ __metadata: languageName: node linkType: hard +"esbuild-openbsd-64@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-openbsd-64@npm:0.14.39" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + "esbuild-sunos-64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-sunos-64@npm:0.13.8" @@ -11191,6 +11365,13 @@ __metadata: languageName: node linkType: hard +"esbuild-sunos-64@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-sunos-64@npm:0.14.39" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + "esbuild-windows-32@npm:0.13.8": version: 0.13.8 resolution: "esbuild-windows-32@npm:0.13.8" @@ -11205,6 +11386,13 @@ __metadata: languageName: node linkType: hard +"esbuild-windows-32@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-windows-32@npm:0.14.39" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "esbuild-windows-64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-windows-64@npm:0.13.8" @@ -11219,6 +11407,13 @@ __metadata: languageName: node linkType: hard +"esbuild-windows-64@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-windows-64@npm:0.14.39" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "esbuild-windows-arm64@npm:0.13.8": version: 0.13.8 resolution: "esbuild-windows-arm64@npm:0.13.8" @@ -11233,6 +11428,13 @@ __metadata: languageName: node linkType: hard +"esbuild-windows-arm64@npm:0.14.39": + version: 0.14.39 + resolution: "esbuild-windows-arm64@npm:0.14.39" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "esbuild@npm:0.13.8": version: 0.13.8 resolution: "esbuild@npm:0.13.8" @@ -11295,6 +11497,77 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.14.25": + version: 0.14.39 + resolution: "esbuild@npm:0.14.39" + dependencies: + esbuild-android-64: 0.14.39 + esbuild-android-arm64: 0.14.39 + esbuild-darwin-64: 0.14.39 + esbuild-darwin-arm64: 0.14.39 + esbuild-freebsd-64: 0.14.39 + esbuild-freebsd-arm64: 0.14.39 + esbuild-linux-32: 0.14.39 + esbuild-linux-64: 0.14.39 + esbuild-linux-arm: 0.14.39 + esbuild-linux-arm64: 0.14.39 + esbuild-linux-mips64le: 0.14.39 + esbuild-linux-ppc64le: 0.14.39 + esbuild-linux-riscv64: 0.14.39 + esbuild-linux-s390x: 0.14.39 + esbuild-netbsd-64: 0.14.39 + esbuild-openbsd-64: 0.14.39 + esbuild-sunos-64: 0.14.39 + esbuild-windows-32: 0.14.39 + esbuild-windows-64: 0.14.39 + esbuild-windows-arm64: 0.14.39 + dependenciesMeta: + esbuild-android-64: + optional: true + esbuild-android-arm64: + optional: true + esbuild-darwin-64: + optional: true + esbuild-darwin-arm64: + optional: true + esbuild-freebsd-64: + optional: true + esbuild-freebsd-arm64: + optional: true + esbuild-linux-32: + optional: true + esbuild-linux-64: + optional: true + esbuild-linux-arm: + optional: true + esbuild-linux-arm64: + optional: true + esbuild-linux-mips64le: + optional: true + esbuild-linux-ppc64le: + optional: true + esbuild-linux-riscv64: + optional: true + esbuild-linux-s390x: + optional: true + esbuild-netbsd-64: + optional: true + esbuild-openbsd-64: + optional: true + esbuild-sunos-64: + optional: true + esbuild-windows-32: + optional: true + esbuild-windows-64: + optional: true + esbuild-windows-arm64: + optional: true + bin: + esbuild: bin/esbuild + checksum: 400d97fb3ede3bdd6a50f28fd7d18d9a009a46dcf59c3988b87842f421ae36fa9a3c81bb0acd6ab07059143bc4b5f0c429f8a4129d1dc687e00aa497eb10f77b + languageName: node + linkType: hard + "esbuild@npm:^0.14.27": version: 0.14.30 resolution: "esbuild@npm:0.14.30" @@ -11449,15 +11722,15 @@ __metadata: languageName: node linkType: hard -"eslint-config-standard@npm:^17.0.0-1": - version: 17.0.0-1 - resolution: "eslint-config-standard@npm:17.0.0-1" +"eslint-config-standard@npm:^17.0.0": + version: 17.0.0 + resolution: "eslint-config-standard@npm:17.0.0" peerDependencies: eslint: ^8.0.1 eslint-plugin-import: ^2.25.2 - eslint-plugin-n: ^14.0.0 + eslint-plugin-n: ^15.0.0 eslint-plugin-promise: ^6.0.0 - checksum: a690a14c9a0aaeba63897f204e443f91c4eb084e930facda441fba72e2c28cb81167449e57695f628687e27564a2d438490d965c9568e8eab90cc48161fe1604 + checksum: dc0ed51e186fd963ff2c0819d33ef580afce11b11036cbcf5e74427e26e514c2b1be96b8ffe74fd2fd00263554a0d49cc873fcf76f17c3dfdba614b45d7fd7da languageName: node linkType: hard @@ -11663,18 +11936,18 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.0.0, eslint-visitor-keys@npm:^3.3.0": +"eslint-visitor-keys@npm:^3.3.0": version: 3.3.0 resolution: "eslint-visitor-keys@npm:3.3.0" checksum: d59e68a7c5a6d0146526b0eec16ce87fbf97fe46b8281e0d41384224375c4e52f5ffb9e16d48f4ea50785cde93f766b0c898e31ab89978d88b0e1720fbfb7808 languageName: node linkType: hard -"eslint@npm:^8.12.0": - version: 8.12.0 - resolution: "eslint@npm:8.12.0" +"eslint@npm:^8.15.0": + version: 8.15.0 + resolution: "eslint@npm:8.15.0" dependencies: - "@eslint/eslintrc": ^1.2.1 + "@eslint/eslintrc": ^1.2.3 "@humanwhocodes/config-array": ^0.9.2 ajv: ^6.10.0 chalk: ^4.0.0 @@ -11685,7 +11958,7 @@ __metadata: eslint-scope: ^7.1.1 eslint-utils: ^3.0.0 eslint-visitor-keys: ^3.3.0 - espree: ^9.3.1 + espree: ^9.3.2 esquery: ^1.4.0 esutils: ^2.0.2 fast-deep-equal: ^3.1.3 @@ -11701,7 +11974,7 @@ __metadata: json-stable-stringify-without-jsonify: ^1.0.1 levn: ^0.4.1 lodash.merge: ^4.6.2 - minimatch: ^3.0.4 + minimatch: ^3.1.2 natural-compare: ^1.4.0 optionator: ^0.9.1 regexpp: ^3.2.0 @@ -11711,18 +11984,18 @@ __metadata: v8-compile-cache: ^2.0.3 bin: eslint: bin/eslint.js - checksum: 111bf9046b7a463049788dd00d7f4cd91e024029982352dff4811ce5dfa8cb1136aa127cd8a7a91508234d3e1b4fb6f638a1f5ef9ea08b1af93a18703a4a8dc1 + checksum: d8896393832e154e1381a21041cfe4d12a73a76fac26ea27cabbc0e5fdac87918ad651f07f804ef6faacd3868572de3c1ec5d96edf5502bc999eff0c423638f7 languageName: node linkType: hard -"espree@npm:^9.3.1": - version: 9.3.1 - resolution: "espree@npm:9.3.1" +"espree@npm:^9.3.2": + version: 9.3.2 + resolution: "espree@npm:9.3.2" dependencies: - acorn: ^8.7.0 - acorn-jsx: ^5.3.1 + acorn: ^8.7.1 + acorn-jsx: ^5.3.2 eslint-visitor-keys: ^3.3.0 - checksum: d7161db30b65427e0799383699ac4c441533a38faee005153694b68b933ba7a24666680edfc490fa77e3a84a22dbd955768034a6f811af5049774eead83063a5 + checksum: 9a790d6779847051e87f70d720a0f6981899a722419e80c92ab6dee01e1ab83b8ce52d11b4dc96c2c490182efb5a4c138b8b0d569205bfe1cd4629e658e58c30 languageName: node linkType: hard @@ -11909,6 +12182,23 @@ __metadata: languageName: node linkType: hard +"execa@npm:^5.0.0": + version: 5.1.1 + resolution: "execa@npm:5.1.1" + dependencies: + cross-spawn: ^7.0.3 + get-stream: ^6.0.0 + human-signals: ^2.1.0 + is-stream: ^2.0.0 + merge-stream: ^2.0.0 + npm-run-path: ^4.0.1 + onetime: ^5.1.2 + signal-exit: ^3.0.3 + strip-final-newline: ^2.0.0 + checksum: fba9022c8c8c15ed862847e94c252b3d946036d7547af310e344a527e59021fd8b6bb0723883ea87044dc4f0201f949046993124a42ccb0855cae5bf8c786343 + languageName: node + linkType: hard + "executable@npm:^4.1.1": version: 4.1.1 resolution: "executable@npm:4.1.1" @@ -12789,6 +13079,13 @@ __metadata: languageName: node linkType: hard +"get-stream@npm:^6.0.0": + version: 6.0.1 + resolution: "get-stream@npm:6.0.1" + checksum: e04ecece32c92eebf5b8c940f51468cd53554dcbb0ea725b2748be583c9523d00128137966afce410b9b051eb2ef16d657cd2b120ca8edafcf5a65e81af63cad + languageName: node + linkType: hard + "get-symbol-description@npm:^1.0.0": version: 1.0.0 resolution: "get-symbol-description@npm:1.0.0" @@ -12913,6 +13210,20 @@ __metadata: languageName: node linkType: hard +"glob@npm:7.1.6": + version: 7.1.6 + resolution: "glob@npm:7.1.6" + dependencies: + fs.realpath: ^1.0.0 + inflight: ^1.0.4 + inherits: 2 + minimatch: ^3.0.4 + once: ^1.3.0 + path-is-absolute: ^1.0.0 + checksum: 351d549dd90553b87c2d3f90ce11aed9e1093c74130440e7ae0592e11bbcd2ce7f0ebb8ba6bfe63aaf9b62166a7f4c80cb84490ae5d78408bb2572bf7d4ee0a6 + languageName: node + linkType: hard + "glob@npm:^7.1.1, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0": version: 7.2.0 resolution: "glob@npm:7.2.0" @@ -12971,7 +13282,7 @@ __metadata: languageName: node linkType: hard -"globby@npm:^11.0.2, globby@npm:^11.0.4": +"globby@npm:^11.0.2, globby@npm:^11.0.3, globby@npm:^11.1.0": version: 11.1.0 resolution: "globby@npm:11.1.0" dependencies: @@ -13559,6 +13870,13 @@ __metadata: languageName: node linkType: hard +"human-signals@npm:^2.1.0": + version: 2.1.0 + resolution: "human-signals@npm:2.1.0" + checksum: b87fd89fce72391625271454e70f67fe405277415b48bcc0117ca73d31fa23a4241787afdc8d67f5a116cf37258c052f59ea82daffa72364d61351423848e3b8 + languageName: node + linkType: hard + "humanize-ms@npm:^1.2.1": version: 1.2.1 resolution: "humanize-ms@npm:1.2.1" @@ -13674,7 +13992,7 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^5.1.1, ignore@npm:^5.1.4, ignore@npm:^5.1.8, ignore@npm:^5.2.0": +"ignore@npm:^5.1.1, ignore@npm:^5.1.4, ignore@npm:^5.2.0": version: 5.2.0 resolution: "ignore@npm:5.2.0" checksum: 6b1f926792d614f64c6c83da3a1f9c83f6196c2839aa41e1e32dd7b8d174cef2e329d75caabb62cb61ce9dc432f75e67d07d122a037312db7caa73166a1bdb77 @@ -14328,6 +14646,13 @@ __metadata: languageName: node linkType: hard +"is-promise@npm:^4.0.0": + version: 4.0.0 + resolution: "is-promise@npm:4.0.0" + checksum: 0b46517ad47b00b6358fd6553c83ec1f6ba9acd7ffb3d30a0bf519c5c69e7147c132430452351b8a9fc198f8dd6c4f76f8e6f5a7f100f8c77d57d9e0f4261a8a + languageName: node + linkType: hard + "is-regex@npm:^1.0.4, is-regex@npm:^1.1.2, is-regex@npm:^1.1.4": version: 1.1.4 resolution: "is-regex@npm:1.1.4" @@ -14746,6 +15071,13 @@ __metadata: languageName: node linkType: hard +"joycon@npm:^3.0.1": + version: 3.1.1 + resolution: "joycon@npm:3.1.1" + checksum: 8003c9c3fc79c5c7602b1c7e9f7a2df2e9916f046b0dbad862aa589be78c15734d11beb9fe846f5e06138df22cb2ad29961b6a986ba81c4920ce2b15a7f11067 + languageName: node + linkType: hard + "js-string-escape@npm:^1.0.1": version: 1.0.1 resolution: "js-string-escape@npm:1.0.1" @@ -15198,6 +15530,13 @@ __metadata: languageName: node linkType: hard +"lilconfig@npm:^2.0.5": + version: 2.0.5 + resolution: "lilconfig@npm:2.0.5" + checksum: f7bb9e42656f06930ad04e583026f087508ae408d3526b8b54895e934eb2a966b7aafae569656f2c79a29fe6d779b3ec44ba577e80814734c8655d6f71cdf2d1 + languageName: node + linkType: hard + "lines-and-columns@npm:^1.1.6": version: 1.2.4 resolution: "lines-and-columns@npm:1.2.4" @@ -15239,6 +15578,13 @@ __metadata: languageName: node linkType: hard +"load-tsconfig@npm:^0.2.0": + version: 0.2.3 + resolution: "load-tsconfig@npm:0.2.3" + checksum: e28d1b2725fda76ee69fa4ee21b1257fd5b77b12e1be09cdc0b67f953e62ffbc3e7ac1a6267ec21309f95310cd10635e28a3cb38d04be3f7d683c4fe7914d7a9 + languageName: node + linkType: hard + "loader-runner@npm:^2.4.0": version: 2.4.0 resolution: "loader-runner@npm:2.4.0" @@ -15371,6 +15717,13 @@ __metadata: languageName: node linkType: hard +"lodash.sortby@npm:^4.7.0": + version: 4.7.0 + resolution: "lodash.sortby@npm:4.7.0" + checksum: db170c9396d29d11fe9a9f25668c4993e0c1331bcb941ddbd48fb76f492e732add7f2a47cfdf8e9d740fa59ac41bbfaf931d268bc72aab3ab49e9f89354d718c + languageName: node + linkType: hard + "lodash.uniq@npm:4.5.0": version: 4.5.0 resolution: "lodash.uniq@npm:4.5.0" @@ -16091,14 +16444,6 @@ __metadata: languageName: node linkType: hard -"modele-social@portal:/home/wiinxt/mon-entreprise/modele-social::locator=api%40workspace%3Aapi": - version: 0.0.0-use.local - resolution: "modele-social@portal:/home/wiinxt/mon-entreprise/modele-social::locator=api%40workspace%3Aapi" - peerDependencies: - publicodes: "*" - languageName: node - linkType: soft - "modele-social@workspace:^, modele-social@workspace:modele-social": version: 0.0.0-use.local resolution: "modele-social@workspace:modele-social" @@ -16160,6 +16505,17 @@ __metadata: languageName: node linkType: hard +"mz@npm:^2.7.0": + version: 2.7.0 + resolution: "mz@npm:2.7.0" + dependencies: + any-promise: ^1.0.0 + object-assign: ^4.0.1 + thenify-all: ^1.0.0 + checksum: 8427de0ece99a07e9faed3c0c6778820d7543e3776f9a84d22cf0ec0a8eb65f6e9aee9c9d353ff9a105ff62d33a9463c6ca638974cc652ee8140cd1e35951c87 + languageName: node + linkType: hard + "nan@npm:^2.12.1": version: 2.15.0 resolution: "nan@npm:2.15.0" @@ -16373,7 +16729,7 @@ __metadata: languageName: node linkType: hard -"nodemon@npm:^2.0.15": +"nodemon@npm:^2.0.16": version: 2.0.16 resolution: "nodemon@npm:2.0.16" dependencies: @@ -16484,7 +16840,7 @@ __metadata: languageName: node linkType: hard -"npm-run-path@npm:^4.0.0": +"npm-run-path@npm:^4.0.0, npm-run-path@npm:^4.0.1": version: 4.0.1 resolution: "npm-run-path@npm:4.0.1" dependencies: @@ -16717,7 +17073,7 @@ __metadata: languageName: node linkType: hard -"onetime@npm:^5.1.0": +"onetime@npm:^5.1.0, onetime@npm:^5.1.2": version: 5.1.2 resolution: "onetime@npm:5.1.2" dependencies: @@ -17446,6 +17802,24 @@ __metadata: languageName: node linkType: hard +"postcss-load-config@npm:^3.0.1": + version: 3.1.4 + resolution: "postcss-load-config@npm:3.1.4" + dependencies: + lilconfig: ^2.0.5 + yaml: ^1.10.2 + peerDependencies: + postcss: ">=8.0.9" + ts-node: ">=9.0.0" + peerDependenciesMeta: + postcss: + optional: true + ts-node: + optional: true + checksum: 1c589504c2d90b1568aecae8238ab993c17dba2c44f848a8f13619ba556d26a1c09644d5e6361b5784e721e94af37b604992f9f3dc0483e687a0cc1cc5029a34 + languageName: node + linkType: hard + "postcss-loader@npm:^4.2.0": version: 4.3.0 resolution: "postcss-loader@npm:4.3.0" @@ -17778,20 +18152,6 @@ __metadata: languageName: node linkType: hard -"publicodes-api@portal:/home/wiinxt/publicodes/packages/api::locator=api%40workspace%3Aapi": - version: 0.0.0-use.local - resolution: "publicodes-api@portal:/home/wiinxt/publicodes/packages/api::locator=api%40workspace%3Aapi" - 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.40 - languageName: node - linkType: soft - "publicodes-react@npm:=1.0.0-beta.40": version: 1.0.0-beta.40 resolution: "publicodes-react@npm:1.0.0-beta.40" @@ -17817,7 +18177,7 @@ __metadata: languageName: node linkType: hard -"publicodes@npm:^1.0.0-beta.35": +"publicodes@npm:^1.0.0-beta.36": version: 1.0.0-beta.36 resolution: "publicodes@npm:1.0.0-beta.36" dependencies: @@ -19247,15 +19607,29 @@ __metadata: languageName: node linkType: hard +"rollup@npm:^2.60.0": + version: 2.74.0 + resolution: "rollup@npm:2.74.0" + dependencies: + fsevents: ~2.3.2 + dependenciesMeta: + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: 7101bdf6b5fd8600718049b3218cd51ebd44de28893a94cae0a5fe69d65c5f6bbe0d4a67a05ffc3499d24e0c5140baf2123a83ae0b5c6b015f2ca8cc444777ec + languageName: node + linkType: hard + "root@workspace:.": version: 0.0.0-use.local resolution: "root@workspace:." dependencies: - "@typescript-eslint/eslint-plugin": ^5.18.0 - "@typescript-eslint/parser": ^5.18.0 - eslint: ^8.12.0 + "@typescript-eslint/eslint-plugin": ^5.25.0 + "@typescript-eslint/parser": ^5.25.0 + eslint: ^8.15.0 eslint-config-prettier: ^8.5.0 - eslint-config-standard: ^17.0.0-1 + eslint-config-standard: ^17.0.0 eslint-plugin-cypress: ^2.12.1 eslint-plugin-import: ^2.26.0 eslint-plugin-mocha: ^10.0.3 @@ -19483,6 +19857,17 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.3.7": + version: 7.3.7 + resolution: "semver@npm:7.3.7" + dependencies: + lru-cache: ^6.0.0 + bin: + semver: bin/semver.js + checksum: 2fa3e877568cd6ce769c75c211beaed1f9fce80b28338cadd9d0b6c40f2e2862bafd62c19a6cff42f3d54292b7c623277bcab8816a2b5521cf15210d43e75232 + languageName: node + linkType: hard + "send@npm:0.17.2": version: 0.17.2 resolution: "send@npm:0.17.2" @@ -19589,6 +19974,13 @@ __metadata: languageName: node linkType: hard +"serverless-http@npm:^3.0.1": + version: 3.0.1 + resolution: "serverless-http@npm:3.0.1" + checksum: 2f35619e9effa430c9e90c5b636cfe662d2f47bf70628ad1b12845d784a9e4c706c139224175bca3b4fd0a13297ee81da5ce3e7d35f0654136497453e18c0c35 + languageName: node + linkType: hard + "set-blocking@npm:^2.0.0": version: 2.0.0 resolution: "set-blocking@npm:2.0.0" @@ -19700,7 +20092,7 @@ __metadata: languageName: node linkType: hard -"signal-exit@npm:^3.0.0, signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.7": +"signal-exit@npm:^3.0.0, signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3, signal-exit@npm:^3.0.7": version: 3.0.7 resolution: "signal-exit@npm:3.0.7" checksum: a2f098f247adc367dffc27845853e9959b9e88b01cb301658cfe4194352d8d2bb32e18467c786a7fe15f1d44b233ea35633d076d5e737870b7139949d1ab6318 @@ -19987,6 +20379,15 @@ __metadata: languageName: node linkType: hard +"source-map@npm:0.8.0-beta.0": + version: 0.8.0-beta.0 + resolution: "source-map@npm:0.8.0-beta.0" + dependencies: + whatwg-url: ^7.0.0 + checksum: e94169be6461ab0ac0913313ad1719a14c60d402bd22b0ad96f4a6cffd79130d91ab5df0a5336a326b04d2df131c1409f563c9dc0d21a6ca6239a44b6c8dbd92 + languageName: node + linkType: hard + "source-map@npm:^0.5.0, source-map@npm:^0.5.6, source-map@npm:^0.5.7": version: 0.5.7 resolution: "source-map@npm:0.5.7" @@ -20445,6 +20846,23 @@ __metadata: languageName: node linkType: hard +"sucrase@npm:^3.20.3": + version: 3.21.0 + resolution: "sucrase@npm:3.21.0" + dependencies: + commander: ^4.0.0 + glob: 7.1.6 + lines-and-columns: ^1.1.6 + mz: ^2.7.0 + pirates: ^4.0.1 + ts-interface-checker: ^0.1.9 + bin: + sucrase: bin/sucrase + sucrase-node: bin/sucrase-node + checksum: d686f255af65bab2cb4e685287a7a4fe00f241a891a2ddea8c6218ff8f412780339d4d544e4a582e93e3994d1ebbe2fbce6a555474e80641958319a2b249e836 + languageName: node + linkType: hard + "supports-color@npm:^5.3.0, supports-color@npm:^5.5.0": version: 5.5.0 resolution: "supports-color@npm:5.5.0" @@ -20691,6 +21109,24 @@ __metadata: languageName: node linkType: hard +"thenify-all@npm:^1.0.0": + version: 1.6.0 + resolution: "thenify-all@npm:1.6.0" + dependencies: + thenify: ">= 3.1.0 < 4" + checksum: dba7cc8a23a154cdcb6acb7f51d61511c37a6b077ec5ab5da6e8b874272015937788402fd271fdfc5f187f8cb0948e38d0a42dcc89d554d731652ab458f5343e + languageName: node + linkType: hard + +"thenify@npm:>= 3.1.0 < 4": + version: 3.3.1 + resolution: "thenify@npm:3.3.1" + dependencies: + any-promise: ^1.0.0 + checksum: 84e1b804bfec49f3531215f17b4a6e50fd4397b5f7c1bccc427b9c656e1ecfb13ea79d899930184f78bc2f57285c54d9a50a590c8868f4f0cef5c1d9f898b05e + languageName: node + linkType: hard + "throttle-debounce@npm:^3.0.0": version: 3.0.1 resolution: "throttle-debounce@npm:3.0.1" @@ -20930,6 +21366,15 @@ __metadata: languageName: node linkType: hard +"tr46@npm:^1.0.1": + version: 1.0.1 + resolution: "tr46@npm:1.0.1" + dependencies: + punycode: ^2.1.0 + checksum: 96d4ed46bc161db75dbf9247a236ea0bfcaf5758baae6749e92afab0bc5a09cb59af21788ede7e55080f2bf02dce3e4a8f2a484cc45164e29f4b5e68f7cbcc1a + languageName: node + linkType: hard + "tr46@npm:~0.0.3": version: 0.0.3 resolution: "tr46@npm:0.0.3" @@ -20988,6 +21433,13 @@ __metadata: languageName: node linkType: hard +"ts-interface-checker@npm:^0.1.9": + version: 0.1.13 + resolution: "ts-interface-checker@npm:0.1.13" + checksum: 20c29189c2dd6067a8775e07823ddf8d59a33e2ffc47a1bd59a5cb28bb0121a2969a816d5e77eda2ed85b18171aa5d1c4005a6b88ae8499ec7cc49f78571cb5e + languageName: node + linkType: hard + "ts-morph@npm:^13.0.3": version: 13.0.3 resolution: "ts-morph@npm:13.0.3" @@ -21079,6 +21531,36 @@ __metadata: languageName: node linkType: hard +"tsup@npm:^5.12.8": + version: 5.12.8 + resolution: "tsup@npm:5.12.8" + dependencies: + bundle-require: ^3.0.2 + cac: ^6.7.12 + chokidar: ^3.5.1 + debug: ^4.3.1 + esbuild: ^0.14.25 + execa: ^5.0.0 + globby: ^11.0.3 + joycon: ^3.0.1 + postcss-load-config: ^3.0.1 + resolve-from: ^5.0.0 + rollup: ^2.60.0 + source-map: 0.8.0-beta.0 + sucrase: ^3.20.3 + tree-kill: ^1.2.2 + peerDependencies: + typescript: ^4.1.0 + peerDependenciesMeta: + typescript: + optional: true + bin: + tsup: dist/cli-default.js + tsup-node: dist/cli-node.js + checksum: 52629d44e3804a51e2136b37d9cc725d736007aaf19ef4795b1c3f8ede5a786386e6e4f4dcfb5e8e00496b014ed767352d1b77a2d48dd8f72a064b94617934e5 + languageName: node + linkType: hard + "tsutils@npm:^3.21.0": version: 3.21.0 resolution: "tsutils@npm:3.21.0" @@ -22119,6 +22601,13 @@ __metadata: languageName: node linkType: hard +"webidl-conversions@npm:^4.0.2": + version: 4.0.2 + resolution: "webidl-conversions@npm:4.0.2" + checksum: c93d8dfe908a0140a4ae9c0ebc87a33805b416a33ee638a605b551523eec94a9632165e54632f6d57a39c5f948c4bab10e0e066525e9a4b87a79f0d04fbca374 + languageName: node + linkType: hard + "webpack-dev-middleware@npm:^3.7.3": version: 3.7.3 resolution: "webpack-dev-middleware@npm:3.7.3" @@ -22283,6 +22772,17 @@ __metadata: languageName: node linkType: hard +"whatwg-url@npm:^7.0.0": + version: 7.1.0 + resolution: "whatwg-url@npm:7.1.0" + dependencies: + lodash.sortby: ^4.7.0 + tr46: ^1.0.1 + webidl-conversions: ^4.0.2 + checksum: fecb07c87290b47d2ec2fb6d6ca26daad3c9e211e0e531dd7566e7ff95b5b3525a57d4f32640ad4adf057717e0c215731db842ad761e61d947e81010e05cf5fd + languageName: node + linkType: hard + "which-boxed-primitive@npm:^1.0.2": version: 1.0.2 resolution: "which-boxed-primitive@npm:1.0.2" @@ -22518,7 +23018,7 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^1.10.0, yaml@npm:^1.7.2, yaml@npm:^1.9.2": +"yaml@npm:^1.10.0, yaml@npm:^1.10.2, yaml@npm:^1.7.2, yaml@npm:^1.9.2": version: 1.10.2 resolution: "yaml@npm:1.10.2" checksum: ce4ada136e8a78a0b08dc10b4b900936912d15de59905b2bf415b4d33c63df1d555d23acb2a41b23cf9fb5da41c256441afca3d6509de7247daa062fd2c5ea5f