jaisocx_sites_tools

Sites Tool Automation

πŸ’‘ The package does …
πŸ“–οΈ Library @jaisocx/sites-tool-automation 🏷️ ver.: 1.2.6
πŸ—“ Updated Winter 2026 Tue Jan 20 06:28:29 CET 2026
πŸ“ Size πŸ—‚ Folder: 1000 KB πŸ“¦ Tarball: _ KB πŸ“‹ .js: 5 KB
⚑ JS Engine 🌐 Browser: ❌ no 🧭 Express: βœ… yes πŸ–₯️ Console: βœ… yes

πŸ’‘ The aim of the setup

The package does …

Interfaces

Site Tool Automation

How to gen new set of .css files for the improved responsive site’s feature

in the Terminal, in the Root of the Project

Produce theme responsive .css fresh fileset for the CssCleanStart


  ./cmd/CssCleanStart_3_MediaAndStyle.sh
  

with debug option


  ./cmd/CssCleanStart_3_MediaAndStyle.sh --debug

for a sites tool, css or js


  ./cmd/sitesTool_MediaAndStyles.sh

with debug option


  ./cmd/sitesTool_MediaAndStyles.sh --debug

Workarounds

1. joining bitbufs arrays by reference

Program flow

1. command line args

in terminal:


  example_produce_CssTable_themeExample_MediaAndStyles.sh ( args )

calls base bash scipt:


  produceSitesTool_MediaAndStyles_base.sh ( args )

in docker:


  /opt/jaisocx/sites_tools/workspace/ts/Jaisocx_SitesTools/packages/SitesToolAutomation/bash/produceSitesToolTemplate.sh ( args )

node in dockerized ts service:


  node /opt/jaisocx/sites_tools/workspace/ts/Jaisocx_SitesTools/packages/SitesToolAutomation/src/main/produceSitesTool_byExtendedPropsForTemplate.ts ( args )

args mapped to js object:


  const terminalInpArgsObject: any = {
    sitesTool_ThemeName: "theme_base",
    sitesToolName: "",
    cssOrJsTool: "",
    template: "",
    withSizesCssConstants: ""
  };
  

line 55: overrides method mainClassInstance.responsiveCssFile.getTemplateDataOverridden.

in the overriding method You may implement assignemnt of custom values passed to template.

this method gets 2 args:

  1. responsiveDatasetPropName: id of the json object in dataset
  2. templateDataBase: custom js object, this will be returned from this method to use in the templates.

The overriding method args explained

  1. responsiveDatasetPropName: id of the json object in dataset at path

workspace/ts/Jaisocx_SitesTools/packages/SitesToolAutomation/data/ResponsiveSizes/ResponsiveSizes.json

Example of value for responsiveDatasetPropName: mobile_xs

  
  {
    ...
    ...
    "data": {
      "mobile_xs": {
        "range_orderby_id": "e02",
        "width": {
          "from": 240,
          "to": 320
        },
        "height": {
          "from": 320,
          ...
          ...
        }
        ...
      }
      ...
    }
    ...
  }


Have a nice day.

Elias, Software Architect of Jaisocx Company