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

Commit

Permalink
Merge 2eea83e into cb24117
Browse files Browse the repository at this point in the history
  • Loading branch information
Alorel committed Oct 23, 2018
2 parents cb24117 + 2eea83e commit 1b69151
Show file tree
Hide file tree
Showing 41 changed files with 3,942 additions and 430 deletions.
5 changes: 5 additions & 0 deletions .alobuild.yml
Expand Up @@ -4,6 +4,11 @@ global:
clean-pkg-json:
sort-scripts: true

build:
out: *distDirs
tsconfig: tsconfig.json
targets: cjs

copy-files:
from:
- package.json
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -6,10 +6,12 @@
node_modules/
package-lock.json
!test/fixtures/reinstall/node_modules/
!test/fixtures/build/node_modules/
!test/fixtures/reinstall/package-lock.json
dist/
coverage/
.nyc_output/
yarn-error.log
*.tgz
git_gpg_keys.asc
/.alobuild-tsconfig-*.json
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -13,7 +13,7 @@ install: yarn install --check-files --ignore-engines

script:
- yarn run tslint
- yarn run build --noEmit
- yarn run typecheck
- if [[ $GH_TOKEN ]]; then yarn test --forbid-only --forbid-pending; else yarn test --forbid-only; fi;

after_script: if [[ $GH_TOKEN ]]; then greenkeeper-lockfile-upload; fi;
Expand Down
2 changes: 2 additions & 0 deletions index.d.ts
Expand Up @@ -4,6 +4,8 @@ export declare type CommandName = 'clean-dist'
| 'sort-deps'
| 'init'
| 'cfg'
| 'reinstall'
| 'build'
| 'config';

export declare function alo(cmd: CommandName | string[]): Promise<string>;
18 changes: 10 additions & 8 deletions package.json
Expand Up @@ -11,20 +11,16 @@
"alo": "index.js"
},
"description": "Personal CI utils",
"main": "alo.js",
"types": "index.d.ts",
"typings": "index.d.ts",
"main": "index.js",
"repository": "git@github.com:Alorel/personal-build-tools.git",
"author": "Arturas Molcanovas <a.molcanovas@gmail.com>",
"license": "MIT",
"private": false,
"scripts": {
"alo": "ts-node src/index.ts",
"prebuild": "rimraf dist",
"build": "tsc",
"build": "npm run alo -- build",
"typecheck": "tsc --noEmit",
"typecheck:watch": "npm run typecheck -- --watch",
"build:watch": "npm run build -- --watch",
"tslint": "npm run alo -- tslint -p tsconfig.test.json",
"tslint:fix": "npm run tslint -- --fix",
"pretest": "rimraf coverage",
Expand All @@ -43,16 +39,20 @@
"json5": "^2.0.0",
"lodash": "^4.17.0",
"log-symbols": "^2.2.0",
"moment": "^2.22.2",
"readline-sync": "^1.4.0",
"reflect-metadata": "^0.1.12",
"request": "^2.88.0",
"request-promise": "^4.2.0",
"rimraf": "^2.6.0",
"rollup": "~0.66.6",
"rollup-plugin-typescript2": "~0.17.2",
"tmp": "~0.0.33",
"tslib": "^1.9.0",
"tslint": "5.11.0",
"typescript": "~3.1.1",
"typescript": "^3.1.3",
"typescript-lazy-get-decorator": "^1.2.0",
"uglify-es": "~3.3.9",
"yamljs": "^0.3.0",
"yargs": "^12.0.0"
},
Expand All @@ -75,12 +75,14 @@
"@types/lodash": "~4.14.116",
"@types/log-symbols": "~2.0.0",
"@types/mocha": "~5.2.5",
"@types/moment": "~2.13.0",
"@types/node": "~10.12.0",
"@types/readline-sync": "~1.4.3",
"@types/request": "~2.47.1",
"@types/request-promise": "~4.1.42",
"@types/rimraf": "~2.0.2",
"@types/tmp": "~0.0.33",
"@types/uglify-es": "~3.0.0",
"@types/uuid": "~3.4.4",
"@types/yamljs": "~0.2.30",
"@types/yargs": "~12.0.0",
Expand All @@ -95,4 +97,4 @@
"ts-node": "~7.0.1",
"uuid": "~3.3.2"
}
}
}

0 comments on commit 1b69151

Please sign in to comment.