Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Deleted the tsconfig in src since it was causing problems with IDEs #121

Merged
merged 1 commit into from
Sep 16, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
// Controls after how many characters the editor will wrap to the next line. Setting this to 0 turns on viewport width wrapping (word wrapping). Setting this to -1 forces the editor to never wrap.
"editor.wrappingColumn": 100,

"typescript.tsdk": "node_modules/typescript/lib/"
"typescript.tsdk": "node_modules/typescript/lib"
}
35 changes: 35 additions & 0 deletions config/utils/stage-ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,45 @@ function deleteNonDistFiles() {
});
}

function writeTSConfig() {
var config = {
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"sourceMap": true,
"noEmitHelpers": true,
"noImplicitAny": true,
"outDir": "../dist",
"inlineSources": true,
"declaration": true,
"lib": [
"dom",
"es6"
],
"types": [
"jasmine",
"node"
]
},
"files": [
"core.ts"
],
"compileOnSave": false,
"buildOnSave": false
};

fs.writeJSONSync(TEMP_PATH + '/tsconfig.json', config);
}

function copySrc() {
fs.copySync('./src', TEMP_PATH);

deleteNonDistFiles();

writeTSConfig();
}

function escapeContents(contents) {
Expand Down
27 changes: 0 additions & 27 deletions src/tsconfig.json

This file was deleted.