Skip to content

Commit 4dcfe2e

Browse files
committed
Use node-wordpress for wp-update.js; still more transitioning to do before we can drop the direct DB code.
1 parent 52d8350 commit 4dcfe2e

File tree

7 files changed

+635
-595
lines changed

7 files changed

+635
-595
lines changed

config-sample.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
{
22
"repoDir": "/tmp/plugin-repos",
33
"pluginsDb": "plugins.db",
4+
"wordpress": {
5+
"url": "dev.plugins.jquery.com",
6+
"user": "admin",
7+
"password": "secret"
8+
}
9+
410
"dbHost": "localhost",
511
"dbPort": 3306,
612
"dbName": "mysql",

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"sqlite3": "2.1.1",
1717
"step": "0.0.5",
1818
"rimraf": "1.0.9",
19-
"node-syslog": "1.1.1"
19+
"node-syslog": "1.1.1",
20+
"wordpress": "0.1.1"
2021
},
2122
"engines": {
2223
"node": "0.6.5"

0 commit comments

Comments
 (0)