Merged in feat/sw-2859-set-up-shared-trpc-package (pull request #2319)
feat(SW-2859): Create trpc package * Add isEdge, safeTry and dataCache to new common package * Add eslint and move prettier config * Clean up tests * Create trpc package and move initialization * Move errors and a few procedures * Move telemetry to common package * Move tokenManager to common package * Add Sentry to procedures * Clean up procedures * Fix self-referencing imports * Add exports to packages and lint rule to prevent relative imports * Add env to trpc package * Add eslint to trpc package * Apply lint rules * Use direct imports from trpc package * Add lint-staged config to trpc * Move lang enum to common * Restructure trpc package folder structure * Fix lang imports Approved-by: Linus Flood
This commit is contained in:
29
yarn.lock
29
yarn.lock
@@ -6957,12 +6957,16 @@ __metadata:
|
||||
"@scandic-hotels/typescript-config": "workspace:*"
|
||||
"@sentry/nextjs": "npm:^8.41.0"
|
||||
"@t3-oss/env-nextjs": "npm:^0.13.4"
|
||||
"@types/lodash-es": "npm:^4"
|
||||
"@typescript-eslint/eslint-plugin": "npm:^8.32.0"
|
||||
"@typescript-eslint/parser": "npm:^8.32.0"
|
||||
deepmerge: "npm:^4.3.1"
|
||||
dotenv: "npm:^16.5.0"
|
||||
eslint: "npm:^9"
|
||||
eslint-plugin-import: "npm:^2.31.0"
|
||||
eslint-plugin-simple-import-sort: "npm:^12.1.1"
|
||||
flat: "npm:^6.0.1"
|
||||
lodash-es: "npm:^4.17.21"
|
||||
typescript: "npm:5.8.3"
|
||||
vitest: "npm:^3.2.3"
|
||||
zod: "npm:^3.24.4"
|
||||
@@ -7177,7 +7181,6 @@ __metadata:
|
||||
sonner: "npm:^2.0.3"
|
||||
start-server-and-test: "npm:^2.0.11"
|
||||
supercluster: "npm:^8.0.1"
|
||||
superjson: "npm:^2.2.2"
|
||||
ts-jest: "npm:^29.3.2"
|
||||
ts-morph: "npm:^25.0.1"
|
||||
ts-node: "npm:^10.9.2"
|
||||
@@ -7190,6 +7193,30 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@scandic-hotels/trpc@workspace:packages/trpc":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@scandic-hotels/trpc@workspace:packages/trpc"
|
||||
dependencies:
|
||||
"@eslint/compat": "npm:^1.2.9"
|
||||
"@eslint/eslintrc": "npm:^3.3.1"
|
||||
"@eslint/js": "npm:^9.26.0"
|
||||
"@scandic-hotels/common": "workspace:*"
|
||||
"@sentry/nextjs": "npm:^8.41.0"
|
||||
"@t3-oss/env-nextjs": "npm:^0.13.4"
|
||||
"@trpc/server": "npm:^11.1.2"
|
||||
"@types/lodash-es": "npm:^4"
|
||||
"@typescript-eslint/eslint-plugin": "npm:^8.32.0"
|
||||
"@typescript-eslint/parser": "npm:^8.32.0"
|
||||
eslint: "npm:^9"
|
||||
eslint-plugin-import: "npm:^2.31.0"
|
||||
eslint-plugin-simple-import-sort: "npm:^12.1.1"
|
||||
next-auth: "npm:5.0.0-beta.27"
|
||||
superjson: "npm:^2.2.2"
|
||||
typescript: "npm:5.8.3"
|
||||
zod: "npm:^3.24.4"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@scandic-hotels/typescript-config@workspace:*, @scandic-hotels/typescript-config@workspace:packages/typescript-config":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@scandic-hotels/typescript-config@workspace:packages/typescript-config"
|
||||
|
||||
Reference in New Issue
Block a user