Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-143594 Automation Test Creation
  3. LPS-143595

Investigate on how to run scripts that create different kind of JS projects using the JS-toolikt

    Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JS APIs and Utilities
    • Labels:
      None
    • Sprint:
      S04E30 - Sea Change, S05E01 - Dark Souls

      Description

      Before starting, make sure you have a file .liferay.json created in your HOME directory. The file should indicate the path of modules in Liferay bundle. Example:

      {"deploy": {"path": "/Users/myhomedirectory/myliferaybundle/osgi/modules"}}

       

      Having downloaded the JS-Toolkit project
      run

      $ cd liferay-frontend-projects/projects/js-toolkit
      $ yarn
      $ yarn build 
      $ yarn qa

      Make sure that all the projects are being generated and deployed correctly (projects dir: liferay-frontend-projects/projects/js-toolkit/qa):

      agnostic-angular-portlet
      agnostic-plain-js-portlet
      agnostic-react-portlet
      agnostic-shared-bundle
      agnostic-vuejs-portlet
      angular-cli-portlet
      bundler3-portlet
      create-react-app-portlet
      master-angular-portlet
      master-plain-js-portlet
      master-react-portlet
      master-shared-bundle
      master-vuejs-portlet
      vue-cli-portlet

      In case some project has problems deploying, report the issue to the dev, remove the dir of the project and run the deploying command again:

       

       yarn qa deploy 

        Attachments

          Activity

            People

            Assignee:
            magdalena.jedraszak Magdalena Jedraszak
            Reporter:
            magdalena.jedraszak Magdalena Jedraszak
            Recent user:
            Magdalena Jedraszak
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              28 weeks, 6 days ago

                Packages

                Version Package