Skip to content

Commit

Permalink
Merge branch 'wikimedia-gadgets:master' into wir
Browse files Browse the repository at this point in the history
  • Loading branch information
earlt612 authored Jul 11, 2023
2 parents 4d0c767 + 3f8bd25 commit cab6660
Show file tree
Hide file tree
Showing 6 changed files with 1,675 additions and 5,489 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
name: Unit tests

on:
push:
paths:
- 'morebits.js'
- 'tests/**'
- 'package.json'
- 'package-lock.json'
pull_request:
paths:
- 'morebits.js'
- 'tests/**'
- 'package.json'
- 'package-lock.json'
on: [push, pull_request]

jobs:
lint:
Expand Down
11 changes: 11 additions & 0 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,14 @@ The `--base` flag operates as a *prefix*; note the presence of the trailing `/`.
[App::cpanminus]: https://metacpan.org/pod/App::cpanminus
[intadmin]: https://en.wikipedia.org/wiki/Wikipedia:Interface_administrators
[special_botpass]: https://en.wikipedia.org/wiki/Special:BotPasswords

### Dependencies

All the dependencies that Twinkle uses are JavaScript **dev** dependencies. They are not used at all on-wiki and are just used during development. Here's what they are and what they do. This may help with evaluating dependabot patches (dependabot is a GitHub bot that helps keep libraries up to date by submitting pull requests).

- eslint - Used by continuous integration for enforcing code linting rules.
- jest - Used by continuous integration for unit testing.
- jest-environment-jsdom - Needed for Jest to work.
- mock-mediawiki - Used by continuous integration for unit testing.
- mwn - Used when you run `npm start`. `npm start` is what enables localhost testing.
- Everything else - Dependabot will not usually try to update these unless one of the 5 above dependencies gets out of date. It is probably best to update the above dependencies instead.
Loading

0 comments on commit cab6660

Please sign in to comment.