@dword-design/base 13.0.3 → 13.0.4

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.
@@ -19,8 +19,7 @@ export default async function () {
19
19
  'eslint.config.ts': true,
20
20
  fixtures: true,
21
21
  'pnpm-lock.yaml': true,
22
- 'pnpm-workspace.yaml': true,
23
- 'types.d.ts': true
22
+ 'pnpm-workspace.yaml': true
24
23
  }), ...Object.keys({
25
24
  '**/*-snapshots/**': true,
26
25
  // For some reason without the trailing ** didn't work
@@ -1,6 +1,4 @@
1
- import pathLib from 'node:path';
2
1
  import packageName from 'depcheck-package-name';
3
- import fs from 'fs-extra';
4
2
  import { mapValues, pick, stubTrue } from 'lodash-es';
5
3
  import sortKeys from 'sort-keys';
6
4
  export default function () {
@@ -49,7 +47,7 @@ export default function () {
49
47
  engines: {
50
48
  node: `>=${this.config.minNodeVersion || this.config.supportedNodeVersions[0]}`
51
49
  },
52
- files: ['dist', ...(fs.existsSync(pathLib.join(this.cwd, 'types.d.ts')) ? ['types.d.ts'] : [])],
50
+ files: ['dist'],
53
51
  license: 'MIT',
54
52
  ...this.config.packageConfig,
55
53
  scripts: sortKeys(mapValues(commandNames, (handler, name) => this.packageConfig.name === '@dword-design/base' ? `${packageName`tsx`} src/cli.ts ${name}` : `base ${name}`))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "13.0.3",
3
+ "version": "13.0.4",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",