@commercetools-frontend/application-cli 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/cli.js +9 -0
- package/cli/dist/commercetools-frontend-application-cli-cli.cjs.d.ts +2 -0
- package/cli/dist/commercetools-frontend-application-cli-cli.cjs.d.ts.map +1 -0
- package/cli/dist/commercetools-frontend-application-cli-cli.cjs.dev.js +725 -0
- package/cli/dist/commercetools-frontend-application-cli-cli.cjs.js +7 -0
- package/cli/dist/commercetools-frontend-application-cli-cli.cjs.prod.js +725 -0
- package/cli/dist/commercetools-frontend-application-cli-cli.esm.js +699 -0
- package/cli/package.json +4 -0
- package/dist/declarations/src/cli.d.ts +2 -0
- package/dist/declarations/src/commands/compile-deployments.d.ts +3 -0
- package/dist/declarations/src/commands/compile-menu.d.ts +3 -0
- package/dist/declarations/src/commands/create-version.d.ts +3 -0
- package/dist/declarations/src/commands/validate-menu.d.ts +5 -0
- package/dist/declarations/src/schema.d.ts +228 -0
- package/dist/declarations/src/types.d.ts +92 -0
- package/dist/declarations/src/utils/create-application-assets-upload-script.d.ts +3 -0
- package/dist/declarations/src/utils/create-application-index-upload-script.d.ts +3 -0
- package/dist/declarations/src/utils/get-application-directory.d.ts +2 -0
- package/dist/declarations/src/utils/is-ci.d.ts +2 -0
- package/dist/declarations/src/utils/load-dotenv-files.d.ts +5 -0
- package/dist/declarations/src/utils/resolve-in-application.d.ts +2 -0
- package/package.json +31 -13
- package/src/bin/cli.js +0 -100
- package/src/commands/compile-deployments.js +0 -283
- package/src/commands/compile-menu.js +0 -126
- package/src/commands/create-version.js +0 -43
- package/src/commands/validate-menu.js +0 -33
- package/src/commands/validate-menu.spec.js +0 -43
- package/src/schema.js +0 -112
- package/src/utils/create-application-assets-upload-script.js +0 -62
- package/src/utils/create-application-index-upload-script.js +0 -41
- package/src/utils/get-application-directory.js +0 -7
- package/src/utils/is-ci.js +0 -5
- package/src/utils/load-dotenv-files.js +0 -48
- package/src/utils/resolve-in-application.js +0 -8
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ The above configuration would compile for two environments in `gcp-production-us
|
|
|
46
46
|
- upload-assets-merchant-center-asia.sh
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
1. The `upload-index.sh` and `upload-assets-<bucket>.sh` scripts are generated pre-configured bash scripts for uploading the `application.html` and static assets to the respective storage bucket using `
|
|
49
|
+
1. The `upload-index.sh` and `upload-assets-<bucket>.sh` scripts are generated pre-configured bash scripts for uploading the `application.html` and static assets to the respective storage bucket using `gcloud storage`.
|
|
50
50
|
2. The `public` folder contains shared static assets for all environments.
|
|
51
51
|
3. The `application.html` references the static assets from its respective environment's bucket
|
|
52
52
|
|
package/bin/cli.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commercetools-frontend-application-cli-cli.cjs.d.ts","sourceRoot":"","sources":["../../dist/declarations/src/cli.d.ts"],"names":[],"mappings":"AAAA"}
|