Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
345 commits
Select commit Hold shift + click to select a range
edccff6
redo landing page using iris components
mmalmi Jan 7, 2021
d141c6e
togglable sidebar on mobile
mmalmi Jan 14, 2021
43eae41
move images to iris, move iris to devDependencies
mmalmi Jan 16, 2021
60d9418
Merge pull request #1043 from mmalmi/startpage
amark Jan 18, 2021
8de6ce5
Don't prune devDependencies on Heroku (#1046)
mmalmi Jan 19, 2021
88cfae5
Add PEERS env variable to app.json for Heroku
mmalmi Jan 22, 2021
4ded141
Update app.json
mmalmi Jan 22, 2021
5be57c3
Fix: certificants' pub strings now pass to cert (#1058)
davay42 Mar 4, 2021
ae6d5cb
Improvements to automatic redirect on loading SEA module (#1055)
yanghanlin Mar 4, 2021
1c25266
Keep devDependencies installed in docker image (#1047)
jojobyte Mar 4, 2021
45dd008
(WIP) Bug rad reverse sorting (#1021)
alterx Mar 4, 2021
508d38c
Update rad.js
amark Mar 4, 2021
4dc672e
Fix safari sea issues (#1062)
i001962 Mar 19, 2021
4a84984
Correctly referring to process.env.AWS_REGION and initializing Store …
damian-tripbuddi Apr 2, 2021
655bec7
Rest In Peace Sergeant Major de Vries 🔫 🔫 🔫 🔫 🔫 🔫 🔫 🔫 🔫 🔫 🔫 🔫 🔫 🔫 🔫 🔫…
amark Apr 6, 2021
183555d
Create emoji
amark Apr 12, 2021
331ea85
Rename emoji to emoji.html
amark Apr 12, 2021
e9ed2e5
Improving websocket retry logic to support no retries (#1045)
richardanaya Apr 12, 2021
429b011
Fixing non-existent err variable in localStorage (#1044)
richardanaya Apr 12, 2021
5ca97d8
Add git to Dockerfile apks (#1061)
MikePadge Apr 12, 2021
2168e3e
add options argument to set/put method signatures (#1067)
Apr 12, 2021
804bf04
version bump
amark May 6, 2021
8b9f891
Update README.md
amark May 10, 2021
7925598
update iris
mmalmi May 28, 2021
0f9ebfc
update iris-lib in package-lock.json
mmalmi May 31, 2021
fc10c25
add load-browser-scripts utility (#1077)
Jun 2, 2021
10b4252
update on-recovery PANIC test to run default & radisk configurations …
Jun 16, 2021
fe9ea62
Fix wrong element's dynamic identifier, semicols (#1080)
marcomow Jun 17, 2021
b1b0432
Add zeet.co deploy button (#1075)
theonlyjohnny Jun 22, 2021
fdedf8e
[type definition] use keypair for user.auth (#1085)
egishasdi Jul 1, 2021
617c7ac
Thanks @sjuxax !
amark Jul 8, 2021
a362460
Thank you @nmauersberg !!!
amark Jul 10, 2021
5bafcea
thanks @ajartille 's http://ajar.org/ foundation!
amark Jul 14, 2021
8c8b513
Update rs3.js
amark Jul 16, 2021
70eb769
Add TypeScript test file & tsd as devDep to run it (#1091)
btelles Jul 27, 2021
5d5432a
Fix set/get parameters to use Record<string,*>. (#1094)
btelles Jul 30, 2021
5ba2d9b
📦 Adding the new hub feature ! (#1099)
noctisatrae Aug 3, 2021
44fd7be
Adds a note about deploying web apps where an environment variable sh…
ch-ance Aug 4, 2021
da57364
Fixes a few typos and small grammatical errors in the type definition…
ch-ance Aug 6, 2021
e7afd23
update some things to make docker work again (#1095)
cl0vrfi3ld Aug 8, 2021
087704e
Begin 1 Years worth of Merges... (#1116)
amark Aug 22, 2021
cd45008
unbuild sea
amark Aug 22, 2021
8e4128b
unbuild gun - after 1 year of merges!
amark Aug 22, 2021
6336cc6
starting documentation etc. refinements piece by piece
amark Aug 22, 2021
dac9e8d
fix synchronous runs, don't skip wait, fire first, aggregate but erro…
amark Aug 23, 2021
6cb7261
unbuild fixes & shim temporary deprecations for publication
amark Aug 23, 2021
4db8807
👺 Add a .replace() to delete all the “\n’ (#1118)
noctisatrae Aug 24, 2021
1be6c5e
📦 You can now disable messages from hub & more... (#1120)
noctisatrae Aug 25, 2021
b8450ce
Cleaner installs, more compatible environments
amark Aug 26, 2021
5df08f9
Merge branch 'master' of http://github.com/amark/gun
amark Aug 26, 2021
8e2f125
ENV vars to disable RAD
amark Aug 29, 2021
0eec835
cleaning up and improving the CI/CD pipeline (#1122)
tcurdt Aug 30, 2021
084e290
🎉 Introducing a new feature ! (#1121)
noctisatrae Aug 30, 2021
bdf4717
Thanks @timjrobinson ! :)
amark Aug 31, 2021
ae0ffad
Update README.md
amark Aug 31, 2021
e63504a
what about this volunteer peer?
amark Aug 31, 2021
8cd8c4f
Merge branch 'master' of http://github.com/amark/gun
amark Aug 31, 2021
d178d4a
what about this new peer?
amark Aug 31, 2021
d1a59e5
Update install.sh
amark Sep 2, 2021
eafab33
clean, update, housekeep :)
amark Sep 2, 2021
e52e582
add intro video!
amark Sep 2, 2021
7dedd07
yummier quickstart!
amark Sep 2, 2021
31971c0
publish master and releases (#1126)
tcurdt Sep 6, 2021
89c5286
A silly typo ... (#1127)
lguzzon Sep 6, 2021
63b0043
Improve SEA: .auth, .certify, check.pub (#1130)
mimiza Sep 6, 2021
f8f2fc5
@tcurdt docker no login so it fails, disabling till fix
amark Sep 6, 2021
d7282be
yaml y u no multi line comment?
amark Sep 6, 2021
c97ac00
Fix: type error shown when using generated keypair (#1131)
pepyta Sep 11, 2021
edf6c5f
fix @yokowasis bug found + house keeping.
amark Sep 14, 2021
0b15866
Update hub ! (#1134)
noctisatrae Sep 16, 2021
34f53a2
let's see if this works?
amark Oct 14, 2021
90c7fb8
it did not, so undo
amark Oct 14, 2021
49973ac
Update README.md
amark Oct 15, 2021
17af355
4 lines, improve logging slightly (#1153)
jeff-hykin Oct 30, 2021
395c2b8
partly repair gun types (#1154)
MaciejDot Oct 30, 2021
3b8eb16
✂️ Path shortened ! (#1141)
noctisatrae Oct 30, 2021
50af2d5
Halt `rap` function on undefined key (#1157)
Emad-salah Nov 6, 2021
74d2b07
Thank you Fabian Stamm @hibas123 for donating!!!
amark Nov 11, 2021
009be7e
Thanks https://ghostdrive.com (Roman Tykhovsky) for donating!!! :)
amark Nov 14, 2021
0441aa3
Update axe.js
amark Nov 15, 2021
1969d48
Thanks @mikestaub for donating!!! :) <3
amark Nov 22, 2021
396b367
change stats.radata file (#1161)
resession Nov 23, 2021
3c5de47
Change Dockerfile `python` package to `python3` (#1166)
jairusjoer Nov 23, 2021
6d3ea2e
Thanks to @DimensionDev https://mask.io/ for supporting!
amark Nov 25, 2021
9413142
ReactNative/Expo fix for SEA (#1169)
aethiop Nov 29, 2021
d1f13c8
make change to lib/unset.js (#1167)
resession Dec 3, 2021
77162fc
YSON Fixes (#1170)
Emad-salah Dec 8, 2021
6780cb4
better error + fix nested .once hanging on non-existent node when lin…
amark Dec 16, 2021
852b77f
Merge branch 'master' of http://github.com/amark/gun
amark Dec 16, 2021
ce20e07
Update README.md (#1181)
davidsmooke Jan 16, 2022
f85f55c
test escaped backslash (#1156)
Promaethius Feb 3, 2022
05f4977
@Orimay put validation: adding '-Infinity' as an invalid case; speedi…
orimay Feb 4, 2022
666569f
NaN -> false (#1201)
orimay Feb 4, 2022
ddaf523
NaN -> false (#1202)
orimay Feb 4, 2022
ba7c3e8
NaN -> false (#1200)
orimay Feb 4, 2022
2c3e7d5
Remove val from comment (#1207)
bbayazit16 Feb 19, 2022
1051e47
Fix offer payload (#1210)
timaschew Feb 19, 2022
d53d157
New GUN typings (#1205)
orimay Feb 19, 2022
532b59b
Remove erroneous apostrophe (#1213)
malted Feb 27, 2022
2bbbe36
prep for stash
amark Mar 6, 2022
c4a613a
json is lame
amark Mar 11, 2022
2ff35aa
Merge branch 'master' of http://github.com/amark/gun
amark Mar 11, 2022
41c2f64
github debug stats
amark Mar 13, 2022
5ea98f4
fix open, warn if too fast
amark Mar 17, 2022
f6b65c8
Merge branch 'master' of http://github.com/amark/gun
amark Mar 17, 2022
0e8b454
Update axe.js (#1222)
zoernert Mar 18, 2022
e4bb977
Thanks @wayjake for https://wallie.io/ supporting GUN!
amark Mar 18, 2022
4f19440
axe tweaks
amark Mar 23, 2022
f062fc3
Thanks Hunter Owens @howens for backing!
amark Mar 23, 2022
ff3c4f6
Thank you @JacobMillner for donating!!!
amark Apr 2, 2022
9d94b43
export SEA type information (#1224)
georgyo Apr 2, 2022
ebe6f0c
@rococtz fix + @dreader AXE tests
amark Apr 27, 2022
8f79ff7
Merge branch 'master' of http://github.com/amark/gun
amark Apr 27, 2022
a092f5a
@rococtz fix + @draeder AXE tests. Force.
amark Apr 27, 2022
e3eaf5e
Allow {pair.pub} to login with pass (#1233)
bmatusiak Apr 29, 2022
440bbff
lib/ison: Use setTimeout instead of setImmediate. Allows the use of i…
georgyo May 5, 2022
589a778
PANIC tests + AXE get dedup + fix DAM add by id
amark May 9, 2022
94ab05b
Merge branch 'master' of http://github.com/amark/gun
amark May 9, 2022
ced9cde
websocket ../index to ./index (#1235)
bmatusiak May 16, 2022
904b2f8
ok ack + webrtc
amark May 19, 2022
7335f8c
Merge branch 'master' of http://github.com/amark/gun
amark May 19, 2022
55682b6
bump (ok ack + webrtc) @Draeder yay thanks!
amark May 19, 2022
210a583
prepare to sync gun lib unbuild on npm install (#1237)
bmatusiak May 24, 2022
c85cb43
webpack example (#1240)
bmatusiak May 24, 2022
3933733
fix(npm): change glob preventing GunDataNode.d.ts (#1241)
ShaunSHamilton May 25, 2022
2beb258
OK start
amark May 30, 2022
525d834
Merge branch 'master' of http://github.com/amark/gun
amark May 30, 2022
a634b37
Heroku fixes (#1243)
draeder May 30, 2022
8facbcc
Adds Heroku deploy unit testing thanks to @bmatusiak (#1244)
draeder May 31, 2022
42720c5
unbuild is no longer silent (#1239)
bmatusiak May 31, 2022
fa1e157
fixed s3 (#1245)
abenezermario May 31, 2022
de46ccc
Unbuild update (#1248)
bmatusiak Jun 3, 2022
8765246
chain fork (#1247)
bmatusiak Jun 6, 2022
9c9a5fd
Lex builder (#1249)
bmatusiak Jun 6, 2022
46d926e
put sampling, mob, tests
amark Jun 7, 2022
19cb91e
Merge branch 'master' of http://github.com/amark/gun
amark Jun 7, 2022
ac52811
put sampling, mob, tests.
amark Jun 7, 2022
5687bdd
Thank you @b-lack Gerrit Balindt for sponsoring!
amark Jun 19, 2022
081931a
Thanks @gabriellemon Gabriel for donating! :)
amark Jun 26, 2022
809eae4
dont block stop chain because of deprecated nts (#1252)
bmatusiak Jul 13, 2022
d6d5004
Create book.js
amark Jul 14, 2022
e4e703c
Create radisk3.js
amark Jul 14, 2022
8b52cbb
oh, try export
amark Jul 15, 2022
9ca6e59
Removed bad dir references (#1263)
JoeThielen Jul 19, 2022
cdfe87c
fix ws error/reconnect ordering
amark Jul 31, 2022
027edcb
requery - oye, hopefully safer
amark Jul 31, 2022
3749bf7
perf seemed worth it to add MC as sI
amark Jul 31, 2022
faff04f
floor >>
amark Jul 31, 2022
7ec5805
fix log
amark Aug 1, 2022
8f6322e
browser axe remember, random, fallback.
amark Aug 1, 2022
5efedd7
fix peer sharing
amark Aug 1, 2022
db99ad6
argh, axe needed skip reset. + always relay up for now
amark Aug 2, 2022
3dbdd4e
is this good enough?
amark Aug 2, 2022
cfad98b
it's alive!!!!
amark Aug 3, 2022
233d261
fix login maybe? AGAIN?
amark Aug 3, 2022
ef59ea1
mark fails at JSON again
amark Aug 3, 2022
e840df4
note/fix
amark Aug 3, 2022
cedf9b8
stupid cache miss kills me all + update examples
amark Aug 9, 2022
d06359f
SEA - Update sea.work to support hex (#1266)
i001962 Aug 9, 2022
07b30ed
unbuild - PUBLISHED! 1238
amark Aug 9, 2022
451c33a
reduce not-found acks if via/relay has found ##
amark Aug 10, 2022
d5c8a02
test undo tmp
amark Aug 10, 2022
89b24d3
subscribe only on backpropagation
amark Aug 13, 2022
7123207
Panic tests for rod & radix.js try / catch (#1269)
mmalmi Aug 13, 2022
b125d8d
Merge branch 'master' of http://github.com/amark/gun
amark Aug 13, 2022
680f871
PANIC 4: AXE get subscriptions
amark Aug 13, 2022
f257474
fix gun <-> axe mismatch on uninit data
amark Aug 21, 2022
94c6a97
Rad book tests (#1274)
Aug 25, 2022
e9439da
THANK YOU NORMAN! @nsreed
amark Aug 25, 2022
6d7e980
silly book. Is this correct?
amark Aug 25, 2022
ad8e67e
make SEA work in service worker (no window obj) (#1282)
mmalmi Oct 19, 2022
2d39931
fix .off()
rogowski Oct 27, 2022
73d54b6
toString must be stringy!
amark Dec 1, 2022
47c0709
revert & make axe not skip if other props
amark Dec 21, 2022
9ceb86b
revert tower tying while publishing AXE fix
amark Dec 23, 2022
eca0451
wrapper for browser tests of book @rogowski
amark Jan 19, 2023
8778ca4
basic book test + some failing ones (cause its so early)
amark Jan 19, 2023
9abebd7
rad fixed dup text, perf, read + tests.
amark Jan 24, 2023
2ee0bed
Allow Dockerfile to auto-update Node version (#1303)
atjn Jan 24, 2023
0665787
thanks @rogowski book test read/memory/disk variations
amark Jan 30, 2023
6f6d8b5
Merge branch 'master' of http://github.com/amark/gun
amark Jan 30, 2023
713380c
opt.env = process.env
amark Feb 14, 2023
81a29cd
fix book mismatch between parse & parseless
amark Feb 18, 2023
c274977
Merge branch 'master' of http://github.com/amark/gun
amark Feb 18, 2023
d732a9e
fix page size transfer
amark Feb 18, 2023
1bdab73
Book formatting + more tests
amark Feb 24, 2023
9e616ea
Fix typos (#1299)
rex4539 Feb 26, 2023
73b661a
Book passing encode/decode test.
rogowski Mar 2, 2023
9433e5c
fix: change type to string instead of literal newPassword (#1309)
sbalbalosa Mar 13, 2023
b14d5da
Thank you Murage Martin @murageyun for donating!!!
amark Apr 7, 2023
b79e5bb
test install
amark Apr 25, 2023
58f9135
again
amark Apr 25, 2023
c9283d8
bump
amark Apr 25, 2023
c6b9fa8
back?
amark Apr 25, 2023
2afde8d
hmm
amark Apr 25, 2023
1ddf797
reverse?
amark Apr 25, 2023
48b5a0e
what about now?
amark Apr 26, 2023
2183e6a
log
amark Apr 26, 2023
0e7121b
finally!
amark Apr 26, 2023
e15416f
longer
amark Apr 26, 2023
ca0e7e3
trim
amark Apr 26, 2023
8b1f055
auto update
amark Apr 28, 2023
bf15653
ugh
amark Apr 28, 2023
bfedfc0
sleepy ugh
amark Apr 28, 2023
5800580
reduce?
amark Apr 28, 2023
30eff26
nope need curl lol
amark Apr 28, 2023
8c4d38e
oops
amark Apr 28, 2023
1304ef9
reuse
amark Apr 28, 2023
4c01db9
up mob
amark Apr 29, 2023
0cb9706
Fix opt.s3.fakes3 parsing issue (#1318)
ritchia1 May 12, 2023
7f6a0b2
Support variable number of auth retry attempts through opt.retries (#…
ritchia1 May 21, 2023
f882b86
Thanks Jason Stallings @octalmage !!!
amark May 27, 2023
1862fb6
Remove unused imports (#1337)
atjn Oct 18, 2023
0251de1
Update README.md
amark Oct 19, 2023
96b1402
yay format change
amark Nov 10, 2023
5d3cbac
Merge branch 'master' of http://github.com/amark/gun
amark Nov 10, 2023
efb2552
encode objects
amark Nov 17, 2023
5ff33b7
WS ws.path fix (#1343)
bmatusiak Nov 25, 2023
6dfaaf2
add one click deploy to readme (#1342)
jbgh Nov 25, 2023
c440a7c
update src/index (#1254)
bmatusiak Dec 15, 2023
2b4f750
is ??? this a MVP of book & rad ???? thanks to @rogowski
amark Dec 29, 2023
dc5f90a
Merge branch 'master' of http://github.com/amark/gun
amark Dec 29, 2023
d7f1947
book & rad APIs stabilizing
amark Jan 16, 2024
78a40da
RAD & Book promoted! + buggy example: test/rad/book.html
amark Jan 16, 2024
3688ba1
bump path
amark Jan 16, 2024
203bd40
cleaned up Book results & sorting & caching
amark Jan 17, 2024
e07c9b2
sea blobs! (#1353)
bmatusiak Jan 17, 2024
7cb337c
add a way to select stats file from url (#1351)
bmatusiak Jan 17, 2024
5c52df2
react-native detection, and load needed shims (#1349)
bmatusiak Jan 17, 2024
638c2c3
have unbuild function wrap to prevent scope leaks & allow RETURN hehe…
amark Jan 17, 2024
7eb6d38
quick-fix (#1355)
bmatusiak Jan 17, 2024
61df63c
Fix SEA certificate verification, allow multiple pubs (#1358)
mimiza Feb 5, 2024
3bd8098
Create SECURITY.md (#1364)
SimardeepSingh-zsh Feb 5, 2024
3070627
... works (#1357)
bmatusiak Feb 5, 2024
e584906
Loading fix (#1356)
bmatusiak Feb 5, 2024
c47800f
update SECURITY.md file and change the versions to 0.2020.x (#1365)
SimardeepSingh-zsh Feb 7, 2024
7a2767a
webrtc accept getUserMedia streams as peer
amark Mar 11, 2024
faff9ef
Merge branch 'master' of http://github.com/amark/gun
amark Mar 11, 2024
1c095b1
Check atom exists in graph when deciding to read from disk (#1371)
mblaney Apr 4, 2024
03735dc
fix: ERROR: Radisk needs `store.put` interface (#1374)
aheissenberger Apr 15, 2024
7cc4cce
Update STUN servers (#1381)
carlin978 Jul 23, 2024
90b8895
universal notification system
amark Nov 24, 2024
5305f01
Merge branch 'master' of http://github.com/amark/gun
amark Nov 24, 2024
9a0e259
Merge branch 'deploys' into master
amark Nov 24, 2024
e3a5a52
Update README.md
amark Nov 29, 2024
0c423c9
remove redundant return statement (#1394)
bradwbradw Mar 8, 2025
ff4bf92
docs: remove repetitive words (#1392)
RiceChuan Mar 8, 2025
4b43fa7
ci failed cause github made API breaking changes... does this fix?
amark Apr 2, 2025
938697d
relay-sqlite-example (#1403)
ponzS Jun 15, 2025
58d0318
Added audio (#1408)
tmsteph Jul 25, 2025
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
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
node_modules
radata
stats.radata
.git
.gitignore
*.md
108 changes: 108 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
name: ci

on:
push:
pull_request:

jobs:
test:
strategy:
matrix:
node-version: [14.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
# checkout the code
- name: Checkout
uses: actions/checkout@v4 # Updated to v4 (latest as of 2025)

# verify the version in package.json matches the release tag
- name: Version
uses: tcurdt/action-verify-version-npm@master # No version update as it's using @master

# setup the node version
- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v4 # Updated to v4 (latest as of 2025)
with:
node-version: ${{ matrix.node-version }}

# cache node_modules if we can
- name: Cache
id: cache-modules
uses: actions/cache@v4 # Updated to v4 (latest as of 2025)
with:
path: node_modules
key: ${{ matrix.node-version }}-${{ runner.os }}-build-${{ hashFiles('package.json') }}

# otherwise run install
- name: Install
if: steps.cache-modules.outputs.cache-hit != 'true'
run: npm install

# run tests
- name: Test
run: npm test

# create github release
release:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
needs: [test]
runs-on: ubuntu-latest
steps:
# create github release (which triggers the release workflows)
- name: Release
uses: softprops/action-gh-release@v2 # Updated to v2 (latest stable version as of 2025)
# env:
# GITHUB_TOKEN: ${{ secrets.PAT }}

# # publish latest master or release to dockerhub
# dockerhub:
# if: github.event_name == 'push'
# needs: [test]
# runs-on: ubuntu-latest
# env:
# image: ${{ secrets.DOCKERHUB_USERNAME }}/gun
# steps:
#
# - name: Checkout
# uses: actions/checkout@v4 # Updated to v4
#
# - name: Login
# env:
# DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
# DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
# run: echo -n ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
#
# - name: Build
# run: |
# echo "SHA=$GITHUB_SHA"
# docker build --build-arg SHA=$GITHUB_SHA \
# BUILD_DATE=$(date +'%Y-%m-%dT%H:%M:%S') \
# VCS_REF=${GITHUB_REF} \
# VCS_URL=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} \
# VERSION=${GITHUB_REF##*/} \
# SHA=$GITHUB_SHA \
# --label "SHA=$GITHUB_SHA" \
# --tag ${{ env.image }}:${GITHUB_REF##*/} \
# --tag ${{ env.image }}:latest \
# .
#
# - name: Push
# run: docker push ${{ env.image }}

# publish release to npm
npm:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
needs: [test]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4 # Updated to v4

- name: Publish
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN
npm install
npm publish --access=public
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ isolate*.log
.localStorage
/types/**/*.ts
!/types/**/*.d.ts
!/types/**/*.test-d.ts
/gun.ts
/temp/
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.ts
/temp/
!*.d.ts
*.radata
isolate-*
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: node_js
branches:
except:
- debug
- manhattan
node_js:
- 10
cache:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## 0.2020.x

`>0.2020.520` may break in-process `gun1` `gun2` message passing. Check `test/common.js` "Check multi instance message passing" for a hint and/or complain on community chat.

- No breaking changes to core API.
- Storage adapter `put` event breaking change (temporary?), RAD is official now and storage adapters should be RAD plugins instead of GUN adapters.
- GUN soul format changed from being a random UUID to being a more predictable graph path (of where initially created) to support even better offline behavior. This means `null`ing & replacing an object will not create a new but re-merge.
Expand Down
29 changes: 19 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
FROM alpine:latest
# Build-time metadata as defined at http://label-schema.org
# install packages
FROM node:lts-alpine as builder
RUN mkdir /work
WORKDIR /work
RUN apk add --no-cache alpine-sdk python3
COPY package*.json ./
RUN mkdir -p node_modules
RUN npm ci --only=production

# fresh image without dev packages
FROM node:lts-alpine
# build-time metadata as defined at http://label-schema.org
ARG BUILD_DATE
ARG VCS_REF
ARG VCS_URL
Expand All @@ -12,15 +22,14 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vendor="The Gun Database Team" \
org.label-schema.version=$VERSION \
org.label-schema.schema-version="1.0"
# org.label-schema.description="Let it be pulled from Readme.md..." \
WORKDIR /app
ARG SHA
RUN mkdir /work
WORKDIR /work
COPY --from=builder /work/node_modules ./node_modules
RUN npm rebuild -q
ADD . .
ENV NPM_CONFIG_LOGLEVEL warn
RUN apk update && apk upgrade \
&& apk add --no-cache ca-certificates nodejs-npm \
&& apk add --no-cache --virtual .build-dependencies python2 make g++ \
&& npm install --production \
&& apk del .build-dependencies && rm -rf /var/cache/* /tmp/npm*
RUN echo "{ \"sha\": \"$SHA\" }" > version.json
RUN cat version.json
EXPOSE 8080
EXPOSE 8765
CMD ["npm","start"]
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: node examples/http.js
web: node --inspect examples/http.js
Loading