Commit Graph

430 Commits

Author SHA1 Message Date
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
Michael Bradley, Jr de93795f66
deps -- semver 2018-10-22 19:39:24 +02:00
Subramanian Venkatesan ee77ac7f7f
Adds solc option to tests. Runs smart contract tests using remix-tests
Ref: #817
2018-10-22 19:39:24 +02:00
Michael Bradley, Jr ac70cfc424
deps -- sass (scss) 2018-10-22 19:35:53 +02:00
Michael Bradley, Jr 6e238b2950
deps -- babel 7 preset for TypeScript 2018-10-22 19:35:52 +02:00
Michael Bradley, Jr da4ccc133a
deps -- from babel-preset-react-app 2018-10-22 19:35:51 +02:00
Michael Bradley, Jr e4bba25cd7
deps -- bump versions of existing deps 2018-10-22 19:35:51 +02:00
Michael Bradley, Jr 665856f838
change back/to exact versions after master/develop rebase 2018-10-22 19:25:14 +02:00
Iuri Matias 4b81968482
restore ws functionality to webserver 2018-10-22 19:24:41 +02:00
Iuri Matias 091c535f80
update ws package 2018-10-22 19:23:16 +02:00
Jonathan Rainville fef793c5ef 3.2.3 2018-10-11 15:50:07 -04:00
Jonathan Rainville b773c83eea downgrade to web3 beta 34 2018-10-11 15:31:50 -04:00
Iuri Matias cbf70710e5 update to 3.2.2 2018-10-01 08:58:58 -04:00
Iuri Matias 4462745539 update to 3.2.1 2018-09-26 19:33:00 -04:00
Iuri Matias d734c0b2d3 update to 3.2.0 2018-09-26 19:08:25 -04:00
Iuri Matias a0d3dc2850 update to embarkjs 0.4.3 2018-09-26 18:51:05 -04:00
Michael Bradley, Jr 9a78301ac1 deps -- hosted-git-info 2018-09-24 17:44:53 -05:00
Michael Bradley, Jr 373a67b4a3 rev testdapp scripts -- INIT_CWD compat 2018-09-21 17:00:08 -05:00
Michael Bradley, Jr 6b48726ec3 deps -- cross-env 2018-09-21 16:57:56 -05:00
Michael Bradley, Jr bf61fe2757 deps -- npm-run-all 2018-09-21 16:43:04 -05:00
Michael Bradley, Jr f33962954a alpha sort devDeps 2018-09-21 16:41:53 -05:00
Michael Bradley, Jr c23868f95b spec exact versions per `npm ls --depth=0` 2018-09-20 14:51:32 -05:00
Iuri Matias c4de5fb512
Merge pull request #870 from embark-framework/features/engine-strict
engine-strict
2018-09-19 12:09:05 -04:00
Michael Bradley, Jr d8b9e1f6d8 spec node, npm in "engines" of package.json 2018-09-18 16:28:50 -05:00
Andre Medeiros 71f14778c2 Update web.js to 1.0.0-beta.36 2018-09-18 15:02:35 -04:00
Anthony Laibe bdcefbe269 Add coverage to webserver 2018-09-18 14:28:17 +01:00
Iuri Matias bab6f75862 update to embarkjs 0.4.2 2018-09-17 13:09:56 -04:00
Iuri Matias c8cf53fcde use solc 0.4.25 by default 2018-09-14 18:50:46 -04:00
Iuri Matias 9b2fa9402b
Merge pull request #822 from embark-framework/bugfix/circular-json
Fix circular JSON and swarm api require
2018-09-14 18:11:34 -04:00
Jonathan Rainville 43a9640297 add option to generate the coverage 2018-09-13 14:30:15 -04:00
Anthony Laibe c22901ab95 Fix circular JSON and swarm api require 2018-09-13 11:21:17 +01:00
emizzle 680db4d575 Change over to published swarm-api library 2018-09-12 12:43:10 +10:00
emizzle 6cfc914a04 Update package.json for swarmjs 2018-09-10 22:42:10 +10:00
emizzle fcb75dee11 Move to swarmjs and await geth ready
Move to swarmjs library (in embark-framework).

Wait for geth to start before start of swarm check.
2018-09-10 22:42:10 +10:00
emizzle b5e8546ebd Converted upload procedure to local SwarmGW lib
# Conflicts:
#	package-lock.json
2018-09-10 22:42:00 +10:00
Jonathan Rainville 5c973258a5 add pakcage 2018-09-07 12:37:30 -04:00
Iuri Matias a622f22dcd update package lock 2018-09-06 16:35:32 -04:00
Michael Bradley, Jr b47435cc45 opn dep 2018-09-03 10:17:45 -05:00
Michael Bradley, Jr 0ac384c478 web3@1.0.0-beta.35 2018-09-02 19:23:12 -05:00
Iuri Matias f94fd7b18f update embarkjs version 2018-09-01 09:35:14 -04:00
Iuri Matias 9cd3cb6891 update embark.js version 2018-09-01 09:35:14 -04:00
Iuri Matias 262a6d3aef move older code to embarkjs & refactor 2018-09-01 09:35:13 -04:00
Michael Bradley, Jr d6aafa17be compression-webpack-plugin dep 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr 25cb0a572c lodash.clonedeep (there's a bug in clone-deep pkg re: regex) 2018-08-24 15:04:15 -05:00
Michael Bradley, Jr 81acad30c7 babel-plugin-webpack-aliases -> babel-plugin-module-resolver 2018-08-24 15:04:15 -05:00
hodlbank a834ca71de [m] Updated ganache-cli from broken 6.1.0 to 6.1.6 in order to fix simulatorBlocktime blockchain option. 2018-08-21 16:11:07 -04:00
Michael Bradley, Jr 30d075380b bump embarkjs to 0.3.4 2018-08-21 16:11:07 -04:00
Jonathan Rainville 8e50bfd976 conflict in package json 2018-08-21 16:11:06 -04:00
Iuri Matias 951246da70 update version to avoid confusion with stable version 2018-08-21 16:10:22 -04:00
Michael Bradley, Jr 1852809cb0 bump embarkjs dep (to ver w/ corresponding babel7rc1 fixes) 2018-08-21 16:09:49 -04:00
Michael Bradley, Jr c4e0eda1f9 no caret range for babel-loader (beta) 2018-08-21 16:09:49 -04:00
Michael Bradley, Jr 7bd9a5f81d bump @babel deps to 7.0.0-rc.1, no caret ranges 2018-08-21 16:09:48 -04:00