Skip to content

Commit

Permalink
Clean up cspell-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed May 16, 2019
1 parent 9a16b9f commit c290fe9
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 49 deletions.
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -62,7 +62,6 @@
"mock-require": "^3.0.3",
"nyc": "^14.1.1",
"rimraf": "^2.6.3",
"rxjs": "^6.5.2",
"source-map-support": "^0.5.12",
"ts-node": "^8.1.0",
"tslint": "^5.16.0",
Expand Down
20 changes: 17 additions & 3 deletions packages/cspell-tools/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions packages/cspell-tools/package.json
Expand Up @@ -2,7 +2,6 @@
"name": "cspell-tools",
"version": "3.0.8",
"description": "Tools to assist with the development of cSpell",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"bin": {
"cspell-tools": "./dist/app.js"
Expand All @@ -14,7 +13,7 @@
"clean": "rimraf dist && rimraf temp",
"coverage": "NODE_ENV=test nyc --silent --no-clean --temp-dir=../../.nyc_output npm run test-ts",
"lint": "tslint --project tsconfig.json",
"test-ts": "NODE_ENV=test mocha --require ts-node/register --recursive --bail \"src/**/*.test.ts\"",
"test-ts": "NODE_ENV=test ../../node_modules/.bin/mocha --require ts-node/register --recursive \"src/**/*.test.ts\"",
"test-watch": "../../node_modules/.bin/mocha --require ts-node/register --watch --recursive \"src/**/*.test.ts\"",
"test": "mocha --recursive ./dist/**/*.test.js"
},
Expand Down Expand Up @@ -42,7 +41,7 @@
"dependencies": {
"commander": "^2.20.0",
"cspell-lib": "^3.0.8",
"cspell-trie": "^3.0.10",
"cspell-trie-lib": "^3.0.13",
"fs-extra": "^7.0.1",
"gensequence": "^2.1.2",
"glob": "^7.1.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/cspell-tools/src/app.ts
Expand Up @@ -4,7 +4,7 @@
// # !/usr/bin/env node --max_old_space_size=8192


import { compileWordList, compileTrie, compileSimpleWordList } from './compiler';
import { compileWordList, compileTrie } from './compiler';
import * as path from 'path';
import * as program from 'commander';
import { Observable, bindNodeCallback, from } from 'rxjs';
Expand Down
3 changes: 0 additions & 3 deletions packages/cspell-tools/src/compiler/index.ts
@@ -1,6 +1,3 @@


export * from './fileReader';
export * from './fileWriter';
export * from './wordListCompiler';
export * from './rxStreams';
33 changes: 0 additions & 33 deletions packages/cspell-tools/src/compiler/rxStreams.test.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/cspell-tools/src/compiler/rxStreams.ts

This file was deleted.

Expand Up @@ -9,7 +9,7 @@ import * as fsp from 'fs-extra';
import * as Trie from 'cspell-trie';
import * as path from 'path';
import { from } from 'rxjs';
import { take, toArray } from 'rxjs/operators';
import { take } from 'rxjs/operators';
import { genSequence } from 'gensequence';

describe('Validate the wordListCompiler', function() {
Expand Down
2 changes: 1 addition & 1 deletion packages/cspell-tools/src/compiler/wordListCompiler.ts
Expand Up @@ -8,7 +8,7 @@ import { Observable, from } from 'rxjs';
import { flatMap, map, bufferCount, distinct, toArray, filter } from 'rxjs/operators';
import * as path from 'path';
import { mkdirp } from 'fs-extra';
import * as Trie from 'cspell-trie';
import * as Trie from 'cspell-trie-lib';
import * as HR from 'hunspell-reader';
import { streamWordsFromFile } from './iterateWordsFromFile';
import { writeSeqToFile } from './fileWriter';
Expand Down
1 change: 0 additions & 1 deletion packages/cspell-tools/src/index.ts

This file was deleted.

0 comments on commit c290fe9

Please sign in to comment.