@mrpelz/boilerplate-common 13.0.3 → 13.2.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/eslint.config.js CHANGED
@@ -1,5 +1,4 @@
1
- // @ts-ignore
2
- import stylisticTs from '@stylistic/eslint-plugin-ts';
1
+ import stylisticTs from '@stylistic/eslint-plugin';
3
2
  import typescriptPlugin from '@typescript-eslint/eslint-plugin';
4
3
  // @ts-ignore
5
4
  import typescriptParser from '@typescript-eslint/parser';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrpelz/boilerplate-common",
3
- "version": "13.0.3",
3
+ "version": "13.2.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/mrpelz/boilerplate.git",
@@ -39,7 +39,7 @@
39
39
  "@commitlint/config-conventional": "latest",
40
40
  "@commitlint/types": "latest",
41
41
  "@jest/globals": "latest",
42
- "@stylistic/eslint-plugin-ts": "latest",
42
+ "@stylistic/eslint-plugin": "latest",
43
43
  "@types/eslint": "latest",
44
44
  "@typescript-eslint/eslint-plugin": "latest",
45
45
  "@typescript-eslint/parser": "latest",
@@ -25,9 +25,18 @@ import {
25
25
  } = process.env;
26
26
  if (!projectUrl || !tagMessage || !version) return;
27
27
 
28
- const containersFile = await readFile('containers.txt', {
29
- encoding: 'utf8',
30
- });
28
+ const containersFile = await (() => {
29
+ try {
30
+ return readFile('containers.txt', {
31
+ encoding: 'utf8',
32
+ });
33
+ } catch {
34
+ return undefined;
35
+ }
36
+ })();
37
+
38
+ if (!containersFile) return;
39
+
31
40
  const containerSpecs = containersFile.trim().split('\n');
32
41
 
33
42
  console.info({