-
-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add codex/codex-icons/codex-design-tokens w/ npm auto-update (#1589)
* Add Wikimedia Codex libraries Codex [1] is the design system for Wikimedia. Having it available on cdnjs will be useful for developers of Wikimedia-related tools who want to match the design of Wikimedia sites (see also T338834 [2]). The unscoped codex npm package [3] has not been updated in over ten years (and as “a simple tool for building static [websites]” probably would not be very useful on cdnjs anyways), so I hope nobody will mind using the unprefixed codex name directly for @wikimedia/codex. (There seems to be some precedent for this among existing npmjs packages too, such as angular for @angular/core or treejs for @widgetjs/tree.) [1]: https://www.mediawiki.org/wiki/Special:MyLanguage/Codex [2]: https://phabricator.wikimedia.org/T338834 [3]: https://www.npmjs.com/package/codex * Update packages/c/codex-icons.json Co-authored-by: Matt Cowley <me@mattcowley.co.uk> --------- Co-authored-by: Matt Cowley <me@mattcowley.co.uk>
- Loading branch information
1 parent
67dfd86
commit aa366e2
Showing
3 changed files
with
103 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "codex-design-tokens", | ||
"filename": "theme-wikimedia-ui.css", | ||
"description": "design tokens of the Codex design system for Wikimedia", | ||
"keywords": [ | ||
"codex", | ||
"design-system", | ||
"components", | ||
"front-end" | ||
], | ||
"autoupdate": { | ||
"source": "npm", | ||
"target": "@wikimedia/codex-design-tokens", | ||
"fileMap": [ | ||
{ | ||
"basePath": "dist", | ||
"files": [ | ||
"*.@(css|json)" | ||
] | ||
} | ||
] | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://gerrit.wikimedia.org/r/design/codex.git" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Wikimedia Foundation Design Systems Team", | ||
"url": "https://www.mediawiki.org/wiki/Design_Systems_Team" | ||
} | ||
], | ||
"license": "GPL-2.0-or-later" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"name": "codex-icons", | ||
"filename": "codex-icons.umd.js", | ||
"description": "icons of the Codex design system for Wikimedia", | ||
"keywords": [ | ||
"codex", | ||
"design-system", | ||
"components", | ||
"front-end" | ||
], | ||
"autoupdate": { | ||
"source": "npm", | ||
"target": "@wikimedia/codex-icons", | ||
"fileMap": [ | ||
{ | ||
"basePath": "dist", | ||
"files": [ | ||
"*.@(js|mjs|json)", | ||
"images/*.svg" | ||
] | ||
} | ||
] | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://gerrit.wikimedia.org/r/design/codex.git" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Wikimedia Foundation Design Systems Team", | ||
"url": "https://www.mediawiki.org/wiki/Design_Systems_Team" | ||
} | ||
], | ||
"license": "MIT" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "codex", | ||
"filename": "codex.umd.js", | ||
"description": "Codex design system for Wikimedia", | ||
"keywords": [ | ||
"codex", | ||
"design-system", | ||
"components", | ||
"front-end" | ||
], | ||
"autoupdate": { | ||
"source": "npm", | ||
"target": "@wikimedia/codex", | ||
"fileMap": [ | ||
{ | ||
"basePath": "dist", | ||
"files": [ | ||
"*.@(js|mjs|css)" | ||
] | ||
} | ||
] | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://gerrit.wikimedia.org/r/design/codex.git" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Wikimedia Foundation Design Systems Team", | ||
"url": "https://www.mediawiki.org/wiki/Design_Systems_Team" | ||
} | ||
], | ||
"license": "GPL-2.0-or-later" | ||
} |