Skip to content

Commit

Permalink
feat: update build process (#361)
Browse files Browse the repository at this point in the history
* Use codecov CircleCI orb instead of Node dependency
* Export additional modules for more complete build
* Update Rivet-core and Vite
  • Loading branch information
burnumd committed Jul 13, 2023
1 parent de39b67 commit 1fd029e
Show file tree
Hide file tree
Showing 5 changed files with 14,781 additions and 25,729 deletions.
13 changes: 8 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
version: 2.1

orbs:
node: circleci/node@5.1.0
codecov: codecov/codecov@3.2.5

# Aliases are shorthand references for common settings.
aliases:
Expand Down Expand Up @@ -43,15 +47,14 @@ jobs:
command: npm run build
- run:
name: Test components
command: |
npm test -- -w 1 --coverage --reporters=jest-junit
cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
command: npm test -- -w 1 --coverage --reporters=jest-junit
- store_test_results:
path: ./junit.xml
- codecov/upload:
file: ./junit.xml

# Job orchestration
workflows:
version: 2
# Build and test the code on every commit.
# Publish the style guide on successful build/test of master.
build-test-and-publish:
Expand Down
28 changes: 25 additions & 3 deletions lib/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
import { Alert } from '../src/components/Alert';
import { Dropdown } from '../src/components/Dropdown';
import { Header } from '../src/components/Header';
import * as Alert from '../src/components/Alert/index';
import { Breadcrumbs } from '../src/components/Breadcrumbs/index'
import { Button } from '../src/components/Button/index';
import { Checkbox } from '../src/components/Checkbox/index'
import * as Dialog from '../src/components/Dialog/index';
import * as Dropdown from '../src/components/Dropdown/index';
import { File } from '../src/components/File/index';
import * as Footer from '../src/components/Footer/index';
import * as Grid from '../src/components/Grid/index';
import * as Header from '../src/components/Header/index';
import * as Input from '../src/components/Input/index';
import { LoadingIndicator } from '../src/components/LoadingIndicator/index';
import { RadioButton } from '../src/components/RadioButton/index';
import { Table } from '../src/components/Table/index';

export { Alert };
export { Breadcrumbs };
export { Button };
export { Checkbox };
export { Dialog };
export { Dropdown };
export { File };
export { Footer };
export { Grid };
export { Header };
export { Input };
export { LoadingIndicator };
export { RadioButton };
export { Table };
Loading

0 comments on commit 1fd029e

Please sign in to comment.