Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Commit 809fb8e

Browse files
committed
Add files to package.json and update description
1 parent 5f42368 commit 809fb8e

4 files changed

Lines changed: 12 additions & 6 deletions

File tree

.npmignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# level-packager
22

3-
> `levelup` package helper for distributing with an `abstract-leveldown` compatible back-end
3+
> `levelup` package helper for distributing with an `abstract-leveldown` store.
44
55
[![level badge][level-badge]](https://github.com/Level/awesome)
66
[![npm](https://img.shields.io/npm/v/level-packager.svg?label=&logo=npm)](https://www.npmjs.com/package/level-packager)

abstract/location.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use strict'
22

33
const path = require('path')
4+
const os = require('os')
45

5-
module.exports = path.join(__dirname, 'level-test-' + process.pid + '.db')
6+
module.exports = path.join(os.tmpdir(), 'level-packager-' + process.pid + '-' + Date.now())

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "level-packager",
33
"version": "5.1.1",
4-
"description": "LevelUP package helper for distributing with a LevelDOWN-compatible back-end",
4+
"description": "levelup package helper for distributing with an abstract-leveldown store",
55
"license": "MIT",
66
"main": "level-packager.js",
77
"scripts": {
@@ -11,6 +11,14 @@
1111
"dependency-check": "dependency-check . test.js abstract/*.js",
1212
"prepublishOnly": "npm run dependency-check"
1313
},
14+
"files": [
15+
"abstract",
16+
"level-packager.js",
17+
"CHANGELOG.md",
18+
"CONTRIBUTORS.md",
19+
"LICENSE.md",
20+
"UPGRADING.md"
21+
],
1422
"dependencies": {
1523
"encoding-down": "^6.3.0",
1624
"levelup": "^4.3.2"

0 commit comments

Comments
 (0)