PHPackages                             emteknetnz/silverstripe-js-updater - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. emteknetnz/silverstripe-js-updater

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

emteknetnz/silverstripe-js-updater
==================================

JS Updater for Silverstripe CMS

012PHP

Since Aug 21Pushed 8mo agoCompare

[ Source](https://github.com/emteknetnz/silverstripe-js-updater)[ Packagist](https://packagist.org/packages/emteknetnz/silverstripe-js-updater)[ RSS](/packages/emteknetnz-silverstripe-js-updater/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Silverstripe JS Updater
=======================

[](#silverstripe-js-updater)

This tool updates JavaScript files in Silverstripe modules. It is intended to be run on a developer's laptop to create pull requests in GitHub.

**This tool is only intended for use by Silverstripe core committers or the Silverstripe Ltd CMS Squad**

It will update [supported-modules](https://github.com/silverstripe/supported-modules) within the current project for the current branches those modules are on.

GitHub Token
------------

[](#github-token)

This tool creates pull requests via the GitHub API. You need to set the `GITHUB_TOKEN` environment variable for this to work.

Create a new GitHub token at . Tick the `public_repo` checkbox and set the token to expire in 7 days. If you do not set the correct permissions, you will get a 404 error when attempting to create pull requests.

Delete this token once you have finished.

Installation
------------

[](#installation)

Create a `silverstripe/recipe-kitchen-sink` project for the version of the CMS you want to update JS dependencies for e.g. `6`.

Then composer require this module.

```
composer require emteknetnz/silverstripe-js-updater
```

Usage
-----

[](#usage)

Run this on your local machine so that you have access to nvm, yarn, git, etc. Do not run this inside a Docker container.

When updating JS, you must first run `update admin`, which will update the JS dependencies for `silverstripe/admin` and create a pull request. Once that pull request is green in CI, you can run `update others` to update all other modules in the project, some of which rely on shared components within `silverstripe/admin`.

Commands:
---------

[](#commands)

### `show`

[](#show)

List all supported-modules within the current project

#### Command line arguments:

[](#command-line-arguments)

(none)

#### Command line options:

[](#command-line-options)

OptionDescription--github -gOutput as github urls**Example usage:**

```
vendor/bin/update-js show --github
```

### `update`

[](#update)

This command will update JS dependencies for supported modules within the project.

#### Command line arguments:

[](#command-line-arguments-1)

ArgumentDescriptionwhich"admin" or "others" - whether to update `silverstripe/admin` or every other module that is not `silverstripe/admin`githubIssueUrlThe GitHub URL of the parent issue#### Command line options:

[](#command-line-options-1)

OptionDescription--only=\[modules\] -oOnly include the specified modules (without account prefix) separated by commas e.g. `silverstripe-config,silverstripe-assets`--exclude=\[modules\] -eExclude the specified modules (without account prefix) separated by commas e.g. `silverstripe-mfa,silverstripe-totp`--dry-run -dDo not create pull requests**Example usage:**

```
GITHUB_TOKEN=abc123 vendor/bin/update-js update others --exclude=silverstripe-linkfield,silverstripe-mfa --dry-run
```

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance42

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a25bc04c5720a36869d5a39c6449dde7eb43e19b7c8e666d5f632d6a9ab440b1?d=identicon)[emteknetnz](/maintainers/emteknetnz)

---

Top Contributors

[![emteknetnz](https://avatars.githubusercontent.com/u/4809037?v=4)](https://github.com/emteknetnz "emteknetnz (19 commits)")

### Embed Badge

![Health badge](/badges/emteknetnz-silverstripe-js-updater/health.svg)

```
[![Health](https://phpackages.com/badges/emteknetnz-silverstripe-js-updater/health.svg)](https://phpackages.com/packages/emteknetnz-silverstripe-js-updater)
```

###  Alternatives

[divante-ltd/module-pimcore-integration

Magento-Pimcore bridge module.

348.3k](/packages/divante-ltd-module-pimcore-integration)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
