saleor-apps-redis_apl/apps/taxes/package.json

71 lines
2.2 KiB
JSON
Raw Normal View History

{
"name": "saleor-app-taxes",
"version": "1.15.2",
"scripts": {
"build": "pnpm generate && next build",
"dev": "pnpm generate && NODE_OPTIONS='--inspect' next dev",
"fetch-schema": "curl https://raw.githubusercontent.com/saleor/saleor/${npm_package_saleor_schemaVersion}/saleor/graphql/schema.graphql > graphql/schema.graphql",
"generate": "graphql-codegen",
"lint": "next lint",
"lint:fix": "eslint --fix .",
"start": "next start",
"test": "vitest"
},
"dependencies": {
"@hookform/resolvers": "^2.9.10",
2023-09-06 12:26:04 +00:00
"@saleor/app-sdk": "0.43.1",
"@saleor/apps-shared": "workspace:*",
"@saleor/apps-ui": "workspace:*",
2023-08-29 08:47:50 +00:00
"@saleor/macaw-ui": "0.8.0-pre.127",
feat: redesign taxes app with macaw-ui (#433) * refactor: :recycle: replace material-ui with macaw-ui; remove all views * add apps-ui * feat: add configuration screen (#514) * feat: :sparkles: add basic layout * refactor: :fire: enabled field * refactor: :recycle: move part of config to credentials * refactor: :recycle: move address from channel to provider * feat: :sparkles: add all states for providers * refactor: :recycle: merge redesign with refactor * refactor: :recycle: replace material-ui with macaw-ui; remove all views * fix: :bug: text-decoration on breadcrumb link * feat: :sparkles: add stripe icon * feat: :sparkles: add AppCard * feat: :sparkles: add AppBreadcrumbs and new provider pages * refactor: :recycle: add gridRatio to support two app grids * refactor: :fire: theme-synchronizer test * refactor: :recycle: make breadcrumbs bulletproof * fix: :bug: failing build * feat: :sparkles: add app-layout * build: :arrow_up: upgrade macaw-ui * feat: redesign provider forms (#533) * build: :heavy_plus_sign: add @saleor/react-hook-form-macaw * feat: add binding for Toggle in react-hook-form-macaw * feat: :sparkles: add AppToggle component * feat: :sparkles: add create-avatax-configuration and edit-avatax-configuration * feat: :sparkles: add taxjar-validation-service with address validation * feat: :sparkles: add AvataxValidationService * feat: :sparkles: add edit/create taxjar config * feat: :sparkles: add delete configuration * refactor: :recycle: change invalid address error message * refactor: :recycle: throw in validation services instead of authenticated: true/false * docs: :bulb: add todo comments * refactor: :recycle: better variable naming in parse error * fix: :bug: disable button when loading * refactor: :recycle: make defaultValues required * refactor: :fire: remove custom fontWeights * fix: :bug: toggle form submission bug * feat: :sparkles: extract provider-label and use in forms * feat: :sparkles: use new Section component and change copy * refactor: :recycle: use ProviderLabel in ProvidersTable * build: :green_heart: fix lockfile * fix: :bug: address feedback * feat: channel provider table (#538) * refactor: :fire: providers-config-input-schema * refactor: :recycle: move providers * feat: :sparkles: add basic channel-list * refactor: :truck: move around * feat: :sparkles: add ChannelConfigurationService * feat: :sparkles: add select provider in channel table * refactor: :fire: logger traces * refactor: :loud_sound: refine logs * feat: :white_check_mark: add avatax-config-mock-generator and use in webhooks mock generators * refactor: :recycle: split up avatax-validation.service and add tests for response resolver * feat: :white_check_mark: add avatax-validation-error-resolver tests * refactor: :truck: move taxjar-validation.service to separate folder * feat: :white_check_mark: extract taxjar-validation-error-resolver and add tests * feat: :white_check_mark: add channel-config-mock-generator * feat: :white_check_mark: add ChannelFetcherMockGenerator * test: :white_check_mark: add tests for channel-configuration-merge * test: :white_check_mark: add tests for crud-settings.service * fix: :speech_balloon: channel copy * refactor: :loud_sound: remove data from logs * refactor: :truck: move configuration & validation to configuration folder * fix: :bug: imports * fix: :bug: showing loading & add at the same time * refactor: :recycle: public configurations & obfuscation rework * refactor: :truck: extract repositories from services * refactor: :truck: instance -> connection (#544) * refactor: :recycle: move creating configuration service to procedure * fix: :bug: some paths & names while renaming * Update apps/taxes/src/pages/api/webhooks/order-calculate-taxes.ts * Update apps/taxes/src/pages/api/webhooks/checkout-calculate-taxes.ts * feat: shipping tax code (#555) * fix: :lipstick: minor visual issues * feat: :sparkles: add shipping tax code * fix: :bug: fix toggle * refactor: :recycle: use common table in providers-table * docs: :bulb: add comment to obfuscator * feat: :sparkles: sort countries by label not code * Taxes 💸: Add runtime migrations to schema v2 (#545) * build: :heavy_plus_sign: add dotenv * feat: :construction: add draft of migration scripts * refactor: :recycle: settingsManager to accept appId * feat: :sparkles: tax-providers and channels transforms * feat: :sparkles: add migration classes * feat: :construction: add migration to connection getAll * feat: :construction: add dummy data script * feat: :sparkles: add runtime channel migration * feat: :sparkles: add migration and report scripts * fix: :bug: name of dummy class method * feat: :white_check_mark: add transform tests * build: :green_heart: update lockfile * fix: creating & updating a provider (#563) * refactor: :white_check_mark: improve the test for update * docs: :bulb: comment crud-settings * refactor: :fire: unused file * fix: :bug: appId bug * refactor: :truck: rename dummy-utils * fix: :lipstick: padding in table * refactor: :speech_balloon: change avatax texts * build: :construction_worker: add changeset
2023-06-15 07:01:50 +00:00
"@saleor/react-hook-form-macaw": "workspace:*",
"@sentry/nextjs": "7.67.0",
"@tanstack/react-query": "4.29.19",
[skip ci]: Bump the trpc group with 4 updates (#987) Bumps the trpc group with 4 updates: [@trpc/client](https://github.com/trpc/trpc/tree/HEAD/packages/client), [@trpc/next](https://github.com/trpc/trpc/tree/HEAD/packages/next), [@trpc/react-query](https://github.com/trpc/trpc/tree/HEAD/packages/react) and [@trpc/server](https://github.com/trpc/trpc/tree/HEAD/packages/server). Updates `@trpc/client` from 10.34.0 to 10.38.1 - [Release notes](https://github.com/trpc/trpc/releases) - [Commits](https://github.com/trpc/trpc/commits/v10.38.1/packages/client) Updates `@trpc/next` from 10.34.0 to 10.38.1 - [Release notes](https://github.com/trpc/trpc/releases) - [Commits](https://github.com/trpc/trpc/commits/v10.38.1/packages/next) Updates `@trpc/react-query` from 10.34.0 to 10.38.1 - [Release notes](https://github.com/trpc/trpc/releases) - [Commits](https://github.com/trpc/trpc/commits/v10.38.1/packages/react) Updates `@trpc/server` from 10.34.0 to 10.38.1 - [Release notes](https://github.com/trpc/trpc/releases) - [Commits](https://github.com/trpc/trpc/commits/v10.38.1/packages/server) --- updated-dependencies: - dependency-name: "@trpc/client" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: trpc - dependency-name: "@trpc/next" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: trpc - dependency-name: "@trpc/react-query" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: trpc - dependency-name: "@trpc/server" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: trpc ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 13:24:18 +00:00
"@trpc/client": "10.38.1",
"@trpc/next": "10.38.1",
"@trpc/react-query": "10.38.1",
"@trpc/server": "10.38.1",
"@urql/exchange-auth": "^2.1.4",
feat: change the flow from OrderCreated to OrderConfirmed (#826) * refactor: :recycle: extract order-metadata-manager * feat: :construction: add basic boilerplate * feat: :sparkles: add readExternalIdFromOrderMetadata * Revert "feat: :sparkles: add readExternalIdFromOrderMetadata" This reverts commit a78d9d4597672f8605cf998a9f784aebaab27de1. * feat: :sparkles: add order-cancelled avatax adapter * test: :white_check_mark: add tests for AvataxOrderCancelledPayloadTransformer * refactor: avataxId instead of externalId * refactor: :recycle: split up webhook response * build: :arrow_up: upgrade avatax * refactor: :recycle: extend logging in webhook response errors * fix: :bug: split privateMetadata and publicMetadata * fix: :bug: use "DEFAULT" value of companyCode for commit to work * fix: :alembic: fix voidTransaction type * refactor: :truck: order_created -> order_confirmed * fix: :bug: change voidReason * build: :construction_worker: add changeset * refactor: :fire: order_fulfilled webhook * feat: Avatax metadata tax calculation date (#843) * feat: :sparkles: add metadata tax calculation date * build: :construction_worker: add changeset * feat: Avatax metadata document code (#844) * feat: :sparkles: provide document code through metadata field * build: :construction_worker: add changeset * refactor: :recycle: fallback to default company code for migration * refactor: :recycle: patch order-created files and add deprecation note * Revert "refactor: :fire: order_fulfilled webhook" This reverts commit fd098642735ae9d62e3a876088226bd0f108afd6. * refactor: :recycle: patch order-fulfilled files and add deprecation note * fix: :bug: bring back deprecated webhooks to manifest * feat: :alembic: add AppWebhookMigrator (#850) * refactor: :truck: order_created -> order_confirmed * refactor: :fire: order_fulfilled webhook * feat: :alembic: add AppWebhookMigrator * feat: :sparkles: add mode to migrator * feat: :sparkles: add draft of run-report and migrateWebhook method * refactor: :recycle: address feedback * feat: :sparkles: add tests and new structure * refactor: :fire: util * feat: :sparkles: add enable/disable webhook rollback flow * refactor: :recycle: modify the taxes-migration flow * refactor: :recycle: generalize document code & date resolver * chore: :card_file_box: add run-migration * chore: :bulb: update comments about migration flow * fix: :bug: slice document code * refactor: :recycle: try/catch at the top level * chore: :bulb: add comments * Update shiny-meals-wait.md * Update soft-steaks-know.md * Update soft-steaks-know.md * fix: :white_check_mark: fix test * feat: :sparkles: change createTransaction to createOrAdjustTransaction this feature grants idempotency of the transaction flow * feat: :sparkles: add number field to OrderConfirmed payload * chore: :bulb: add deprecation comment to metadata method * docs: :memo: add todo comment to refactor sumPayloadLines * feat: :sparkles: add resolveStringOrThrow and use it for email * fix: :bug: add missing number to mock
2023-08-10 11:08:20 +00:00
"avatax": "^23.7.0",
"dotenv": "^16.3.1",
"graphql": "16.7.1",
"graphql-tag": "^2.12.6",
"jotai": "^2.0.0",
"jsdom": "^20.0.3",
"next": "13.4.8",
"pino": "^8.14.1",
"pino-pretty": "^10.0.0",
"react": "18.2.0",
"react-dom": "18.2.0",
feat: redesign taxes app with macaw-ui (#433) * refactor: :recycle: replace material-ui with macaw-ui; remove all views * add apps-ui * feat: add configuration screen (#514) * feat: :sparkles: add basic layout * refactor: :fire: enabled field * refactor: :recycle: move part of config to credentials * refactor: :recycle: move address from channel to provider * feat: :sparkles: add all states for providers * refactor: :recycle: merge redesign with refactor * refactor: :recycle: replace material-ui with macaw-ui; remove all views * fix: :bug: text-decoration on breadcrumb link * feat: :sparkles: add stripe icon * feat: :sparkles: add AppCard * feat: :sparkles: add AppBreadcrumbs and new provider pages * refactor: :recycle: add gridRatio to support two app grids * refactor: :fire: theme-synchronizer test * refactor: :recycle: make breadcrumbs bulletproof * fix: :bug: failing build * feat: :sparkles: add app-layout * build: :arrow_up: upgrade macaw-ui * feat: redesign provider forms (#533) * build: :heavy_plus_sign: add @saleor/react-hook-form-macaw * feat: add binding for Toggle in react-hook-form-macaw * feat: :sparkles: add AppToggle component * feat: :sparkles: add create-avatax-configuration and edit-avatax-configuration * feat: :sparkles: add taxjar-validation-service with address validation * feat: :sparkles: add AvataxValidationService * feat: :sparkles: add edit/create taxjar config * feat: :sparkles: add delete configuration * refactor: :recycle: change invalid address error message * refactor: :recycle: throw in validation services instead of authenticated: true/false * docs: :bulb: add todo comments * refactor: :recycle: better variable naming in parse error * fix: :bug: disable button when loading * refactor: :recycle: make defaultValues required * refactor: :fire: remove custom fontWeights * fix: :bug: toggle form submission bug * feat: :sparkles: extract provider-label and use in forms * feat: :sparkles: use new Section component and change copy * refactor: :recycle: use ProviderLabel in ProvidersTable * build: :green_heart: fix lockfile * fix: :bug: address feedback * feat: channel provider table (#538) * refactor: :fire: providers-config-input-schema * refactor: :recycle: move providers * feat: :sparkles: add basic channel-list * refactor: :truck: move around * feat: :sparkles: add ChannelConfigurationService * feat: :sparkles: add select provider in channel table * refactor: :fire: logger traces * refactor: :loud_sound: refine logs * feat: :white_check_mark: add avatax-config-mock-generator and use in webhooks mock generators * refactor: :recycle: split up avatax-validation.service and add tests for response resolver * feat: :white_check_mark: add avatax-validation-error-resolver tests * refactor: :truck: move taxjar-validation.service to separate folder * feat: :white_check_mark: extract taxjar-validation-error-resolver and add tests * feat: :white_check_mark: add channel-config-mock-generator * feat: :white_check_mark: add ChannelFetcherMockGenerator * test: :white_check_mark: add tests for channel-configuration-merge * test: :white_check_mark: add tests for crud-settings.service * fix: :speech_balloon: channel copy * refactor: :loud_sound: remove data from logs * refactor: :truck: move configuration & validation to configuration folder * fix: :bug: imports * fix: :bug: showing loading & add at the same time * refactor: :recycle: public configurations & obfuscation rework * refactor: :truck: extract repositories from services * refactor: :truck: instance -> connection (#544) * refactor: :recycle: move creating configuration service to procedure * fix: :bug: some paths & names while renaming * Update apps/taxes/src/pages/api/webhooks/order-calculate-taxes.ts * Update apps/taxes/src/pages/api/webhooks/checkout-calculate-taxes.ts * feat: shipping tax code (#555) * fix: :lipstick: minor visual issues * feat: :sparkles: add shipping tax code * fix: :bug: fix toggle * refactor: :recycle: use common table in providers-table * docs: :bulb: add comment to obfuscator * feat: :sparkles: sort countries by label not code * Taxes 💸: Add runtime migrations to schema v2 (#545) * build: :heavy_plus_sign: add dotenv * feat: :construction: add draft of migration scripts * refactor: :recycle: settingsManager to accept appId * feat: :sparkles: tax-providers and channels transforms * feat: :sparkles: add migration classes * feat: :construction: add migration to connection getAll * feat: :construction: add dummy data script * feat: :sparkles: add runtime channel migration * feat: :sparkles: add migration and report scripts * fix: :bug: name of dummy class method * feat: :white_check_mark: add transform tests * build: :green_heart: update lockfile * fix: creating & updating a provider (#563) * refactor: :white_check_mark: improve the test for update * docs: :bulb: comment crud-settings * refactor: :fire: unused file * fix: :bug: appId bug * refactor: :truck: rename dummy-utils * fix: :lipstick: padding in table * refactor: :speech_balloon: change avatax texts * build: :construction_worker: add changeset
2023-06-15 07:01:50 +00:00
"react-hook-form": "^7.43.9",
"taxjar": "^4.0.1",
"urql": "^4.0.4",
"usehooks-ts": "^2.9.1",
"vite": "4.4.8",
"vitest": "0.34.1",
CMS App v2 (#721) * initial setup * GRaphql setup * [skip ci] * Manifest and register endpoints * Add config schemas * contentful client * contentful client * [skip ci] trpc setup * metadata manager and contentful router * Configuration config * contentful config - adding providers * add provider page * wip contentful form * contentful form * list providrs * edit contentful form * [skip ci] * [skip ci] replace contentful sdk * replace contentful lib * Delete contetnful provider feature * variant created webhook draft * channel provider connection model * Channel connections ui * adding new connection * connections ui (adding) * [skip ci] wip edit conn * removing connection * rebuild modal * refactor providers * implement update product webhook * add deleting product * [skip ci] wip * refactor contentful router * refactor wip * refactor config * webhooks processor * webhook delegations * bulk sync section * bulk sync page * gql for imports * [skip ci] bulk import contentful * temp variant sync list with rate limiters * wip * wip * wip * new frontend for uploading * update zod * print config keys * wip * [skip ci] datocms init * dato add provdier page * dato form skeleton * dato display content type select * full dato form * ButtonsBox extraction * edit dato config form * update product in dato * [skip ci] * extract bulk sync processor * dato bulk update * [skip ci] product updated webhook * product webhook * crud operations router * update cruds * refactor webhook operations * refactors * refactors * helper texts * [skip ci] deps * Init * fix macaw icon * unify app skd * unify nextjs * strapi setup * fix strapi types * strapi upload product * strapi delete product * strapi product updated webhook * processor for bulk sync strapi * shared add provider page * refactors * refactors * wrap providers into folder * refactors * refactors * refactors * pnpm lock * add logs * name configuration mapping name * form configurable side notes * remove commentns * wip providers resolver working * central config for providers resolving * tests wip * remove vscode condig * cleanup * provider meta extract * some tests for contentufl * contentful client test * more tests for contentful * strapi helper texts * builderio setup * builderio form * builderio client draft * validate connection modal * Add sending product to builderio * rename builder field * add public api key for read access * update products * Builder.io - bulk sync * Fix manifest * cr fixes * Make strapi to work with multiple products * Github actions
2023-07-18 08:19:21 +00:00
"zod": "3.21.4"
},
"devDependencies": {
"@graphql-codegen/cli": "4.0.1",
"@graphql-codegen/introspection": "4.0.0",
"@graphql-codegen/schema-ast": "4.0.0",
"@graphql-codegen/typed-document-node": "5.0.1",
"@graphql-codegen/typescript": "4.0.1",
"@graphql-codegen/typescript-operations": "4.0.1",
"@graphql-codegen/typescript-urql": "3.7.3",
"@graphql-typed-document-node/core": "3.2.0",
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
2023-09-07 11:59:45 +00:00
"@total-typescript/ts-reset": "^0.5.1",
"@types/react": "18.2.5",
"@types/react-dom": "18.2.5",
"@vitejs/plugin-react": "4.0.4",
"eslint": "8.46.0",
"eslint-config-saleor": "workspace:*",
2023-07-11 15:02:38 +00:00
"typescript": "5.1.6"
},
"private": true,
"saleor": {
"schemaVersion": "3.10"
}
}