@digipair/skill-git 0.138.2 → 0.139.0
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/dist/index.cjs.js +4 -2
- package/dist/index.esm.js +4 -2
- package/dist/schema.fr.json +9 -0
- package/dist/schema.json +9 -0
- package/dist/src/lib/skill-git.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -5,8 +5,10 @@ var simpleGit = require('simple-git');
|
|
|
5
5
|
let GitService = class GitService {
|
|
6
6
|
async commit(params, _pinsSettingsList, context) {
|
|
7
7
|
const now = new Date();
|
|
8
|
-
const { path = context.privates.GIT_PATH || '.', selector = '*', message = `${now.getUTCFullYear()}-${(now.getUTCMonth() + 1).toString().padStart(2, '0')}-${now.getUTCDate().toString().padStart(2, '0')}-${now.getUTCHours().toString().padStart(2, '0')}:${now.getUTCMinutes().toString().padStart(2, '0')}:${now.getUTCSeconds().toString().padStart(2, '0')}:${now.getUTCMilliseconds().toString().padStart(3, '0')}
|
|
9
|
-
return await simpleGit.simpleGit(path).add(selector).commit(message
|
|
8
|
+
const { path = context.privates.GIT_PATH || '.', selector = '*', message = `${now.getUTCFullYear()}-${(now.getUTCMonth() + 1).toString().padStart(2, '0')}-${now.getUTCDate().toString().padStart(2, '0')}-${now.getUTCHours().toString().padStart(2, '0')}:${now.getUTCMinutes().toString().padStart(2, '0')}:${now.getUTCSeconds().toString().padStart(2, '0')}:${now.getUTCMilliseconds().toString().padStart(3, '0')}`, author = 'Unknown <unknown@digipair.ai>' } = params;
|
|
9
|
+
return await simpleGit.simpleGit(path).add(selector).commit(message, undefined, {
|
|
10
|
+
'--author': author
|
|
11
|
+
});
|
|
10
12
|
}
|
|
11
13
|
async push(params, _pinsSettingsList, context) {
|
|
12
14
|
const { path = context.privates.GIT_PATH || '.', options = [] } = params;
|
package/dist/index.esm.js
CHANGED
|
@@ -6888,8 +6888,10 @@ var simpleGit = gitInstanceFactory;
|
|
|
6888
6888
|
let GitService = class GitService {
|
|
6889
6889
|
async commit(params, _pinsSettingsList, context) {
|
|
6890
6890
|
const now = new Date();
|
|
6891
|
-
const { path = context.privates.GIT_PATH || '.', selector = '*', message = `${now.getUTCFullYear()}-${(now.getUTCMonth() + 1).toString().padStart(2, '0')}-${now.getUTCDate().toString().padStart(2, '0')}-${now.getUTCHours().toString().padStart(2, '0')}:${now.getUTCMinutes().toString().padStart(2, '0')}:${now.getUTCSeconds().toString().padStart(2, '0')}:${now.getUTCMilliseconds().toString().padStart(3, '0')}
|
|
6892
|
-
return await simpleGit(path).add(selector).commit(message
|
|
6891
|
+
const { path = context.privates.GIT_PATH || '.', selector = '*', message = `${now.getUTCFullYear()}-${(now.getUTCMonth() + 1).toString().padStart(2, '0')}-${now.getUTCDate().toString().padStart(2, '0')}-${now.getUTCHours().toString().padStart(2, '0')}:${now.getUTCMinutes().toString().padStart(2, '0')}:${now.getUTCSeconds().toString().padStart(2, '0')}:${now.getUTCMilliseconds().toString().padStart(3, '0')}`, author = 'Unknown <unknown@digipair.ai>' } = params;
|
|
6892
|
+
return await simpleGit(path).add(selector).commit(message, undefined, {
|
|
6893
|
+
'--author': author
|
|
6894
|
+
});
|
|
6893
6895
|
}
|
|
6894
6896
|
async push(params, _pinsSettingsList, context) {
|
|
6895
6897
|
const { path = context.privates.GIT_PATH || '.', options = [] } = params;
|
package/dist/schema.fr.json
CHANGED
package/dist/schema.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-git.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-git.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"skill-git.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-git.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAkEhD,eAAO,MAAM,MAAM,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,+CACtB,CAAC;AAE7D,eAAO,MAAM,IAAI,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,6CACtB,CAAC;AAE3D,eAAO,MAAM,IAAI,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACtB,CAAC;AAE3D,eAAO,MAAM,GAAG,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iDACtB,CAAC"}
|