Skip to content

Commit

Permalink
automatic npm publishing every time we push a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
sombriks committed Aug 27, 2023
1 parent 61b987f commit 35f52f4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ This api builder is heavily copied from [Javalin's group handler](https://javali
- [X] Test and coverage
- [X] Publish npm package
- [X] Add linting tool
- [X] Publish every new tag
- [ ] Publish coverage results
- ~~[ ] Add special `render` pseudo-verb for template engines~~
- [ ] Add Server Sent Events configuration support
Expand Down
34 changes: 17 additions & 17 deletions lib/api-builder.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ describe('Api Builder test suite', () => {

// Tests fixtures

function routeExpect(router, verb, path, list) {
function routeExpect (router, verb, path, list) {
expect(
router.stack
.filter((layer) => layer.path === path)
Expand All @@ -209,51 +209,51 @@ function routeExpect(router, verb, path, list) {
).to.contain(list)
}

function foo() {
function foo () {

}

function list() {
function list () {
}

function find() {
function find () {
}

function create() {
function create () {
}

function update() {
function update () {
}

function del() {
function del () {
}

function loginRequest() {
function loginRequest () {
}

function signupRequest() {
function signupRequest () {
}

function ifAuthenticated() {
function ifAuthenticated () {
}

function listAccountsRequest() {
function listAccountsRequest () {
}

function ifAllowed() {
function ifAllowed () {
}

function insertAccountRequest() {
function insertAccountRequest () {
}

function findAccountRequest() {
function findAccountRequest () {
}

function updateAccountRequest() {
function updateAccountRequest () {
}

function delAccountRequest() {
function delAccountRequest () {
}

function listTransactionsRequest() {
function listTransactionsRequest () {
}

0 comments on commit 35f52f4

Please sign in to comment.