@dword-design/base 10.0.2 → 10.0.3

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.
@@ -1,3 +1,4 @@
1
+ import keys from "@dword-design/functions/dist/keys.js";
1
2
  import mapValues from "@dword-design/functions/dist/map-values.js";
2
3
  import pick from "@dword-design/functions/dist/pick.js";
3
4
  import stubTrue from "@dword-design/functions/dist/stub-true.js";
@@ -5,7 +6,7 @@ import packageName from 'depcheck-package-name';
5
6
  import fs from 'fs-extra';
6
7
  import sortKeys from 'sort-keys';
7
8
  export default function () {
8
- var _this$config$commands, _this$packageConfig, _ref, _commandNames;
9
+ var _this$config$commands, _this$packageConfig, _baseConfig$bin$depen, _ref, _commandNames;
9
10
  const commandNames = {
10
11
  checkUnknownFiles: true,
11
12
  commit: true,
@@ -20,7 +21,22 @@ export default function () {
20
21
  };
21
22
  return {
22
23
  type: 'module',
23
- ...(_this$packageConfig = this.packageConfig, pick(['name', 'private', 'deploy', 'description', 'baseConfig', 'bin', 'keywords', 'dependencies', 'devDependencies', 'peerDependencies', 'publishConfig', 'type', 'types'])(_this$packageConfig)),
24
+ ...(_this$packageConfig = this.packageConfig, pick((_baseConfig$bin$depen = {
25
+ baseConfig: true,
26
+ bin: true,
27
+ dependencies: true,
28
+ deploy: true,
29
+ description: true,
30
+ devDependencies: true,
31
+ keywords: true,
32
+ name: true,
33
+ peerDependencies: true,
34
+ private: true,
35
+ publishConfig: true,
36
+ resolutions: true,
37
+ type: true,
38
+ types: true
39
+ }, keys(_baseConfig$bin$depen)))(_this$packageConfig)),
24
40
  funding: 'https://github.com/sponsors/dword-design',
25
41
  publishConfig: {
26
42
  access: 'public'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "10.0.2",
3
+ "version": "10.0.3",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",