You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A package that contains internal tools used by other libraries in the monorepo.
4
+
It can't run outside the context of this monorepo.
5
+
6
+
To see all the available commands:
7
+
8
+
```bash
9
+
cd packages/internal-lib-build
10
+
./bin/internal-lib-build --help
11
+
```
12
+
13
+
To see how the package is used inside other packages, see the [pwa-kit-dev](https://github.com/SalesforceCommerceCloud/pwa-kit/blob/develop/packages/pwa-kit-dev/package.json#L29) package configuration.
A command line interface tool to develop, build, and deploy PWA Kit projects.
4
+
5
+
## Requirements
6
+
7
+
```
8
+
Node ^14.x
9
+
npm ^6.14.4
10
+
```
11
+
12
+
To see all the available commands, run:
13
+
14
+
```bash
15
+
npx pwa-kit-dev --help
16
+
```
17
+
18
+
## Documentation
19
+
20
+
The full documentation for PWA Kit is hosted on the [Salesforce Developers](https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/overview) portal.
21
+
22
+
### Useful links:
23
+
-[Push and deploy bundles](https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/pushing-and-deploying-bundles.html)
Copy file name to clipboardExpand all lines: packages/template-retail-react-app/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,15 +43,15 @@ The configuration features include:
43
43
44
44
### Dedicated Configuration Files
45
45
46
-
At project generation a single `default` configuration is created. For most cases a single configuration file will get the job done. But there are times where you want to have a different configuration for a different environment. These environments for example could be, a developers local machine, a remote `production` environment, or a remote `staging` environment. In all these cases you want to use a different configuration for each.
46
+
At project generation a single `default` configuration is created. For most cases a single configuration file will get the job done. But there are times when you want to have a different configuration for a different environment. These environments for example could be, a developers local machine, a remote `production` environment, or a remote `staging` environment. In all these cases you want to use a different configuration for each.
47
47
48
-
When multiple configurations are present, which configuration file to used is resolved in the following way:
48
+
When multiple configurations are present, here's how the correct configuration file is chosen:
49
49
50
50
1. Check to see if there is a config file named after your remote Managed Runtime environment and use this if one is present.
51
51
2. If we are running on a developer machine, look for a `local` configuration and use this if one is present.
52
52
3. Load the `default` config file `config/default.js`.
53
53
54
-
This allows you do these but not limited to things:
54
+
This configuration system allows you to do the following:
55
55
56
56
- Each developer can have their own configuration, connection to their own Commerce API sandboxes.
57
57
- Deploy a single codebase application to multiple environments with their own specific configurations (Multiple B2C Site with Different Domains).
@@ -71,7 +71,7 @@ module.exports = {
71
71
}
72
72
}
73
73
```
74
-
You can choose how the current locale appears (or doesn’t appear) in the URL by setting `url.locale` to one of the following values:
74
+
You can choose how the current locale appears (or doesn't appear) in the URL by setting `url.locale` to one of the following values:
75
75
76
76
-`path`: Locale is included in the URL path. Example: `/en-US/women/dress`
77
77
-`query_param`: Locale is included as a query parameter. Example: `/women/dress?locale=en-US`
0 commit comments