@bitblit/ratchet-node-only 4.0.109-alpha → 4.0.111-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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import path from 'path';
|
|
2
2
|
import { FilesToStaticClass } from './files-to-static-class.js';
|
|
3
3
|
import { EsmRatchet } from '@bitblit/ratchet-common/lib/lang/esm-ratchet.js';
|
|
4
|
-
const testDirname = EsmRatchet.fetchDirName();
|
|
4
|
+
const testDirname = EsmRatchet.fetchDirName(import.meta.url);
|
|
5
5
|
describe('#filesToStaticClass', function () {
|
|
6
6
|
it('should convert files to a static class', async () => {
|
|
7
7
|
const out = await FilesToStaticClass.process([path.join(testDirname, 'files-to-static-class.ts'), path.join(testDirname, 'cli-ratchet.ts')], 'Test');
|
|
@@ -5,7 +5,7 @@ export class GitRatchet {
|
|
|
5
5
|
static SPLIT_CHARACTER = '<##>';
|
|
6
6
|
static PRETTY_FORMAT = ['%h', '%H', '%s', '%f', '%b', '%at', '%ct', '%an', '%ae', '%cn', '%ce', '%N', ''];
|
|
7
7
|
static async executeCommand(command, options) {
|
|
8
|
-
let dst = EsmRatchet.fetchDirName();
|
|
8
|
+
let dst = EsmRatchet.fetchDirName(import.meta.url);
|
|
9
9
|
if (!!options && !!options.dst) {
|
|
10
10
|
dst = options.dst;
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitblit/ratchet-node-only",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.111-alpha",
|
|
4
4
|
"description": "Ratchet tools for use on node-only",
|
|
5
5
|
"note-on-side-effects": "Technically the entries in 'bin' below might be side effects, but they are called explicitly",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
},
|
|
62
62
|
"license": "Apache-2.0",
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@bitblit/ratchet-common": "4.0.
|
|
65
|
-
"csv": "6.2.
|
|
66
|
-
"rxjs": "7.8.
|
|
64
|
+
"@bitblit/ratchet-common": "4.0.111-alpha",
|
|
65
|
+
"csv": "6.2.11",
|
|
66
|
+
"rxjs": "7.8.1"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"csv": "6.2.7",
|