Skip to content

Commit

Permalink
chore: all-in-one (#27)
Browse files Browse the repository at this point in the history
* chore: all-in-one index.js

* docs: update e2e link
  • Loading branch information
balazs4 authored May 17, 2023
1 parent 40df66d commit 5308d83
Show file tree
Hide file tree
Showing 15 changed files with 371 additions and 375 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
node-version: 'lts/*'
- run: npm link --only=production
- run: bash e2e.sh
- run: bash .e2e.sh

release:
needs: [test, e2e]
Expand Down
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"preset": "angular",
"releaseRules": [
{ "type": "docs", "release": "patch" },
{ "type": "chore", "release": false }
{ "type": "chore", "release": "patch" }
]
}
],
Expand Down
12 changes: 12 additions & 0 deletions alola.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#! /usr/bin/env node

const { read, split, parse, finalize, check } = require('./index');

const [, , ...assertions] = process.argv;

read().then((lines) => {
const blocks = split(lines).map((block) => parse(block));
const json = finalize(blocks);
process.stdout.write(JSON.stringify(json, null, 2) + '\n');
check(json, assertions);
});
165 changes: 0 additions & 165 deletions check.js

This file was deleted.

7 changes: 0 additions & 7 deletions finalize.js

This file was deleted.

33 changes: 0 additions & 33 deletions finalize.test.js

This file was deleted.

Loading

0 comments on commit 5308d83

Please sign in to comment.