deboa 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/{esm/types → cjs}/classes/Deboa.d.ts +1 -0
- package/dist/cjs/classes/Deboa.js +10 -3
- package/dist/cjs/{types/classes → classes}/DeboaFromFile.d.ts +0 -0
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/types/{types/IAddTarEntriesParams.d.ts → IAddTarEntriesParams.d.ts} +0 -0
- package/dist/cjs/types/{types/IControlFileOptions.d.ts → IControlFileOptions.d.ts} +1 -2
- package/dist/cjs/types/{types/IDeboa.d.ts → IDeboa.d.ts} +0 -0
- package/dist/cjs/types/{types/IDeboaFromFile.d.ts → IDeboaFromFile.d.ts} +0 -0
- package/dist/cjs/types/{types/INormalizeOptionsLength.d.ts → INormalizeOptionsLength.d.ts} +0 -0
- package/dist/cjs/types/{types/IWriteFileFromLinesArgs.d.ts → IWriteFileFromLinesArgs.d.ts} +0 -0
- package/dist/cjs/types/{types/IWriteToArchive.d.ts → IWriteToArchive.d.ts} +0 -0
- package/dist/cjs/types/{types/MaintainerScript.d.ts → MaintainerScript.d.ts} +0 -0
- package/dist/cjs/types/{types/Section.d.ts → Section.d.ts} +0 -0
- package/dist/cjs/types/index.d.ts +9 -4
- package/dist/cjs/types/index.js +0 -1
- package/dist/cjs/{types/utils → utils}/addTarEntries.d.ts +0 -0
- package/dist/cjs/{types/utils → utils}/createFileHeader.d.ts +0 -0
- package/dist/cjs/{types/utils → utils}/writeFileFromLines.d.ts +0 -0
- package/dist/cjs/{types/utils → utils}/writeToArchive.d.ts +0 -0
- package/dist/{cjs/types → esm}/classes/Deboa.d.ts +1 -0
- package/dist/esm/classes/Deboa.js +1 -0
- package/dist/esm/{types/classes → classes}/DeboaFromFile.d.ts +0 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/types/{types/IAddTarEntriesParams.d.ts → IAddTarEntriesParams.d.ts} +0 -0
- package/dist/esm/types/{types/IControlFileOptions.d.ts → IControlFileOptions.d.ts} +1 -2
- package/dist/esm/types/{types/IDeboa.d.ts → IDeboa.d.ts} +0 -0
- package/dist/esm/types/{types/IDeboaFromFile.d.ts → IDeboaFromFile.d.ts} +0 -0
- package/dist/esm/types/{types/INormalizeOptionsLength.d.ts → INormalizeOptionsLength.d.ts} +0 -0
- package/dist/esm/types/{types/IWriteFileFromLinesArgs.d.ts → IWriteFileFromLinesArgs.d.ts} +0 -0
- package/dist/esm/types/{types/IWriteToArchive.d.ts → IWriteToArchive.d.ts} +0 -0
- package/dist/esm/types/{types/MaintainerScript.d.ts → MaintainerScript.d.ts} +0 -0
- package/dist/esm/types/{types/Section.d.ts → Section.d.ts} +0 -0
- package/dist/esm/types/index.d.ts +9 -4
- package/dist/esm/types/index.js +0 -1
- package/dist/esm/{types/utils → utils}/addTarEntries.d.ts +0 -0
- package/dist/esm/{types/utils → utils}/createFileHeader.d.ts +0 -0
- package/dist/esm/{types/utils → utils}/writeFileFromLines.d.ts +0 -0
- package/dist/esm/{types/utils → utils}/writeToArchive.d.ts +0 -0
- package/package.json +1 -1
- package/dist/cjs/types/Priority.js +0 -4
- package/dist/cjs/types/types/Priority.d.ts +0 -1
- package/dist/cjs/types/types/index.d.ts +0 -10
- package/dist/esm/types/Priority.js +0 -1
- package/dist/esm/types/types/Priority.d.ts +0 -1
- package/dist/esm/types/types/index.d.ts +0 -10
package/README.md
CHANGED
|
@@ -29,6 +29,16 @@ any number of metadata/file contents pairs.
|
|
|
29
29
|
- the `data` file, which contains the actual software
|
|
30
30
|
|
|
31
31
|
|
|
32
|
+
# Installation
|
|
33
|
+
|
|
34
|
+
```shell
|
|
35
|
+
# Yarn
|
|
36
|
+
yarn add --dev deboa
|
|
37
|
+
|
|
38
|
+
# npm
|
|
39
|
+
npm i -D deboa
|
|
40
|
+
```
|
|
41
|
+
|
|
32
42
|
# API
|
|
33
43
|
|
|
34
44
|
## Creating a .deb from scratch
|
|
@@ -2,9 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
default: ()=>_default,
|
|
13
|
+
Deboa: ()=>Deboa
|
|
8
14
|
});
|
|
9
15
|
const _events = require("events");
|
|
10
16
|
const _os = /*#__PURE__*/ _interopRequireDefault(require("os"));
|
|
@@ -488,3 +494,4 @@ function _interopRequireWildcard(obj, nodeInterop) {
|
|
|
488
494
|
}
|
|
489
495
|
}
|
|
490
496
|
}
|
|
497
|
+
var _default = Deboa;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MaintainerScript } from './MaintainerScript';
|
|
2
|
-
import { Priority } from './Priority';
|
|
3
2
|
import { Section } from './Section';
|
|
4
3
|
/**
|
|
5
4
|
* The descriptions are mostly just shameless copies from the following docs:
|
|
@@ -91,7 +90,7 @@ export interface IControlFileOptions {
|
|
|
91
90
|
*
|
|
92
91
|
* {@link https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-priority}
|
|
93
92
|
*/
|
|
94
|
-
priority?:
|
|
93
|
+
priority?: 'required' | 'important' | 'standard' | 'optional';
|
|
95
94
|
/**
|
|
96
95
|
* {@link https://www.debian.org/doc/debian-policy/ch-relationships.html}
|
|
97
96
|
*/
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
export * from './
|
|
1
|
+
export * from './IAddTarEntriesParams';
|
|
2
|
+
export * from './IControlFileOptions';
|
|
3
|
+
export * from './IDeboa';
|
|
4
|
+
export * from './IDeboaFromFile';
|
|
5
|
+
export * from './INormalizeOptionsLength';
|
|
6
|
+
export * from './IWriteFileFromLinesArgs';
|
|
7
|
+
export * from './IWriteToArchive';
|
|
8
|
+
export * from './MaintainerScript';
|
|
9
|
+
export * from './Section';
|
package/dist/cjs/types/index.js
CHANGED
|
@@ -10,7 +10,6 @@ _exportStar(require("./INormalizeOptionsLength"), exports);
|
|
|
10
10
|
_exportStar(require("./IWriteFileFromLinesArgs"), exports);
|
|
11
11
|
_exportStar(require("./IWriteToArchive"), exports);
|
|
12
12
|
_exportStar(require("./MaintainerScript"), exports);
|
|
13
|
-
_exportStar(require("./Priority"), exports);
|
|
14
13
|
_exportStar(require("./Section"), exports);
|
|
15
14
|
function _exportStar(from, to) {
|
|
16
15
|
Object.keys(from).forEach(function(k) {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MaintainerScript } from './MaintainerScript';
|
|
2
|
-
import { Priority } from './Priority';
|
|
3
2
|
import { Section } from './Section';
|
|
4
3
|
/**
|
|
5
4
|
* The descriptions are mostly just shameless copies from the following docs:
|
|
@@ -91,7 +90,7 @@ export interface IControlFileOptions {
|
|
|
91
90
|
*
|
|
92
91
|
* {@link https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-priority}
|
|
93
92
|
*/
|
|
94
|
-
priority?:
|
|
93
|
+
priority?: 'required' | 'important' | 'standard' | 'optional';
|
|
95
94
|
/**
|
|
96
95
|
* {@link https://www.debian.org/doc/debian-policy/ch-relationships.html}
|
|
97
96
|
*/
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
export * from './
|
|
1
|
+
export * from './IAddTarEntriesParams';
|
|
2
|
+
export * from './IControlFileOptions';
|
|
3
|
+
export * from './IDeboa';
|
|
4
|
+
export * from './IDeboaFromFile';
|
|
5
|
+
export * from './INormalizeOptionsLength';
|
|
6
|
+
export * from './IWriteFileFromLinesArgs';
|
|
7
|
+
export * from './IWriteToArchive';
|
|
8
|
+
export * from './MaintainerScript';
|
|
9
|
+
export * from './Section';
|
package/dist/esm/types/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare type Priority = 'required' | 'important' | 'standard' | 'optional';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './IAddTarEntriesParams';
|
|
2
|
-
export * from './IControlFileOptions';
|
|
3
|
-
export * from './IDeboa';
|
|
4
|
-
export * from './IDeboaFromFile';
|
|
5
|
-
export * from './INormalizeOptionsLength';
|
|
6
|
-
export * from './IWriteFileFromLinesArgs';
|
|
7
|
-
export * from './IWriteToArchive';
|
|
8
|
-
export * from './MaintainerScript';
|
|
9
|
-
export * from './Priority';
|
|
10
|
-
export * from './Section';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare type Priority = 'required' | 'important' | 'standard' | 'optional';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './IAddTarEntriesParams';
|
|
2
|
-
export * from './IControlFileOptions';
|
|
3
|
-
export * from './IDeboa';
|
|
4
|
-
export * from './IDeboaFromFile';
|
|
5
|
-
export * from './INormalizeOptionsLength';
|
|
6
|
-
export * from './IWriteFileFromLinesArgs';
|
|
7
|
-
export * from './IWriteToArchive';
|
|
8
|
-
export * from './MaintainerScript';
|
|
9
|
-
export * from './Priority';
|
|
10
|
-
export * from './Section';
|