packtory 0.0.3 → 0.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.
- package/bundler/bundler.d.ts.map +1 -1
- package/bundler/bundler.js +6 -3
- package/bundler/bundler.js.map +1 -1
- package/config/additional-files.d.ts +2 -2
- package/config/config.d.ts +52 -52
- package/config/package-json.d.ts +6 -0
- package/config/package-json.d.ts.map +1 -1
- package/config/package-json.js +3 -1
- package/config/package-json.js.map +1 -1
- package/dependency-scanner/scanner.d.ts.map +1 -1
- package/dependency-scanner/scanner.js +7 -1
- package/dependency-scanner/scanner.js.map +1 -1
- package/package.json +11 -11
package/bundler/bundler.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundler.d.ts","sourceRoot":"","sources":["../../../../source/bundler/bundler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAO1E,OAAO,EAAE,KAAK,kBAAkB,EAAgD,MAAM,2BAA2B,CAAC;AAClH,OAAO,KAAK,EAAE,iBAAiB,EAAqB,MAAM,yBAAyB,CAAC;AAIpF,MAAM,MAAM,mBAAmB,GAAG;IAC9B,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IAClB,KAAK,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;CAClE,CAAC;
|
|
1
|
+
{"version":3,"file":"bundler.d.ts","sourceRoot":"","sources":["../../../../source/bundler/bundler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAO1E,OAAO,EAAE,KAAK,kBAAkB,EAAgD,MAAM,2BAA2B,CAAC;AAClH,OAAO,KAAK,EAAE,iBAAiB,EAAqB,MAAM,yBAAyB,CAAC;AAIpF,MAAM,MAAM,mBAAmB,GAAG;IAC9B,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IAClB,KAAK,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;CAClE,CAAC;AAuFF,wBAAgB,aAAa,CAAC,YAAY,EAAE,QAAQ,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAoFlF"}
|
package/bundler/bundler.js
CHANGED
|
@@ -8,22 +8,25 @@ function containsBundleWithPackageName(bundles, name) {
|
|
|
8
8
|
return bundle.packageJson.name === name;
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
|
-
function distributeDependencies(packageDependencies, bundlePeerDependencies) {
|
|
11
|
+
function distributeDependencies(packageDependencies, bundlePeerDependencies, mainPackageJson) {
|
|
12
12
|
const dependencies = {};
|
|
13
13
|
const peerDependencies = {};
|
|
14
14
|
for (const [dependencyName, dependencyVersion] of Object.entries(packageDependencies)) {
|
|
15
15
|
if (containsBundleWithPackageName(bundlePeerDependencies, dependencyName)) {
|
|
16
16
|
peerDependencies[dependencyName] = dependencyVersion;
|
|
17
17
|
}
|
|
18
|
-
else {
|
|
18
|
+
else if (mainPackageJson.peerDependencies?.[dependencyName] === undefined) {
|
|
19
19
|
dependencies[dependencyName] = dependencyVersion;
|
|
20
20
|
}
|
|
21
|
+
else {
|
|
22
|
+
peerDependencies[dependencyName] = dependencyVersion;
|
|
23
|
+
}
|
|
21
24
|
}
|
|
22
25
|
return { dependencies, ...(Object.keys(peerDependencies).length > 0 ? { peerDependencies } : {}) };
|
|
23
26
|
}
|
|
24
27
|
function buildPackageJson(options, packageDependencies) {
|
|
25
28
|
const { name, version, sourcesFolder, mainPackageJson, entryPoints: [firstEntryPoint], additionalPackageJsonAttributes = {}, bundlePeerDependencies = [] } = options;
|
|
26
|
-
const distributedDependencies = distributeDependencies(packageDependencies, bundlePeerDependencies);
|
|
29
|
+
const distributedDependencies = distributeDependencies(packageDependencies, bundlePeerDependencies, mainPackageJson);
|
|
27
30
|
const types = firstEntryPoint.declarationFile === undefined
|
|
28
31
|
? undefined
|
|
29
32
|
: path.relative(sourcesFolder, firstEntryPoint.declarationFile);
|
package/bundler/bundler.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundler.js","sourceRoot":"","sources":["../../../../source/bundler/bundler.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAEH,oBAAoB,EAEvB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EAA6C,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAElH,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAUtD,SAAS,6BAA6B,CAAC,OAAqC,EAAE,IAAY;IACtF,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;QAC3B,OAAO,MAAM,CAAC,WAAW,CAAC,IAAI,KAAK,IAAI,CAAC;IAC5C,CAAC,CAAC,CAAC;AACP,CAAC;AAOD,SAAS,sBAAsB,CAC3B,mBAA2C,EAC3C,sBAAoD;
|
|
1
|
+
{"version":3,"file":"bundler.js","sourceRoot":"","sources":["../../../../source/bundler/bundler.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAEH,oBAAoB,EAEvB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EAA6C,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAElH,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAUtD,SAAS,6BAA6B,CAAC,OAAqC,EAAE,IAAY;IACtF,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;QAC3B,OAAO,MAAM,CAA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AAE,OAAO,CAAC,WAAW;gBAChC,aAAa,EAAE,OAAO,CAAC,aAAa;gBACpC,eAAe,EAAE,OAAO,CAAC,eAAe;gBACxC,qBAAqB;gBACrB,kBAAkB,EAAE,CAAC,GAAG,kBAAkB,EAAE,GAAG,sBAAsB,CAAC;aACzE,CAAC,CAAC;YAEH,MAAM,WAAW,GAAG,gBAAgB,CAAC,OAAO,EAAE,oBAAoB,CAAC,oBAAoB,CAAC,CAAC;YACzF,MAAM,QAAQ,GAAG,sBAAsB,CACnC,OAAO,CAAC,aAAa,EACrB,oBAAoB,CAAC,UAAU,EAC/B,WAAW,EACX,OAAO,CAAC,eAAe,CAC1B,CAAC;YAEF,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC;QACrC,CAAC;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type Schema } from '@effect/schema/Schema';
|
|
2
2
|
import { type NoExpand } from './base-validations.js';
|
|
3
3
|
declare const $additionalFileDescriptionSchema: Schema<{
|
|
4
|
-
readonly sourceFilePath: string;
|
|
5
4
|
readonly targetFilePath: string;
|
|
6
|
-
}, {
|
|
7
5
|
readonly sourceFilePath: string;
|
|
6
|
+
}, {
|
|
8
7
|
readonly targetFilePath: string;
|
|
8
|
+
readonly sourceFilePath: string;
|
|
9
9
|
}>;
|
|
10
10
|
export type AdditionalFileDescription = NoExpand<Schema.To<typeof $additionalFileDescriptionSchema>>;
|
|
11
11
|
export declare const additionalFileDescriptionSchema: Schema<AdditionalFileDescription>;
|
package/config/config.d.ts
CHANGED
|
@@ -3,15 +3,15 @@ import { type NoExpand } from './base-validations.js';
|
|
|
3
3
|
export declare const packtoryConfigSchema: Schema<{
|
|
4
4
|
readonly registrySettings: import("./registry-settings.js").RegistrySettings;
|
|
5
5
|
readonly packages: readonly [{
|
|
6
|
-
readonly sourcesFolder: string;
|
|
7
6
|
readonly mainPackageJson: import("./package-json.js").MainPackageJson;
|
|
7
|
+
readonly sourcesFolder: string;
|
|
8
8
|
readonly includeSourceMapFiles?: boolean;
|
|
9
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
10
9
|
readonly additionalPackageJsonAttributes?: {
|
|
11
10
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
12
11
|
};
|
|
13
|
-
readonly
|
|
12
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
14
13
|
readonly name: string;
|
|
14
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
15
15
|
readonly bundleDependencies?: readonly string[];
|
|
16
16
|
readonly bundlePeerDependencies?: readonly string[];
|
|
17
17
|
readonly versioning?: ({
|
|
@@ -26,15 +26,15 @@ export declare const packtoryConfigSchema: Schema<{
|
|
|
26
26
|
readonly _?: never;
|
|
27
27
|
});
|
|
28
28
|
}, ...{
|
|
29
|
-
readonly sourcesFolder: string;
|
|
30
29
|
readonly mainPackageJson: import("./package-json.js").MainPackageJson;
|
|
30
|
+
readonly sourcesFolder: string;
|
|
31
31
|
readonly includeSourceMapFiles?: boolean;
|
|
32
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
33
32
|
readonly additionalPackageJsonAttributes?: {
|
|
34
33
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
35
34
|
};
|
|
36
|
-
readonly
|
|
35
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
37
36
|
readonly name: string;
|
|
37
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
38
38
|
readonly bundleDependencies?: readonly string[];
|
|
39
39
|
readonly bundlePeerDependencies?: readonly string[];
|
|
40
40
|
readonly versioning?: ({
|
|
@@ -50,35 +50,35 @@ export declare const packtoryConfigSchema: Schema<{
|
|
|
50
50
|
});
|
|
51
51
|
}[]];
|
|
52
52
|
readonly commonPackageSettings?: {
|
|
53
|
-
readonly sourcesFolder?: string;
|
|
54
53
|
readonly mainPackageJson?: import("./package-json.js").MainPackageJson;
|
|
54
|
+
readonly sourcesFolder?: string;
|
|
55
55
|
readonly includeSourceMapFiles?: boolean;
|
|
56
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
57
56
|
readonly additionalPackageJsonAttributes?: {
|
|
58
57
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
59
58
|
};
|
|
59
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
60
60
|
};
|
|
61
61
|
} | {
|
|
62
62
|
readonly registrySettings: import("./registry-settings.js").RegistrySettings;
|
|
63
63
|
readonly commonPackageSettings: {
|
|
64
|
-
readonly sourcesFolder: string;
|
|
65
64
|
readonly mainPackageJson: import("./package-json.js").MainPackageJson;
|
|
65
|
+
readonly sourcesFolder: string;
|
|
66
66
|
readonly includeSourceMapFiles?: boolean;
|
|
67
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
68
67
|
readonly additionalPackageJsonAttributes?: {
|
|
69
68
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
70
69
|
};
|
|
70
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
71
71
|
};
|
|
72
72
|
readonly packages: readonly [{
|
|
73
|
-
readonly sourcesFolder?: string;
|
|
74
73
|
readonly mainPackageJson?: import("./package-json.js").MainPackageJson;
|
|
74
|
+
readonly sourcesFolder?: string;
|
|
75
75
|
readonly includeSourceMapFiles?: boolean;
|
|
76
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
77
76
|
readonly additionalPackageJsonAttributes?: {
|
|
78
77
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
79
78
|
};
|
|
80
|
-
readonly
|
|
79
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
81
80
|
readonly name: string;
|
|
81
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
82
82
|
readonly bundleDependencies?: readonly string[];
|
|
83
83
|
readonly bundlePeerDependencies?: readonly string[];
|
|
84
84
|
readonly versioning?: ({
|
|
@@ -93,15 +93,15 @@ export declare const packtoryConfigSchema: Schema<{
|
|
|
93
93
|
readonly _?: never;
|
|
94
94
|
});
|
|
95
95
|
}, ...{
|
|
96
|
-
readonly sourcesFolder?: string;
|
|
97
96
|
readonly mainPackageJson?: import("./package-json.js").MainPackageJson;
|
|
97
|
+
readonly sourcesFolder?: string;
|
|
98
98
|
readonly includeSourceMapFiles?: boolean;
|
|
99
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
100
99
|
readonly additionalPackageJsonAttributes?: {
|
|
101
100
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
102
101
|
};
|
|
103
|
-
readonly
|
|
102
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
104
103
|
readonly name: string;
|
|
104
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
105
105
|
readonly bundleDependencies?: readonly string[];
|
|
106
106
|
readonly bundlePeerDependencies?: readonly string[];
|
|
107
107
|
readonly versioning?: ({
|
|
@@ -122,21 +122,21 @@ export declare const packtoryConfigSchema: Schema<{
|
|
|
122
122
|
readonly mainPackageJson: import("./package-json.js").MainPackageJson;
|
|
123
123
|
readonly sourcesFolder?: string;
|
|
124
124
|
readonly includeSourceMapFiles?: boolean;
|
|
125
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
126
125
|
readonly additionalPackageJsonAttributes?: {
|
|
127
126
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
128
127
|
};
|
|
128
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
129
129
|
};
|
|
130
130
|
readonly packages: readonly [{
|
|
131
131
|
readonly sourcesFolder: string;
|
|
132
132
|
readonly mainPackageJson?: import("./package-json.js").MainPackageJson;
|
|
133
133
|
readonly includeSourceMapFiles?: boolean;
|
|
134
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
135
134
|
readonly additionalPackageJsonAttributes?: {
|
|
136
135
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
137
136
|
};
|
|
138
|
-
readonly
|
|
137
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
139
138
|
readonly name: string;
|
|
139
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
140
140
|
readonly bundleDependencies?: readonly string[];
|
|
141
141
|
readonly bundlePeerDependencies?: readonly string[];
|
|
142
142
|
readonly versioning?: ({
|
|
@@ -154,12 +154,12 @@ export declare const packtoryConfigSchema: Schema<{
|
|
|
154
154
|
readonly sourcesFolder: string;
|
|
155
155
|
readonly mainPackageJson?: import("./package-json.js").MainPackageJson;
|
|
156
156
|
readonly includeSourceMapFiles?: boolean;
|
|
157
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
158
157
|
readonly additionalPackageJsonAttributes?: {
|
|
159
158
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
160
159
|
};
|
|
161
|
-
readonly
|
|
160
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
162
161
|
readonly name: string;
|
|
162
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
163
163
|
readonly bundleDependencies?: readonly string[];
|
|
164
164
|
readonly bundlePeerDependencies?: readonly string[];
|
|
165
165
|
readonly versioning?: ({
|
|
@@ -180,21 +180,21 @@ export declare const packtoryConfigSchema: Schema<{
|
|
|
180
180
|
readonly sourcesFolder: string;
|
|
181
181
|
readonly mainPackageJson?: import("./package-json.js").MainPackageJson;
|
|
182
182
|
readonly includeSourceMapFiles?: boolean;
|
|
183
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
184
183
|
readonly additionalPackageJsonAttributes?: {
|
|
185
184
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
186
185
|
};
|
|
186
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
187
187
|
};
|
|
188
188
|
readonly packages: readonly [{
|
|
189
189
|
readonly mainPackageJson: import("./package-json.js").MainPackageJson;
|
|
190
190
|
readonly sourcesFolder?: string;
|
|
191
191
|
readonly includeSourceMapFiles?: boolean;
|
|
192
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
193
192
|
readonly additionalPackageJsonAttributes?: {
|
|
194
193
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
195
194
|
};
|
|
196
|
-
readonly
|
|
195
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
197
196
|
readonly name: string;
|
|
197
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
198
198
|
readonly bundleDependencies?: readonly string[];
|
|
199
199
|
readonly bundlePeerDependencies?: readonly string[];
|
|
200
200
|
readonly versioning?: ({
|
|
@@ -212,12 +212,12 @@ export declare const packtoryConfigSchema: Schema<{
|
|
|
212
212
|
readonly mainPackageJson: import("./package-json.js").MainPackageJson;
|
|
213
213
|
readonly sourcesFolder?: string;
|
|
214
214
|
readonly includeSourceMapFiles?: boolean;
|
|
215
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
216
215
|
readonly additionalPackageJsonAttributes?: {
|
|
217
216
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
218
217
|
};
|
|
219
|
-
readonly
|
|
218
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
220
219
|
readonly name: string;
|
|
220
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
221
221
|
readonly bundleDependencies?: readonly string[];
|
|
222
222
|
readonly bundlePeerDependencies?: readonly string[];
|
|
223
223
|
readonly versioning?: ({
|
|
@@ -235,15 +235,15 @@ export declare const packtoryConfigSchema: Schema<{
|
|
|
235
235
|
}, {
|
|
236
236
|
readonly registrySettings: import("./registry-settings.js").RegistrySettings;
|
|
237
237
|
readonly packages: readonly [{
|
|
238
|
-
readonly sourcesFolder: string;
|
|
239
238
|
readonly mainPackageJson: import("./package-json.js").MainPackageJson;
|
|
239
|
+
readonly sourcesFolder: string;
|
|
240
240
|
readonly includeSourceMapFiles?: boolean;
|
|
241
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
242
241
|
readonly additionalPackageJsonAttributes?: {
|
|
243
242
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
244
243
|
};
|
|
245
|
-
readonly
|
|
244
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
246
245
|
readonly name: string;
|
|
246
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
247
247
|
readonly bundleDependencies?: readonly string[];
|
|
248
248
|
readonly bundlePeerDependencies?: readonly string[];
|
|
249
249
|
readonly versioning?: ({
|
|
@@ -258,15 +258,15 @@ export declare const packtoryConfigSchema: Schema<{
|
|
|
258
258
|
readonly _?: never;
|
|
259
259
|
});
|
|
260
260
|
}, ...{
|
|
261
|
-
readonly sourcesFolder: string;
|
|
262
261
|
readonly mainPackageJson: import("./package-json.js").MainPackageJson;
|
|
262
|
+
readonly sourcesFolder: string;
|
|
263
263
|
readonly includeSourceMapFiles?: boolean;
|
|
264
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
265
264
|
readonly additionalPackageJsonAttributes?: {
|
|
266
265
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
267
266
|
};
|
|
268
|
-
readonly
|
|
267
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
269
268
|
readonly name: string;
|
|
269
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
270
270
|
readonly bundleDependencies?: readonly string[];
|
|
271
271
|
readonly bundlePeerDependencies?: readonly string[];
|
|
272
272
|
readonly versioning?: ({
|
|
@@ -282,35 +282,35 @@ export declare const packtoryConfigSchema: Schema<{
|
|
|
282
282
|
});
|
|
283
283
|
}[]];
|
|
284
284
|
readonly commonPackageSettings?: {
|
|
285
|
-
readonly sourcesFolder?: string;
|
|
286
285
|
readonly mainPackageJson?: import("./package-json.js").MainPackageJson;
|
|
286
|
+
readonly sourcesFolder?: string;
|
|
287
287
|
readonly includeSourceMapFiles?: boolean;
|
|
288
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
289
288
|
readonly additionalPackageJsonAttributes?: {
|
|
290
289
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
291
290
|
};
|
|
291
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
292
292
|
};
|
|
293
293
|
} | {
|
|
294
294
|
readonly registrySettings: import("./registry-settings.js").RegistrySettings;
|
|
295
295
|
readonly commonPackageSettings: {
|
|
296
|
-
readonly sourcesFolder: string;
|
|
297
296
|
readonly mainPackageJson: import("./package-json.js").MainPackageJson;
|
|
297
|
+
readonly sourcesFolder: string;
|
|
298
298
|
readonly includeSourceMapFiles?: boolean;
|
|
299
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
300
299
|
readonly additionalPackageJsonAttributes?: {
|
|
301
300
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
302
301
|
};
|
|
302
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
303
303
|
};
|
|
304
304
|
readonly packages: readonly [{
|
|
305
|
-
readonly sourcesFolder?: string;
|
|
306
305
|
readonly mainPackageJson?: import("./package-json.js").MainPackageJson;
|
|
306
|
+
readonly sourcesFolder?: string;
|
|
307
307
|
readonly includeSourceMapFiles?: boolean;
|
|
308
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
309
308
|
readonly additionalPackageJsonAttributes?: {
|
|
310
309
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
311
310
|
};
|
|
312
|
-
readonly
|
|
311
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
313
312
|
readonly name: string;
|
|
313
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
314
314
|
readonly bundleDependencies?: readonly string[];
|
|
315
315
|
readonly bundlePeerDependencies?: readonly string[];
|
|
316
316
|
readonly versioning?: ({
|
|
@@ -325,15 +325,15 @@ export declare const packtoryConfigSchema: Schema<{
|
|
|
325
325
|
readonly _?: never;
|
|
326
326
|
});
|
|
327
327
|
}, ...{
|
|
328
|
-
readonly sourcesFolder?: string;
|
|
329
328
|
readonly mainPackageJson?: import("./package-json.js").MainPackageJson;
|
|
329
|
+
readonly sourcesFolder?: string;
|
|
330
330
|
readonly includeSourceMapFiles?: boolean;
|
|
331
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
332
331
|
readonly additionalPackageJsonAttributes?: {
|
|
333
332
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
334
333
|
};
|
|
335
|
-
readonly
|
|
334
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
336
335
|
readonly name: string;
|
|
336
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
337
337
|
readonly bundleDependencies?: readonly string[];
|
|
338
338
|
readonly bundlePeerDependencies?: readonly string[];
|
|
339
339
|
readonly versioning?: ({
|
|
@@ -354,21 +354,21 @@ export declare const packtoryConfigSchema: Schema<{
|
|
|
354
354
|
readonly mainPackageJson: import("./package-json.js").MainPackageJson;
|
|
355
355
|
readonly sourcesFolder?: string;
|
|
356
356
|
readonly includeSourceMapFiles?: boolean;
|
|
357
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
358
357
|
readonly additionalPackageJsonAttributes?: {
|
|
359
358
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
360
359
|
};
|
|
360
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
361
361
|
};
|
|
362
362
|
readonly packages: readonly [{
|
|
363
363
|
readonly sourcesFolder: string;
|
|
364
364
|
readonly mainPackageJson?: import("./package-json.js").MainPackageJson;
|
|
365
365
|
readonly includeSourceMapFiles?: boolean;
|
|
366
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
367
366
|
readonly additionalPackageJsonAttributes?: {
|
|
368
367
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
369
368
|
};
|
|
370
|
-
readonly
|
|
369
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
371
370
|
readonly name: string;
|
|
371
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
372
372
|
readonly bundleDependencies?: readonly string[];
|
|
373
373
|
readonly bundlePeerDependencies?: readonly string[];
|
|
374
374
|
readonly versioning?: ({
|
|
@@ -386,12 +386,12 @@ export declare const packtoryConfigSchema: Schema<{
|
|
|
386
386
|
readonly sourcesFolder: string;
|
|
387
387
|
readonly mainPackageJson?: import("./package-json.js").MainPackageJson;
|
|
388
388
|
readonly includeSourceMapFiles?: boolean;
|
|
389
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
390
389
|
readonly additionalPackageJsonAttributes?: {
|
|
391
390
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
392
391
|
};
|
|
393
|
-
readonly
|
|
392
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
394
393
|
readonly name: string;
|
|
394
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
395
395
|
readonly bundleDependencies?: readonly string[];
|
|
396
396
|
readonly bundlePeerDependencies?: readonly string[];
|
|
397
397
|
readonly versioning?: ({
|
|
@@ -412,21 +412,21 @@ export declare const packtoryConfigSchema: Schema<{
|
|
|
412
412
|
readonly sourcesFolder: string;
|
|
413
413
|
readonly mainPackageJson?: import("./package-json.js").MainPackageJson;
|
|
414
414
|
readonly includeSourceMapFiles?: boolean;
|
|
415
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
416
415
|
readonly additionalPackageJsonAttributes?: {
|
|
417
416
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
418
417
|
};
|
|
418
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
419
419
|
};
|
|
420
420
|
readonly packages: readonly [{
|
|
421
421
|
readonly mainPackageJson: import("./package-json.js").MainPackageJson;
|
|
422
422
|
readonly sourcesFolder?: string;
|
|
423
423
|
readonly includeSourceMapFiles?: boolean;
|
|
424
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
425
424
|
readonly additionalPackageJsonAttributes?: {
|
|
426
425
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
427
426
|
};
|
|
428
|
-
readonly
|
|
427
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
429
428
|
readonly name: string;
|
|
429
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
430
430
|
readonly bundleDependencies?: readonly string[];
|
|
431
431
|
readonly bundlePeerDependencies?: readonly string[];
|
|
432
432
|
readonly versioning?: ({
|
|
@@ -444,12 +444,12 @@ export declare const packtoryConfigSchema: Schema<{
|
|
|
444
444
|
readonly mainPackageJson: import("./package-json.js").MainPackageJson;
|
|
445
445
|
readonly sourcesFolder?: string;
|
|
446
446
|
readonly includeSourceMapFiles?: boolean;
|
|
447
|
-
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
448
447
|
readonly additionalPackageJsonAttributes?: {
|
|
449
448
|
readonly [x: string]: import("type-fest").JsonValue;
|
|
450
449
|
};
|
|
451
|
-
readonly
|
|
450
|
+
readonly additionalFiles?: readonly import("./additional-files.js").AdditionalFileDescription[];
|
|
452
451
|
readonly name: string;
|
|
452
|
+
readonly entryPoints: readonly [import("./entry-point.js").EntryPoint, ...import("./entry-point.js").EntryPoint[]];
|
|
453
453
|
readonly bundleDependencies?: readonly string[];
|
|
454
454
|
readonly bundlePeerDependencies?: readonly string[];
|
|
455
455
|
readonly versioning?: ({
|
package/config/package-json.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ declare const $mainPackageJsonSchema: Schema<{
|
|
|
10
10
|
readonly devDependencies?: {
|
|
11
11
|
readonly [x: string]: string;
|
|
12
12
|
};
|
|
13
|
+
readonly peerDependencies?: {
|
|
14
|
+
readonly [x: string]: string;
|
|
15
|
+
};
|
|
13
16
|
}, {
|
|
14
17
|
readonly [x: string]: unknown;
|
|
15
18
|
readonly type?: "module";
|
|
@@ -19,6 +22,9 @@ declare const $mainPackageJsonSchema: Schema<{
|
|
|
19
22
|
readonly devDependencies?: {
|
|
20
23
|
readonly [x: string]: string;
|
|
21
24
|
};
|
|
25
|
+
readonly peerDependencies?: {
|
|
26
|
+
readonly [x: string]: string;
|
|
27
|
+
};
|
|
22
28
|
}>;
|
|
23
29
|
export type MainPackageJson = NoExpand<Schema.To<typeof $mainPackageJsonSchema>>;
|
|
24
30
|
export declare const mainPackageJsonSchema: Schema<MainPackageJson>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-json.d.ts","sourceRoot":"","sources":["../../../../source/config/package-json.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,MAAM,EAed,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAKtD,QAAA,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"package-json.d.ts","sourceRoot":"","sources":["../../../../source/config/package-json.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,MAAM,EAed,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAKtD,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;EAKY,CAAC;AACzC,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,sBAAsB,CAAC,CAAC,CAAC;AACjF,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,eAAe,CAA0B,CAAC;AA+CrF,QAAA,MAAM,sCAAsC;;;;EAAyE,CAAC;AACtH,MAAM,MAAM,+BAA+B,GAAG,MAAM,CAAC,EAAE,CAAC,OAAO,sCAAsC,CAAC,CAAC;AACvG,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,+BAA+B,CAChD,CAAC"}
|
package/config/package-json.js
CHANGED
|
@@ -4,7 +4,8 @@ const optionalStringRecordSchema = optional(stringRecordSchema, { exact: true })
|
|
|
4
4
|
const $mainPackageJsonSchema = struct({
|
|
5
5
|
type: optional(literal('module'), { exact: true }),
|
|
6
6
|
dependencies: optionalStringRecordSchema,
|
|
7
|
-
devDependencies: optionalStringRecordSchema
|
|
7
|
+
devDependencies: optionalStringRecordSchema,
|
|
8
|
+
peerDependencies: optionalStringRecordSchema
|
|
8
9
|
}).pipe(extend(record(string, unknown)));
|
|
9
10
|
export const mainPackageJsonSchema = $mainPackageJsonSchema;
|
|
10
11
|
const attributeValueSchema = union(string, number, boolean, null_, array(suspend(() => {
|
|
@@ -15,6 +16,7 @@ const attributeValueSchema = union(string, number, boolean, null_, array(suspend
|
|
|
15
16
|
const forbiddenAttributeNames = new Set([
|
|
16
17
|
'dependencies',
|
|
17
18
|
'peerDependencies',
|
|
19
|
+
'devDependencies',
|
|
18
20
|
'main',
|
|
19
21
|
'name',
|
|
20
22
|
'types',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-json.js","sourceRoot":"","sources":["../../../../source/config/package-json.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,MAAM,EACN,MAAM,EACN,MAAM,EACN,OAAO,EACP,KAAK,EACL,QAAQ,EACR,OAAO,EACP,MAAM,EACN,MAAM,EACN,OAAO,EACP,KAAK,EACL,IAAI,IAAI,KAAK,EACb,MAAM,EACN,OAAO,EACV,MAAM,uBAAuB,CAAC;AAI/B,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAClD,MAAM,0BAA0B,GAAG,QAAQ,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAEjF,MAAM,sBAAsB,GAAG,MAAM,CAAC;IAClC,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IAClD,YAAY,EAAE,0BAA0B;IACxC,eAAe,EAAE,0BAA0B;
|
|
1
|
+
{"version":3,"file":"package-json.js","sourceRoot":"","sources":["../../../../source/config/package-json.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,MAAM,EACN,MAAM,EACN,MAAM,EACN,OAAO,EACP,KAAK,EACL,QAAQ,EACR,OAAO,EACP,MAAM,EACN,MAAM,EACN,OAAO,EACP,KAAK,EACL,IAAI,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YAAY,KAAK,kBAAkB,CAAC;IAC/C,CAAC;CACJ,CACJ,CACJ,CAAC;AAEF,MAAM,wCAAwC,GAC1C,yCAAyC,CAAC;AAE9C,MAAM,sCAAsC,GAAG,MAAM,CAAC,wCAAwC,EAAE,oBAAoB,CAAC,CAAC;AAEtH,MAAM,CAAC,MAAM,qCAAqC,GAC9C,sCAAsC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scanner.d.ts","sourceRoot":"","sources":["../../../../source/dependency-scanner/scanner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,iBAAiB,CAAC;AAEpC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,yBAAyB,EAAqB,MAAM,kCAAkC,CAAC;AACvH,OAAO,EAAuD,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAElH,KAAK,WAAW,GAAG;IACf,QAAQ,CAAC,sBAAsB,EAAE,OAAO,CAAC;IACzC,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAC;IACxC,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAC1C,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC5C,QAAQ,CAAC,uBAAuB,EAAE,OAAO,CAAC;IAC1C,QAAQ,CAAC,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC1C,CAAC;
|
|
1
|
+
{"version":3,"file":"scanner.d.ts","sourceRoot":"","sources":["../../../../source/dependency-scanner/scanner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,iBAAiB,CAAC;AAEpC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,gBA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E,WAAW,EAAE,UAAU,GAAG,UAAU,CAK/F;AAED,wBAAgB,uBAAuB,CACnC,6BAA6B,EAAE,QAAQ,CAAC,6BAA6B,CAAC,GACvE,iBAAiB,CA8EnB"}
|
|
@@ -23,7 +23,8 @@ function extractModuleName(nodeModulePath) {
|
|
|
23
23
|
}
|
|
24
24
|
function isKnownNodeModule(moduleName, options) {
|
|
25
25
|
const { includeDevDependencies, mainPackageJson } = options;
|
|
26
|
-
if (mainPackageJson.dependencies?.[moduleName] !== undefined
|
|
26
|
+
if (mainPackageJson.dependencies?.[moduleName] !== undefined ||
|
|
27
|
+
mainPackageJson.peerDependencies?.[moduleName] !== undefined) {
|
|
27
28
|
return true;
|
|
28
29
|
}
|
|
29
30
|
if (includeDevDependencies) {
|
|
@@ -38,12 +39,17 @@ function getVersionFromDependencies(moduleName, dependencies = {}) {
|
|
|
38
39
|
}
|
|
39
40
|
return undefined;
|
|
40
41
|
}
|
|
42
|
+
// eslint-disable-next-line max-statements -- this will be removed soon when the dependency scanner doesn’t have to take care about versions anymore
|
|
41
43
|
function determineVersionNumber(moduleName, options) {
|
|
42
44
|
const { mainPackageJson } = options;
|
|
43
45
|
const version = getVersionFromDependencies(moduleName, mainPackageJson.dependencies);
|
|
44
46
|
if (version !== undefined) {
|
|
45
47
|
return version;
|
|
46
48
|
}
|
|
49
|
+
const peerDependencyVersion = getVersionFromDependencies(moduleName, mainPackageJson.peerDependencies);
|
|
50
|
+
if (peerDependencyVersion !== undefined) {
|
|
51
|
+
return peerDependencyVersion;
|
|
52
|
+
}
|
|
47
53
|
const devDependencyVersion = getVersionFromDependencies(moduleName, mainPackageJson.devDependencies);
|
|
48
54
|
if (devDependencyVersion !== undefined) {
|
|
49
55
|
return devDependencyVersion;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scanner.js","sourceRoot":"","sources":["../../../../source/dependency-scanner/scanner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,iBAAiB,CAAC;AA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Ae,GAAG,EAAE,EACpB,gBAAgB,GAAG,QAAQ,EAC3B,mBAAmB,GAAG,KAAK,EAC9B,GAAG,OAAO,CAAC;YACZ,MAAM,WAAW,GAAG;gBAChB,sBAAsB;gBACtB,qBAAqB;gBACrB,uBAAuB;gBACvB,eAAe;gBACf,gBAAgB;gBAChB,mBAAmB;aACtB,CAAC;YAEF,MAAM,KAAK,GAAG,qBAAqB,EAAE,CAAC;YACtC,MAAM,OAAO,GAAG,yBAAyB,CAAC,cAAc,CAAC,MAAM,EAAE;gBAC7D,uBAAuB,EAAE,WAAW,CAAC,uBAAuB;gBAC5D,mBAAmB,EAAE,WAAW,CAAC,mBAAmB;gBACpD,gBAAgB,EAAE,WAAW,CAAC,gBAAgB;aACjD,CAAC,CAAC;YAEH,MAAM,4BAA4B,CAAC,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC;YAEhF,OAAO,KAAK,CAAC;QACjB,CAAC;KACJ,CAAC;AACN,CAAC"}
|
package/package.json
CHANGED
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
],
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@effect/schema": "0.60.4",
|
|
8
|
-
"@ts-morph/common": "0.
|
|
9
|
-
"@types/libnpmpublish": "4.0.
|
|
10
|
-
"@types/npm-registry-fetch": "8.0.
|
|
11
|
-
"effect": "2.
|
|
12
|
-
"libnpmpublish": "9.0.
|
|
8
|
+
"@ts-morph/common": "0.23.0",
|
|
9
|
+
"@types/libnpmpublish": "4.0.6",
|
|
10
|
+
"@types/npm-registry-fetch": "8.0.7",
|
|
11
|
+
"effect": "2.2.5",
|
|
12
|
+
"libnpmpublish": "9.0.4",
|
|
13
13
|
"mitt": "3.0.1",
|
|
14
|
-
"npm-registry-fetch": "16.
|
|
15
|
-
"semver": "7.
|
|
14
|
+
"npm-registry-fetch": "16.1.0",
|
|
15
|
+
"semver": "7.6.0",
|
|
16
16
|
"ssri": "10.0.5",
|
|
17
|
-
"tar-stream": "3.1.
|
|
17
|
+
"tar-stream": "3.1.7",
|
|
18
18
|
"true-myth": "7.1.0",
|
|
19
|
-
"ts-morph": "
|
|
20
|
-
"type-fest": "4.
|
|
19
|
+
"ts-morph": "21.0.1",
|
|
20
|
+
"type-fest": "4.14.0",
|
|
21
21
|
"unix-permissions": "6.0.0"
|
|
22
22
|
},
|
|
23
23
|
"description": "Enable customized npm package bundling and publishing using packtory’s versatile API.",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
},
|
|
46
46
|
"type": "module",
|
|
47
47
|
"types": "packages/packtory/packtory.entry-point.d.ts",
|
|
48
|
-
"version": "0.0.
|
|
48
|
+
"version": "0.0.4"
|
|
49
49
|
}
|