From 7941a424e08bde3f3389852ee8d914064e3ffb92 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Wed, 22 May 2024 19:16:34 +0200 Subject: [PATCH] fix: update types --- .npmrc | 4 +- core | 2 +- package.json | 5 ++- pnpm-lock.yaml | 103 ++++++++++++++++++++++++------------------------- 4 files changed, 57 insertions(+), 57 deletions(-) diff --git a/.npmrc b/.npmrc index 564b33f..94e8370 100644 --- a/.npmrc +++ b/.npmrc @@ -2,4 +2,6 @@ enable-pre-post-scripts=true ignore-workspace-root-check=true hoist-pattern[]=!@types/react -hoist-pattern[]=!@ts-rest/core \ No newline at end of file +hoist-pattern[]=!@ts-rest/core +hoist-pattern[]=!analytics +hoist-pattern[]=!@analytics/* \ No newline at end of file diff --git a/core b/core index defad6d..d846a1b 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit defad6dffbe0fd69ae96bcef2baf4e57e68c9e89 +Subproject commit d846a1b1e6b01f99b1d4c4f189879faba3fed30a diff --git a/package.json b/package.json index 5f5c2d4..864fd0c 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "build": "tsup", "postbuild": "attw . -P && size-limit", - "lint": "tsc", + "lint": "tsc --noEmit", "ci": "rm -rf dist && npm run lint && pnpm run test && pnpm run build", "prepublish": "pnpm run ci", "release": "pnpm run ci && changeset publish", @@ -48,6 +48,7 @@ "dist" ], "dependencies": { + "@analytics/core": "^0.12.7", "@anatine/zod-openapi": "^2.2.0", "@ts-rest/core": "github:pubpub/ts-rest#ts-rest-core-v3.30.52-gitpkg", "@types/uuid": "^3.3.0", @@ -107,7 +108,7 @@ "tsx": "^3.12.7", "typedoc": "^0.25.3", "typedoc-plugin-markdown": "4.0.0-next.36", - "typescript": "^5.2.2", + "typescript": "^5.3.3", "unified": "^11.0.4", "unist-util-is": "^6.0.0", "unist-util-visit": "^5.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 498795b..9bdbe0b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: dependencies: + '@analytics/core': + specifier: ^0.12.7 + version: 0.12.7(@types/dlv@1.1.4) '@anatine/zod-openapi': specifier: ^2.2.0 version: 2.2.0(openapi3-ts@4.1.2)(zod@3.22.4) @@ -104,10 +107,10 @@ importers: version: 3.0.2 '@typescript-eslint/eslint-plugin': specifier: ^6.6.0 - version: 6.7.0(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.2.2) + version: 6.7.0(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.3.3) '@typescript-eslint/parser': specifier: ^6.6.0 - version: 6.7.0(eslint@8.49.0)(typescript@5.2.2) + version: 6.7.0(eslint@8.49.0)(typescript@5.3.3) dotenv: specifier: ^16.3.1 version: 16.3.1 @@ -170,19 +173,19 @@ importers: version: 21.0.1 tsup: specifier: ^7.2.0 - version: 7.2.0(@swc/core@1.3.84)(ts-node@10.9.2)(typescript@5.2.2) + version: 7.2.0(@swc/core@1.3.84)(ts-node@10.9.2)(typescript@5.3.3) tsx: specifier: ^3.12.7 version: 3.12.10 typedoc: specifier: ^0.25.3 - version: 0.25.3(typescript@5.2.2) + version: 0.25.3(typescript@5.3.3) typedoc-plugin-markdown: specifier: 4.0.0-next.36 version: 4.0.0-next.36(typedoc@0.25.3) typescript: - specifier: ^5.2.2 - version: 5.2.2 + specifier: ^5.3.3 + version: 5.3.3 unified: specifier: ^11.0.4 version: 11.0.4 @@ -197,7 +200,7 @@ importers: version: 4.4.9(@types/node@18.17.15) vite-tsconfig-paths: specifier: ^4.2.0 - version: 4.2.1(typescript@5.2.2)(vite@4.4.9) + version: 4.2.1(typescript@5.3.3)(vite@4.4.9) core: dependencies: @@ -4069,13 +4072,13 @@ packages: '@commitlint/types': 17.4.4 '@types/node': 20.4.7 chalk: 4.1.2 - cosmiconfig: 8.3.6(typescript@5.2.2) + cosmiconfig: 8.3.6(typescript@5.3.3) cosmiconfig-typescript-loader: 4.4.0(@types/node@20.4.7)(cosmiconfig@8.3.6)(ts-node@10.9.2)(typescript@5.4.5) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 resolve-from: 5.0.0 - ts-node: 10.9.2(@swc/core@1.3.84)(@types/node@18.17.15)(typescript@5.2.2) + ts-node: 10.9.2(@swc/core@1.3.84)(@types/node@18.17.15)(typescript@5.3.3) typescript: 5.4.5 transitivePeerDependencies: - '@swc/core' @@ -9200,7 +9203,7 @@ packages: resolution: {integrity: sha512-S9q47ByT2pPvD65IvrWp7qppVMpk9WGMbVq9wbWZOHg6tnXSD4vyhao6nOSBwwfDdV2p3Kx9evA9vI+XWTfDvw==} dev: false - /@typescript-eslint/eslint-plugin@6.7.0(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.2.2): + /@typescript-eslint/eslint-plugin@6.7.0(@typescript-eslint/parser@6.7.0)(eslint@8.49.0)(typescript@5.3.3): resolution: {integrity: sha512-gUqtknHm0TDs1LhY12K2NA3Rmlmp88jK9Tx8vGZMfHeNMLE3GH2e9TRub+y+SOjuYgtOmok+wt1AyDPZqxbNag==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -9212,10 +9215,10 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.8.1 - '@typescript-eslint/parser': 6.7.0(eslint@8.49.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.7.0(eslint@8.49.0)(typescript@5.3.3) '@typescript-eslint/scope-manager': 6.7.0 - '@typescript-eslint/type-utils': 6.7.0(eslint@8.49.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.7.0(eslint@8.49.0)(typescript@5.2.2) + '@typescript-eslint/type-utils': 6.7.0(eslint@8.49.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.7.0(eslint@8.49.0)(typescript@5.3.3) '@typescript-eslint/visitor-keys': 6.7.0 debug: 4.3.4(supports-color@5.5.0) eslint: 8.49.0 @@ -9223,8 +9226,8 @@ packages: ignore: 5.2.4 natural-compare: 1.4.0 semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.2.2) - typescript: 5.2.2 + ts-api-utils: 1.0.3(typescript@5.3.3) + typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: true @@ -9278,7 +9281,7 @@ packages: - supports-color dev: false - /@typescript-eslint/parser@6.7.0(eslint@8.49.0)(typescript@5.2.2): + /@typescript-eslint/parser@6.7.0(eslint@8.49.0)(typescript@5.3.3): resolution: {integrity: sha512-jZKYwqNpNm5kzPVP5z1JXAuxjtl2uG+5NpaMocFPTNC2EdYIgbXIPImObOkhbONxtFTTdoZstLZefbaK+wXZng==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -9290,11 +9293,11 @@ packages: dependencies: '@typescript-eslint/scope-manager': 6.7.0 '@typescript-eslint/types': 6.7.0 - '@typescript-eslint/typescript-estree': 6.7.0(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 6.7.0(typescript@5.3.3) '@typescript-eslint/visitor-keys': 6.7.0 debug: 4.3.4(supports-color@5.5.0) eslint: 8.49.0 - typescript: 5.2.2 + typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: true @@ -9335,7 +9338,7 @@ packages: '@typescript-eslint/visitor-keys': 6.7.0 dev: true - /@typescript-eslint/type-utils@6.7.0(eslint@8.49.0)(typescript@5.2.2): + /@typescript-eslint/type-utils@6.7.0(eslint@8.49.0)(typescript@5.3.3): resolution: {integrity: sha512-f/QabJgDAlpSz3qduCyQT0Fw7hHpmhOzY/Rv6zO3yO+HVIdPfIWhrQoAyG+uZVtWAIS85zAyzgAFfyEr+MgBpg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -9345,12 +9348,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.7.0(typescript@5.2.2) - '@typescript-eslint/utils': 6.7.0(eslint@8.49.0)(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 6.7.0(typescript@5.3.3) + '@typescript-eslint/utils': 6.7.0(eslint@8.49.0)(typescript@5.3.3) debug: 4.3.4(supports-color@5.5.0) eslint: 8.49.0 - ts-api-utils: 1.0.3(typescript@5.2.2) - typescript: 5.2.2 + ts-api-utils: 1.0.3(typescript@5.3.3) + typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: true @@ -9404,7 +9407,7 @@ packages: transitivePeerDependencies: - supports-color - /@typescript-eslint/typescript-estree@6.7.0(typescript@5.2.2): + /@typescript-eslint/typescript-estree@6.7.0(typescript@5.3.3): resolution: {integrity: sha512-dPvkXj3n6e9yd/0LfojNU8VMUGHWiLuBZvbM6V6QYD+2qxqInE7J+J/ieY2iGwR9ivf/R/haWGkIj04WVUeiSQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -9419,8 +9422,8 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.2.2) - typescript: 5.2.2 + ts-api-utils: 1.0.3(typescript@5.3.3) + typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: true @@ -9466,7 +9469,7 @@ packages: - typescript dev: true - /@typescript-eslint/utils@6.7.0(eslint@8.49.0)(typescript@5.2.2): + /@typescript-eslint/utils@6.7.0(eslint@8.49.0)(typescript@5.3.3): resolution: {integrity: sha512-MfCq3cM0vh2slSikQYqK2Gq52gvOhe57vD2RM3V4gQRZYX4rDPnKLu5p6cm89+LJiGlwEXU8hkYxhqqEC/V3qA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -9477,7 +9480,7 @@ packages: '@types/semver': 7.5.2 '@typescript-eslint/scope-manager': 6.7.0 '@typescript-eslint/types': 6.7.0 - '@typescript-eslint/typescript-estree': 6.7.0(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 6.7.0(typescript@5.3.3) eslint: 8.49.0 semver: 7.5.4 transitivePeerDependencies: @@ -12256,8 +12259,8 @@ packages: typescript: '>=4' dependencies: '@types/node': 20.4.7 - cosmiconfig: 8.3.6(typescript@5.2.2) - ts-node: 10.9.2(@swc/core@1.3.84)(@types/node@18.17.15)(typescript@5.2.2) + cosmiconfig: 8.3.6(typescript@5.3.3) + ts-node: 10.9.2(@swc/core@1.3.84)(@types/node@18.17.15)(typescript@5.3.3) typescript: 5.4.5 dev: true @@ -12292,7 +12295,7 @@ packages: yaml: 1.10.2 dev: true - /cosmiconfig@8.3.6(typescript@5.2.2): + /cosmiconfig@8.3.6(typescript@5.3.3): resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} engines: {node: '>=14'} peerDependencies: @@ -12305,7 +12308,7 @@ packages: js-yaml: 4.1.0 parse-json: 5.2.0 path-type: 4.0.0 - typescript: 5.2.2 + typescript: 5.3.3 dev: true /countries-and-timezones@3.6.0: @@ -17518,7 +17521,7 @@ packages: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.2(@swc/core@1.3.84)(@types/node@18.17.15)(typescript@5.2.2) + ts-node: 10.9.2(@swc/core@1.3.84)(@types/node@18.17.15)(typescript@5.3.3) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -21428,7 +21431,7 @@ packages: optional: true dependencies: lilconfig: 2.1.0 - ts-node: 10.9.2(@swc/core@1.3.84)(@types/node@18.17.15)(typescript@5.2.2) + ts-node: 10.9.2(@swc/core@1.3.84)(@types/node@18.17.15)(typescript@5.3.3) yaml: 2.3.2 dev: true @@ -25450,13 +25453,13 @@ packages: resolution: {integrity: sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA==} dev: true - /ts-api-utils@1.0.3(typescript@5.2.2): + /ts-api-utils@1.0.3(typescript@5.3.3): resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} engines: {node: '>=16.13.0'} peerDependencies: typescript: '>=4.2.0' dependencies: - typescript: 5.2.2 + typescript: 5.3.3 dev: true /ts-api-utils@1.0.3(typescript@5.4.5): @@ -25549,7 +25552,7 @@ packages: code-block-writer: 12.0.0 dev: true - /ts-node@10.9.2(@swc/core@1.3.84)(@types/node@18.17.15)(typescript@5.2.2): + /ts-node@10.9.2(@swc/core@1.3.84)(@types/node@18.17.15)(typescript@5.3.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -25576,7 +25579,7 @@ packages: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.2.2 + typescript: 5.3.3 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 dev: true @@ -25625,7 +25628,7 @@ packages: typescript: 5.4.5 dev: true - /tsconfck@2.1.2(typescript@5.2.2): + /tsconfck@2.1.2(typescript@5.3.3): resolution: {integrity: sha512-ghqN1b0puy3MhhviwO2kGF8SeMDNhEbnKxjK7h6+fvY9JAxqvXi8y5NAHSQv687OVboS2uZIByzGd45/YxrRHg==} engines: {node: ^14.13.1 || ^16 || >=18} hasBin: true @@ -25635,7 +25638,7 @@ packages: typescript: optional: true dependencies: - typescript: 5.2.2 + typescript: 5.3.3 dev: true /tsconfig-paths@3.14.2: @@ -25661,7 +25664,7 @@ packages: /tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - /tsup@7.2.0(@swc/core@1.3.84)(ts-node@10.9.2)(typescript@5.2.2): + /tsup@7.2.0(@swc/core@1.3.84)(ts-node@10.9.2)(typescript@5.3.3): resolution: {integrity: sha512-vDHlczXbgUvY3rWvqFEbSqmC1L7woozbzngMqTtL2PGBODTtWlRwGDDawhvWzr5c1QjKe4OAKqJGfE1xeXUvtQ==} engines: {node: '>=16.14'} hasBin: true @@ -25692,7 +25695,7 @@ packages: source-map: 0.8.0-beta.0 sucrase: 3.34.0 tree-kill: 1.2.2 - typescript: 5.2.2 + typescript: 5.3.3 transitivePeerDependencies: - supports-color - ts-node @@ -25870,10 +25873,10 @@ packages: peerDependencies: typedoc: 0.25.x dependencies: - typedoc: 0.25.3(typescript@5.2.2) + typedoc: 0.25.3(typescript@5.3.3) dev: true - /typedoc@0.25.3(typescript@5.2.2): + /typedoc@0.25.3(typescript@5.3.3): resolution: {integrity: sha512-Ow8Bo7uY1Lwy7GTmphRIMEo6IOZ+yYUyrc8n5KXIZg1svpqhZSWgni2ZrDhe+wLosFS8yswowUzljTAV/3jmWw==} engines: {node: '>= 16'} hasBin: true @@ -25884,13 +25887,7 @@ packages: marked: 4.3.0 minimatch: 9.0.3 shiki: 0.14.5 - typescript: 5.2.2 - dev: true - - /typescript@5.2.2: - resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} - engines: {node: '>=14.17'} - hasBin: true + typescript: 5.3.3 dev: true /typescript@5.3.3: @@ -26551,7 +26548,7 @@ packages: d3-timer: 3.0.1 dev: false - /vite-tsconfig-paths@4.2.1(typescript@5.2.2)(vite@4.4.9): + /vite-tsconfig-paths@4.2.1(typescript@5.3.3)(vite@4.4.9): resolution: {integrity: sha512-GNUI6ZgPqT3oervkvzU+qtys83+75N/OuDaQl7HmOqFTb0pjZsuARrRipsyJhJ3enqV8beI1xhGbToR4o78nSQ==} peerDependencies: vite: '*' @@ -26561,7 +26558,7 @@ packages: dependencies: debug: 4.3.4(supports-color@5.5.0) globrex: 0.1.2 - tsconfck: 2.1.2(typescript@5.2.2) + tsconfck: 2.1.2(typescript@5.3.3) vite: 4.4.9(@types/node@18.17.15) transitivePeerDependencies: - supports-color