Skip to content

Commit

Permalink
Merge pull request #40 from regal/0.x
Browse files Browse the repository at this point in the history
Merge 0.3.0
  • Loading branch information
jcowman2 committed Sep 21, 2018
2 parents 2427fc3 + f458df0 commit 44918da
Show file tree
Hide file tree
Showing 66 changed files with 13,374 additions and 712 deletions.
39 changes: 39 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:10

working_directory: ~/regal

steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: npm install

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

- run:
name: Lint Check
command: npm run lint

# run tests!
- run: npm test

- run:
name: Publish Test Coverage
command: npm run publish-coverage

- run:
name: Check Test Coverage
command: npm run check-coverage
23 changes: 23 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": "0.2.0",
"configurations": [
{
// Thanks https://medium.com/@benlesh/debugging-typescript-mocha-tests-with-vscode-89310051531
"type": "node",
"request": "launch",
"name": "Mocha All",
"program": "${workspaceFolder}\\node_modules\\mocha\\bin\\_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}\\**\\*.test.ts"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"protocol": "inspector"
}
]
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"[typescript]": {
"editor.formatOnSave": true,
},
"tslint.autoFixOnSave": true
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,17 @@

## Pre-Initial Release

### v0.3.0

**First Testable Release**


### v0.2.1

* Restructured declaration files
* Added null-checking to `Event.runQueue`
* Updated metadata

### v0.1.0

* Initial Version
22 changes: 6 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Regal

*v0.2.1*
[![npm version](https://badge.fury.io/js/regal.svg)](https://badge.fury.io/js/regal)
[![CircleCI](https://circleci.com/gh/regal/regal.svg?style=svg)](https://circleci.com/gh/regal/regal)
[![Coverage Status](https://coveralls.io/repos/github/regal/regal/badge.svg?branch=master)](https://coveralls.io/github/regal/regal?branch=master)

## Introduction

Expand All @@ -10,23 +12,11 @@ This library is a package on npm titled `regal`.

## Status

This package is currently in version `0.2.1` and is not yet recommended for use. The next version will be `0.3.0`.
Version `0.3.0` marks the first testable release of the library, but the package is still in early development.

### `0.3.0` Details
The upcoming version `0.4.0` will have significant changes. It's recommended that you don't use the library until the first stable version `1.0.0` is released.

**Regal** `0.3.0` aims to be the first usable version of the library, and is currently under development.

Component | Description | Designed | Implemented | Tested
--- | --- | --- | --- | ---
**Game** | Public API for consumers of the library | ✔️ | ✔️ | ✔️
**Agent** | Model for immutable game objects | ✔️ | ✔️ | ✔️
**Event** | Model for game events | ✔️ | ✔️ | ✔️

✔️ - Complete
🔵 - In-Progress
⚪- Planned

## Contributors
## Contributing

Created by Joe Cowman ([jcowman2](https://github.com/jcowman2)).

Expand Down
16 changes: 0 additions & 16 deletions dist/api.d.ts

This file was deleted.

32 changes: 0 additions & 32 deletions dist/api.js

This file was deleted.

7 changes: 0 additions & 7 deletions dist/event.d.ts

This file was deleted.

31 changes: 0 additions & 31 deletions dist/event.js

This file was deleted.

24 changes: 0 additions & 24 deletions dist/game.d.ts

This file was deleted.

46 changes: 0 additions & 46 deletions dist/game.js

This file was deleted.

5 changes: 0 additions & 5 deletions dist/index.d.ts

This file was deleted.

10 changes: 0 additions & 10 deletions dist/index.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<span style="color:red">**Warning: Due to the nature of early development, the documentation in this directory is outdated and should not be used as a reliable reference. It is only being kept in the repository for historical purposes until the next release.**</span>
Loading

0 comments on commit 44918da

Please sign in to comment.