Commit 35ba1d5c authored by catch's avatar catch
Browse files

Issue #3308786 by lauriii, nod_: Mark Shepherd.js as internal in Drupal 10

parent 5c6e7622
Loading
Loading
Loading
Loading
+12 −1
Changes for core/core.libraries.yml: 12 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -887,7 +887,7 @@ jquery.joyride:
    gpl-compatible: true
  js:
    assets/vendor/jquery-joyride/jquery.joyride-2.1.js: { }
  deprecated: The "%library_id%" asset library is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use the core/shepherd library instead. See https://www.drupal.org/node/3195234
  deprecated: The "%library_id%" asset library is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/3195234.
  dependencies:
    - core/jquery

@@ -900,6 +900,17 @@ shepherd:
    gpl-compatible: true
  js:
    assets/vendor/shepherd/shepherd.min.js: { minified: true }
  deprecated: The %library_id% asset library is deprecated in Drupal 9.5.0 and will be removed in Drupal 10.0.0.

internal.shepherd:
  remote: https://github.com/shipshapecode/shepherd
  version: "9.1.0"
  license:
    name: MIT
    url: https://raw.githubusercontent.com/shipshapecode/shepherd/v9.1.0/LICENSE
    gpl-compatible: true
  js:
    assets/vendor/shepherd/shepherd.min.js: { minified: true }

jquery.once:
  remote: https://github.com/RobLoach/jquery-once
+1 −1
Changes for core/modules/tour/tour.libraries.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ tour:
    - core/drupal
    # @todo Remove this in https://www.drupal.org/project/drupal/issues/3204011
    - core/internal.backbone
    - core/shepherd
    - core/internal.shepherd
    - tour/tour-styling

tour-styling:
+5 −0
Changes for core/scripts/js/vendor-update.js: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -173,9 +173,14 @@ const assetsFolder = `${coreFolder}/assets/vendor`;
        { from: 'dist/umd/popper.min.js.map', to: 'popper.min.js.map' },
      ],
    },
    {
      pack: 'shepherd.js',
      library: 'shepherd',
    },
    {
      pack: 'shepherd.js',
      folder: 'shepherd',
      library: 'internal.shepherd',
      files: [
        { from: 'dist/js/shepherd.min.js', to: 'shepherd.min.js' },
        { from: 'dist/js/shepherd.min.js.map', to: 'shepherd.min.js.map' },