balsama / lightning_strict
锁定 Lightning Drupal 发行版的 Composer 依赖。
Requires
- php: >=7.0
- asm89/stack-cors: 1.3.0
- bower-asset/cropper: v2.3.4
- bower-asset/dropzone: v5.7.1
- bower-asset/jquery: 3.5.1
- bower-asset/slick-carousel: v1.8.1
- caxy/php-htmldiff: v0.1.9
- composer/semver: 1.5.1
- cweagans/composer-patches: 1.6.7
- defuse/php-encryption: v2.2.1
- doctrine/annotations: 1.10.3
- doctrine/cache: 1.10.1
- doctrine/collections: 1.6.5
- doctrine/common: 2.13.3
- doctrine/event-manager: 1.1.0
- doctrine/inflector: 1.4.3
- doctrine/lexer: 1.2.1
- doctrine/persistence: 1.3.7
- doctrine/reflection: 1.2.1
- drupal/acquia_connector: 1.22.0
- drupal/autosave_form: 1.1.0
- drupal/bg_image_formatter: 1.14.0
- drupal/blazy: 2.1.0
- drupal/conflict: 2.0.0-alpha2
- drupal/consumers: 1.11.0
- drupal/contact_storage: 1.1.0
- drupal/core: 8.9.1
- drupal/crop: 2.1.0
- drupal/ctools: 3.4.0
- drupal/ctools_block: 3.4.0
- drupal/diff: 1.0.0
- drupal/dropzonejs: 2.0.0-alpha5
- drupal/embed: 1.4.0
- drupal/entity_block: 1.0.0-beta2
- drupal/entity_browser: 2.5.0
- drupal/entity_browser_block: 1.1.0
- drupal/entity_embed: 1.1.0
- drupal/image_widget_crop: 2.3.0
- drupal/inline_entity_form: 1.0.0-rc6
- drupal/layout_builder_restrictions: 2.7.0
- drupal/layout_builder_st: 1.0.0-alpha2
- drupal/layout_builder_styles: 1.0.0-beta2
- drupal/layout_library: 1.0.0-beta2
- drupal/libraries: 3.0.0-alpha1
- drupal/lightning_api: 4.5.0
- drupal/lightning_core: 5.2.0
- drupal/lightning_layout: 2.6.0
- drupal/lightning_media: 3.16.0
- drupal/lightning_workflow: 3.15.0
- drupal/media_entity_instagram: 2.1.0
- drupal/media_entity_twitter: 2.4.0
- drupal/metatag: 1.13.0
- drupal/moderation_dashboard: 1.0.0-beta2
- drupal/moderation_sidebar: 1.4.0
- drupal/openapi: 2.0.0-rc3
- drupal/openapi_jsonapi: 2.0.0-rc2
- drupal/openapi_rest: 2.0.0-rc2
- drupal/openapi_ui: 1.0.0-rc2
- drupal/openapi_ui_redoc: 1.0.0-rc2
- drupal/openapi_ui_swagger: 1.0.0-rc3
- drupal/page_manager: 4.0.0-beta6
- drupal/panelizer: 4.4.0
- drupal/panels: 4.4.0
- drupal/panels_ipe: 4.4.0
- drupal/pathauto: 1.8.0
- drupal/redirect: 1.6.0
- drupal/schemata: 1.0.0-beta2
- drupal/schemata_json_schema: 1.0.0-beta2
- drupal/search_api: 1.17.0
- drupal/simple_gmap: 2.1.0-rc1
- drupal/simple_oauth: 4.5.0
- drupal/slick: 2.0.0
- drupal/slick_entityreference: 2.0.0
- drupal/token: 1.7.0
- drupal/video_embed_field: 2.4.0
- drupal/views_infinite_scroll: 1.7.0
- easyrdf/easyrdf: 0.9.1
- egulias/email-validator: 2.1.18
- ezyang/htmlpurifier: v4.12.0
- guzzlehttp/guzzle: 6.5.5
- guzzlehttp/promises: v1.3.1
- guzzlehttp/psr7: 1.6.1
- j7mbo/twitter-api-php: 1.0.6
- kub-at/php-simple-html-dom-parser: 1.9.1
- laminas/laminas-diactoros: 1.8.7p2
- laminas/laminas-escaper: 2.6.1
- laminas/laminas-feed: 2.12.2
- laminas/laminas-stdlib: 3.2.1
- laminas/laminas-zendframework-bridge: 1.0.4
- lcobucci/jwt: 3.3.2
- league/event: 2.2.0
- league/oauth2-server: 7.4.0
- masterminds/html5: 2.7.1
- mkalkbrenner/php-htmldiff-advanced: 0.0.8
- paragonie/random_compat: v9.99.99
- pear/archive_tar: 1.4.9
- pear/console_getopt: v1.4.3
- pear/pear-core-minimal: v1.10.10
- pear/pear_exception: v1.0.1
- phpdocumentor/reflection-common: 2.1.0
- phpdocumentor/reflection-docblock: 5.1.0
- phpdocumentor/type-resolver: 1.1.0
- psr/container: 1.0.0
- psr/http-message: 1.0.1
- psr/log: 1.1.3
- ralouphie/getallheaders: 3.0.3
- stack/builder: v1.0.6
- swagger-api/swagger-ui: v3.26.2
- symfony-cmf/routing: 1.4.1
- symfony/class-loader: v3.4.42
- symfony/console: v3.4.42
- symfony/debug: v4.4.10
- symfony/dependency-injection: v3.4.42
- symfony/event-dispatcher: v3.4.42
- symfony/http-foundation: v3.4.42
- symfony/http-kernel: v3.4.42
- symfony/polyfill-ctype: v1.17.0
- symfony/polyfill-iconv: v1.17.0
- symfony/polyfill-intl-idn: v1.17.0
- symfony/polyfill-mbstring: v1.17.0
- symfony/polyfill-php56: v1.17.0
- symfony/polyfill-php70: v1.17.0
- symfony/polyfill-php72: v1.17.0
- symfony/polyfill-php80: v1.17.0
- symfony/polyfill-util: v1.17.0
- symfony/process: v3.4.42
- symfony/psr-http-message-bridge: v1.2.0
- symfony/routing: v3.4.42
- symfony/serializer: v3.4.42
- symfony/translation: v3.4.42
- symfony/validator: v3.4.42
- symfony/yaml: v3.4.42
- twig/twig: v1.42.5
- typo3/phar-stream-wrapper: v3.1.4
- vardot/blazy: 1.8.2.1
- webmozart/assert: 1.9.0
Requires (Dev)
- behat/mink: v1.8.1
- behat/mink-browserkit-driver: v1.3.4
- behat/mink-goutte-driver: v1.2.1
- behat/mink-selenium2-driver: v1.4.0
- chi-teck/drupal-code-generator: 1.32.0
- composer/ca-bundle: 1.2.7
- composer/composer: 1.10.7
- composer/installers: v1.9.0
- composer/spdx-licenses: 1.5.3
- composer/xdebug-handler: 1.4.2
- consolidation/annotated-command: 2.12.0
- consolidation/config: 1.2.1
- consolidation/filter-via-dot-access-data: 1.0.0
- consolidation/log: 1.1.1
- consolidation/output-formatters: 3.5.0
- consolidation/robo: 1.4.12
- consolidation/self-update: 1.2.0
- consolidation/site-alias: 3.0.1
- consolidation/site-process: 2.1.0
- container-interop/container-interop: 1.2.0
- dealerdirect/phpcodesniffer-composer-installer: v0.6.2
- dflydev/dot-access-data: v1.1.0
- dnoegel/php-xdg-base-dir: v0.1.1
- doctrine/instantiator: 1.3.1
- drupal/coder: 8.3.9
- drupal/core-composer-scaffold: 9.0.1
- drupal/core-dev: 9.0.1
- drush/drush: 10.2.2
- fabpot/goutte: v3.3.0
- gitonomy/gitlib: v1.2.1
- grasmash/expander: 1.0.0
- grasmash/yaml-expander: 1.4.0
- instaclick/php-webdriver: 1.4.7
- justinrainbow/json-schema: 5.2.10
- league/container: 2.4.1
- localheinz/composer-json-normalizer: 1.0.2
- localheinz/composer-normalize: 1.3.1
- localheinz/diff: 1.0.1
- localheinz/json-normalizer: 0.9.0
- localheinz/json-printer: 2.0.1
- mikey179/vfsstream: v1.6.8
- monolog/monolog: 2.1.0
- myclabs/deep-copy: 1.9.5
- nikic/php-parser: v4.5.0
- oomphinc/composer-installers-extender: v1.1.2
- phar-io/manifest: 1.0.3
- phar-io/version: 2.0.1
- php-parallel-lint/php-parallel-lint: v1.2.0
- phpro/grumphp: v0.16.2
- phpspec/prophecy: v1.10.3
- phpunit/php-code-coverage: 7.0.10
- phpunit/php-file-iterator: 2.0.2
- phpunit/php-text-template: 1.2.1
- phpunit/php-timer: 2.1.2
- phpunit/php-token-stream: 3.1.1
- phpunit/phpunit: 8.5.6
- psy/psysh: v0.10.4
- sebastian/code-unit-reverse-lookup: 1.0.1
- sebastian/comparator: 3.0.2
- sebastian/diff: 3.0.2
- sebastian/environment: 4.2.3
- sebastian/exporter: 3.1.2
- sebastian/finder-facade: 1.2.3
- sebastian/global-state: 3.0.0
- sebastian/object-enumerator: 3.0.3
- sebastian/object-reflector: 1.1.1
- sebastian/phpcpd: 4.1.0
- sebastian/recursion-context: 3.0.0
- sebastian/resource-operations: 2.0.1
- sebastian/type: 1.1.3
- sebastian/version: 2.0.1
- seld/jsonlint: 1.8.0
- seld/phar-utils: 1.1.0
- squizlabs/php_codesniffer: 3.5.5
- symfony/browser-kit: v4.4.10
- symfony/config: v4.4.10
- symfony/css-selector: v4.4.10
- symfony/dom-crawler: v4.4.10
- symfony/error-handler: v4.4.10
- symfony/filesystem: v4.4.10
- symfony/finder: v4.4.10
- symfony/lock: v4.4.10
- symfony/options-resolver: v4.4.10
- symfony/phpunit-bridge: v4.4.10
- symfony/var-dumper: v4.4.10
- theseer/fdomdocument: 1.6.6
- theseer/tokenizer: 1.1.3
- vijaycs85/drupal-quality-checker: 1.2.0
- webflo/drupal-finder: 1.2.0
- webmozart/path-util: 2.3.0
- weitzman/drupal-test-traits: dev-master#5992285e54e98e22cf1071242dea3c1da81d2b78
- zaporylie/composer-drupal-optimizations: 1.1.1
- dev-master
- 4.1.5
- 4.1.4
- 4.1.3
- 4.1.2
- 4.1.1
- 4.1.0
- 4.0.7
- 4.0.6
- 4.0.5
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.4.4
- 3.4.3
- 3.4.2
- 3.4.1
- 3.4.0
- 3.3.4
- 3.3.3
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.9
- 3.2.8
- 3.2.7
- 3.2.6
- 3.2.5
- 3.2.4
- 3.2.3
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.12
- 3.1.11
- 3.1.10
- 3.1.9
- 3.1.8
- 3.1.7
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.2.10
- 2.2.9
- 2.2.8
- 2.2.7
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- dev-8.x-4.13
- dev-8.x-4.14
- dev-8.x-4.15
- dev-8.x-3.42
- dev-8.x-3.43
- dev-8.x-3.44
- dev-8.x-4.07
- dev-8.x-4.12
- dev-8.x-4.06
- dev-8.x-4.11
- dev-8.x-3.40
- dev-8.x-3.41
- dev-8.x-4.05
- dev-8.x-4.10
- dev-8.x-3.34
- dev-8.x-4.01
- dev-8.x-4.02
- dev-8.x-4.03
- dev-8.x-4.04
- dev-8.x-3.32
- dev-8.x-3.33
- dev-8.x-3.112
- dev-8.x-3.28
- dev-8.x-3.29
- dev-8.x-3.30
- dev-8.x-3.31
- dev-8.x-4.00
- dev-8.x-3.110
- dev-8.x-3.111
- dev-8.x-3.18
- dev-8.x-3.19
- dev-8.x-3.22
- dev-8.x-3.23
- dev-8.x-3.24
- dev-8.x-3.25
- dev-8.x-3.26
- dev-8.x-3.27
- dev-8.x-3.21
- dev-8.x-3.16
- dev-8.x-3.17
- dev-8.x-3.20
- dev-8.x-3.14
- dev-8.x-3.15
- dev-8.x-3.12
- dev-8.x-3.13
- dev-8.x-2.210
- dev-8.x-3.05
- dev-8.x-3.06
- dev-8.x-3.04
- dev-8.x-3.11
- dev-8.x-2.29
- dev-8.x-3.10
- dev-8.x-3.03
- dev-8.x-2.28
- dev-8.x-3.02
- dev-8.x-2.22
- dev-8.x-2.23
- dev-8.x-2.24
- dev-8.x-2.25
- dev-8.x-2.26
- dev-8.x-2.27
- dev-8.x-3.00
- dev-8.x-3.01
- dev-8.x-2.03
- dev-8.x-2.04
- dev-8.x-2.05
- dev-8.x-2.06
- dev-8.x-2.10
- dev-8.x-2.11
- dev-8.x-2.12
- dev-8.x-2.13
- dev-8.x-2.14
- dev-8.x-2.15
- dev-8.x-2.16
- dev-8.x-2.17
- dev-8.x-2.18
- dev-8.x-2.20
- dev-8.x-2.21
- dev-8.x-2.00
- dev-8.x-2.01
- dev-8.x-2.02
This package is auto-updated.
Last update: 2022-12-05 15:13:33 UTC
README
此包将锁定 Lightning 定义的依赖,使其与测试每个 Lightning 版本时使用的特定版本一致。
使用方法
composer require acquia/lightning:VERSION balsama/lightning_strict:VERSION --no-update
composer update
VERSION
是您想要构建的 Lightning 的特定版本。例如,2.2.4
或 3.0.1
。它应该对 acquia/lightning
和 balsama/lightning_strict
包都相同。您可能需要多次运行 composer update
以确保 composer-patches 插件正确地修补所有依赖项。
动机
Lightning 2.2.0 需要 drupal/core:~8.4.0
,这大致意味着
"给我低于 8.5.0 的最新核心版本"
在撰写本文时,那将是 8.4.4
。但是,当 Lightning 2.2.0 于 2017 年 10 月 4 日发布时,8.4.0
是 drupal/core 的最新版本。因此,该标签实际上是针对 8.4.0 进行测试的。这对于 Lightning 的所有依赖项都适用 - 以及任何使用 Composer 管理依赖项的项目。
在使用 Composer 时,通常最好让依赖项自行管理约束。为了允许最大的灵活性和最少的冲突,Lightning 故意在对依赖项进行约束时较为宽松(在其可以做到的情况下)。
然而,在某些情况下,可能需要构建与发布时完全一致的特定版本的 Lightning 依赖项。例如,您可能需要一个早已从 Lightning 中移除的更新路径,但构建该版本可能存在问题,因为依赖项不再可用,或者补丁不再适用。在这种情况下,您可以使用此包将 Lightning 的所有依赖项(及其递归依赖项)固定到 Lightning 发布时 composer.lock 文件中包含的特定版本。
PHP 版本
Lightning 的依赖项是在运行 php 7.0 的环境中更新的。由于此包直接基于历史 Lightning composer.lock 文件,这意味着某些依赖项至少需要 php 7.0 才能运行。我们已在生成的 composer.json 文件中添加了最小 PHP 版本。遗憾的是,如果您的环境使用 PHP 5.6,则没有解决办法。
灵感
这受到了 webflo 的出色 drupal-core-strict 项目 的启发,并大量借鉴了其代码。感谢。