Commit Graph

28 Commits

Author SHA1 Message Date
Abijeet Patro
b25ce367fb Update npm modules and drop support for Node.js 10 (#196)
Following packages have been updated:

* eslint
* eslint-config-wikimedia
* mocha
2022-01-18 19:56:41 +05:30
Abijeet Patro
f86cab48f3 Add MLEB release notes 2021.10 (#182)
Changes from: https://github.com/wikimedia/language-data/compare/1.0.6...master
2021-10-25 15:48:39 +05:30
Abijeet
ba2be5c72b Security fix: Update ansi-regex for CVE-2021-3807 2021-10-25 08:29:30 +03:00
Santhosh Thottingal
3762fb7b94 Update CI and dependencies for latest node versions (#173)
* Update dependencies

* Test in latest node versions
2021-09-07 21:24:56 +05:30
Abijeet Patro
c338401525 Add release notes 2021.07 (#167)
Bug: T286476
2021-07-19 20:33:31 +05:30
Abijeet
f692c69a9f Update Node.js versions to 1.0.2 2021-04-01 11:28:45 +03:00
Abijeet
3a0ca41914 Update node package.json version 2021-01-28 10:40:22 +02:00
Abijeet Patro
6c6d02b153 Bump Node.js package version to 1.0.0 (#123)
Update the major version as we are dropping support for Node 8.x

Bug: T266462
2020-10-27 17:16:31 +05:30
Abijeet Patro
61d3d26e4c Bump eslint-config-wikimedia to 0.17.0 (#120)
Had to update eslint to ^7.9.0 since we are using new rules:
* no-loss-of-precision
* no-unreachable-loop

Bug: T266462
2020-10-27 17:09:39 +05:30
Abijeet Patro
3ef31ed26a Bump minimum Node.js version to 10.x (#122)
In a subsequent patch #120, we bump eslint-config-wikimedia to
0.17.0, which also requires bumping eslint to 7.9.0 which drops
support for Node.js 8.x

Bug: T266462
2020-10-27 17:03:00 +05:30
Santhosh Thottingal
e7be264b43 Version update: 0.2.2 (#117) 2020-07-28 10:55:19 +05:30
Abijeet Patro
6e978475da Add entrypoint in package.json
Fixes: #115
2020-07-28 10:08:08 +05:30
Abijeet
762dd9c5f0 Add Changelog for 2020-07 release
Also update npm package version to 0.2.1

Few tweaks to the CHANGELOG introduction section
2020-07-23 17:40:55 +03:00
Abijeet
a19900efef Unify package.json and composer.json, update version before release 2020-05-20 16:54:32 +03:00
Abijeet
936c0e8ee2 Add Abijeet as a contributor in package.json and composer.json 2020-05-19 11:08:50 +03:00
Abijeet
8b0ca32167 Move documentation to Read the Docs
Read the docs is used to host the documentation.
https://language-data.readthedocs.io/en/latest/

The following documentation has been moved,

* Introduction
* Using the PHP / Node.js libraries
* Adding new languages
* PHP API documentation

Updated the README.md to point to the new documentation.

Doxygen is used to pull out the PHPDoc comments into XML.
This is parsed via doxyphp2sphinx into Sphinx which is
then used by Read the docs to generate the documentation.

Read the docs has been configured to update the code documentation
under the docs/api folder automatically whenever a commit is made
so no manual work is needed.

Bug: T218639
2020-05-12 16:00:25 +03:00
Amir Aharoni
cbeb0b7150 Set latest and specific versions of devDependencies
This fixes all npm audit warnings.
2020-04-01 09:03:21 +03:00
Abijeet
a182ddb215 Add users with more than 5 commits to credits / authors
Also update authors to be alphabetically ordered.
2020-02-24 16:35:43 +02:00
Abijeet Patro
c57a3a28ad Update minimum supported node.js version to 8.x (#83)
Fixes failing test case on node.js version 6
2020-02-03 14:23:37 -08:00
Abijeet
7c970cb247 Replace Travis with Github actions
Two workflows have been added,

  * PHP build - Runs tests on version 7.2, 7.3, also runs phpcs
  * Node.js build - Runs tests on version 8.x, 10.x, 12.x, also
    runs ESLint

Bug: T218639
2020-01-31 23:06:26 +05:30
Abijeet
09ab6024fe Add a PHP interface to work with the language data
Additional changes in this PR include,

  * Added composer.json
  * Refactored the folder structure.
  * Added editorconfig.
  * Added PHPCS and formatted existing code.
  * Changes to use a single license - GPL-2.0-or-later
  * ESLint related fixes

Bug: T218639
2020-01-31 23:00:46 +05:30
Santhosh Thottingal
59c70bd917 Minor version update 2019-11-08 16:51:55 +05:30
Santhosh Thottingal
e53d7d1250 Move to @wikimedia, version update, dependecy updates 2019-08-29 16:58:54 +05:30
Amir Aharoni
d7b731df5c Update package.json to fix npm audit recommendations
* Update version of eslint from 2.9.0 to 5.16.0.
* Update version of mocha from 2.5.3 to 6.1.4.
2019-04-20 14:20:14 +03:00
Amir Aharoni
87b3fd8666 Add the Ol Chiki script (Olck), add getLanguages(), and fix the tests
The tests were using languageData.languages, which was undefined.
This patch adds a method to get all the languages to be able to test.
2018-08-12 21:09:50 +03:00
Santhosh Thottingal
e6a4fcb383 Correct the repository URL in package.json 2017-10-04 09:34:00 +05:30
Santhosh Thottingal
246f9925bd URL corrections for repository 2017-08-01 13:51:27 +05:30
Santhosh Thottingal
9ed4cff140 first commit 2017-08-01 13:49:03 +05:30