Skip to content

Commit

Permalink
package.json: add lib to file list; add chalk devDep
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthvp committed Apr 18, 2021
1 parent 8935fe1 commit 47a2e72
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "Twinkle core",
"name": "twinkle-core",
"version": "3.0.5-beta",
"version": "3.0.6-beta",
"repository": {
"type": "git",
"url": "https://github.com/wikimedia-gadgets/twinkle-core"
Expand All @@ -23,7 +23,8 @@
"src/",
"build/",
"i18n/",
"morebits/"
"morebits/",
"lib/"
],
"license": "CC-BY-SA-3.0",
"dependencies": {
Expand All @@ -35,6 +36,7 @@
"@types/jest": "^26.0.22",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"chalk": "^4.1.0",
"dompurify": "^2.2.7",
"eslint": "^7.24.0",
"eslint-plugin-es5": "^1.5.0",
Expand Down
3 changes: 2 additions & 1 deletion src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import { registerModule } from './twinkleModule';
export let userDisabledModules: string[] = [];

/**
* Initialise Twinkle
* Initialise Twinkle. This must be called AFTER all configurations in
* Twinkle.* and SiteConfig.* have been defined.
*/
export function init() {
// Quick bail on special pages where no modules are active
Expand Down

0 comments on commit 47a2e72

Please sign in to comment.