@r_masseater/vite-plus-adopt 0.19.1 → 0.20.0
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/README.md +1 -1
- package/dist/attw.d.mts +17 -1
- package/dist/attw.mjs +4 -4
- package/dist/attw.mjs.map +1 -1
- package/package.json +4 -3
- package/skills/configure-checks/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -127,7 +127,7 @@ The Renovate preset updates `version` of each GitHub key and of `dotnet`. A new
|
|
|
127
127
|
|
|
128
128
|
## Replacement for @arethetypeswrong/core
|
|
129
129
|
|
|
130
|
-
`@r_masseater/vite-plus-adopt/attw` provides the same API as [@arethetypeswrong/core][attw] 0.18.5, on TypeScript 7.1 alone.
|
|
130
|
+
`@r_masseater/vite-plus-adopt/attw` provides the same API as [@arethetypeswrong/core][attw] 0.18.5, on tsrs, the Rust port of TypeScript 7.1, alone.
|
|
131
131
|
Pass it to `pack.attw.module`, and the same checks run without installing `@arethetypeswrong/core`.
|
|
132
132
|
|
|
133
133
|
```ts
|
package/dist/attw.d.mts
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
// Code generated by tools/scripts/tsc/generate-enums.ts from tools/scripts/tsc/options.ts. DO NOT EDIT.
|
|
2
|
+
declare enum ModuleKind$1 {
|
|
3
|
+
None = 0,
|
|
4
|
+
CommonJS = 1,
|
|
5
|
+
AMD = 2,
|
|
6
|
+
UMD = 3,
|
|
7
|
+
System = 4,
|
|
8
|
+
ES2015 = 5,
|
|
9
|
+
ES2020 = 6,
|
|
10
|
+
ES2022 = 7,
|
|
11
|
+
ESNext = 99,
|
|
12
|
+
Node16 = 100,
|
|
13
|
+
Node18 = 101,
|
|
14
|
+
Node20 = 102,
|
|
15
|
+
NodeNext = 199,
|
|
16
|
+
Preserve = 200
|
|
17
|
+
}
|
|
2
18
|
type ResolutionKind = "node10" | "node16-cjs" | "node16-esm" | "bundler";
|
|
3
19
|
type ResolutionOption = "node10" | "node16" | "bundler";
|
|
4
20
|
interface EntrypointInfo {
|
package/dist/attw.mjs
CHANGED
|
@@ -2,10 +2,10 @@ import { t as parseJson } from "./json-QtVKpodH.mjs";
|
|
|
2
2
|
import { Array as Array$1, Function, MutableRef, Option, Order, Predicate, Record, String as String$1, pipe } from "effect";
|
|
3
3
|
import semver, { major, maxSatisfying, minor, valid, validRange } from "semver";
|
|
4
4
|
import { init, parse } from "cjs-module-lexer";
|
|
5
|
-
import { InternalSymbolName, ModifierFlags, NodeFlags, ScriptKind, ScriptTarget, SyntaxKind, escapeLeadingUnderscores, getNameOfDeclaration } from "
|
|
6
|
-
import { API, ModuleKind, ModuleResolutionKind, ObjectFlags, SignatureKind, SymbolFlags, TypeFlags, isObjectType } from "
|
|
7
|
-
import { isArrayBindingPattern, isArrayLiteralExpression, isArrowFunction, isBinaryExpression, isBindingElement, isBlock, isCallExpression, isCatchClause, isClassDeclaration, isClassExpression, isElementAccessExpression, isEnumDeclaration, isExportAssignment, isExportDeclaration, isExportSpecifier, isExpression, isExpressionStatement, isForInStatement, isFunctionDeclaration, isFunctionExpression, isIdentifier, isImportAttributes, isImportClause, isImportDeclaration, isImportEqualsDeclaration, isImportSpecifier, isImportTypeNode, isInterfaceDeclaration, isJSDoc, isJSDocCallbackTag, isJSDocImportTag, isJSDocTypedefTag, isModuleBlock, isModuleDeclaration, isNamedExports, isNamespaceExport, isNamespaceImport, isNumericLiteral, isObjectBindingPattern, isObjectLiteralExpression, isParameterDeclaration, isParenthesizedExpression, isPrefixUnaryExpression, isPropertyAccessExpression, isPropertyAssignment, isReturnStatement, isShorthandPropertyAssignment, isSourceFile, isStringLiteral, isStringLiteralLikeNode, isTypeAliasDeclaration, isVariableDeclaration, isVariableDeclarationList, isVariableStatement, isVoidExpression } from "
|
|
8
|
-
import { serverFS } from "
|
|
5
|
+
import { InternalSymbolName, ModifierFlags, NodeFlags, ScriptKind, ScriptTarget, SyntaxKind, escapeLeadingUnderscores, getNameOfDeclaration } from "tsrs/ast";
|
|
6
|
+
import { API, ModuleKind, ModuleResolutionKind, ObjectFlags, SignatureKind, SymbolFlags, TypeFlags, isObjectType } from "tsrs/sync";
|
|
7
|
+
import { isArrayBindingPattern, isArrayLiteralExpression, isArrowFunction, isBinaryExpression, isBindingElement, isBlock, isCallExpression, isCatchClause, isClassDeclaration, isClassExpression, isElementAccessExpression, isEnumDeclaration, isExportAssignment, isExportDeclaration, isExportSpecifier, isExpression, isExpressionStatement, isForInStatement, isFunctionDeclaration, isFunctionExpression, isIdentifier, isImportAttributes, isImportClause, isImportDeclaration, isImportEqualsDeclaration, isImportSpecifier, isImportTypeNode, isInterfaceDeclaration, isJSDoc, isJSDocCallbackTag, isJSDocImportTag, isJSDocTypedefTag, isModuleBlock, isModuleDeclaration, isNamedExports, isNamespaceExport, isNamespaceImport, isNumericLiteral, isObjectBindingPattern, isObjectLiteralExpression, isParameterDeclaration, isParenthesizedExpression, isPrefixUnaryExpression, isPropertyAccessExpression, isPropertyAssignment, isReturnStatement, isShorthandPropertyAssignment, isSourceFile, isStringLiteral, isStringLiteralLikeNode, isTypeAliasDeclaration, isVariableDeclaration, isVariableDeclarationList, isVariableStatement, isVoidExpression } from "tsrs/ast/is";
|
|
8
|
+
import { serverFS } from "tsrs/fs";
|
|
9
9
|
import { untar } from "@andrewbranch/untar.js";
|
|
10
10
|
import { FlateErrorCode, Gunzip } from "fflate";
|
|
11
11
|
import validatePackgeName from "validate-npm-package-name";
|