Skip to content

Commit

Permalink
Merge pull request #23 from antonioconselheiro/release/0.4.0
Browse files Browse the repository at this point in the history
Release/0.4.0
  • Loading branch information
antonioconselheiro authored Nov 21, 2024
2 parents f0ad715 + a75fbfc commit 5aa1a9a
Show file tree
Hide file tree
Showing 45 changed files with 1,664 additions and 3,776 deletions.
19 changes: 4 additions & 15 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
FROM node:20

# Including jq to filter json
RUN apt update
RUN apt install -y jq gnupg

# Chrome install for unit test
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

# Including jq to filter json
RUN apt update
RUN apt install -y google-chrome-stable
RUN apt install -y jq gnupg google-chrome-stable

# Clean
RUN apt clean
Expand All @@ -22,22 +19,14 @@ RUN chmod +x /usr/bin/nak
# Installing client dependencies
RUN npm install typescript @angular/cli -g

# Credentials
COPY ./.gitconfig /root/.gitconfig
COPY ./.ssh /root/.ssh
RUN chmod 600 -R /root/.ssh
RUN ssh-add -D && ssh-add /root/.ssh/id_ed25519 || true

WORKDIR /omeglestr

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

# Exposing ports
EXPOSE 9876
EXPOSE 9229
EXPOSE 4200
EXPOSE 4222

# The run the start script
CMD [ "/bin/bash" ]
8 changes: 8 additions & 0 deletions .devcontainer/auth.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#bin/bash

mkdir -p ~/.ssh;
cp -r .ssh/** ~/.ssh/;
cp .gitconfig ~/.gitconfig;
chmod 500 ~/.ssh/id_ed25519;
ssh-add -D;
ssh-add ~/.ssh/id_ed25519;
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
],
"service": "omeglestr-dev",
"workspaceFolder": "/omeglestr",
"postCreateCommand": "./.devcontainer/auth.sh",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
Expand Down
4 changes: 1 addition & 3 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ services:
dockerfile: ./.devcontainer/Dockerfile
working_dir: /omeglestr
ports:
- "9876:9876"
- "9229:9229"
- "4200:4200"
- "4222:4222"
volumes:
- ..:/omeglestr:cached
- /var/run/docker.sock:/var/run/docker.sock
Expand Down
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# Credentials
/gitconfig
/.gitconfig
/.ssh
.gitconfig
.ssh

# Compiled output
/dist
Expand Down
3 changes: 0 additions & 3 deletions CONTRIBUTE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Contribute
_working from individuals to individuals_

![destroy the levithan](https://raw.githubusercontent.com/antonioconselheiro/antonioconselheiro/main/img/destroy-leviathan.jpg)

_against the Beast and his Antichrist_

### Small changes and Bugs
Expand Down
1 change: 0 additions & 1 deletion TODO

This file was deleted.

27 changes: 5 additions & 22 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,12 @@
"assets": [
"src/manifest.webmanifest",
"src/favicon.ico",
"src/assets",
{
"glob": "**/*",
"input": "src/app/workers",
"output": "/workers"
}
"src/assets"
],
"styles": [
"src/styles.scss",
"node_modules/ngx-toastr/toastr.css"
],
"scripts": [],
"webWorkerTsConfig": "tsconfig.worker.json"
]
},
"configurations": {
"production": {
Expand Down Expand Up @@ -77,7 +70,8 @@
"buildTarget": "omeglestr:build:production"
},
"development": {
"buildTarget": "omeglestr:build:development"
"buildTarget": "omeglestr:build:development",
"port": 4222
}
},
"defaultConfiguration": "development"
Expand All @@ -96,19 +90,8 @@
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss",
"node_modules/ngx-toastr/toastr.css"
],
"scripts": [],
"browsers": "ChromeHeadlessCI",
"karmaConfig": "karma.conf.js",
"webWorkerTsConfig": "tsconfig.worker.json"
"karmaConfig": "karma.conf.js"
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions docs/3rdpartylicenses.txt
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ THE SOFTWARE.
@belomonte/async-modal-ngx
Unlicense

@belomonte/ngx-parody-api
Ungovernable

@jsr/nostrify__nostrify
MIT License

Expand Down
1 change: 0 additions & 1 deletion docs/929.3327f3f3a9dc4b18.js

This file was deleted.

2 changes: 1 addition & 1 deletion docs/index.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@
<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>
<body>
<app-root></app-root>
<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>
<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>
</html>
1 change: 1 addition & 0 deletions docs/main.d376e674c23bb6ef.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/main.dbfbdeccc154b083.js

This file was deleted.

Empty file modified docs/polyfills.76501f31eddd659a.js
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion docs/runtime.36e1908757eb47d0.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/runtime.645a1d1273ec4f99.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file modified docs/styles.d3fe2249b4699859.css
100644 → 100755
Empty file.
10 changes: 0 additions & 10 deletions docs/workers/nostr-event-pow.worker.ts

This file was deleted.

Loading

0 comments on commit 5aa1a9a

Please sign in to comment.