create-pkgbld 1.7.0 → 1.7.2

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.cjs CHANGED
@@ -50,6 +50,7 @@ function CommaSeparatedStringOrBoolean(value) {
50
50
  if (typeof value === 'boolean') {
51
51
  return value;
52
52
  }
53
+ // TODO check how we get array here
53
54
  if (Array.isArray(value) && value.length === 0) {
54
55
  return true;
55
56
  }
@@ -171,10 +172,12 @@ const packageJsonFieldsOrder = new Set([
171
172
  'browser',
172
173
  'unpkg',
173
174
  'module',
175
+ 'svelte',
174
176
  'exports',
175
177
  'imports',
176
178
  'types',
177
179
  'typings',
180
+ 'typesVersions',
178
181
  'files',
179
182
  'packageManager',
180
183
  'sideEffects',
package/dist/index.mjs CHANGED
@@ -47,6 +47,7 @@ function CommaSeparatedStringOrBoolean(value) {
47
47
  if (typeof value === 'boolean') {
48
48
  return value;
49
49
  }
50
+ // TODO check how we get array here
50
51
  if (Array.isArray(value) && value.length === 0) {
51
52
  return true;
52
53
  }
@@ -168,10 +169,12 @@ const packageJsonFieldsOrder = new Set([
168
169
  'browser',
169
170
  'unpkg',
170
171
  'module',
172
+ 'svelte',
171
173
  'exports',
172
174
  'imports',
173
175
  'types',
174
176
  'typings',
177
+ 'typesVersions',
175
178
  'files',
176
179
  'packageManager',
177
180
  'sideEffects',
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.7.0",
2
+ "version": "1.7.2",
3
3
  "name": "create-pkgbld",
4
4
  "license": "MIT",
5
5
  "author": "Konstantin Shutkin",
@@ -8,6 +8,8 @@
8
8
  "module": "./dist/index.mjs",
9
9
  "exports": {
10
10
  ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.mjs",
11
13
  "require": "./dist/index.cjs",
12
14
  "default": "./dist/index.mjs"
13
15
  },
@@ -41,18 +43,5 @@
41
43
  "prompts": "2.4.2",
42
44
  "kleur": "4.1.5",
43
45
  "lodash": "4.17.21"
44
- },
45
- "devDependencies": {
46
- "@types/git-user-name": "2.0.1",
47
- "@types/parse-git-config": "3.0.2",
48
- "@types/prompts": "2.4.5",
49
- "@types/lodash": "4.14.199",
50
- "@total-typescript/ts-reset": "0.5.1",
51
- "pkgbld": "1.22.0",
52
- "options": "0.0.1"
53
- },
54
- "scripts": {
55
- "build": "node ../pkgbld/dist/index.js --include-externals=options",
56
- "lint": "eslint ./src"
57
46
  }
58
47
  }