Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernized Stack #80

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
475dd9d
wip: init
ohager Aug 15, 2024
4d9f684
Feat/remove cryptojs (#79)
ohager Aug 15, 2024
6412df6
v1.0.0
ohager Aug 15, 2024
b5001b4
feat: util package upgraded
ohager Aug 18, 2024
ecf3b43
feat: http module upgraded
ohager Aug 18, 2024
c1c455a
wip: sha256 in crypto is sync now, compilation with turbo works
ohager Aug 18, 2024
01edb13
test: fixing tests in standards
ohager Aug 18, 2024
4e4ef4c
wip: most things working...need to migrate tests from Jest to Vitest
ohager Aug 18, 2024
e941bc9
wip: more on core tests
ohager Aug 22, 2024
01636ab
wip: core unit tests migrated to vitest
ohager Aug 24, 2024
17cda06
ci: messing around with ci pipeline
ohager Aug 24, 2024
39f5fa1
ci: test coverage working
ohager Aug 24, 2024
1fa34e4
ci: tetsing
ohager Aug 24, 2024
7ef0ed1
ci: peerDeps added as internal devDeps for CI
ohager Aug 24, 2024
2d552bd
ci: fix build pipeline
ohager Aug 25, 2024
a367932
ci: removed implicit compilation from ci pipeline
ohager Aug 25, 2024
7765898
fix: another trial
ohager Aug 25, 2024
7bd689b
chore: fixes sonarcloud issues/recommendations
ohager Aug 25, 2024
82c5a8d
fix: toReversed() changed back to older reverse()
ohager Aug 25, 2024
6be8c4f
doc: core api docs updated
ohager Sep 8, 2024
8238d8c
fix: test syntax replace stuff
ohager Sep 8, 2024
b49c1c6
docs: contracts finished
ohager Sep 8, 2024
81b2760
docs: documentation updated
ohager Sep 8, 2024
5046110
fix: tests
ohager Sep 8, 2024
6dbe9b3
fix: failing tests
ohager Sep 8, 2024
0bf705e
doc: added core websandbox -- bundle works nicely
ohager Sep 22, 2024
6d36f00
feat: sandbox example for bundled core
ohager Sep 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 13 additions & 9 deletions .github/workflows/build-signumjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,25 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Run SignumJS Tests
run: |
npm ci
npm run test:ci
- name: Install turbo
run: npm install turbo -g

- name: Build/Bundle SignumJS
run: npm run build
- name: Install Deps
run: npm ci

- name: Compile and Bundle SignumJS packages
run: npm run bundle

- name: Test SignumJS packages
run: npm run test:ci

- name: fix code coverage paths
working-directory: ./coverage
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,5 @@ dist
# jetbrains

.idea
.turbo
coverage.json
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
turbo run compile test bundle
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
20
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@
interact with the [Signum Network blockchain](https://signum.network/), an advanced community-driven blockchain
technology.

---------------------------------------

👷‍♂️👷‍♂️👷‍♂️ 🏗️🏗️🏗️ MODERNIZATION IN PROGRESS 🏗️🏗️🏗️ 👷‍♂️👷‍♂️👷‍♂️

- [X] CONTRACTS
- [X] CORE
- [x] CRYPTO
- [X] HTTP
- [X] UTILS
- [X] STANDARDS
- [X] WALLET
- [ ] DOCUMENTATION
- [ ] EXAMPLES



----------------------------

Best way to start is with the extensive [Online Documentation](https://docs.signum.network/signum/signumjs)
Expand Down Expand Up @@ -126,7 +142,7 @@ console.log(dataView.getVariable(2))

```js
// using crypto
console.log(sig$crypto.hashSHA256("test"))
console.log(sig$crypto.sha256AsHex("test"))
```

```js
Expand Down
1 change: 1 addition & 0 deletions docs/.nojekyll
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
103 changes: 0 additions & 103 deletions docs/assets/css/custom.css

This file was deleted.

Loading