can not compile startkit.

Created on 13 June 2024, 12 days ago
Updated 25 June 2024, about 14 hours ago

Problem/Motivation

1. ui_suite_bootstrap_starterkit does not have any package.json for users of starterkit
2. will a bare package.json, current ui_suite_bootstrap_starterkit is linking to prior bootstrap structure -- npm watch fails.

β•·
β•·
4 β”‚ @import "../../../../../libraries/bootstrap/scss/functions";
  β”‚         ^^^^^^^^^^^^^^

...
10 β”‚ @import "../../../../../libraries/bootstrap/scss/variables";
   β”‚         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   β•΅
...
Error: Can't find stylesheet to import.

Steps to reproduce

php web/core/scripts/drupal generate-theme --starterkit ui_suite_bootstrap_starterkit companyname
- will put into {WEB}/themes/companyname
- use needs to be in {WEB}/themes/custom/companyname
- user needs to add a package.json and related pre-setup
- while (composer as expected places into) then load {WEB}/libraries/bootstrap/scss/...

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Postponed: needs info

Version

5.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada SKAUGHT

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

Comments & Activities

  • Issue created by @SKAUGHT
  • Status changed to Postponed: needs info about 14 hours ago
  • πŸ‡«πŸ‡·France Grimreaper France πŸ‡«πŸ‡·

    Hi,

    1 Generated theme placement:

    As mentioned in https://git.drupalcode.org/project/ui_suite_bootstrap/-/blob/5.0.x/start...

    With the following command, the generated theme is placed in themes/custom.

    php core/scripts/drupal generate-theme my_theme --starterkit ui_suite_bootstrap_starterkit --path themes/custom
    

    2 Compilation:

    I currently don't want to provide a package.json example because with it will come the need to provide task runner file example and there is no standard. Every one has its own on its projects. Some use Gulp, others Webpack, others Grunt, [insert the new trendy task runner], etc. With different configuration.

    It is something that can be added into the starterkit README, that compilation is not supported, it is up to anyone to handle it and/or provide links to examples.

  • πŸ‡«πŸ‡·France Grimreaper France πŸ‡«πŸ‡·
Production build 0.69.0 2024