Propose to default ignore jspm_packages folder to avoid issues with common frontend tools.

jspm_packages/ folder is created from the jspm package manager which is an alternative to npm, yarn etc.

This needs to be added on default.settings.php file.

Comments

TheodorosPloumis created an issue. See original summary.

theodorosploumis’s picture

StatusFileSize
new923 bytes

Here is the patch.

theodorosploumis’s picture

Issue summary: View changes
theodorosploumis’s picture

Status: Active » Reviewed & tested by the community
gábor hojtsy’s picture

Status: Reviewed & tested by the community » Needs review

Thanks for the patch. As per https://www.drupal.org/issue-queue/status#rtbc

One should not set one's own patch to this status. Patches need to go through the review process.

At least some independent review feedback would be useful.

vensires’s picture

Status: Needs review » Reviewed & tested by the community

Patch tested and plays well!

bserem’s picture

I guess this should be a candidate for patch of the month!

I always like one-liners.
Approved by me too.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 2: ignore_jspm_packages_folder-2887736-1.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

bserem’s picture

Requeued for testing

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

bserem’s picture

Status: Needs work » Reviewed & tested by the community

Tests passed, changing to RTBC.

star-szr’s picture

Issue tags: -jspm_packages, -npm, -file system +JavaScript

Tagging for JavaScript maintainers, this tool doesn't seem to be as widely used at this point compared to npm and yarn (not a perfect metric but based on GitHub stars as of this writing):

yarn: 26907
npm: 13546
jspm: 3597

This setting can be overridden by the user via settings.php/settings.local.php, so I'm not sure that we need to include jspm in our default patterns. On the other hand, maybe the impact/risk is low enough to justify adding it.

larowlan’s picture

Status: Reviewed & tested by the community » Needs review
Issue tags: +Needs subsystem maintainer review

Based on #12 we need feedback from JS maintainers

droplet’s picture

It's not active support by other communities. e.g VSCode, ESLint also does not exclude it.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

nod_’s picture

Status: Needs review » Closed (won't fix)
Issue tags: -JavaScript +JavaScript

It doesn't appear to be a significant issue these days