Skip to content

webviewer-salesforce always use latest version of Apryse WebViewer SDK #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Mohammed-AbdulRahman-Apryse
Copy link
Collaborator

./utils/webViewerDownloader.js
Automatic downloader of latest version of Apryse WebViewer SDK from the download center.

./utils/copyStaticResources.js
Automatic copier of static resources to ./force-app/main/default/staticresources, after being generated because of run optimization script.

package.json
Adding scripts:

  1. "postinstall" performs automatic download Apryse WebViewe SDK and extract contents locally.
  2. "optimize" generates static resources and copying them directly to ./force-app/main/default/staticresources.

Readme.md

  1. Eliminated the manual download/extraction of Apryse WebViewer SDK.
  2. Eliminated the manual copy of static resources.

Description

webviewer-salesforce always use latest version of Apryse WebViewer SDK

Resources

Checklist

  • I understand that this is a public repo and my changes will be publicly visible

If you are adding a new sample

  • I have added an entry to the root level README
  • The name of my sample is consistent with the other samples
  • I have added a README to my sample
  • The sample is fully functional
  • I have updated lerna.json with the new sample name

If you are removing an old sample

  • I have removed the entry from the root level README
  • I have removed the sample from lerna.json

- ./utils/webViewerDownloader.js: Automatic downloader of latest version of Apryse WebViewer SDK from the download center.

- ./utils/copyStaticResources.js: Automatic copier of static resources to ./force-app/main/default/staticresources, after being generated because of run optimization script.

- package.json: Adding scripts:
   a. "postinstall" performs automatic download Apryse WebViewe SDK and extract contents locally.
   b. "optimize" generates static resources and copying them directly to ./force-app/main/default/staticresources.

- Readme.md:
   a. Eliminated the manual download/extraction of Apryse WebViewer SDK.
   b. Eliminated the manual copy of static resources.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant