@dword-design/base 15.3.6 → 15.4.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.
@@ -45,7 +45,7 @@ export default function () {
45
45
  }),
46
46
  author: "Sebastian Landwehr <info@sebastianlandwehr.com>",
47
47
  engines: {
48
- node: `>=${this.config.minNodeVersion || this.config.supportedNodeVersions[0]}`
48
+ node: `>=${this.config.minNodeVersion ?? this.config.supportedNodeVersions[0]}${this.config.maxNodeVersion === null ? "" : `<${this.config.maxNodeVersion}`}`
49
49
  },
50
50
  files: ["dist"],
51
51
  license: "MIT",
package/dist/index.d.ts CHANGED
@@ -32,7 +32,8 @@ type Config = {
32
32
  lint: (options?: PartialCommandOptions) => unknown;
33
33
  typecheck: (options?: PartialCommandOptions) => unknown;
34
34
  macos: boolean;
35
- minNodeVersion: number;
35
+ minNodeVersion: number | null;
36
+ maxNodeVersion: number | null;
36
37
  nodeVersion: number;
37
38
  preDeploySteps: string[];
38
39
  prepare: (options?: PartialCommandOptions) => unknown;
package/dist/index.js CHANGED
@@ -184,6 +184,7 @@ class Base {
184
184
  lint: () => {},
185
185
  lintStagedConfig: {},
186
186
  macos: true,
187
+ maxNodeVersion: null,
187
188
  minNodeVersion: null,
188
189
  nodeVersion: 20,
189
190
  packageConfig: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "15.3.6",
3
+ "version": "15.4.0",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",