@tslite/printer 1.15.0 → 1.16.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/NOTICE +3 -1
- package/dist/_namespaces/ts.js +3163 -5
- package/dist/types.d.ts +1 -1
- package/dist/utilities.d.ts +2 -1
- package/package.json +5 -4
- package/dist/emitter.js +0 -2751
- package/dist/index.js +0 -4
- package/dist/types.js +0 -65
- package/dist/utilities.js +0 -427
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CompilerOptions, EmitHint, ModuleDeclaration, NewLineKind, Node, NodeArray, SourceFile, Symbol, SymbolFlags, SyntaxKind } from "
|
|
1
|
+
import type { CompilerOptions, EmitHint, ModuleDeclaration, NewLineKind, Node, NodeArray, SourceFile, Symbol, SymbolFlags, SyntaxKind } from "@tslite/parser";
|
|
2
2
|
interface SymbolWriter extends SymbolTracker {
|
|
3
3
|
writeKeyword(text: string): void;
|
|
4
4
|
writeOperator(text: string): void;
|
package/dist/utilities.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { CommentRange, CompilerOptions, EmitHint,
|
|
1
|
+
import type { CommentRange, CompilerOptions, EmitHint, Node, SourceFile, TextRange } from "@tslite/parser";
|
|
2
|
+
import type { EmitTextWriter, PrintHandlers, PrinterOptions } from "./_namespaces/ts.js";
|
|
2
3
|
export declare function usingSingleLineStringWriter(action: (writer: EmitTextWriter) => void): string;
|
|
3
4
|
/**
|
|
4
5
|
* Returns a value indicating whether a name is unique globally or within the current file.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tslite/printer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.1",
|
|
4
4
|
"description": "The tsc 3.9.10 printer, copied from the tag and cut down to the TSLite Language: prints a parse tree node, a list or a file as text, with the writers it prints through",
|
|
5
5
|
"author": "Anderson D. Rosa <andersondrosa@outlook.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -11,16 +11,17 @@
|
|
|
11
11
|
"import": "./dist/_namespaces/ts.js"
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
|
+
"sideEffects": false,
|
|
14
15
|
"files": [
|
|
15
16
|
"dist",
|
|
16
17
|
"LICENSE",
|
|
17
18
|
"NOTICE"
|
|
18
19
|
],
|
|
19
20
|
"dependencies": {
|
|
20
|
-
"@tslite/parser": "1.
|
|
21
|
+
"@tslite/parser": "1.16.1"
|
|
21
22
|
},
|
|
22
23
|
"devDependencies": {
|
|
23
|
-
"@tslite/oracle": "0.1.
|
|
24
|
+
"@tslite/oracle": "0.1.2"
|
|
24
25
|
},
|
|
25
26
|
"repository": {
|
|
26
27
|
"type": "git",
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
"access": "public"
|
|
32
33
|
},
|
|
33
34
|
"scripts": {
|
|
34
|
-
"build": "rm -rf dist && tsc -p tsconfig.build.json && node ../../scripts/copy-declarations.mjs dist",
|
|
35
|
+
"build": "rm -rf dist && tsup && tsc -p tsconfig.build.json --emitDeclarationOnly && node ../../scripts/copy-declarations.mjs dist",
|
|
35
36
|
"clean": "rm -rf dist",
|
|
36
37
|
"test": "vitest run",
|
|
37
38
|
"typecheck": "tsc --noEmit -p ."
|