@bitblit/ratchet-node-only 4.0.1-alpha

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.
@@ -0,0 +1,26 @@
1
+ export declare class GitRatchet {
2
+ private static readonly SPLIT_CHARACTER;
3
+ private static readonly PRETTY_FORMAT;
4
+ static executeCommand(command: string, options: any): Promise<string>;
5
+ private static getCommandString;
6
+ static getLastCommitSwallowException(options?: any): Promise<GitCommitData>;
7
+ static getLastCommit(options?: any): Promise<GitCommitData>;
8
+ }
9
+ export interface GitCommitData {
10
+ shortHash: string;
11
+ hash: string;
12
+ subject: string;
13
+ sanitizedSubject: string;
14
+ body: string;
15
+ authoredOn: string;
16
+ committedOn: string;
17
+ author: GitCommitDataPerson;
18
+ committer: GitCommitDataPerson;
19
+ notes: string;
20
+ branch: string;
21
+ tags: string[];
22
+ }
23
+ export interface GitCommitDataPerson {
24
+ name: string;
25
+ email: string;
26
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare class PublishCiReleaseToSlack {
2
+ static process(slackHookUrl: string, timezone?: string): Promise<string>;
3
+ static extractHookUrl(): string;
4
+ static runFromCliArgs(args: string[]): Promise<string>;
5
+ }
package/package.json ADDED
@@ -0,0 +1,83 @@
1
+ {
2
+ "name": "@bitblit/ratchet-node-only",
3
+ "version": "4.0.1-alpha",
4
+ "description": "Ratchet tools for use on node-only",
5
+ "note-on-side-effects": "Technically the entries in 'bin' below might be side effects, but they are called explicitly",
6
+ "sideEffects": false,
7
+ "bin": {
8
+ "ratchet-cli": "./bin/cli.js"
9
+ },
10
+ "type": "module",
11
+ "files": [
12
+ "lib/*",
13
+ "bin/*"
14
+ ],
15
+ "exports": {
16
+ ".": {
17
+ "types": "./lib/index.d.ts",
18
+ "import": "./lib/index.mjs"
19
+ }
20
+ },
21
+ "contributors": [
22
+ "Christopher Weiss <bitblit@gmail.com>",
23
+ "William Weiss <npm@codification.org>",
24
+ "Austin Grantham <agrantham@algidious.com>",
25
+ "Lucas Myers <veganbeef@protonmail.com>",
26
+ "Joel Flint <joel@stimulimedia.net>",
27
+ "Bilal Shahid <bshahid@adomni.com>"
28
+ ],
29
+ "husky": {
30
+ "hooks": {
31
+ "pre-commit": "pretty-quick --staged"
32
+ }
33
+ },
34
+ "prettier": {
35
+ "printWidth": 140,
36
+ "singleQuote": true,
37
+ "arrowParens": "always"
38
+ },
39
+ "config": {},
40
+ "scripts": {
41
+ "watch": "tsc-watch",
42
+ "clean": "shx rm -Rf lib",
43
+ "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
44
+ "docs": "typedoc",
45
+ "lint": "eslint src/**/*.ts",
46
+ "lint-fix": "eslint --fix src/**/*.ts",
47
+ "generate-barrels": "barrelsby -q --delete -d src -e .*\\.spec\\.ts && sed -i 's/\\x27;/.js\\x27;/' src/index.ts",
48
+ "build": "yarn clean && yarn generate-barrels && rollup -c rollup.config.js",
49
+ "force-build": "tsc --build --force"
50
+ },
51
+ "repository": {
52
+ "type": "git",
53
+ "url": "https://github.com/bitblit/Ratchet"
54
+ },
55
+ "keywords": [
56
+ "wrench",
57
+ "utility"
58
+ ],
59
+ "bugs": {
60
+ "url": "https://github.com/bitblit/Ratchet/issues"
61
+ },
62
+ "homepage": "https://github.com/bitblit/Ratchet#readme",
63
+ "engines": {
64
+ "node": ">=14.18"
65
+ },
66
+ "license": "Apache-2.0",
67
+ "dependencies": {
68
+ "@bitblit/ratchet-common": "4.0.1-alpha",
69
+ "csv": "6.3.0",
70
+ "rxjs": "7.8.1"
71
+ },
72
+ "peerDependencies": {
73
+ },
74
+ "peerDependenciesMeta": {
75
+ "csv": {
76
+ "optional": true
77
+ },
78
+ "rxjs": {
79
+ "optional": true
80
+ }
81
+ },
82
+ "devDependencies": {}
83
+ }