taraskevizer 8.0.9 → 8.0.10

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.
@@ -35,14 +35,14 @@ export declare const abcOnly: (TaraskStep<import("./steps").SpecialSyntaxStorage
35
35
  }) => void))[];
36
36
  /**
37
37
  * Pipeline for taraskevizing into plain text.
38
- *
39
- * To see the full list of steps, check the source code.
40
38
  */
41
39
  export declare const plainText: (TaraskStep<import("./steps").SplittedTextStorage> | TaraskStep<import("./steps").SpecialSyntaxStorage> | TaraskStep<import("./steps").WhiteSpaceStorage>)[];
42
40
  /**
43
41
  * Pipeline for taraskevizing into HTML.
44
- *
45
- * To see the full list of steps, check the source code.
46
42
  */
47
43
  export declare const html: (TaraskStep<import("./steps").SplittedTextStorage> | TaraskStep<import("./steps").SpecialSyntaxStorage> | TaraskStep<import("./steps").WhiteSpaceStorage>)[];
44
+ /**
45
+ * Pipeline for phonetizing.
46
+ */
47
+ export declare const phonetic: (TaraskStep<import("./steps").SpecialSyntaxStorage> | TaraskStep<import("./steps").WhiteSpaceStorage>)[];
48
48
  export {};
package/dist/pipelines.js CHANGED
@@ -45,3 +45,14 @@ const createPipeline = (resolveSpecialSyntax, applyG, applyVariations, finalize,
45
45
  export const plainText = createPipeline(resolveSpecialSyntaxWithLAB, applyGNonHtml, applyVariationsNonHtml, finalizeWithNewLine, highlightDiffStepNonHtml);
46
46
 
47
47
  export const html = createPipeline(resolveSpecialSyntax('&lt;'), applyGHtml, applyVariationsHtml, finalize('<br>'), highlightDiffStep(htmlWrappers.fix));
48
+
49
+ export const phonetic = [
50
+ trim,
51
+ resolveSpecialSyntaxWithLAB,
52
+ prepare,
53
+ whitespacesToSpaces,
54
+ convertAlphabet,
55
+ restoreWhitespaces,
56
+ applyNoFix,
57
+ finalizeWithNewLine,
58
+ ];
package/package.json CHANGED
@@ -1,52 +1,51 @@
1
1
  {
2
- "name": "taraskevizer",
3
- "version": "8.0.9",
4
- "author": "GooseOb",
5
- "repository": {
6
- "type": "git",
7
- "url": "git+https://github.com/GooseOb/taraskevizer.git"
8
- },
9
- "main": "dist/index.js",
10
- "module": "dist/index.js",
11
- "devDependencies": {
12
- "@digitak/esrun": "^3.2.26",
13
- "@types/node": "^20.12.7",
14
- "bun-types": "^1.1.4",
15
- "husky": "^9.0.11",
16
- "prettier": "^3.2.5",
17
- "tsup": "^8.0.2",
18
- "typedoc": "^0.25.13",
19
- "typescript": "^5.4.5"
20
- },
21
- "bin": {
22
- "tarask": "dist/bin.js"
23
- },
24
- "description": "Канвэртацыя акадэмічнага правапісу ў клясычны",
25
- "files": [
26
- "dist",
27
- "README.md"
28
- ],
29
- "homepage": "https://gooseob.github.io/taraskevizatar/",
30
- "keywords": [
31
- "taraskevizatar",
32
- "taraskevica",
33
- "тарашкевіца",
34
- "тарашкевізатар",
35
- "belarusian"
36
- ],
37
- "license": "MIT",
38
- "private": false,
39
- "scripts": {
40
- "build": "tsc --project src/tsconfig.json && bun ./afterbuild.js",
41
- "dev": "esrun --watch=src/*,test/*,bin/* --send-code-mode=temporaryFile test",
42
- "dev:bun": "bun ./test/bun-watch.ts",
43
- "dev-bun": "bun test --watch",
44
- "test": "esrun --send-code-mode=temporaryFile test",
45
- "test-cli": "bun run build && esrun --send-code-mode=temporaryFile test",
46
- "postinstall": "husky",
47
- "docs": "typedoc"
48
- },
49
- "sideEffects": false,
50
- "type": "module",
51
- "types": "dist/index.d.ts"
2
+ "name": "taraskevizer",
3
+ "version": "8.0.10",
4
+ "author": "GooseOb",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/GooseOb/taraskevizer.git"
8
+ },
9
+ "main": "dist/index.js",
10
+ "module": "dist/index.js",
11
+ "devDependencies": {
12
+ "@digitak/esrun": "^3.2.26",
13
+ "@types/node": "^20.12.7",
14
+ "bun-types": "^1.1.4",
15
+ "husky": "^9.0.11",
16
+ "prettier": "^3.2.5",
17
+ "tsup": "^8.0.2",
18
+ "typedoc": "^0.25.13",
19
+ "typescript": "^5.4.5"
20
+ },
21
+ "bin": {
22
+ "tarask": "dist/bin.js"
23
+ },
24
+ "description": "Канвэртацыя акадэмічнага правапісу ў клясычны",
25
+ "files": [
26
+ "dist",
27
+ "README.md"
28
+ ],
29
+ "homepage": "https://gooseob.github.io/taraskevizatar/",
30
+ "keywords": [
31
+ "taraskevizatar",
32
+ "taraskevica",
33
+ "тарашкевіца",
34
+ "тарашкевізатар",
35
+ "belarusian"
36
+ ],
37
+ "license": "MIT",
38
+ "private": false,
39
+ "scripts": {
40
+ "build": "tsc --project src/tsconfig.json && bun ./afterbuild.js",
41
+ "dev": "esrun --watch=src/*,test/*,bin/* --send-code-mode=temporaryFile test",
42
+ "dev:bun": "bun ./test/bun-watch.ts",
43
+ "dev-bun": "bun test --watch",
44
+ "test": "esrun --send-code-mode=temporaryFile test",
45
+ "test-cli": "bun run build && esrun --send-code-mode=temporaryFile test",
46
+ "docs": "typedoc"
47
+ },
48
+ "sideEffects": false,
49
+ "type": "module",
50
+ "types": "dist/index.d.ts"
52
51
  }