Skip to content

Prepare the library to be released as a npm package #81

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 9, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Install data values JS lib with npm
  • Loading branch information
manicki committed Oct 6, 2017
commit 277fb60aec182c6ab147566dd51e272500900553
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"issues": "https://phabricator.wikimedia.org/",
"irc": "irc://irc.freenode.net/wikidata"
},
"require": {
"data-values/javascript": "^0.9.0"
},
"autoload": {
"files": [
"init.php"
Expand Down
20 changes: 10 additions & 10 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ module.exports = function ( config ) {
// Order DOES matter, as soon as we have no dependency management in JS
files: [
'node_modules/jquery/dist/jquery.js',
'vendor/data-values/javascript/src/dataValues.js',
'vendor/data-values/javascript/lib/util/util.inherit.js',
'vendor/data-values/javascript/src/DataValue.js',
'node_modules/wikibase-data-values/src/dataValues.js',
'node_modules/wikibase-data-values/lib/util/util.inherit.js',
'node_modules/wikibase-data-values/src/DataValue.js',
'src/__namespace.js',
'src/Claim.js',
'src/Entity.js',
Expand All @@ -23,13 +23,13 @@ module.exports = function ( config ) {
'src/Term.js',
'src/Set.js',
'src/List.js',
'vendor/data-values/javascript/lib/globeCoordinate/globeCoordinate.js',
'vendor/data-values/javascript/lib/globeCoordinate/globeCoordinate.GlobeCoordinate.js',
'vendor/data-values/javascript/src/valueFormatters/valueFormatters.js',
'vendor/data-values/javascript/src/valueParsers/valueParsers.js',
'vendor/data-values/javascript/src/dataValues.js',
'vendor/data-values/javascript/src/*.js',
'vendor/data-values/javascript/src/values/*.js',
'node_modules/wikibase-data-values/lib/globeCoordinate/globeCoordinate.js',
'node_modules/wikibase-data-values/lib/globeCoordinate/globeCoordinate.GlobeCoordinate.js',
'node_modules/wikibase-data-values/src/valueFormatters/valueFormatters.js',
'node_modules/wikibase-data-values/src/valueParsers/valueParsers.js',
'node_modules/wikibase-data-values/src/dataValues.js',
'node_modules/wikibase-data-values/src/*.js',
'node_modules/wikibase-data-values/src/values/*.js',
'src/*.js',
'tests/*.js'
],
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"test": "tests"
},
"dependencies": {
"jquery": "^3.2.1"
"jquery": "^3.2.1",
"wikibase-data-values": "^0.10.0"
},
"devDependencies": {
"eslint": "^3.19.0",
Expand Down