Skip to content

Commit 5aa1a9a

Browse files
Merge pull request #23 from antonioconselheiro/release/0.4.0
Release/0.4.0
2 parents f0ad715 + a75fbfc commit 5aa1a9a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1664
-3776
lines changed

.devcontainer/Dockerfile

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
FROM node:20
22

3-
# Including jq to filter json
4-
RUN apt update
5-
RUN apt install -y jq gnupg
6-
7-
# Chrome install for unit test
83
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
94
RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
5+
6+
# Including jq to filter json
107
RUN apt update
11-
RUN apt install -y google-chrome-stable
8+
RUN apt install -y jq gnupg google-chrome-stable
129

1310
# Clean
1411
RUN apt clean
@@ -22,22 +19,14 @@ RUN chmod +x /usr/bin/nak
2219
# Installing client dependencies
2320
RUN npm install typescript @angular/cli -g
2421

25-
# Credentials
26-
COPY ./.gitconfig /root/.gitconfig
27-
COPY ./.ssh /root/.ssh
28-
RUN chmod 600 -R /root/.ssh
29-
RUN ssh-add -D && ssh-add /root/.ssh/id_ed25519 || true
30-
3122
WORKDIR /omeglestr
3223

3324
# Keyboard & Timezone
3425
ENV LANG=C.UTF-8
3526
ENV TZ=America/Sao_Paulo
3627

3728
# Exposing ports
38-
EXPOSE 9876
39-
EXPOSE 9229
40-
EXPOSE 4200
29+
EXPOSE 4222
4130

4231
# The run the start script
4332
CMD [ "/bin/bash" ]

.devcontainer/auth.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#bin/bash
2+
3+
mkdir -p ~/.ssh;
4+
cp -r .ssh/** ~/.ssh/;
5+
cp .gitconfig ~/.gitconfig;
6+
chmod 500 ~/.ssh/id_ed25519;
7+
ssh-add -D;
8+
ssh-add ~/.ssh/id_ed25519;

.devcontainer/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
],
66
"service": "omeglestr-dev",
77
"workspaceFolder": "/omeglestr",
8+
"postCreateCommand": "./.devcontainer/auth.sh",
89
"features": {
910
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
1011
},

.devcontainer/docker-compose.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ services:
77
dockerfile: ./.devcontainer/Dockerfile
88
working_dir: /omeglestr
99
ports:
10-
- "9876:9876"
11-
- "9229:9229"
12-
- "4200:4200"
10+
- "4222:4222"
1311
volumes:
1412
- ..:/omeglestr:cached
1513
- /var/run/docker.sock:/var/run/docker.sock

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# See http://help.github.com/ignore-files/ for more about ignoring files.
22

33
# Credentials
4-
/gitconfig
5-
/.gitconfig
6-
/.ssh
4+
.gitconfig
5+
.ssh
76

87
# Compiled output
98
/dist

CONTRIBUTE.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Contribute
22
_working from individuals to individuals_
3-
4-
![destroy the levithan](https://raw.githubusercontent.com/antonioconselheiro/antonioconselheiro/main/img/destroy-leviathan.jpg)
5-
63
_against the Beast and his Antichrist_
74

85
### Small changes and Bugs

TODO

Lines changed: 0 additions & 1 deletion
This file was deleted.

angular.json

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,12 @@
2929
"assets": [
3030
"src/manifest.webmanifest",
3131
"src/favicon.ico",
32-
"src/assets",
33-
{
34-
"glob": "**/*",
35-
"input": "src/app/workers",
36-
"output": "/workers"
37-
}
32+
"src/assets"
3833
],
3934
"styles": [
4035
"src/styles.scss",
4136
"node_modules/ngx-toastr/toastr.css"
42-
],
43-
"scripts": [],
44-
"webWorkerTsConfig": "tsconfig.worker.json"
37+
]
4538
},
4639
"configurations": {
4740
"production": {
@@ -77,7 +70,8 @@
7770
"buildTarget": "omeglestr:build:production"
7871
},
7972
"development": {
80-
"buildTarget": "omeglestr:build:development"
73+
"buildTarget": "omeglestr:build:development",
74+
"port": 4222
8175
}
8276
},
8377
"defaultConfiguration": "development"
@@ -96,19 +90,8 @@
9690
"zone.js/testing"
9791
],
9892
"tsConfig": "tsconfig.spec.json",
99-
"inlineStyleLanguage": "scss",
100-
"assets": [
101-
"src/favicon.ico",
102-
"src/assets"
103-
],
104-
"styles": [
105-
"src/styles.scss",
106-
"node_modules/ngx-toastr/toastr.css"
107-
],
108-
"scripts": [],
10993
"browsers": "ChromeHeadlessCI",
110-
"karmaConfig": "karma.conf.js",
111-
"webWorkerTsConfig": "tsconfig.worker.json"
94+
"karmaConfig": "karma.conf.js"
11295
}
11396
}
11497
}

docs/3rdpartylicenses.txt

100644100755
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ THE SOFTWARE.
151151
@belomonte/async-modal-ngx
152152
Unlicense
153153

154+
@belomonte/ngx-parody-api
155+
Ungovernable
156+
154157
@jsr/nostrify__nostrify
155158
MIT License
156159

docs/929.3327f3f3a9dc4b18.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/index.html

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@
3939
<style>*,*:before,*:after{margin:0;padding:0;box-sizing:inherit}html{box-sizing:border-box;font-size:62.5%}body{font-family:sans-serif;font-weight:400;line-height:1.6;background-color:#fff7ee;height:100vh}</style><link rel="stylesheet" href="styles.d3fe2249b4699859.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.d3fe2249b4699859.css"></noscript></head>
4040
<body>
4141
<app-root></app-root>
42-
<script src="runtime.36e1908757eb47d0.js" type="module"></script><script src="polyfills.76501f31eddd659a.js" type="module"></script><script src="main.dbfbdeccc154b083.js" type="module"></script></body>
42+
<script src="runtime.645a1d1273ec4f99.js" type="module"></script><script src="polyfills.76501f31eddd659a.js" type="module"></script><script src="main.d376e674c23bb6ef.js" type="module"></script></body>
4343
</html>

docs/main.d376e674c23bb6ef.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/main.dbfbdeccc154b083.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/polyfills.76501f31eddd659a.js

100644100755
File mode changed.

docs/runtime.36e1908757eb47d0.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/runtime.645a1d1273ec4f99.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/styles.d3fe2249b4699859.css

100644100755
File mode changed.

docs/workers/nostr-event-pow.worker.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)