We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e78a80 commit 8fc628aCopy full SHA for 8fc628a
package.json
@@ -6,6 +6,7 @@
6
"scripts": {
7
"start": "node index.js",
8
"prepublishOnly": "pkg-ok",
9
+ "hydrate": "node scripts/hydrate.js",
10
"test": "cross-env psp && node test/test.js",
11
"doc": "jsdoc -c ./jsdoc.json -r -R ./README.md -P ./package.json --verbose",
12
"coverage": "nyc npm test",
scripts/hydrate.js
@@ -75,9 +75,12 @@ async function main() {
75
await tables.Addons.create({
76
name: cleanName,
77
description,
78
- version,
+ latest: version,
79
+ version: {
80
+ version,
81
+ git: `https://github.com/${fullName}.git`
82
+ },
83
authorId: user.id,
- git: `https://github.com/${fullName}.git`,
84
organisationId: org.id
85
});
86
}
0 commit comments