Add bower-asset/listjs to tugboat preview

Created on 10 October 2024, 5 months ago

Problem/Motivation

Presumably we need a composer.json for that to let tugboat know about asset-packagist.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @Anybody
  • Merge request !25Added asset-packagist for bower-asset/listjs → (Open) created by Anybody
  • 🇩🇪Germany Anybody Porta Westfalica
  • 🇩🇪Germany Anybody Porta Westfalica

    No errors, but I think the frontend library lands in vendor/ as the installer-paths config is missing:

    "installer-paths": {
                "web/core": [
                    "type:drupal-core"
                ],
                "web/modules/contrib/{$name}": [
                    "type:drupal-module"
                ],
                "web/modules/custom/{$name}": [
                    "type:drupal-custom-module"
                ],
                "web/profiles/contrib/{$name}": [
                    "type:drupal-profile"
                ],
                "web/themes/contrib/{$name}": [
                    "type:drupal-theme"
                ],
                "web/themes/custom/{$name}": [
                    "type:drupal-custom-theme"
                ],
                "web/libraries/{$name}": [
                    "type:npm-asset",
                    "type:bower-asset",
                    "type:drupal-library"
                ],
                "drush/Commands/contrib/{$name}": [
                    "type:drupal-drush"
                ],
                "web/libraries/ckeditor/plugins/{$name}": [
                    "vendor:ckeditor-plugin"
                ]
            },
    

    See

               "web/libraries/{$name}": [
                    "type:npm-asset",
                    "type:bower-asset",
                    "type:drupal-library"
                ],
  • 🇩🇪Germany Anybody Porta Westfalica

    My latin has come to an and... no idea why the library isn't placed right, the composer extra config looks right...

    So let's solve it differently in listjs, that will also be a generally helpful option: Implement CDN option Active

Production build 0.71.5 2024