pagan-artifact 0.3.1 → 0.3.2

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * art - Modern version control.
5
- * CLI (v0.3.1)
5
+ * CLI (v0.3.2)
6
6
  */
7
7
 
8
8
  const art = require('../index.js');
@@ -151,6 +151,8 @@ async function run() {
151
151
  case 'push':
152
152
  console.log(await art.push());
153
153
 
154
+ await art.fetch()
155
+
154
156
  break;
155
157
 
156
158
  case 'log':
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * art - Modern version control.
3
- * Module: Branching (v0.3.1)
3
+ * Module: Branching (v0.3.2)
4
4
  */
5
5
 
6
6
  const fs = require('fs');
@@ -297,7 +297,7 @@ function checkout (branchName, { force = false } = {}) {
297
297
  }
298
298
 
299
299
  module.exports = {
300
- __libraryVersion: '0.3.1',
300
+ __libraryVersion: '0.3.2',
301
301
  __libraryAPIName: 'Branching',
302
302
  branch,
303
303
  checkout,
package/caches/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * art - Modern version control.
3
- * Module: Caches (v0.3.1)
3
+ * Module: Caches (v0.3.2)
4
4
  */
5
5
 
6
6
  const fs = require('fs');
@@ -261,7 +261,7 @@ function rm (filePath) {
261
261
  }
262
262
 
263
263
  module.exports = {
264
- __libraryVersion: '0.3.1',
264
+ __libraryVersion: '0.3.2',
265
265
  __libraryAPIName: 'Caches',
266
266
  stash,
267
267
  reset,
package/changes/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * art - Modern version control.
3
- * Module: Changes (v0.3.1)
3
+ * Module: Changes (v0.3.2)
4
4
  */
5
5
 
6
6
  const fs = require('fs');
@@ -136,7 +136,7 @@ function diff () {
136
136
  }
137
137
 
138
138
  module.exports = {
139
- __libraryVersion: '0.3.1',
139
+ __libraryVersion: '0.3.2',
140
140
  __libraryAPIName: 'Changes',
141
141
  log,
142
142
  diff
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * art - Modern version control.
3
- * Module: Contributions (v0.3.1)
3
+ * Module: Contributions (v0.3.2)
4
4
  */
5
5
 
6
6
  const fs = require('fs');
@@ -245,11 +245,14 @@ async function push () {
245
245
  headers: { 'Content-Type': 'application/json' },
246
246
  body: JSON.stringify({
247
247
  handle, repo, branch, partName, partData,
248
+
248
249
  ...(token && { personalAccessToken: token })
249
250
  })
250
251
  });
251
252
 
252
- if (!partRes.ok) throw new Error(`Server failed to receive part ${partName}`);
253
+ if (!partRes.ok) {
254
+ throw new Error(`Server failed to receive part ${partName}`);
255
+ }
253
256
  }
254
257
 
255
258
  currentRemoteManifest.commits.push(commitHash);
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * art - Modern version control.
3
- * Core Library Entry Point (v0.3.1)
3
+ * Core Library Entry Point (v0.3.2)
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.1',
53
+ version: '0.3.2',
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.1",
3
+ "version": "0.3.2",
4
4
  "description": "Modern version control.",
5
5
  "main": "index.js",
6
6
  "bin": {
package/setup/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * art - Modern version control.
3
- * Module: Setup (v0.3.1)
3
+ * Module: Setup (v0.3.2)
4
4
  */
5
5
 
6
6
  const fs = require('fs');
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * art - Modern version control.
3
- * Module: Utils (v0.3.1)
3
+ * Module: Utils (v0.3.2)
4
4
  */
5
5
 
6
6
  const fs = require('fs');
package/workflow/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * art - Modern version control.
3
- * Module: Workflow (v0.3.1)
3
+ * Module: Workflow (v0.3.2)
4
4
  */
5
5
 
6
6
  const fs = require('fs');
@@ -302,7 +302,7 @@ function commit (message) {
302
302
  }
303
303
 
304
304
  module.exports = {
305
- __libraryVersion: '0.3.1',
305
+ __libraryVersion: '0.3.2',
306
306
  __libraryAPIName: 'Workflow',
307
307
  status,
308
308
  add,