Compare commits

...

8 Commits

Author SHA1 Message Date
dcf5c6ab22 1.0.15 2018-07-01 12:10:41 +02:00
00480a27e0 update file structure any provisioning of tscache 2018-07-01 12:10:36 +02:00
353c1f6dbd 1.0.14 2018-07-01 12:00:43 +02:00
e540ac8327 now skipping ignore completely 2018-07-01 12:00:40 +02:00
ef1bc5c93a 1.0.13 2018-07-01 11:58:36 +02:00
a76aaa45d2 update ignore path pattern for ts_node 2018-07-01 11:58:33 +02:00
d07c7a74e8 1.0.12 2018-07-01 11:51:31 +02:00
69f6f7460f update 2018-07-01 11:51:24 +02:00
4 changed files with 4 additions and 9 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@gitzone/tsrun", "name": "@gitzone/tsrun",
"version": "1.0.11", "version": "1.0.15",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@gitzone/tsrun", "name": "@gitzone/tsrun",
"version": "1.0.11", "version": "1.0.15",
"description": "run typescript programs efficiently", "description": "run typescript programs efficiently",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",
@ -13,7 +13,7 @@
"test": "(npmts --notest && node ./cli.js test/test.ts)", "test": "(npmts --notest && node ./cli.js test/test.ts)",
"format": "(gitzone format)", "format": "(gitzone format)",
"build": "echo \"Not needed for now\"", "build": "echo \"Not needed for now\"",
"postinstall": "ts-node --compilerOptions '{\"lib\": [\"ES2015\"]}' scripts/postinstall.ts" "postinstall": "ts-node --skip-ignore true --compilerOptions '{\"lib\": [\"ES2015\"]}' scripts/postinstall.ts"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^10.3.0" "@types/node": "^10.3.0"

View File

@ -4,12 +4,7 @@ import * as path from 'path';
const run = async () => { const run = async () => {
const tsCacheDir = path.join(__dirname, '../tscache'); const tsCacheDir = path.join(__dirname, '../tscache');
const tsCacheFiles: string[] = await smartfile.fs.listFolders(tsCacheDir) as any; await smartfile.fs.ensureEmptyDir(tsCacheDir);
for(const dir of tsCacheFiles) {
console.log(`Removing cache directory ${dir}`);
let dirToRemove = path.join(tsCacheDir, dir);
await smartfile.fs.removeSync(dirToRemove);
}
} }
run() run()

View File