@storm-software/linting-tools 1.46.7 → 1.47.1
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/CHANGELOG.md +19 -0
- package/bin/lint.js +37 -35
- package/bin/lint.ts +5 -2
- package/package.json +6 -6
- package/src/cli/index.js +32 -33
- package/src/manypkg/index.js +21 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## 1.47.1 (2024-04-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🩹 Fixes
|
|
5
|
+
|
|
6
|
+
- **deps:** update patch prod dependencies ([7f710f58](https://github.com/storm-software/storm-ops/commit/7f710f58))
|
|
7
|
+
|
|
8
|
+
## 1.47.0 (2024-04-13)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### 🚀 Features
|
|
12
|
+
|
|
13
|
+
- **git-tools:** Updated the console write calls to use updated method signature ([d2d7cc8b](https://github.com/storm-software/storm-ops/commit/d2d7cc8b))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### ❤️ Thank You
|
|
17
|
+
|
|
18
|
+
- Patrick Sullivan
|
|
19
|
+
|
|
1
20
|
## 1.46.7 (2024-04-13)
|
|
2
21
|
|
|
3
22
|
|
package/bin/lint.js
CHANGED
|
@@ -95699,9 +95699,9 @@ var require_source_map_support = __commonJS({
|
|
|
95699
95699
|
}
|
|
95700
95700
|
});
|
|
95701
95701
|
|
|
95702
|
-
// node_modules/.pnpm/typescript@5.4.
|
|
95702
|
+
// node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/typescript.js
|
|
95703
95703
|
var require_typescript = __commonJS({
|
|
95704
|
-
"node_modules/.pnpm/typescript@5.4.
|
|
95704
|
+
"node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/typescript.js"(exports, module) {
|
|
95705
95705
|
"use strict";
|
|
95706
95706
|
/*! *****************************************************************************
|
|
95707
95707
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -95735,7 +95735,7 @@ var require_typescript = __commonJS({
|
|
|
95735
95735
|
"src/compiler/corePublic.ts"() {
|
|
95736
95736
|
"use strict";
|
|
95737
95737
|
versionMajorMinor = "5.4";
|
|
95738
|
-
version4 = "5.4.
|
|
95738
|
+
version4 = "5.4.5";
|
|
95739
95739
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
95740
95740
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
95741
95741
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -158063,12 +158063,10 @@ ${lanes.join("\n")}
|
|
|
158063
158063
|
const target = type2.target ?? type2;
|
|
158064
158064
|
const typeVariable = getHomomorphicTypeVariable(target);
|
|
158065
158065
|
if (typeVariable && !target.declaration.nameType) {
|
|
158066
|
-
const
|
|
158067
|
-
|
|
158068
|
-
|
|
158069
|
-
|
|
158070
|
-
return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type2.mapper));
|
|
158071
|
-
}
|
|
158066
|
+
const modifiersType = getModifiersTypeFromMappedType(type2);
|
|
158067
|
+
const baseConstraint = isGenericMappedType(modifiersType) ? getApparentTypeOfMappedType(modifiersType) : getBaseConstraintOfType(modifiersType);
|
|
158068
|
+
if (baseConstraint && everyType(baseConstraint, (t2) => isArrayOrTupleType(t2) || isArrayOrTupleOrIntersection(t2))) {
|
|
158069
|
+
return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type2.mapper));
|
|
158072
158070
|
}
|
|
158073
158071
|
}
|
|
158074
158072
|
return type2;
|
|
@@ -158234,13 +158232,13 @@ ${lanes.join("\n")}
|
|
|
158234
158232
|
}
|
|
158235
158233
|
function getUnionOrIntersectionProperty(type2, name, skipObjectFunctionPropertyAugment) {
|
|
158236
158234
|
var _a, _b, _c;
|
|
158237
|
-
let property = (
|
|
158235
|
+
let property = skipObjectFunctionPropertyAugment ? (_a = type2.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) : (_b = type2.propertyCache) == null ? void 0 : _b.get(name);
|
|
158238
158236
|
if (!property) {
|
|
158239
158237
|
property = createUnionOrIntersectionProperty(type2, name, skipObjectFunctionPropertyAugment);
|
|
158240
158238
|
if (property) {
|
|
158241
158239
|
const properties = skipObjectFunctionPropertyAugment ? type2.propertyCacheWithoutObjectFunctionPropertyAugment || (type2.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type2.propertyCache || (type2.propertyCache = createSymbolTable());
|
|
158242
158240
|
properties.set(name, property);
|
|
158243
|
-
if (skipObjectFunctionPropertyAugment && !((_c = type2.propertyCache) == null ? void 0 : _c.get(name))) {
|
|
158241
|
+
if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48) && !((_c = type2.propertyCache) == null ? void 0 : _c.get(name))) {
|
|
158244
158242
|
const properties2 = type2.propertyCache || (type2.propertyCache = createSymbolTable());
|
|
158245
158243
|
properties2.set(name, property);
|
|
158246
158244
|
}
|
|
@@ -265303,7 +265301,8 @@ ${newComment.split("\n").map((c2) => ` * ${c2}`).join("\n")}
|
|
|
265303
265301
|
}
|
|
265304
265302
|
function symbolAppearsToBeTypeOnly(symbol) {
|
|
265305
265303
|
var _a;
|
|
265306
|
-
|
|
265304
|
+
const flags = getCombinedLocalAndExportSymbolFlags(skipAlias(symbol, typeChecker));
|
|
265305
|
+
return !(flags & 111551) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(flags & 788968));
|
|
265307
265306
|
}
|
|
265308
265307
|
}
|
|
265309
265308
|
function getLabelCompletionAtPosition(node) {
|
|
@@ -398546,7 +398545,7 @@ var transform4 = (options) => {
|
|
|
398546
398545
|
};
|
|
398547
398546
|
};
|
|
398548
398547
|
|
|
398549
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
398548
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/utils.ts
|
|
398550
398549
|
var semver = __toESM(require_semver());
|
|
398551
398550
|
var import_sembear = __toESM(require_sembear_cjs());
|
|
398552
398551
|
var NORMAL_DEPENDENCY_TYPES = [
|
|
@@ -398644,7 +398643,7 @@ function makeCheck(check3) {
|
|
|
398644
398643
|
return check3;
|
|
398645
398644
|
}
|
|
398646
398645
|
|
|
398647
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
398646
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/EXTERNAL_MISMATCH.ts
|
|
398648
398647
|
var import_semver = __toESM(require_semver());
|
|
398649
398648
|
var EXTERNAL_MISMATCH_default = makeCheck({
|
|
398650
398649
|
validate: (workspace, allWorkspace) => {
|
|
@@ -398683,7 +398682,7 @@ var EXTERNAL_MISMATCH_default = makeCheck({
|
|
|
398683
398682
|
type: "all"
|
|
398684
398683
|
});
|
|
398685
398684
|
|
|
398686
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
398685
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/INTERNAL_MISMATCH.ts
|
|
398687
398686
|
var import_semver2 = __toESM(require_semver());
|
|
398688
398687
|
var INTERNAL_MISMATCH_default = makeCheck({
|
|
398689
398688
|
validate: (workspace, allWorkspaces) => {
|
|
@@ -398722,7 +398721,7 @@ var INTERNAL_MISMATCH_default = makeCheck({
|
|
|
398722
398721
|
type: "all"
|
|
398723
398722
|
});
|
|
398724
398723
|
|
|
398725
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
398724
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/INVALID_DEV_AND_PEER_DEPENDENCY_RELATIONSHIP.ts
|
|
398726
398725
|
var import_sembear2 = __toESM(require_sembear_cjs());
|
|
398727
398726
|
var import_semver3 = __toESM(require_semver());
|
|
398728
398727
|
var INVALID_DEV_AND_PEER_DEPENDENCY_RELATIONSHIP_default = makeCheck({
|
|
@@ -398789,7 +398788,7 @@ var INVALID_DEV_AND_PEER_DEPENDENCY_RELATIONSHIP_default = makeCheck({
|
|
|
398789
398788
|
}
|
|
398790
398789
|
});
|
|
398791
398790
|
|
|
398792
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
398791
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/INVALID_PACKAGE_NAME.ts
|
|
398793
398792
|
var import_validate_npm_package_name = __toESM(require_validate_npm_package_name());
|
|
398794
398793
|
var INVALID_PACKAGE_NAME_default = makeCheck({
|
|
398795
398794
|
type: "all",
|
|
@@ -398832,7 +398831,7 @@ ${error2.errors.join(
|
|
|
398832
398831
|
}
|
|
398833
398832
|
});
|
|
398834
398833
|
|
|
398835
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
398834
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/MULTIPLE_DEPENDENCY_TYPES.ts
|
|
398836
398835
|
var MULTIPLE_DEPENDENCY_TYPES_default = makeCheck({
|
|
398837
398836
|
validate: (workspace, allWorkspaces) => {
|
|
398838
398837
|
let dependencies = /* @__PURE__ */ new Set();
|
|
@@ -398873,7 +398872,7 @@ var MULTIPLE_DEPENDENCY_TYPES_default = makeCheck({
|
|
|
398873
398872
|
print: (error2) => `${error2.workspace.packageJson.name} has a dependency and a ${error2.dependencyType === "devDependencies" ? "devDependency" : "optionalDependency"} on ${error2.dependencyName}, this is unnecessary, it should be removed from ${error2.dependencyType}`
|
|
398874
398873
|
});
|
|
398875
398874
|
|
|
398876
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
398875
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/ROOT_HAS_DEV_DEPENDENCIES.ts
|
|
398877
398876
|
var import_chalk6 = __toESM(require_source());
|
|
398878
398877
|
var ROOT_HAS_DEV_DEPENDENCIES_default = makeCheck({
|
|
398879
398878
|
type: "root",
|
|
@@ -398901,7 +398900,7 @@ var ROOT_HAS_DEV_DEPENDENCIES_default = makeCheck({
|
|
|
398901
398900
|
}
|
|
398902
398901
|
});
|
|
398903
398902
|
|
|
398904
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
398903
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/UNSORTED_DEPENDENCIES.ts
|
|
398905
398904
|
var UNSORTED_DEPENDENCIES_default = makeCheck({
|
|
398906
398905
|
type: "all",
|
|
398907
398906
|
validate: (workspace) => {
|
|
@@ -398924,7 +398923,7 @@ var UNSORTED_DEPENDENCIES_default = makeCheck({
|
|
|
398924
398923
|
print: (error2) => `${error2.workspace.packageJson.name}'s dependencies are unsorted, this can cause large diffs when packages are added, resulting in dependencies being sorted`
|
|
398925
398924
|
});
|
|
398926
398925
|
|
|
398927
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
398926
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/INCORRECT_REPOSITORY_FIELD.ts
|
|
398928
398927
|
var import_parse_github_url = __toESM(require_parse_github_url());
|
|
398929
398928
|
var import_normalize_path = __toESM(require_normalize_path());
|
|
398930
398929
|
var INCORRECT_REPOSITORY_FIELD_default = makeCheck({
|
|
@@ -398992,7 +398991,7 @@ var INCORRECT_REPOSITORY_FIELD_default = makeCheck({
|
|
|
398992
398991
|
}
|
|
398993
398992
|
});
|
|
398994
398993
|
|
|
398995
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
398994
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/WORKSPACE_REQUIRED.ts
|
|
398996
398995
|
var WORKSPACE_REQUIRED_default = makeCheck({
|
|
398997
398996
|
validate: (workspace, allWorkspaces, root, opts) => {
|
|
398998
398997
|
if (opts.workspaceProtocol !== "require")
|
|
@@ -399026,7 +399025,7 @@ var WORKSPACE_REQUIRED_default = makeCheck({
|
|
|
399026
399025
|
type: "all"
|
|
399027
399026
|
});
|
|
399028
399027
|
|
|
399029
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
399028
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/index.ts
|
|
399030
399029
|
var checks = {
|
|
399031
399030
|
EXTERNAL_MISMATCH: EXTERNAL_MISMATCH_default,
|
|
399032
399031
|
INTERNAL_MISMATCH: INTERNAL_MISMATCH_default,
|
|
@@ -399039,7 +399038,7 @@ var checks = {
|
|
|
399039
399038
|
WORKSPACE_REQUIRED: WORKSPACE_REQUIRED_default
|
|
399040
399039
|
};
|
|
399041
399040
|
|
|
399042
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
399041
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/errors.ts
|
|
399043
399042
|
var ExitError = class extends Error {
|
|
399044
399043
|
code;
|
|
399045
399044
|
constructor(code) {
|
|
@@ -399048,7 +399047,7 @@ var ExitError = class extends Error {
|
|
|
399048
399047
|
}
|
|
399049
399048
|
};
|
|
399050
399049
|
|
|
399051
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
399050
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/npm-tag.ts
|
|
399052
399051
|
var import_get_packages = __toESM(require_manypkg_get_packages_cjs());
|
|
399053
399052
|
var import_spawndamnit = __toESM(require_spawndamnit());
|
|
399054
399053
|
var import_p_limit = __toESM(require_p_limit());
|
|
@@ -399089,11 +399088,11 @@ async function npmTagAll([tag, _4, otp]) {
|
|
|
399089
399088
|
);
|
|
399090
399089
|
}
|
|
399091
399090
|
|
|
399092
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
399091
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/run.ts
|
|
399093
399092
|
var import_get_packages2 = __toESM(require_manypkg_get_packages_cjs());
|
|
399094
399093
|
var import_spawndamnit2 = __toESM(require_spawndamnit());
|
|
399095
399094
|
|
|
399096
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
399095
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/logger.ts
|
|
399097
399096
|
var import_chalk7 = __toESM(require_source());
|
|
399098
399097
|
import util2 from "util";
|
|
399099
399098
|
function format8(args, messageType, scope) {
|
|
@@ -399109,7 +399108,7 @@ function error(message, scope) {
|
|
|
399109
399108
|
console.error(format8([message], "error", scope));
|
|
399110
399109
|
}
|
|
399111
399110
|
|
|
399112
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
399111
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/run.ts
|
|
399113
399112
|
async function runCmd(args, cwd2) {
|
|
399114
399113
|
let { packages, rootDir } = await (0, import_get_packages2.getPackages)(cwd2);
|
|
399115
399114
|
const exactMatchingPackage = packages.find((pkg) => {
|
|
@@ -399143,12 +399142,12 @@ ${matchingPackages.map((x3) => x3.packageJson.name).join("\n")}`
|
|
|
399143
399142
|
}
|
|
399144
399143
|
}
|
|
399145
399144
|
|
|
399146
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
399145
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/upgrade.ts
|
|
399147
399146
|
var import_get_packages3 = __toESM(require_manypkg_get_packages_cjs());
|
|
399148
399147
|
var import_semver5 = __toESM(require_semver());
|
|
399149
399148
|
var import_p_limit2 = __toESM(require_p_limit());
|
|
399150
399149
|
|
|
399151
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
399150
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/utils.ts
|
|
399152
399151
|
var fs17 = __toESM(require_lib10());
|
|
399153
399152
|
var import_spawndamnit3 = __toESM(require_spawndamnit());
|
|
399154
399153
|
var import_detect_indent = __toESM(require_detect_indent());
|
|
@@ -399177,7 +399176,7 @@ async function install(toolType, cwd2) {
|
|
|
399177
399176
|
);
|
|
399178
399177
|
}
|
|
399179
399178
|
|
|
399180
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
399179
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/upgrade.ts
|
|
399181
399180
|
async function upgradeDependency([name, tag = "latest"]) {
|
|
399182
399181
|
let { packages, tool, rootPackage, rootDir } = await (0, import_get_packages3.getPackages)(
|
|
399183
399182
|
process.cwd()
|
|
@@ -399193,7 +399192,7 @@ async function upgradeDependency([name, tag = "latest"]) {
|
|
|
399193
399192
|
return;
|
|
399194
399193
|
let packageNames = Object.keys(deps);
|
|
399195
399194
|
packageNames.forEach((pkgName) => {
|
|
399196
|
-
if (isScope && pkgName.startsWith(name) || pkgName === name) {
|
|
399195
|
+
if (isScope && pkgName.startsWith(`${name}/`) || pkgName === name) {
|
|
399197
399196
|
requiresUpdate = true;
|
|
399198
399197
|
packagesToUpdate.add(pkgName);
|
|
399199
399198
|
}
|
|
@@ -399209,7 +399208,7 @@ async function upgradeDependency([name, tag = "latest"]) {
|
|
|
399209
399208
|
return;
|
|
399210
399209
|
let packageNames = Object.keys(deps);
|
|
399211
399210
|
packageNames.forEach((pkgName) => {
|
|
399212
|
-
if (isScope && pkgName.startsWith(name) || pkgName === name) {
|
|
399211
|
+
if (isScope && pkgName.startsWith(`${name}/`) || pkgName === name) {
|
|
399213
399212
|
rootRequiresUpdate = true;
|
|
399214
399213
|
packagesToUpdate.add(pkgName);
|
|
399215
399214
|
}
|
|
@@ -399720,10 +399719,13 @@ void (async () => {
|
|
|
399720
399719
|
const program2 = await createProgram(config);
|
|
399721
399720
|
program2.exitOverride();
|
|
399722
399721
|
await program2.parseAsync(process.argv);
|
|
399723
|
-
writeSuccess(
|
|
399722
|
+
writeSuccess("Code linting and fixing completed successfully!", config);
|
|
399724
399723
|
exitWithSuccess(config);
|
|
399725
399724
|
} catch (error2) {
|
|
399726
|
-
writeFatal(
|
|
399725
|
+
writeFatal(
|
|
399726
|
+
`A fatal error occurred while running the program: ${error2.message}`,
|
|
399727
|
+
config
|
|
399728
|
+
);
|
|
399727
399729
|
exitWithError(config);
|
|
399728
399730
|
process.exit(1);
|
|
399729
399731
|
}
|
package/bin/lint.ts
CHANGED
|
@@ -26,10 +26,13 @@ void (async () => {
|
|
|
26
26
|
|
|
27
27
|
await program.parseAsync(process.argv);
|
|
28
28
|
|
|
29
|
-
writeSuccess(
|
|
29
|
+
writeSuccess("Code linting and fixing completed successfully!", config);
|
|
30
30
|
exitWithSuccess(config);
|
|
31
31
|
} catch (error) {
|
|
32
|
-
writeFatal(
|
|
32
|
+
writeFatal(
|
|
33
|
+
`A fatal error occurred while running the program: ${error.message}`,
|
|
34
|
+
config
|
|
35
|
+
);
|
|
33
36
|
exitWithError(config);
|
|
34
37
|
process.exit(1);
|
|
35
38
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.47.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "⚡ A package containing various linting tools used to validate syntax, enforce design standards, and format code in a Storm workspace.",
|
|
6
6
|
"keywords": [
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@cspell/dict-dotnet": "5.0.0",
|
|
48
48
|
"@cspell/dict-elixir": "4.0.3",
|
|
49
49
|
"@cspell/dict-en-common-misspellings": "2.0.0",
|
|
50
|
-
"@cspell/dict-en-gb": "4.1.
|
|
51
|
-
"@cspell/dict-en_us": "4.3.
|
|
50
|
+
"@cspell/dict-en-gb": "4.1.39",
|
|
51
|
+
"@cspell/dict-en_us": "4.3.18",
|
|
52
52
|
"@cspell/dict-filetypes": "3.0.3",
|
|
53
53
|
"@cspell/dict-fonts": "4.0.0",
|
|
54
54
|
"@cspell/dict-fsharp": "1.0.1",
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
"@cspell/dict-sql": "2.1.3",
|
|
80
80
|
"@cspell/dict-svelte": "1.0.2",
|
|
81
81
|
"@cspell/dict-swift": "2.0.1",
|
|
82
|
-
"@cspell/dict-typescript": "3.1.
|
|
82
|
+
"@cspell/dict-typescript": "3.1.3",
|
|
83
83
|
"@cspell/dict-vue": "3.0.0",
|
|
84
|
-
"@manypkg/cli": "0.21.
|
|
84
|
+
"@manypkg/cli": "0.21.4",
|
|
85
85
|
"@manypkg/get-packages": "2.2.1",
|
|
86
86
|
"@size-limit/file": "11.1.2",
|
|
87
87
|
"@size-limit/time": "11.1.2",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"vfile-reporter": "8.1.1"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
|
-
"@types/eslint": "8.56.
|
|
114
|
+
"@types/eslint": "8.56.9"
|
|
115
115
|
},
|
|
116
116
|
"publishConfig": {
|
|
117
117
|
"access": "public"
|
package/src/cli/index.js
CHANGED
|
@@ -37218,9 +37218,9 @@ var require_source_map_support = __commonJS({
|
|
|
37218
37218
|
}
|
|
37219
37219
|
});
|
|
37220
37220
|
|
|
37221
|
-
// node_modules/.pnpm/typescript@5.4.
|
|
37221
|
+
// node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/typescript.js
|
|
37222
37222
|
var require_typescript = __commonJS({
|
|
37223
|
-
"node_modules/.pnpm/typescript@5.4.
|
|
37223
|
+
"node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/typescript.js"(exports, module) {
|
|
37224
37224
|
"use strict";
|
|
37225
37225
|
/*! *****************************************************************************
|
|
37226
37226
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -37254,7 +37254,7 @@ var require_typescript = __commonJS({
|
|
|
37254
37254
|
"src/compiler/corePublic.ts"() {
|
|
37255
37255
|
"use strict";
|
|
37256
37256
|
versionMajorMinor = "5.4";
|
|
37257
|
-
version3 = "5.4.
|
|
37257
|
+
version3 = "5.4.5";
|
|
37258
37258
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
37259
37259
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
37260
37260
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -99582,12 +99582,10 @@ ${lanes.join("\n")}
|
|
|
99582
99582
|
const target = type2.target ?? type2;
|
|
99583
99583
|
const typeVariable = getHomomorphicTypeVariable(target);
|
|
99584
99584
|
if (typeVariable && !target.declaration.nameType) {
|
|
99585
|
-
const
|
|
99586
|
-
|
|
99587
|
-
|
|
99588
|
-
|
|
99589
|
-
return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type2.mapper));
|
|
99590
|
-
}
|
|
99585
|
+
const modifiersType = getModifiersTypeFromMappedType(type2);
|
|
99586
|
+
const baseConstraint = isGenericMappedType(modifiersType) ? getApparentTypeOfMappedType(modifiersType) : getBaseConstraintOfType(modifiersType);
|
|
99587
|
+
if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) {
|
|
99588
|
+
return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type2.mapper));
|
|
99591
99589
|
}
|
|
99592
99590
|
}
|
|
99593
99591
|
return type2;
|
|
@@ -99753,13 +99751,13 @@ ${lanes.join("\n")}
|
|
|
99753
99751
|
}
|
|
99754
99752
|
function getUnionOrIntersectionProperty(type2, name, skipObjectFunctionPropertyAugment) {
|
|
99755
99753
|
var _a, _b, _c;
|
|
99756
|
-
let property = (
|
|
99754
|
+
let property = skipObjectFunctionPropertyAugment ? (_a = type2.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) : (_b = type2.propertyCache) == null ? void 0 : _b.get(name);
|
|
99757
99755
|
if (!property) {
|
|
99758
99756
|
property = createUnionOrIntersectionProperty(type2, name, skipObjectFunctionPropertyAugment);
|
|
99759
99757
|
if (property) {
|
|
99760
99758
|
const properties = skipObjectFunctionPropertyAugment ? type2.propertyCacheWithoutObjectFunctionPropertyAugment || (type2.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type2.propertyCache || (type2.propertyCache = createSymbolTable());
|
|
99761
99759
|
properties.set(name, property);
|
|
99762
|
-
if (skipObjectFunctionPropertyAugment && !((_c = type2.propertyCache) == null ? void 0 : _c.get(name))) {
|
|
99760
|
+
if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48) && !((_c = type2.propertyCache) == null ? void 0 : _c.get(name))) {
|
|
99763
99761
|
const properties2 = type2.propertyCache || (type2.propertyCache = createSymbolTable());
|
|
99764
99762
|
properties2.set(name, property);
|
|
99765
99763
|
}
|
|
@@ -206822,7 +206820,8 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
206822
206820
|
}
|
|
206823
206821
|
function symbolAppearsToBeTypeOnly(symbol) {
|
|
206824
206822
|
var _a;
|
|
206825
|
-
|
|
206823
|
+
const flags = getCombinedLocalAndExportSymbolFlags(skipAlias(symbol, typeChecker));
|
|
206824
|
+
return !(flags & 111551) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(flags & 788968));
|
|
206826
206825
|
}
|
|
206827
206826
|
}
|
|
206828
206827
|
function getLabelCompletionAtPosition(node) {
|
|
@@ -330421,7 +330420,7 @@ var transform4 = (options) => {
|
|
|
330421
330420
|
};
|
|
330422
330421
|
};
|
|
330423
330422
|
|
|
330424
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330423
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/utils.ts
|
|
330425
330424
|
var semver = __toESM(require_semver());
|
|
330426
330425
|
var import_sembear = __toESM(require_sembear_cjs());
|
|
330427
330426
|
var NORMAL_DEPENDENCY_TYPES = [
|
|
@@ -330519,7 +330518,7 @@ function makeCheck(check3) {
|
|
|
330519
330518
|
return check3;
|
|
330520
330519
|
}
|
|
330521
330520
|
|
|
330522
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330521
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/EXTERNAL_MISMATCH.ts
|
|
330523
330522
|
var import_semver = __toESM(require_semver());
|
|
330524
330523
|
var EXTERNAL_MISMATCH_default = makeCheck({
|
|
330525
330524
|
validate: (workspace, allWorkspace) => {
|
|
@@ -330558,7 +330557,7 @@ var EXTERNAL_MISMATCH_default = makeCheck({
|
|
|
330558
330557
|
type: "all"
|
|
330559
330558
|
});
|
|
330560
330559
|
|
|
330561
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330560
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/INTERNAL_MISMATCH.ts
|
|
330562
330561
|
var import_semver2 = __toESM(require_semver());
|
|
330563
330562
|
var INTERNAL_MISMATCH_default = makeCheck({
|
|
330564
330563
|
validate: (workspace, allWorkspaces) => {
|
|
@@ -330597,7 +330596,7 @@ var INTERNAL_MISMATCH_default = makeCheck({
|
|
|
330597
330596
|
type: "all"
|
|
330598
330597
|
});
|
|
330599
330598
|
|
|
330600
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330599
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/INVALID_DEV_AND_PEER_DEPENDENCY_RELATIONSHIP.ts
|
|
330601
330600
|
var import_sembear2 = __toESM(require_sembear_cjs());
|
|
330602
330601
|
var import_semver3 = __toESM(require_semver());
|
|
330603
330602
|
var INVALID_DEV_AND_PEER_DEPENDENCY_RELATIONSHIP_default = makeCheck({
|
|
@@ -330664,7 +330663,7 @@ var INVALID_DEV_AND_PEER_DEPENDENCY_RELATIONSHIP_default = makeCheck({
|
|
|
330664
330663
|
}
|
|
330665
330664
|
});
|
|
330666
330665
|
|
|
330667
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330666
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/INVALID_PACKAGE_NAME.ts
|
|
330668
330667
|
var import_validate_npm_package_name = __toESM(require_validate_npm_package_name());
|
|
330669
330668
|
var INVALID_PACKAGE_NAME_default = makeCheck({
|
|
330670
330669
|
type: "all",
|
|
@@ -330707,7 +330706,7 @@ ${error2.errors.join(
|
|
|
330707
330706
|
}
|
|
330708
330707
|
});
|
|
330709
330708
|
|
|
330710
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330709
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/MULTIPLE_DEPENDENCY_TYPES.ts
|
|
330711
330710
|
var MULTIPLE_DEPENDENCY_TYPES_default = makeCheck({
|
|
330712
330711
|
validate: (workspace, allWorkspaces) => {
|
|
330713
330712
|
let dependencies = /* @__PURE__ */ new Set();
|
|
@@ -330748,7 +330747,7 @@ var MULTIPLE_DEPENDENCY_TYPES_default = makeCheck({
|
|
|
330748
330747
|
print: (error2) => `${error2.workspace.packageJson.name} has a dependency and a ${error2.dependencyType === "devDependencies" ? "devDependency" : "optionalDependency"} on ${error2.dependencyName}, this is unnecessary, it should be removed from ${error2.dependencyType}`
|
|
330749
330748
|
});
|
|
330750
330749
|
|
|
330751
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330750
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/ROOT_HAS_DEV_DEPENDENCIES.ts
|
|
330752
330751
|
var import_chalk6 = __toESM(require_source());
|
|
330753
330752
|
var ROOT_HAS_DEV_DEPENDENCIES_default = makeCheck({
|
|
330754
330753
|
type: "root",
|
|
@@ -330776,7 +330775,7 @@ var ROOT_HAS_DEV_DEPENDENCIES_default = makeCheck({
|
|
|
330776
330775
|
}
|
|
330777
330776
|
});
|
|
330778
330777
|
|
|
330779
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330778
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/UNSORTED_DEPENDENCIES.ts
|
|
330780
330779
|
var UNSORTED_DEPENDENCIES_default = makeCheck({
|
|
330781
330780
|
type: "all",
|
|
330782
330781
|
validate: (workspace) => {
|
|
@@ -330799,7 +330798,7 @@ var UNSORTED_DEPENDENCIES_default = makeCheck({
|
|
|
330799
330798
|
print: (error2) => `${error2.workspace.packageJson.name}'s dependencies are unsorted, this can cause large diffs when packages are added, resulting in dependencies being sorted`
|
|
330800
330799
|
});
|
|
330801
330800
|
|
|
330802
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330801
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/INCORRECT_REPOSITORY_FIELD.ts
|
|
330803
330802
|
var import_parse_github_url = __toESM(require_parse_github_url());
|
|
330804
330803
|
var import_normalize_path = __toESM(require_normalize_path());
|
|
330805
330804
|
var INCORRECT_REPOSITORY_FIELD_default = makeCheck({
|
|
@@ -330867,7 +330866,7 @@ var INCORRECT_REPOSITORY_FIELD_default = makeCheck({
|
|
|
330867
330866
|
}
|
|
330868
330867
|
});
|
|
330869
330868
|
|
|
330870
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330869
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/WORKSPACE_REQUIRED.ts
|
|
330871
330870
|
var WORKSPACE_REQUIRED_default = makeCheck({
|
|
330872
330871
|
validate: (workspace, allWorkspaces, root, opts) => {
|
|
330873
330872
|
if (opts.workspaceProtocol !== "require")
|
|
@@ -330901,7 +330900,7 @@ var WORKSPACE_REQUIRED_default = makeCheck({
|
|
|
330901
330900
|
type: "all"
|
|
330902
330901
|
});
|
|
330903
330902
|
|
|
330904
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330903
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/index.ts
|
|
330905
330904
|
var checks = {
|
|
330906
330905
|
EXTERNAL_MISMATCH: EXTERNAL_MISMATCH_default,
|
|
330907
330906
|
INTERNAL_MISMATCH: INTERNAL_MISMATCH_default,
|
|
@@ -330914,7 +330913,7 @@ var checks = {
|
|
|
330914
330913
|
WORKSPACE_REQUIRED: WORKSPACE_REQUIRED_default
|
|
330915
330914
|
};
|
|
330916
330915
|
|
|
330917
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330916
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/errors.ts
|
|
330918
330917
|
var ExitError = class extends Error {
|
|
330919
330918
|
code;
|
|
330920
330919
|
constructor(code) {
|
|
@@ -330923,7 +330922,7 @@ var ExitError = class extends Error {
|
|
|
330923
330922
|
}
|
|
330924
330923
|
};
|
|
330925
330924
|
|
|
330926
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330925
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/npm-tag.ts
|
|
330927
330926
|
var import_get_packages = __toESM(require_manypkg_get_packages_cjs());
|
|
330928
330927
|
var import_spawndamnit = __toESM(require_spawndamnit());
|
|
330929
330928
|
var import_p_limit = __toESM(require_p_limit());
|
|
@@ -330964,11 +330963,11 @@ async function npmTagAll([tag, _, otp]) {
|
|
|
330964
330963
|
);
|
|
330965
330964
|
}
|
|
330966
330965
|
|
|
330967
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330966
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/run.ts
|
|
330968
330967
|
var import_get_packages2 = __toESM(require_manypkg_get_packages_cjs());
|
|
330969
330968
|
var import_spawndamnit2 = __toESM(require_spawndamnit());
|
|
330970
330969
|
|
|
330971
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330970
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/logger.ts
|
|
330972
330971
|
var import_chalk7 = __toESM(require_source());
|
|
330973
330972
|
import util2 from "util";
|
|
330974
330973
|
function format6(args, messageType, scope) {
|
|
@@ -330984,7 +330983,7 @@ function error(message, scope) {
|
|
|
330984
330983
|
console.error(format6([message], "error", scope));
|
|
330985
330984
|
}
|
|
330986
330985
|
|
|
330987
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
330986
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/run.ts
|
|
330988
330987
|
async function runCmd(args, cwd) {
|
|
330989
330988
|
let { packages, rootDir } = await (0, import_get_packages2.getPackages)(cwd);
|
|
330990
330989
|
const exactMatchingPackage = packages.find((pkg) => {
|
|
@@ -331018,12 +331017,12 @@ ${matchingPackages.map((x) => x.packageJson.name).join("\n")}`
|
|
|
331018
331017
|
}
|
|
331019
331018
|
}
|
|
331020
331019
|
|
|
331021
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
331020
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/upgrade.ts
|
|
331022
331021
|
var import_get_packages3 = __toESM(require_manypkg_get_packages_cjs());
|
|
331023
331022
|
var import_semver5 = __toESM(require_semver());
|
|
331024
331023
|
var import_p_limit2 = __toESM(require_p_limit());
|
|
331025
331024
|
|
|
331026
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
331025
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/utils.ts
|
|
331027
331026
|
var fs16 = __toESM(require_lib8());
|
|
331028
331027
|
var import_spawndamnit3 = __toESM(require_spawndamnit());
|
|
331029
331028
|
var import_detect_indent = __toESM(require_detect_indent());
|
|
@@ -331052,7 +331051,7 @@ async function install(toolType, cwd) {
|
|
|
331052
331051
|
);
|
|
331053
331052
|
}
|
|
331054
331053
|
|
|
331055
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
331054
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/upgrade.ts
|
|
331056
331055
|
async function upgradeDependency([name, tag = "latest"]) {
|
|
331057
331056
|
let { packages, tool, rootPackage, rootDir } = await (0, import_get_packages3.getPackages)(
|
|
331058
331057
|
process.cwd()
|
|
@@ -331068,7 +331067,7 @@ async function upgradeDependency([name, tag = "latest"]) {
|
|
|
331068
331067
|
return;
|
|
331069
331068
|
let packageNames = Object.keys(deps);
|
|
331070
331069
|
packageNames.forEach((pkgName) => {
|
|
331071
|
-
if (isScope && pkgName.startsWith(name) || pkgName === name) {
|
|
331070
|
+
if (isScope && pkgName.startsWith(`${name}/`) || pkgName === name) {
|
|
331072
331071
|
requiresUpdate = true;
|
|
331073
331072
|
packagesToUpdate.add(pkgName);
|
|
331074
331073
|
}
|
|
@@ -331084,7 +331083,7 @@ async function upgradeDependency([name, tag = "latest"]) {
|
|
|
331084
331083
|
return;
|
|
331085
331084
|
let packageNames = Object.keys(deps);
|
|
331086
331085
|
packageNames.forEach((pkgName) => {
|
|
331087
|
-
if (isScope && pkgName.startsWith(name) || pkgName === name) {
|
|
331086
|
+
if (isScope && pkgName.startsWith(`${name}/`) || pkgName === name) {
|
|
331088
331087
|
rootRequiresUpdate = true;
|
|
331089
331088
|
packagesToUpdate.add(pkgName);
|
|
331090
331089
|
}
|
package/src/manypkg/index.js
CHANGED
|
@@ -33825,7 +33825,7 @@ var init_package_json = __esm({
|
|
|
33825
33825
|
}
|
|
33826
33826
|
});
|
|
33827
33827
|
|
|
33828
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
33828
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/utils.ts
|
|
33829
33829
|
var semver = __toESM(require_semver());
|
|
33830
33830
|
var import_sembear = __toESM(require_sembear_cjs());
|
|
33831
33831
|
var NORMAL_DEPENDENCY_TYPES = [
|
|
@@ -33923,7 +33923,7 @@ function makeCheck(check) {
|
|
|
33923
33923
|
return check;
|
|
33924
33924
|
}
|
|
33925
33925
|
|
|
33926
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
33926
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/EXTERNAL_MISMATCH.ts
|
|
33927
33927
|
var import_semver = __toESM(require_semver());
|
|
33928
33928
|
var EXTERNAL_MISMATCH_default = makeCheck({
|
|
33929
33929
|
validate: (workspace, allWorkspace) => {
|
|
@@ -33962,7 +33962,7 @@ var EXTERNAL_MISMATCH_default = makeCheck({
|
|
|
33962
33962
|
type: "all"
|
|
33963
33963
|
});
|
|
33964
33964
|
|
|
33965
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
33965
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/INTERNAL_MISMATCH.ts
|
|
33966
33966
|
var import_semver2 = __toESM(require_semver());
|
|
33967
33967
|
var INTERNAL_MISMATCH_default = makeCheck({
|
|
33968
33968
|
validate: (workspace, allWorkspaces) => {
|
|
@@ -34001,7 +34001,7 @@ var INTERNAL_MISMATCH_default = makeCheck({
|
|
|
34001
34001
|
type: "all"
|
|
34002
34002
|
});
|
|
34003
34003
|
|
|
34004
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34004
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/INVALID_DEV_AND_PEER_DEPENDENCY_RELATIONSHIP.ts
|
|
34005
34005
|
var import_sembear2 = __toESM(require_sembear_cjs());
|
|
34006
34006
|
var import_semver3 = __toESM(require_semver());
|
|
34007
34007
|
var INVALID_DEV_AND_PEER_DEPENDENCY_RELATIONSHIP_default = makeCheck({
|
|
@@ -34068,7 +34068,7 @@ var INVALID_DEV_AND_PEER_DEPENDENCY_RELATIONSHIP_default = makeCheck({
|
|
|
34068
34068
|
}
|
|
34069
34069
|
});
|
|
34070
34070
|
|
|
34071
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34071
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/INVALID_PACKAGE_NAME.ts
|
|
34072
34072
|
var import_validate_npm_package_name = __toESM(require_validate_npm_package_name());
|
|
34073
34073
|
var INVALID_PACKAGE_NAME_default = makeCheck({
|
|
34074
34074
|
type: "all",
|
|
@@ -34111,7 +34111,7 @@ ${error2.errors.join(
|
|
|
34111
34111
|
}
|
|
34112
34112
|
});
|
|
34113
34113
|
|
|
34114
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34114
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/MULTIPLE_DEPENDENCY_TYPES.ts
|
|
34115
34115
|
var MULTIPLE_DEPENDENCY_TYPES_default = makeCheck({
|
|
34116
34116
|
validate: (workspace, allWorkspaces) => {
|
|
34117
34117
|
let dependencies = /* @__PURE__ */ new Set();
|
|
@@ -34152,7 +34152,7 @@ var MULTIPLE_DEPENDENCY_TYPES_default = makeCheck({
|
|
|
34152
34152
|
print: (error2) => `${error2.workspace.packageJson.name} has a dependency and a ${error2.dependencyType === "devDependencies" ? "devDependency" : "optionalDependency"} on ${error2.dependencyName}, this is unnecessary, it should be removed from ${error2.dependencyType}`
|
|
34153
34153
|
});
|
|
34154
34154
|
|
|
34155
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34155
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/ROOT_HAS_DEV_DEPENDENCIES.ts
|
|
34156
34156
|
var import_chalk = __toESM(require_source());
|
|
34157
34157
|
var ROOT_HAS_DEV_DEPENDENCIES_default = makeCheck({
|
|
34158
34158
|
type: "root",
|
|
@@ -34180,7 +34180,7 @@ var ROOT_HAS_DEV_DEPENDENCIES_default = makeCheck({
|
|
|
34180
34180
|
}
|
|
34181
34181
|
});
|
|
34182
34182
|
|
|
34183
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34183
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/UNSORTED_DEPENDENCIES.ts
|
|
34184
34184
|
var UNSORTED_DEPENDENCIES_default = makeCheck({
|
|
34185
34185
|
type: "all",
|
|
34186
34186
|
validate: (workspace) => {
|
|
@@ -34203,7 +34203,7 @@ var UNSORTED_DEPENDENCIES_default = makeCheck({
|
|
|
34203
34203
|
print: (error2) => `${error2.workspace.packageJson.name}'s dependencies are unsorted, this can cause large diffs when packages are added, resulting in dependencies being sorted`
|
|
34204
34204
|
});
|
|
34205
34205
|
|
|
34206
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34206
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/INCORRECT_REPOSITORY_FIELD.ts
|
|
34207
34207
|
var import_parse_github_url = __toESM(require_parse_github_url());
|
|
34208
34208
|
var import_normalize_path = __toESM(require_normalize_path());
|
|
34209
34209
|
var INCORRECT_REPOSITORY_FIELD_default = makeCheck({
|
|
@@ -34271,7 +34271,7 @@ var INCORRECT_REPOSITORY_FIELD_default = makeCheck({
|
|
|
34271
34271
|
}
|
|
34272
34272
|
});
|
|
34273
34273
|
|
|
34274
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34274
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/WORKSPACE_REQUIRED.ts
|
|
34275
34275
|
var WORKSPACE_REQUIRED_default = makeCheck({
|
|
34276
34276
|
validate: (workspace, allWorkspaces, root, opts) => {
|
|
34277
34277
|
if (opts.workspaceProtocol !== "require")
|
|
@@ -34305,7 +34305,7 @@ var WORKSPACE_REQUIRED_default = makeCheck({
|
|
|
34305
34305
|
type: "all"
|
|
34306
34306
|
});
|
|
34307
34307
|
|
|
34308
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34308
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/checks/index.ts
|
|
34309
34309
|
var checks = {
|
|
34310
34310
|
EXTERNAL_MISMATCH: EXTERNAL_MISMATCH_default,
|
|
34311
34311
|
INTERNAL_MISMATCH: INTERNAL_MISMATCH_default,
|
|
@@ -34318,7 +34318,7 @@ var checks = {
|
|
|
34318
34318
|
WORKSPACE_REQUIRED: WORKSPACE_REQUIRED_default
|
|
34319
34319
|
};
|
|
34320
34320
|
|
|
34321
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34321
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/errors.ts
|
|
34322
34322
|
var ExitError = class extends Error {
|
|
34323
34323
|
code;
|
|
34324
34324
|
constructor(code) {
|
|
@@ -34327,7 +34327,7 @@ var ExitError = class extends Error {
|
|
|
34327
34327
|
}
|
|
34328
34328
|
};
|
|
34329
34329
|
|
|
34330
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34330
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/npm-tag.ts
|
|
34331
34331
|
var import_get_packages = __toESM(require_manypkg_get_packages_cjs());
|
|
34332
34332
|
var import_spawndamnit = __toESM(require_spawndamnit());
|
|
34333
34333
|
var import_p_limit = __toESM(require_p_limit());
|
|
@@ -34368,11 +34368,11 @@ async function npmTagAll([tag, _, otp]) {
|
|
|
34368
34368
|
);
|
|
34369
34369
|
}
|
|
34370
34370
|
|
|
34371
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34371
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/run.ts
|
|
34372
34372
|
var import_get_packages2 = __toESM(require_manypkg_get_packages_cjs());
|
|
34373
34373
|
var import_spawndamnit2 = __toESM(require_spawndamnit());
|
|
34374
34374
|
|
|
34375
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34375
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/logger.ts
|
|
34376
34376
|
var import_chalk2 = __toESM(require_source());
|
|
34377
34377
|
import util from "util";
|
|
34378
34378
|
function format(args, messageType, scope) {
|
|
@@ -34388,7 +34388,7 @@ function error(message, scope) {
|
|
|
34388
34388
|
console.error(format([message], "error", scope));
|
|
34389
34389
|
}
|
|
34390
34390
|
|
|
34391
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34391
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/run.ts
|
|
34392
34392
|
async function runCmd(args, cwd) {
|
|
34393
34393
|
let { packages, rootDir } = await (0, import_get_packages2.getPackages)(cwd);
|
|
34394
34394
|
const exactMatchingPackage = packages.find((pkg) => {
|
|
@@ -34422,12 +34422,12 @@ ${matchingPackages.map((x) => x.packageJson.name).join("\n")}`
|
|
|
34422
34422
|
}
|
|
34423
34423
|
}
|
|
34424
34424
|
|
|
34425
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34425
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/upgrade.ts
|
|
34426
34426
|
var import_get_packages3 = __toESM(require_manypkg_get_packages_cjs());
|
|
34427
34427
|
var import_semver5 = __toESM(require_semver());
|
|
34428
34428
|
var import_p_limit2 = __toESM(require_p_limit());
|
|
34429
34429
|
|
|
34430
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34430
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/utils.ts
|
|
34431
34431
|
var fs = __toESM(require_lib());
|
|
34432
34432
|
var import_spawndamnit3 = __toESM(require_spawndamnit());
|
|
34433
34433
|
var import_detect_indent = __toESM(require_detect_indent());
|
|
@@ -34456,7 +34456,7 @@ async function install(toolType, cwd) {
|
|
|
34456
34456
|
);
|
|
34457
34457
|
}
|
|
34458
34458
|
|
|
34459
|
-
// node_modules/.pnpm/@manypkg+cli@0.21.
|
|
34459
|
+
// node_modules/.pnpm/@manypkg+cli@0.21.4/node_modules/@manypkg/cli/src/upgrade.ts
|
|
34460
34460
|
async function upgradeDependency([name, tag = "latest"]) {
|
|
34461
34461
|
let { packages, tool, rootPackage, rootDir } = await (0, import_get_packages3.getPackages)(
|
|
34462
34462
|
process.cwd()
|
|
@@ -34472,7 +34472,7 @@ async function upgradeDependency([name, tag = "latest"]) {
|
|
|
34472
34472
|
return;
|
|
34473
34473
|
let packageNames = Object.keys(deps);
|
|
34474
34474
|
packageNames.forEach((pkgName) => {
|
|
34475
|
-
if (isScope && pkgName.startsWith(name) || pkgName === name) {
|
|
34475
|
+
if (isScope && pkgName.startsWith(`${name}/`) || pkgName === name) {
|
|
34476
34476
|
requiresUpdate = true;
|
|
34477
34477
|
packagesToUpdate.add(pkgName);
|
|
34478
34478
|
}
|
|
@@ -34488,7 +34488,7 @@ async function upgradeDependency([name, tag = "latest"]) {
|
|
|
34488
34488
|
return;
|
|
34489
34489
|
let packageNames = Object.keys(deps);
|
|
34490
34490
|
packageNames.forEach((pkgName) => {
|
|
34491
|
-
if (isScope && pkgName.startsWith(name) || pkgName === name) {
|
|
34491
|
+
if (isScope && pkgName.startsWith(`${name}/`) || pkgName === name) {
|
|
34492
34492
|
rootRequiresUpdate = true;
|
|
34493
34493
|
packagesToUpdate.add(pkgName);
|
|
34494
34494
|
}
|