Skip to content

Commit

Permalink
Merge pull request #229 from aligent/fix/MICRO-26-register-init-hook
Browse files Browse the repository at this point in the history
MICRO-26: Update to match new set up
  • Loading branch information
kai-nguyen-aligent authored Nov 23, 2023
2 parents 8e00456 + ba99983 commit f3d444a
Show file tree
Hide file tree
Showing 10 changed files with 5,355 additions and 10,292 deletions.
4 changes: 0 additions & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["./tsconfig.json"]
},
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ jspm_packages
.build
*.js
*.map
dist
2 changes: 0 additions & 2 deletions .npmignore

This file was deleted.

1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
auto-install-peers=true
engine-strict=true
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,17 @@ custom:
magentoUrl: https://magento.domain.name
magentoApiToken: ${ssm:/magento/api/access-token-for-registration}
displayName: Service name that appears in Magento Admin
description: Short description about the service
appUrl: https://web-app-url.on.cloudfront
permissions:
- Magento_Backend::all
```
### Variables
| Variable | Usage |
| ----------- | --------------------------------------------------------------------------------------- |
| magentoUrl | The base URL - including scheme - of the Magento instance. |
| displayName | The name of the application/service. |
| description | Short description about the application/service. |
| appUrl | The url to access webapp (Only applicable for webapp, other service does not need this) |
| permission | Array of Magento permission. Webapp does not need this |
| Variable | Usage |
| --------------------- | ------------------------------------------------------------------------------------------------------ |
| magentoUrl | The base URL - including scheme - of the Magento instance. |
| magentoApiToken | The api token for registering with Magento instance. |
| displayName | The name of the application/service. |
| description | Short description about the application/service. If not provided, `resources/Description` will be used |
| permission | Array of Magento permission. Webapp does not need this |
| domainOutputKeyPrefix | The prefix of webapp domain output key. The default value is `landingDomain`. |
Loading

0 comments on commit f3d444a

Please sign in to comment.