Commit Graph

381 Commits

Author SHA1 Message Date
Iuri Matias e02d026499 refactor(@embark/debugger): add ts definition for async; use imports instead of requires 2018-11-22 09:00:55 -05:00
Iuri Matias 227decde0a refactor(@embark/debugger): move debugger_manager.js to typescript 2018-11-22 09:00:55 -05:00
Pascal Precht ab41860d9b chore: introduce release script
This commit automates our release process. It takes care of a couple of things:

- Bumps version number in package.json as needed, see below
- Generates changelog based on commit history
- Create release commit
- Tags release commit
- Pushes release commit including tags to upstream repository
- Publishes release on npm

There are a couple of options supported. The base command is run like this:

```
npm run release
```

This will do a minor bump and try to push to `origin` on `master`. However,
this can be altered with the following options.

```
npm run release -- --dry-run
```

Can be used to perform dry run and not actually committing, tagging, pushing,
publishing anything.

```
npm run release -- --release-as <something>
```

Something can be `minor`, `major`, `patch` or anything you want `foo`, `1.0.0` etc.

```
npm run release -- --prerelease alpha
```

Will create a prerelease version a la `4.0.0-alpha.x`.

```
npm run release -- --prerelease alpha --npm-dist-tag next
```

Publishes a dist tag on npm using dist tag `next`

```
npm run release -- --sign
```

Signs the release commit (you need to have PGP setup for that).

```
npm run release -- --repo-origin pascal --repo-branch foo/bar
```

Pushes the release commit into `pascal/foo/bar`.
2018-11-21 13:28:50 +01:00
Anthony Laibe 45afe83cb3 feat: update to solc 0.5.0 2018-11-21 08:50:43 +00:00
Michael Bradley, Jr 53191447f5 build: use yarn for reproducible builds and CI
yarn.lock files are generated for embark and embark-ui, and their package.json
files and other npm related files are updated to support and require using yarn
for development of embark itself and for embark's CI.
2018-11-20 09:25:42 -06:00
Anthony Laibe 58795ca7d2 refactor(core): convert i18n to TS 2018-11-18 12:30:36 -05:00
Anthony Laibe 3406ae833c feat: Allow parallel deploy 2018-11-16 09:35:12 +00:00
Anthony Laibe 7fb5c0d0da chore: add scripts to start embark only 2018-11-16 09:31:14 +00:00
Michael Bradley, Jr 69dd8c5b89 build(packaging): reorg sources for transpilation with Babel
Allow for embark sources to be authored in TypeScript and/or JavaScript, and to
make use of upcoming features of the JS language. Sources in the src/ directory
are transpiled into the dist/ directory, and npm-scripts are provided to
support and automate various aspect of the build process. Source map support is
enabled at runtime, i.e. when invoking the embark cli and running embark's test
suite.
2018-11-11 15:08:55 -06:00
Anthony Laibe c563bae3a3 chore: update embarkJS to 0.4.5 2018-11-07 14:23:08 +00:00
Michael Bradley, Jr abbf54620a 4.0.0-alpha.1 2018-10-31 22:23:55 +01:00
Michael Bradley, Jr a9bf409aa0 4.0.0-alpha.0 2018-10-31 11:28:55 +01:00
Michael Bradley, Jr 6d7ea34d03 bump embarkjs 2018-10-31 11:28:02 +01:00
Iuri Matias 71380be0ca fix linting issues 2018-10-29 15:33:12 +01:00
Anthony Laibe 5c19dcf672 Add linter to embark-ui 2018-10-28 10:13:09 +01:00
Michael Bradley, Jr 5afbd09d68 npm-scripts alpha order
as the list grows (will significantly w/ babel/ts/webpack tooling) it's easier
to read and find scripts if list is sorted
2018-10-24 14:08:23 -05:00
Michael Bradley, Jr 31abf90694 bin, directories, main -- grouped/ordered before scripts 2018-10-24 14:08:23 -05:00
Michael Bradley, Jr fde5229548 keywords alpha order 2018-10-24 14:08:23 -05:00
Michael Bradley, Jr 895e10ff4a reorg some pkg metadata at top of pkg json 2018-10-24 14:08:23 -05:00
Michael Bradley, Jr 3ddb6b36bb deps alpha order 2018-10-24 14:08:18 -05:00
Michael Bradley, Jr e2b0e74eb3 exact version per `npm ls --depth=0`
a caret range snuck back into pkg json during the rebase
2018-10-24 13:38:17 -05:00
Iuri Matias 1d6da99e8f display last error found
display last line on tx

fix debugger call

listen to source event only after jumping to the end

keep track of last tx; add minimal debug feature; fix ast issue

initial debugger apis & ui integration

prevent crash when step is out of bounds; send all all available data in websocket

add debugger commands

fix line number tracking in editor; toggle breakpoints

replace timeouts with callbacks

add debugger manager & refactor

refactor debugger api

refactor cmd line debugger

reduce debugger decoupling

reduce debugger decoupling

fix debug buttons

trigger source update so api triggers ws event to update source location

move locals and contracts vars to a json view

improve debugger icons

simplify debugger data

update debug package

add command handler to get a contract given a tx; update debugger so it can get a contract by its tx instead of tracking latest txs only

update debugger package
2018-10-23 18:27:40 -04:00
Pascal Precht 853ab2d855
fix: make code compile again after rebase 2018-10-23 11:26:15 +02:00
Michael Bradley, Jr 3ba49c8e6b
rm unused node-http-proxy dep 2018-10-23 11:11:57 +02:00
Michael Bradley, Jr 695f0b37f6
exact versions per `npm ls --depth=0` 2018-10-23 11:11:57 +02:00
Andre Medeiros 5db8185e5a
Update fs-extra; Unfuck package-lock.json 2018-10-23 11:11:12 +02:00
Iuri Matias 0379f6bc35
use fuzzy to do search; but still do sorting 2018-10-23 11:00:28 +02:00
Iuri Matias 085a282c96
add copytoken command 2018-10-23 10:59:17 +02:00
Jonathan Rainville b815ea4d44
add back npm run build and remove cd 2018-10-23 10:59:16 +02:00
Jonathan Rainville 43030980b1
use cross-env for cd and make sure values are specified 2018-10-23 10:59:15 +02:00
emizzle 487b18c8b2
added date-and-time-package 2018-10-23 10:53:00 +02:00
Anthony Laibe 572cd20482
Fix backend tab request cached:
- Add no cache via helmet
- Fix linting (no-return-else)
- Rebase Fix: Use option.name for process log to avoid endpoint being called
blockchainProcess.js
- Rebase Fix: use option when compiling solidity
2018-10-23 10:47:24 +02:00
emizzle 518111132b
Added monaco editor via react-monaco-editor
Needs to pull version from package.json
2018-10-23 10:31:34 +02:00
Anthony Laibe 8d8d3db316
Adding embark ui 2018-10-23 10:22:37 +02:00
Iuri Matias 9ed4922367
move console api call into console 2018-10-23 10:20:09 +02:00
Iuri Matias 7bd6b9da8f
add basic ws functionality 2018-10-23 10:20:08 +02:00
Iuri Matias 0917acb02f
add 2nd endpoint to webserver; use express 2018-10-23 10:17:29 +02:00
Michael Bradley, Jr 9af5d493bb
webpack bundle analyzer 2018-10-23 10:07:59 +02:00
Michael Bradley, Jr d62a80169e
no need for ganache-cli "bin" entry 2018-10-23 10:05:22 +02:00
Michael Bradley, Jr 2784303145
embark-ganache-cli -> ganache-cli-embark 2018-10-23 10:05:21 +02:00
Michael Bradley, Jr c9cf7dccb7
"embark-" prefixed bin entry in package.json for ganache-cli 2018-10-23 10:05:21 +02:00
Richard Ramos 94eca4751a
Addid basic templating to start building UI from here 2018-10-23 09:57:16 +02:00
Iuri Matias 95df68e67c
fixes due to bad rebase 2018-10-23 09:46:40 +02:00
Jonathan Rainville 236667d5a4
up embarkJS version 2018-10-23 09:37:24 +02:00
Jonathan Rainville 966252be97
conflict in package json 2018-10-23 09:01:13 +02:00
Michael Bradley, Jr 87b2d034cf
lint bin/embark 2018-10-22 19:39:27 +02:00
Michael Bradley, Jr 960cd0f792
deps -- json-parse-better-errors 2018-10-22 19:39:25 +02:00
Michael Bradley, Jr fb6fa98c9c
deps -- subdir 2018-10-22 19:39:25 +02:00
Michael Bradley, Jr 057961f197
deps -- find-up 2018-10-22 19:39:25 +02:00
Michael Bradley, Jr 952496b8d5
deps -- npmlog 2018-10-22 19:39:24 +02:00