Create composer.libraries.json

Created on 8 May 2025, about 17 hours ago

Problem/Motivation

We already have a package.json file that downloads some dependencies that this theme needs:

{
  "name": "estore",
  "version": "2.1.0",
  "description": "eStore SASS (dart) toolkit",
   "engines" : {
    "node" : ">=18.0.0"
  },
   "dependencies": {
    "bootstrap-sass": "^3.4.3",
    "sass": "^1.69.7"
  },
  "scripts": {
    "watch": "sass  --watch scss/styles.scss:css/styles.css"
  },
  "repository": {
    "type": "git",
    "url": "git@git.drupal.org:project/estore.git"
  },
  "keywords": [
    "drupal",
    "estore",
    "bootstrap 3",
    "scss",
    "dart"
  ],
  "author": "OPTASY",
  "license": "ISC"
}

But there are still some JS libraries/dependencies that are not availabe in NPM and only available by other external repositories such as github or gitlab. I'll create this file to ease the site maintainer to download these libraries by adding the repositories set up in the composer.libraries.json file to the site's composer.json file

Steps to reproduce

N/A

Proposed resolution

Create the composer.libraries.json file

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada danrod Ottawa

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024