Permalink
Browse files

use typescript-project-services

  • Loading branch information...
fdecampredon committed Jan 20, 2015
1 parent 09aa5e8 commit c9384452050678fea0bbf33bc9e5858a18f2eb68
Showing with 928 additions and 2,890 deletions.
  1. 0 tslint.json → .tslint.json
  2. +13 −22 Gruntfile.js
  3. +12 −8 package.json
  4. +0 −113 src/commons/completion.ts
  5. +0 −51 src/commons/definition.ts
  6. +0 −16 src/commons/errorService.ts
  7. +0 −113 src/commons/fileSystem.ts
  8. +0 −35 src/commons/formattingService.ts
  9. +0 −53 src/commons/lexicalStructure.ts
  10. +0 −106 src/commons/logger.ts
  11. +0 −39 src/commons/preferencesManager.ts
  12. +0 −67 src/commons/projectConfig.ts
  13. +0 −135 src/commons/workingSet.ts
  14. +551 −0 src/declarations/typescript-project-services.d.ts
  15. +8 −7 src/main/codeHintProvider.ts
  16. 0 src/{commons → main}/collections.ts
  17. +6 −4 src/main/errorReporter.ts
  18. +49 −20 src/main/fileSystem.ts
  19. +73 −73 src/main/formattingManager.ts
  20. 0 src/{commons → main}/immediate.ts
  21. +24 −28 src/main/index.ts
  22. +8 −2 src/main/mode.ts
  23. +11 −11 src/main/preferencesManager.ts
  24. 0 src/{commons → main}/promiseQueue.ts
  25. +2 −3 src/main/quickEdit.ts
  26. +103 −103 src/main/quickFindDefinition.ts
  27. +2 −3 src/main/quickJump.ts
  28. +6 −5 src/main/serviceConsumer.ts
  29. 0 src/{commons → main}/signal.ts
  30. +2 −1 src/{commons → main}/typeScriptUtils.ts
  31. 0 src/{commons → main}/utils.ts
  32. +9 −10 src/{commons → main}/workerBridge.ts
  33. +28 −11 src/main/workingSet.ts
  34. +1 −1 src/test/collectionsTest.ts
  35. +2 −2 src/test/fileSystemMock.ts
  36. +0 −182 src/ts-worker/completionService.ts
  37. +0 −68 src/ts-worker/definitionService.ts
  38. +0 −118 src/ts-worker/errorService.ts
  39. +0 −65 src/ts-worker/formattingService.ts
  40. +18 −42 src/ts-worker/index.ts
  41. +0 −399 src/ts-worker/languageServiceHost.ts
  42. +0 −54 src/ts-worker/lexicalStructureService.ts
  43. +0 −609 src/ts-worker/project.ts
  44. +0 −311 src/ts-worker/projectManager.ts
File renamed without changes.
View
@@ -30,8 +30,8 @@ module.exports = function (grunt) {
var istanbulify = require('istanbulify');
grunt.initConfig({
source: ['src/declarations/*.d.ts', 'src/commons/**/*.ts', 'src/main/**/*.ts'],
workerSource: ['src/declarations/*.d.ts', 'src/commons/**/*.ts', 'src/ts-worker/**/*.ts'],
source: ['src/declarations/*.d.ts', 'src/main/**/*.ts'],
workerSource: ['src/declarations/**/*.d.ts', 'src/ts-worker/**/*.ts'],
testSource: ['src/declarations/*.d.ts', 'src/test-declarations/*.d.ts', 'src/test/**/*.ts'],
tmpFolder: 'tmp',
localBinFolder : 'built/',
@@ -106,15 +106,6 @@ module.exports = function (grunt) {
worker: {
files: {
'built/worker.js': ['tmp/ts-worker/index.js']
},
options: {
shim: {
typescriptServices: {
path: 'third_party/typescript/typescriptServices.js',
exports: 'TypeScript'
}
},
noParse: ['third_party/typescript/typescriptServices.js']
}
},
@@ -129,17 +120,17 @@ module.exports = function (grunt) {
}
},
tslint: {
options: {
configuration: grunt.file.readJSON('tslint.json')
},
all: {
src: [
'src/**/*.ts',
'!src/declarations/typescriptServices.d.ts'
]
}
},
// tslint: {
// options: {
// configuration: grunt.file.readJSON('tslint.json')
// },
// all: {
// src: [
// 'src/**/*.ts',
// '!src/declarations/typescriptServices.d.ts'
// ]
// }
// },
jasmine: {
View
@@ -13,18 +13,22 @@
"brackets": ">=0.38.0"
},
"devDependencies": {
"minimatch": "~0.2.14",
"bluebird": "~1.2.3",
"grunt": "~0.4.1",
"matchdep": "~0.1.2",
"grunt-browserify": "~1.3.0",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-jasmine": "~0.5.2",
"grunt-contrib-compress": "~0.5.3",
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-jasmine": "~0.5.2",
"grunt-template-jasmine-istanbul": "~0.2.6",
"grunt-tslint": "~0.4.1",
"grunt-contrib-compress": "~0.5.3",
"grunt-browserify": "~1.3.0",
"istanbulify": "~0.1.0",
"grunt-typescript": "~0.3.0",
"grunt-template-jasmine-istanbul": "~0.2.6",
"bluebird": "~1.2.3"
"istanbulify": "~0.1.0",
"jest": "^0.1.37",
"matchdep": "~0.1.2",
"minimatch": "~0.2.14"
},
"dependencies": {
"typescript-project-services": "^0.1.0"
}
}
View

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
View

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit c938445

Please sign in to comment.