Skip to content

Commit

Permalink
feat: migrating the repository into a lerna-powered monorepo architec…
Browse files Browse the repository at this point in the history
…ture (#111)

* feat: migrating the repository into a lerna-powered monorepo architecture

* test: bootstrapping package tests in CI

* fix: running lerna concurrently isn't really necessary for this repo

* fix: fixing some command typos in the root package file

* v2.0.0-alpha.0

* chore: loading in `@readme/oas-tooling` and linking it with lerna

* test: rewriting some test case names
  • Loading branch information
erunion authored Feb 22, 2020
1 parent 7aaeee1 commit 228b622
Show file tree
Hide file tree
Showing 84 changed files with 20,590 additions and 6,972 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/nodejs.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x]

steps:
- uses: actions/checkout@v1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test

- name: Install deps
run: |
npm ci
npm test
env:
CI: true
npx lerna bootstrap
- name: Run tests
run: npm test
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
coverage/
node_modules/
1 change: 0 additions & 1 deletion .npmignore

This file was deleted.

5 changes: 0 additions & 5 deletions .prettierrc

This file was deleted.

5 changes: 0 additions & 5 deletions config/config.json

This file was deleted.

107 changes: 0 additions & 107 deletions examples/petstore/pets.js

This file was deleted.

17 changes: 0 additions & 17 deletions examples/petstore/swagger.json

This file was deleted.

7 changes: 7 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"lerna": "2.0.0",
"packages": [
"packages/*"
],
"version": "2.0.0-alpha.0"
}
Loading

0 comments on commit 228b622

Please sign in to comment.