Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init linting and building across packages [ #1 ] #15

Merged
merged 1 commit into from Oct 24, 2019
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -35,6 +35,7 @@ build/Release
# Dependency directories
node_modules/
jspm_packages/
packages/*/lib/

# TypeScript v1 declaration files
typings/
Expand Down
8 changes: 8 additions & 0 deletions README.md
@@ -1,2 +1,10 @@
# monet
brand new, completely TS, finally semver

## working actions

```
lerna bootstrap
lerna run lint
lerna run tsc
```
4 changes: 0 additions & 4 deletions package.json
@@ -1,10 +1,6 @@
{
"name": "root",
"private": true,
"scripts": {
"lint": "tslint 'packages/**/*.ts{,x}'",
"lint:fix": "tslint 'packages/**/*.ts{,x}' --fix"
},
"devDependencies": {
"@types/node": "^12.11.6",
"@ulfryk/tslint-config": "^1.0.2",
Expand Down
7 changes: 0 additions & 7 deletions packages/core/lib/core.js

This file was deleted.

2 changes: 2 additions & 0 deletions packages/core/package.json
Expand Up @@ -18,6 +18,8 @@
},
"scripts": {
"tsc": "tsc",
"lint": "tslint 'src/**/*.ts'",
"lint:fix": "tslint 'src/**/*.ts' --fix",
"test": "echo \"Error: run tests from root\" && exit 1"
},
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/testing/ghrkn.spec.ts
Expand Up @@ -8,7 +8,7 @@ feature `Gherkin style helpers` (() => {

given `all testing helpers` (() => {

expect(and).to.not.be.undefined
expect(and).to.not.be.undefined // tslint:disable-line:no-unused-expression

})

Expand Down
1 change: 0 additions & 1 deletion packages/core/src/testing/ghrkn.ts
Expand Up @@ -11,4 +11,3 @@ export const given = ghrk(it, 'Given')
export const when = ghrk(it, 'When')
export const and = ghrk(it, ' and')
export const then = ghrk(it, 'Then')

2 changes: 1 addition & 1 deletion packages/core/src/testing/index.ts
@@ -1 +1 @@
export * from './ghrkn.ts'
export * from './ghrkn'
7 changes: 0 additions & 7 deletions packages/either/lib/either.js

This file was deleted.

3 changes: 3 additions & 0 deletions packages/either/package.json
Expand Up @@ -17,6 +17,9 @@
"url": "git+https://github.com/monet/monet.git"
},
"scripts": {
"tsc": "tsc",
"lint": "tslint 'src/**/*.ts'",
"lint:fix": "tslint 'src/**/*.ts' --fix",
"test": "echo \"Error: run tests from root\" && exit 1"
},
"bugs": {
Expand Down
3 changes: 3 additions & 0 deletions packages/either/src/either.ts
@@ -0,0 +1,3 @@
export abstract class Either {}
export class Left extends Either {}
export class Right extends Either {}
1 change: 1 addition & 0 deletions packages/either/src/index.ts
@@ -0,0 +1 @@
export * from './either'
7 changes: 7 additions & 0 deletions packages/either/tsconfig.json
@@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./lib"
},
"include": ["./src"]
}
7 changes: 0 additions & 7 deletions packages/identity/lib/identity.js

This file was deleted.

3 changes: 3 additions & 0 deletions packages/identity/package.json
Expand Up @@ -17,6 +17,9 @@
"url": "git+https://github.com/monet/monet.git"
},
"scripts": {
"tsc": "tsc",
"lint": "tslint 'src/**/*.ts'",
"lint:fix": "tslint 'src/**/*.ts' --fix",
"test": "echo \"Error: run tests from root\" && exit 1"
},
"bugs": {
Expand Down
1 change: 1 addition & 0 deletions packages/identity/src/identity.ts
@@ -0,0 +1 @@
export class Identity {}
1 change: 1 addition & 0 deletions packages/identity/src/index.ts
@@ -0,0 +1 @@
export * from './identity'
7 changes: 7 additions & 0 deletions packages/identity/tsconfig.json
@@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./lib"
},
"include": ["./src"]
}
7 changes: 0 additions & 7 deletions packages/maybe/lib/maybe.js

This file was deleted.

3 changes: 3 additions & 0 deletions packages/maybe/package.json
Expand Up @@ -17,6 +17,9 @@
"url": "git+https://github.com/monet/monet.git"
},
"scripts": {
"tsc": "tsc",
"lint": "tslint 'src/**/*.ts'",
"lint:fix": "tslint 'src/**/*.ts' --fix",
"test": "echo \"Error: run tests from root\" && exit 1"
},
"bugs": {
Expand Down
1 change: 1 addition & 0 deletions packages/maybe/src/index.ts
@@ -0,0 +1 @@
export * from './maybe'
3 changes: 3 additions & 0 deletions packages/maybe/src/maybe.ts
@@ -0,0 +1,3 @@
export abstract class Maybe {}
export class None extends Maybe {}
export class Some extends Maybe {}
7 changes: 7 additions & 0 deletions packages/maybe/tsconfig.json
@@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./lib"
},
"include": ["./src"]
}