Compare commits

...

3 Commits

Author SHA1 Message Date
66036d17fa Add .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing
2020-01-09 19:25:28 +01:00
5cbb3790ac Fix linting errors 2020-01-09 19:24:51 +01:00
15d2d66cd6 Add scripts to clean/bootstrap
Cleaning will remove "chmod +x" from packages/scripts/lib/index.js
2020-01-09 19:24:18 +01:00
5 changed files with 27 additions and 3 deletions

19
.drone.yml Normal file
View File

@ -0,0 +1,19 @@
---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: node:12
commands:
- npm install
- npm run lint
- npm run bootstrap
- ./node_modules/.bin/jest
- ./node_modules/.bin/lerna exec rondo -- build --esm
---
kind: signature
hmac: a49a1e7c428472d0237bb2ba73511965607384f45114941b869c6a9eff7aef70
...

View File

@ -1,4 +1,9 @@
{
"scripts": {
"clean": "lerna exec rimraf -- lib/ esm/ *.tsbuildinfo",
"lint": "eslint --ext .ts,.tsx,.ts .",
"bootstrap": "ttsc --build packages/scripts && lerna exec rondo -- build"
},
"dependencies": {
"@rondo.dev/argparse": "file:packages/argparse",
"@rondo.dev/client": "file:packages/client",

View File

@ -1,4 +1,4 @@
import { Button, Heading, Help, Input } from '../components'
import { Button, Heading, Input } from '../components'
import React from 'react'
import { FaCheck, FaEdit, FaPlusSquare } from 'react-icons/fa'
import { TeamActions, Team } from '@rondo.dev/common'

View File

@ -1,5 +1,5 @@
import { ReadonlyRecord, Team, TeamActions } from '@rondo.dev/common'
import { Button, Flex, Panel, PanelBlock, PanelHeading } from '../components'
import { Button, Panel, PanelBlock, PanelHeading } from '../components'
import React from 'react'
import { FaEdit, FaPlus, FaTimes } from 'react-icons/fa'
import { Link } from 'react-router-dom'

View File

@ -117,7 +117,7 @@ describe('TestUtils', () => {
})
describe('findOneByValue', () => {
// TODO
})
})