@dword-design/base 14.0.7 → 14.1.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/dist/index.d.ts CHANGED
@@ -22,12 +22,12 @@ type Config = {
22
22
  git?: GitHost;
23
23
  gitignore: string[];
24
24
  hasTypescriptConfigRootAlias: boolean;
25
- lint: (optionsInput?: CommandOptionsInput) => void;
25
+ lint: (optionsInput?: CommandOptionsInput) => unknown;
26
26
  macos: boolean;
27
27
  minNodeVersion: number;
28
28
  nodeVersion: number;
29
29
  preDeploySteps: string[];
30
- prepare: (optionsInput?: CommandOptionsInput) => void;
30
+ prepare: (optionsInput?: CommandOptionsInput) => unknown;
31
31
  readmeInstallString: string;
32
32
  seeAlso: Array<{
33
33
  description: string;
@@ -49,6 +49,7 @@ type ConfigObjectInput = Omit<Partial<Config>, 'commands'> & {
49
49
  };
50
50
  type ConfigObjectOrFunctionInput = ConfigObjectInput | ((this: Base, Config: any) => ConfigObjectInput);
51
51
  type ConfigInput = ConfigObjectOrFunctionInput | string | null;
52
+ export declare const defineBaseConfig: (configInput: ConfigInput) => ConfigInput;
52
53
  declare class Base {
53
54
  config: Config;
54
55
  packageConfig: PackageJson;
package/dist/index.js CHANGED
@@ -39,6 +39,7 @@ import getTypescriptConfig from "./get-generated-files/get-typescript/index.js";
39
39
  import getVscodeConfig from "./get-generated-files/get-vscode/index.js";
40
40
  import githubCodespacesConfig from "./get-generated-files/github-codespaces.js";
41
41
  import getGitInfo from "./get-git-info/index.js";
42
+ export const defineBaseConfig = configInput => configInput;
42
43
  const mergeConfigs = createDefu((obj, key, value) => {
43
44
  if (key === "supportedNodeVersions") {
44
45
  obj[key] = value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "14.0.7",
3
+ "version": "14.1.0",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",