Update new commerce provider info

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
Chloe 2022-05-18 17:49:40 +07:00
parent 237a207caf
commit 499b33d91a
3 changed files with 1657 additions and 1621 deletions

View File

@ -15,7 +15,8 @@ A commerce provider is a headless e-commerce platform that integrates with the [
- Kibo Commerce ([packages/kibocommerce](../kibocommerce))
- Commerce.js ([packages/commercejs](../commercejs))
- SFCC - SalesForce Cloud Commerce ([packages/sfcc](../sfcc))
- Mailchimp Open Commerce ([packages/opencommerce](../opencommerce))
-
Adding a commerce provider means adding a new folder in `packages` with a folder structure like the next one:
- `src`

View File

@ -3,7 +3,11 @@
"baseUrl": ".",
"target": "esnext",
"module": "esnext",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@ -16,17 +20,43 @@
"jsx": "preserve",
"incremental": true,
"paths": {
"@lib/*": ["lib/*"],
"@utils/*": ["utils/*"],
"@config/*": ["config/*"],
"@assets/*": ["assets/*"],
"@components/*": ["components/*"],
"@commerce": ["../packages/commerce/src"],
"@commerce/*": ["../packages/commerce/src/*"],
"@framework": ["../packages/opencommerce/src"],
"@framework/*": ["../packages/opencommerce/src/*"]
"@lib/*": [
"lib/*"
],
"@utils/*": [
"utils/*"
],
"@config/*": [
"config/*"
],
"@assets/*": [
"assets/*"
],
"@components/*": [
"components/*"
],
"@commerce": [
"../packages/commerce/src"
],
"@commerce/*": [
"../packages/commerce/src/*"
],
"@framework": [
"../packages/local/src"
],
"@framework/*": [
"../packages/local/src/*"
]
}
},
"include": ["next-env.d.ts", "**/*.d.ts", "**/*.ts", "**/*.tsx", "**/*.js"],
"exclude": ["node_modules"]
"include": [
"next-env.d.ts",
"**/*.d.ts",
"**/*.ts",
"**/*.tsx",
"**/*.js"
],
"exclude": [
"node_modules"
]
}

3219
yarn.lock

File diff suppressed because it is too large Load Diff