code: def main() -> NoReturn:
      # Run `yarn licenses` for lib.
      licenses_output = (
          subprocess.check_output(
              [
                  "yarn",
                  "licenses",
                  "list",
                  "--json",
                  "--production",
                  "--ignore-platform",
              ],
              cwd=str(FRONTEND_DIR_LIB),
          )
          .decode()
          .splitlines()
      )
  
      # Run `yarn licenses` for app.
      licenses_output = licenses_output + (
          subprocess.check_output(
              [
                  "yarn",
                  "licenses",
                  "list",
                  "--json",
                  "--production",
                  "--ignore-platform",
              ],
              cwd=str(FRONTEND_DIR_APP),
          )
          .decode()
          .splitlines()
      )
  
      check_licenses(licenses_output)
  
file_path: streamlit/scripts/audit_frontend_licenses.py
imports: import json
  import subprocess
  import sys
  from pathlib import Path
  from typing import NoReturn, Set, Tuple, cast
  from typing_extensions import TypeAlias
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types