aberlaas-setup 2.13.0 → 2.14.1

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/lib/circleci.js CHANGED
@@ -17,7 +17,7 @@ export default {
17
17
  // Fail early if no token available
18
18
  if (!circleCiHelper.hasToken()) {
19
19
  this.__consoleError(
20
- `[circleci]: No CIRCLECI_TOKEN found, please visit ${followUrl} to enable manually.`,
20
+ `[circleci]: No ABERLAAS_CIRCLECI_TOKEN found, please visit ${followUrl} to enable manually.`,
21
21
  );
22
22
  return false;
23
23
  }
package/lib/github.js CHANGED
@@ -16,7 +16,7 @@ export default {
16
16
  // Fail early if no token available
17
17
  if (!githubHelper.hasToken()) {
18
18
  this.__consoleError(
19
- `[github]: No GITHUB_TOKEN found, please visit ${manualUrl} to configure manually.`,
19
+ `[github]: No ABERLAAS_GITHUB_TOKEN found, please visit ${manualUrl} to configure manually.`,
20
20
  );
21
21
  return false;
22
22
  }
@@ -7,7 +7,7 @@ export default {
7
7
  * @returns {string} The CircleCI token
8
8
  */
9
9
  token() {
10
- return process.env.CIRCLECI_TOKEN;
10
+ return process.env.ABERLAAS_CIRCLECI_TOKEN;
11
11
  },
12
12
  /**
13
13
  * Check if a CircleCI token is available
@@ -35,7 +35,7 @@ export default {
35
35
  } catch (_error) {
36
36
  throw firostError(
37
37
  'ERROR_CIRCLECI',
38
- "Can't connect to CircleCI API. Check that you have a valid CIRCLECI_TOKEN",
38
+ "Can't connect to CircleCI API. Check that you have a valid ABERLAAS_CIRCLECI_TOKEN",
39
39
  );
40
40
  }
41
41
  },
@@ -9,7 +9,7 @@ export default {
9
9
  * @returns {string} The GitHub token
10
10
  */
11
11
  token() {
12
- return process.env.GITHUB_TOKEN;
12
+ return process.env.ABERLAAS_GITHUB_TOKEN;
13
13
  },
14
14
  /**
15
15
  * Check if a GitHub token is available
@@ -4,7 +4,7 @@ export default {
4
4
  * @returns {string} The npm token
5
5
  */
6
6
  token() {
7
- return process.env.NPM_TOKEN;
7
+ return process.env.ABERLAAS_NPM_TOKEN;
8
8
  },
9
9
  /**
10
10
  * Check if a npm token is available
@@ -1,4 +1,4 @@
1
- import path from 'path';
1
+ import path from 'node:path';
2
2
  import { _ } from 'golgoth';
3
3
  import { exists, mkdirp, read, run, which } from 'firost';
4
4
  import helper from 'aberlaas-helper';
package/lib/renovate.js CHANGED
@@ -28,7 +28,7 @@ export default {
28
28
  // Fail early if no token available
29
29
  if (!githubHelper.hasToken()) {
30
30
  this.__consoleError(
31
- `[renovate]: No GITHUB_TOKEN found, please visit ${manualUrl} to enable manually.`,
31
+ `[renovate]: No ABERLAAS_GITHUB_TOKEN found, please visit ${manualUrl} to enable manually.`,
32
32
  );
33
33
  return false;
34
34
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "aberlaas-setup",
3
3
  "type": "module",
4
4
  "description": "aberlaas setup helper: Setup third parties like GitHub, Netlify or CircleCI",
5
- "version": "2.13.0",
5
+ "version": "2.14.1",
6
6
  "repository": "pixelastic/aberlaas",
7
7
  "homepage": "https://projects.pixelastic.com/aberlaas/",
8
8
  "author": "Tim Carry (@pixelastic)",
@@ -25,7 +25,7 @@
25
25
  "serve": "../../scripts/local/serve",
26
26
  "ci": "../../scripts/local/ci",
27
27
  "release": "../../scripts/local/release",
28
- "update": "node ../../scripts/meta/update.js",
28
+ "update-dependencies": "node ../../scripts/meta/update-dependencies.js",
29
29
  "test:meta": "../../scripts/local/test-meta",
30
30
  "test": "../../scripts/local/test",
31
31
  "test:watch": "../../scripts/local/test-watch",
@@ -35,10 +35,10 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@octokit/rest": "21.0.2",
38
- "aberlaas-helper": "^2.13.0",
39
- "firost": "4.8.0",
40
- "golgoth": "2.4.0",
38
+ "aberlaas-helper": "^2.14.1",
39
+ "firost": "5.1.0",
40
+ "golgoth": "3.0.0",
41
41
  "parse-github-repo-url": "1.4.1"
42
42
  },
43
- "gitHead": "a8a1ee486fa1faeac6b7a524e7a6e41d5503dbc0"
43
+ "gitHead": "9d3129416837258f78a26173327ec33c3b3d2b8f"
44
44
  }