pagan-artifact 0.3.4 → 0.3.5

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/bin/art.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Artifact - Modern version control.
5
5
  * @author Benny Schmidt (https://github.com/bennyschmidt)
6
6
  * @project https://github.com/bennyschmidt/artifact
7
- * CLI (v0.3.4)
7
+ * CLI (v0.3.5)
8
8
  */
9
9
 
10
10
  const artifact = require('../index.js');
@@ -2,7 +2,7 @@
2
2
  * Artifact - Modern version control.
3
3
  * @author Benny Schmidt (https://github.com/bennyschmidt)
4
4
  * @project https://github.com/bennyschmidt/artifact
5
- * Module: Branching (v0.3.4)
5
+ * Module: Branching (v0.3.5)
6
6
  */
7
7
 
8
8
  const fs = require('fs');
@@ -453,7 +453,7 @@ function merge (targetBranch) {
453
453
  }
454
454
 
455
455
  module.exports = {
456
- __libraryVersion: '0.3.4',
456
+ __libraryVersion: '0.3.5',
457
457
  __libraryAPIName: 'Branching',
458
458
  branch,
459
459
  checkout,
package/caches/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * Artifact - Modern version control.
3
3
  * @author Benny Schmidt (https://github.com/bennyschmidt)
4
4
  * @project https://github.com/bennyschmidt/artifact
5
- * Module: Caches (v0.3.4)
5
+ * Module: Caches (v0.3.5)
6
6
  */
7
7
 
8
8
  const fs = require('fs');
@@ -441,7 +441,7 @@ function rm (filePath) {
441
441
  }
442
442
 
443
443
  module.exports = {
444
- __libraryVersion: '0.3.4',
444
+ __libraryVersion: '0.3.5',
445
445
  __libraryAPIName: 'Caches',
446
446
  stash,
447
447
  reset,
package/changes/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * Artifact - Modern version control.
3
3
  * @author Benny Schmidt (https://github.com/bennyschmidt)
4
4
  * @project https://github.com/bennyschmidt/artifact
5
- * Module: Changes (v0.3.4)
5
+ * Module: Changes (v0.3.5)
6
6
  */
7
7
 
8
8
  const fs = require('fs');
@@ -200,7 +200,7 @@ function diff () {
200
200
  }
201
201
 
202
202
  module.exports = {
203
- __libraryVersion: '0.3.4',
203
+ __libraryVersion: '0.3.5',
204
204
  __libraryAPIName: 'Changes',
205
205
  log,
206
206
  diff
@@ -2,7 +2,7 @@
2
2
  * Artifact - Modern version control.
3
3
  * @author Benny Schmidt (https://github.com/bennyschmidt)
4
4
  * @project https://github.com/bennyschmidt/artifact
5
- * Module: Contributions (v0.3.4)
5
+ * Module: Contributions (v0.3.5)
6
6
  */
7
7
 
8
8
  const fs = require('fs');
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * art - Modern version control.
3
- * Core Library Entry Point (v0.3.4)
3
+ * Core Library Entry Point (v0.3.5)
4
4
  */
5
5
 
6
6
  const Setup = require('./setup');
@@ -50,7 +50,7 @@ const art = {
50
50
 
51
51
  // Metadata
52
52
 
53
- version: '0.3.4',
53
+ version: '0.3.5',
54
54
  modules: [
55
55
  Setup.__libraryAPIName,
56
56
  Workflow.__libraryAPIName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pagan-artifact",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Modern version control.",
5
5
  "main": "index.js",
6
6
  "bin": {
package/setup/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * Artifact - Modern version control.
3
3
  * @author Benny Schmidt (https://github.com/bennyschmidt)
4
4
  * @project https://github.com/bennyschmidt/artifact
5
- * Module: Setup (v0.3.4)
5
+ * Module: Setup (v0.3.5)
6
6
  */
7
7
 
8
8
  const fs = require('fs');
@@ -10,7 +10,7 @@ const path = require('path');
10
10
 
11
11
  const pkg = require('../package.json');
12
12
  const shouldIgnore = require('../utils/shouldIgnore');
13
- const { MAX_PART_CHARS } = require('../utils/constants');
13
+ const { MAX_PART_SIZE } = require('../utils/constants');
14
14
 
15
15
  const ARTIFACT_HOST = pkg.artConfig.host || 'http://localhost:1337';
16
16
 
@@ -111,7 +111,7 @@ function init (directoryPath = process.cwd()) {
111
111
  if (fs.lstatSync(fullPath).isFile()) {
112
112
  const content = fs.readFileSync(fullPath, 'utf8');
113
113
 
114
- if (currentPartChars + content.length > MAX_PART_CHARS && currentPartFiles.length > 0) {
114
+ if (currentPartChars + content.length > MAX_PART_SIZE && currentPartFiles.length > 0) {
115
115
  saveManifestPart();
116
116
  }
117
117
 
@@ -344,7 +344,7 @@ async function clone (repoSlug, providedToken = null) {
344
344
  repo,
345
345
  branch: 'main',
346
346
  partName,
347
-
347
+
348
348
  ...(token && { personalAccessToken: token })
349
349
  })
350
350
  }
@@ -2,7 +2,7 @@
2
2
  * Artifact - Modern version control.
3
3
  * @author Benny Schmidt (https://github.com/bennyschmidt)
4
4
  * @project https://github.com/bennyschmidt/artifact
5
- * Module: Utils / getStateByHash (v0.3.4)
5
+ * Module: Utils / getStateByHash (v0.3.5)
6
6
  */
7
7
 
8
8
  const fs = require('fs');
@@ -2,7 +2,7 @@
2
2
  * Artifact - Modern version control.
3
3
  * @author Benny Schmidt (https://github.com/bennyschmidt)
4
4
  * @project https://github.com/bennyschmidt/artifact
5
- * Module: Utility / shouldIgnore (v0.3.4)
5
+ * Module: Utility / shouldIgnore (v0.3.5)
6
6
  */
7
7
 
8
8
  const fs = require('fs');
package/workflow/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * Artifact - Modern version control.
3
3
  * @author Benny Schmidt (https://github.com/bennyschmidt)
4
4
  * @project https://github.com/bennyschmidt/artifact
5
- * Module: Workflow (v0.3.4)
5
+ * Module: Workflow (v0.3.5)
6
6
  */
7
7
 
8
8
  const fs = require('fs');
@@ -426,7 +426,7 @@ function commit (message) {
426
426
  }
427
427
 
428
428
  module.exports = {
429
- __libraryVersion: '0.3.4',
429
+ __libraryVersion: '0.3.5',
430
430
  __libraryAPIName: 'Workflow',
431
431
  status,
432
432
  add,