Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Automated] Release 0.2.1 #166

Merged
merged 14 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@
"rules": {
"import/no-default-export": "off"
}
},
{
"files": ["*.cjs", "*.cts"],
"rules": {
"@typescript-eslint/no-var-requires": "off"
}
}
],
"ignorePatterns": ["*.js", "*.jsx"]
Expand Down
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
commit-message:
prefix: "[skip ci]"
schedule:
interval: "daily"

Expand Down
2 changes: 1 addition & 1 deletion .graphqlrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
schema: graphql/schema.graphql
documents: [graphql/**/*.graphql, src/**/*.ts, src/**/*.tsx]
documents: [graphql/**/*.graphql, src/migrations/**/*.graphql, src/**/*.ts, src/**/*.tsx]
extensions:
codegen:
overwrite: true
Expand Down
9 changes: 4 additions & 5 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
// https://nextjs.org/docs/basic-features/eslint#lint-staged

const path = require("path");
import path from "path";

const buildEslintCommand = (filenames) =>
`next lint --fix --file ${filenames
.map((f) => path.relative(process.cwd(), f))
.join(" --file ")}`;

module.exports = {
"*.{js,mjs,jsx,ts,tsx}": [buildEslintCommand],
"*.{js,mjs,ts,tsx,css,md,json,yml,yaml,json}": "prettier --write",
"graphql/**/*.graphql": "prettier --write",
export default {
"*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}": [buildEslintCommand],
"*.*": "prettier --write --ignore-unknown",
};
1 change: 0 additions & 1 deletion .prototools

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# saleor-app-payment-stripe

## 0.2.1

### Patch Changes

- be1419f: Update Sentry to 7.77.0

## 0.2.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
* @saleor/appstore
/.github/ @saleor/SRE
* @saleor/apps
/.github/ @saleor/SRE
1 change: 1 addition & 0 deletions fix-coverage-report.js → fix-coverage-report.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env node
/* eslint-disable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-assignment */

// https://github.com/ArtiomTr/jest-coverage-report-action/issues/244#issuecomment-1260555231
const fs = require("fs");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ fragment PaymentGatewayInitializeSessionEvent on PaymentGatewayInitializeSession
}
data
amount
issuingPrincipal {
... on Node {
id
}
}
sourceObject {
__typename
... on Checkout {
Expand Down
5 changes: 5 additions & 0 deletions graphql/fragments/TransactionInitializeSessionEvent.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ fragment TransactionInitializeSessionEvent on TransactionInitializeSession {
currency
actionType
}
issuingPrincipal {
... on Node {
id
}
}
transaction {
id
pspReference
Expand Down
3 changes: 3 additions & 0 deletions graphql/queries/FetchAppDetails.graphql
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
query FetchAppDetails {
shop {
schemaVersion
}
app {
id
privateMetadata {
Expand Down
91 changes: 48 additions & 43 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@
"$schema": "https://json.schemastore.org/package.json",
"name": "saleor-app-payment-stripe",
"description": "Saleor App Payment Stripe is a payment integration app that allows merchants using the Saleor e-commerce platform to accept online payments from customers using Stripe as their payment processor.",
"version": "0.2.0",
"version": "0.2.1",
"private": true,
"repository": "github:saleor/saleor-app-payment-stripe",
"homepage": "https://github.com/saleor/saleor-app-payment-stripe",
"bugs": {
"url": "https://github.com/saleor/saleor-app-payment-stripe/issues",
"email": "[email protected]"
},
"type": "module",
"scripts": {
"dev": "pnpm generate && next dev",
"build": "pnpm generate && next build",
"deploy": "tsx ./src/deploy.ts",
"start": "next start",
"fetch-schema": "curl https://raw.githubusercontent.com/saleor/saleor/${npm_package_saleor_schemaVersion}/saleor/graphql/schema.graphql > graphql/schema.graphql",
"generate": "pnpm generate:graphql && pnpm generate:schema",
Expand All @@ -23,7 +25,8 @@
"test": "vitest",
"test:record": "POLLY_MODE=record_missing vitest",
"test:rerecord": "POLLY_MODE=record vitest",
"test:ci": "CI=true vitest --coverage --reporter=json --reporter=default && ./fix-coverage-report.js",
"test:ci": "CI=true vitest --coverage --reporter=json --reporter=default && tsx fix-coverage-report.ts",
"migrate": "pnpm tsx ./src/run-migrations.ts",
"ts-node-esm": "node --loader ts-node/esm --experimental-specifier-resolution=node",
"prepare": "husky install",
"github:release": "pnpm changeset tag && git push --follow-tags"
Expand All @@ -32,53 +35,57 @@
"schemaVersion": "3.13"
},
"dependencies": {
"@hookform/resolvers": "3.1.1",
"@hookform/resolvers": "3.3.0",
"@next/env": "13.4.19",
"@radix-ui/react-alert-dialog": "1.0.4",
"@saleor/app-sdk": "0.43.0",
"@saleor/macaw-ui": "0.8.0-pre.98",
"@sentry/nextjs": "7.61.0",
"@t3-oss/env-nextjs": "0.6.0",
"@tanstack/react-query": "4.32.1",
"@tanstack/react-query-devtools": "4.32.1",
"@trpc/client": "10.37.0",
"@trpc/next": "10.37.0",
"@trpc/react-query": "10.37.0",
"@trpc/server": "10.37.0",
"@saleor/macaw-ui": "0.8.0-pre.123",
"@sentry/nextjs": "7.77.0",
"@t3-oss/env-nextjs": "0.6.1",
"@tanstack/react-query": "4.33.0",
"@tanstack/react-query-devtools": "4.33.0",
"@trpc/client": "10.37.1",
"@trpc/next": "10.37.1",
"@trpc/react-query": "10.37.1",
"@trpc/server": "10.37.1",
"@urql/exchange-auth": "1.0.0",
"@vanilla-extract/css": "1.12.0",
"@vanilla-extract/next-plugin": "2.2.1",
"@vanilla-extract/css": "1.13.0",
"@vanilla-extract/next-plugin": "2.3.0",
"@vanilla-extract/recipes": "0.5.0",
"@vitejs/plugin-react": "4.0.4",
"ajv": "8.12.0",
"ajv-formats": "2.1.1",
"bluebird": "3.7.2",
"classnames": "2.3.2",
"eslint-plugin-node": "11.1.0",
"graphql": "16.7.1",
"graphql": "16.8.0",
"graphql-tag": "2.12.6",
"jose": "4.14.4",
"jsdom": "22.1.0",
"lodash-es": "4.17.21",
"modern-errors": "6.0.0",
"modern-errors-http": "4.0.0",
"modern-errors-serialize": "5.0.0",
"next": "13.4.12",
"next": "13.4.19",
"omit-deep-lodash": "1.1.7",
"pino": "8.14.2",
"pino": "8.15.0",
"pino-pretty": "10.2.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "7.45.2",
"react-hook-form": "7.45.4",
"semver": "7.5.4",
"stripe": "12.16.0",
"stripe-event-types": "2.4.0",
"tsx": "3.12.7",
"url-join": "5.0.0",
"urql": "3.0.4",
"uuidv7": "0.5.4",
"vite": "4.4.8",
"vitest": "0.34.1",
"uuidv7": "0.6.2",
"vite": "4.4.9",
"vitest": "0.34.2",
"webpack": "5.88.2",
"yup": "1.2.0",
"zod": "3.21.4",
"zustand": "4.4.0"
"zod": "3.22.2",
"zustand": "4.4.1"
},
"devDependencies": {
"@changesets/cli": "2.26.2",
Expand All @@ -98,33 +105,34 @@
"@pollyjs/persister-fs": "6.0.6",
"@saleor/eslint-plugin-saleor-app": "0.1.2",
"@saleor/json-schema-compiler": "0.1.2",
"@testing-library/jest-dom": "5.17.0",
"@testing-library/jest-dom": "6.1.1",
"@testing-library/react": "14.0.0",
"@testing-library/react-hooks": "8.0.1",
"@types/bluebird": "3.5.38",
"@types/lodash-es": "4.17.8",
"@types/node": "20.4.6",
"@types/node": "20.5.4",
"@types/omit-deep-lodash": "1.1.1",
"@types/react": "18.2.18",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
"@types/semver": "7.5.0",
"@types/setup-polly-jest": "0.5.2",
"@types/testing-library__jest-dom": "5.14.9",
"@typescript-eslint/eslint-plugin": "6.2.1",
"@typescript-eslint/parser": "6.2.1",
"@vanilla-extract/vite-plugin": "3.8.2",
"@vitest/coverage-v8": "0.34.1",
"dependency-cruiser": "13.1.1",
"eslint": "8.46.0",
"eslint-config-next": "13.4.12",
"eslint-config-prettier": "8.10.0",
"eslint-plugin-import": "2.28.0",
"@typescript-eslint/eslint-plugin": "6.4.1",
"@typescript-eslint/parser": "6.4.1",
"@vanilla-extract/vite-plugin": "3.9.0",
"@vitest/coverage-v8": "0.34.2",
"dependency-cruiser": "13.1.4",
"eslint": "8.47.0",
"eslint-config-next": "13.4.19",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-require-form-method": "1.0.2",
"eslint-plugin-testing-library": "5.11.0",
"eslint-plugin-testing-library": "6.0.0",
"eslint-plugin-vitest": "0.2.8",
"husky": "8.0.3",
"lint-staged": "13.2.3",
"json-schema-to-typescript": "13.0.2",
"lint-staged": "14.0.1",
"next-test-api-route-handler": "3.1.8",
"prettier": "3.0.1",
"prettier": "3.0.2",
"setup-polly-jest": "0.11.0",
"ts-node": "10.9.1",
"typescript": "5.1.6",
Expand All @@ -135,11 +143,8 @@
"node": ">=18.0.0 <19.0.0",
"pnpm": ">=8.0.0 <9.0.0"
},
"packageManager": "[email protected].0",
"packageManager": "[email protected].10",
"pnpm": {
"patchedDependencies": {
"@types/[email protected]": "patches/@[email protected]"
},
"overrides": {
"@urql/exchange-auth>@urql/core": "3.2.2",
"@typescript-eslint/parser": "$@typescript-eslint/parser"
Expand Down
13 changes: 0 additions & 13 deletions patches/@[email protected]

This file was deleted.

Loading
Loading