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

Plugin adobe-plugin-braintree-three-d-secure added #4399

Closed
wants to merge 1 commit into from
Closed
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: npm-publish
on:
push:
branches:
- PWA-3420

jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Navigate to specific package
run: cd packages/extensions/adobe-plugin-braintree-three-d-secure

- name: Install dependencies
run: |
cd packages/extensions/adobe-plugin-braintree-three-d-secure
npm install --legacy-peer-deps --ignore-scripts

- name: Publish package
uses: JS-DevTools/npm-publish@v1
with:
package: "packages/extensions/adobe-plugin-braintree-three-d-secure/package.json" # Explicitly specify the package
access: "public"
token: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GoMage Braintree 3D Secure
# Adobe Braintree 3D Secure

GoMage Braintree 3D Secure
Adobe Braintree 3D Secure

That plugin works only as a fix bugs of PWA Studio and adds 3d secure part.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @param targets
*/
function localIntercept(targets) {
require('@gomage/plugin-braintree-three-d-secure/Intercepts/brainTreeDropIn')(
require('@adobe/plugin-braintree-three-d-secure/Intercepts/brainTreeDropIn')(
targets
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"name": "@gomage/plugin-braintree-three-d-secure",
"name": "@adobe/plugin-braintree-three-d-secure",
"version": "3.94.0",
"publishConfig": {
"access": "public"
},
"description": "GoMage Braintree 3D Secure",
"description": "Adobe Braintree 3D Secure",
"main": "./index.js",
"author": "GoMage",
"author": "Adobe",
"dependencies": {
"braintree-web-drop-in": "~1.43.0"
},

"scripts": {
"clean": " "
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`returns concatenated error message when allowErrorMessages 1`] = `"formError.responseError"`;
exports[`returns concatenated error message when allowErrorMessages 1`] = `"GraphQL Error 1, GraphQL Error 2"`;

exports[`returns general error message 1`] = `"formError.responseError, Generic Error"`;
exports[`returns general error message 1`] = `"formError.errorMessage, Generic Error"`;
9 changes: 3 additions & 6 deletions packages/venia-concept/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@
},
"homepage": "https://github.com/magento/pwa-studio/tree/main/packages/venia-concept#readme",
"dependencies": {
"@gomage/plugin-braintree-three-d-secure": "~3.94.0",
"@adobe/plugin-braintree-three-d-secure": "~3.94.0",
"@magento/pwa-buildpack": "11.5.4-alpha.6"
},
"devDependencies": {
"@adobe/apollo-link-mutation-queue": "~1.0.2",
"@adobe/plugin-braintree-three-d-secure": "~3.94.0",
"@apollo/client": "~3.5.0",
"@babel/core": "~7.15.0",
"@babel/plugin-proposal-class-properties": "~7.14.5",
Expand All @@ -51,7 +52,6 @@
"@babel/plugin-transform-runtime": "~7.4.4",
"@babel/preset-env": "~7.16.0",
"@babel/runtime": "~7.15.3",
"@gomage/plugin-braintree-three-d-secure": "~3.94.0",
"@magento/babel-preset-peregrine": "~1.3.3",
"@magento/eslint-config": "~1.5.0",
"@magento/pagebuilder": "9.3.3-alpha.6",
Expand Down Expand Up @@ -146,9 +146,6 @@
"pwa-studio": {
"targets": {
"intercept": "./local-intercept.js"
},
"trusted-vendors": [
"@gomage"
]
}
}
}
Loading