-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: npm packages * feat: restructure * feat: npm publish script
- Loading branch information
1 parent
e00f96b
commit 22d9a3c
Showing
94 changed files
with
102,582 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# This workflow will run tests using node and then publish a package when a release is created | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages | ||
|
||
name: Publish Package | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
publish-npm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# Setup .npmrc file to publish to npm | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.15 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm ci | ||
# Copy LICENSE to adyen-web package | ||
- run: cp LICENSE packages/adyen-salesforce-pwa/ | ||
# Build and publish to npm | ||
- run: cd packages/adyen-salesforce-pwa/ && npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
CI: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
NODE_ENV="" | ||
ADYEN_API_KEY="" | ||
ADYEN_MERCHANT_ACCOUNT="" | ||
ADYEN_CLIENT_KEY="" | ||
ADYEN_ENVIRONMENT="" | ||
SYSTEM_INTEGRATOR_NAME="" | ||
HOST_URL="" | ||
COMMERCE_API_CLIENT_ID="" | ||
COMMERCE_API_ORG_ID="" | ||
COMMERCE_API_SHORT_CODE="" | ||
COMMERCE_API_SITE_ID="" | ||
COMMERCE_API_DEFAULT_SITE="" | ||
SCAPI_URL="" | ||
OCAPI_URL="" | ||
ADYEN_WEBHOOK_USER="" | ||
ADYEN_WEBHOOK_PASSWORD="" | ||
ADYEN_HMAC_KEY="" | ||
ENVIRONMENT_ID="" | ||
PROJECT_ID="" | ||
COMMERCE_API_CLIENT_ID_PRIVATE="" | ||
COMMERCE_API_CLIENT_SECRET="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/* | ||
* Copyright (c) 2023, Salesforce, Inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause | ||
*/ | ||
module.exports = require('@salesforce/pwa-kit-dev/configs/babel/babel-config') |
Oops, something went wrong.