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

Moved all repo devices into monorepo #1

Merged
merged 33 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
935bb31
nmea-parser added to repo but not setup for monorepo
crisconru May 2, 2024
20366d5
nmea-parser-nodered added to repo but not monorepo
crisconru May 2, 2024
36a94b5
norsub-emru added to repo but not monorepo
crisconru May 2, 2024
fdcc258
norsub-emru-nodered added to repo but not monorepo
crisconru May 2, 2024
c36b57a
septentrio-sbf added to repo but not monorepo
crisconru May 2, 2024
d22c33c
septentrio-sbf-nodered added to repo but not monorepo
crisconru May 2, 2024
6d2c84b
tb-live added to repo but not monorepo
crisconru May 2, 2024
9022ab1
tb-live-nodered added to repo but not monorepo
crisconru May 2, 2024
d8fe1e3
editor settings
crisconru May 2, 2024
f7f75f6
adding custom ignores to repo
crisconru May 2, 2024
3101c79
renamed thelmabiotel devices
crisconru May 2, 2024
5a6d803
starting with monorepo
crisconru May 2, 2024
59ec11a
moved all nested actions to global folder
crisconru May 2, 2024
5581806
nmea-parser: added to monorepo, starting setting
crisconru May 2, 2024
a8fdc66
nmea-parser-nodered added to monorepo
crisconru May 2, 2024
d4d9a57
nmea-parser-nodered: changed urls to monorepo
crisconru May 2, 2024
abe90db
added packages to monorepo and removed common dev deps
crisconru May 2, 2024
9730835
added to monorepo changing jest for vitest
crisconru May 2, 2024
33d8364
refactor to move all packages into packages folder
crisconru May 2, 2024
8f3a8ce
setup tsconfig globally and nestedly on each package
crisconru May 3, 2024
51b4094
added ts-standard as linter + formatter
crisconru May 3, 2024
97e4d17
NMEA-PARSER: Linter + Formatter executed
crisconru May 3, 2024
07d015c
NORSUB-eMRU: Linter + Formatter passed
crisconru May 3, 2024
d0db6b8
moved linter-formatter to dev deps
crisconru May 6, 2024
09c2d57
NMEA-PARSER: Linted+Formatted success
crisconru May 6, 2024
d9be69e
refactor :coverage task to test:coverage
crisconru May 6, 2024
5d120c3
NORSUB-eMRU: refactor ignore pattern
crisconru May 6, 2024
73f5127
NMEA-PARSER: adding eslintconfig to make it works with VSCode
crisconru May 6, 2024
f252a0c
NORSUB-eMRU: adding eslintconfig to make it works with VSCode
crisconru May 6, 2024
0434bd9
SEPTENTRIO-SBF: adding eslintconfig to make it works with VSCode
crisconru May 6, 2024
b7d4281
THLEMABIOTEL-TBLIVE: adding eslintconfig to make it works with VSCode
crisconru May 6, 2024
6ea19d8
SEPTENTRIO-SBF: Linted + Formatted success
crisconru May 6, 2024
1255caa
updated patched version to publish new urls origin
crisconru May 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false
59 changes: 59 additions & 0 deletions .github/workflows/nmea-parser-nodered.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: nmea-parser-nodered

on:
workflow_dispatch:
push:
paths:
- nmea-parser-nodered/**

jobs:
# test:
# name: 🧪 Test
# runs-on: ubuntu-latest

# strategy:
# matrix:
# node-version: [18.x, 20.x]

# steps:
# - name: 👍 Checkout
# uses: actions/checkout@v3

# - name: ❇️ Setup node.js
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
# cache: 'npm'

# - name: 📥 Install Dependencies
# run: npm install

# - name: 🧑‍🔬 Tests
# run: "npm run nmea-parser-nodered:test"

publish:
name: 🚀 Publish
runs-on: ubuntu-latest
# needs: test
if: github.ref == 'refs/heads/main'

steps:
- name: 👍 Checkout
uses: actions/checkout@v3

- name: ❇️ Setup node.js
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: 📥 Install Dependencies
run: npm install

- name: 🛠️ Build
run: "npm run nmea-parser-nodered:build"

- name: 🚀 Publish to npm
run: "npm publish --access public --workspace=@coremarine/nr-nmea-parser"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
59 changes: 59 additions & 0 deletions .github/workflows/nmea-parser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: nmea-parser

on:
workflow_dispatch:
push:
paths:
- nmea-parser/**

jobs:
test:
name: 🧪 Test
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]

steps:
- name: 👍 Checkout
uses: actions/checkout@v3

- name: ❇️ Setup node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: 📥 Install Dependencies
run: npm install

- name: 🧑‍🔬 Tests
run: "npm run nmea-parser:test"

publish:
name: 🚀 Publish
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main'

steps:
- name: 👍 Checkout
uses: actions/checkout@v3

- name: ❇️ Setup node.js
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: 📥 Install Dependencies
run: npm install

- name: 🛠️ Build
run: "npm run nmea-parser:build"

- name: 🚀 Publish to npm
run: "npm publish --access public --workspace=@coremarine/nmea-parser"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
59 changes: 59 additions & 0 deletions .github/workflows/norsub-emru-nodered.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: norsub-emru-nodered

on:
workflow_dispatch:
push:
paths:
- norsub-emru-nodered/**

jobs:
# test:
# name: 🧪 Test
# runs-on: ubuntu-latest

# strategy:
# matrix:
# node-version: [18.x, 20.x]

# steps:
# - name: 👍 Checkout
# uses: actions/checkout@v3

# - name: ❇️ Setup node.js
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
# cache: 'npm'

# - name: 📥 Install Dependencies
# run: npm install

# - name: 🧑‍🔬 Tests
# run: "npm run norsub-emru-nodered:test"

publish:
name: 🚀 Publish
runs-on: ubuntu-latest
# needs: test
if: github.ref == 'refs/heads/main'

steps:
- name: 👍 Checkout
uses: actions/checkout@v3

- name: ❇️ Setup node.js
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: 📥 Install Dependencies
run: npm install

- name: 🛠️ Build
run: "npm run norsub-emru-nodered:build"

- name: 🚀 Publish to npm
run: "npm publish --access public --workspace=@coremarine/nr-norsub-emru"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
59 changes: 59 additions & 0 deletions .github/workflows/norsub-emru.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: norsub-emru

on:
workflow_dispatch:
push:
paths:
- norsub-emru/**

jobs:
test:
name: 🧪 Test
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]

steps:
- name: 👍 Checkout
uses: actions/checkout@v3

- name: ❇️ Setup node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: 📥 Install Dependencies
run: npm install

- name: 🧑‍🔬 Tests
run: "npm run norsub-emru:test"

publish:
name: 🚀 Publish
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main'

steps:
- name: 👍 Checkout
uses: actions/checkout@v3

- name: ❇️ Setup node.js
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: 📥 Install Dependencies
run: npm install

- name: 🛠️ Build
run: "npm run norsub-emru:build"

- name: 🚀 Publish to npm
run: "npm publish --access public --workspace=@coremarine/norsub-emru"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
59 changes: 59 additions & 0 deletions .github/workflows/septentrio-sbf-nodered.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: septentrio-sbf-nodered

on:
workflow_dispatch:
push:
paths:
- septentrio-sbf-nodered/**

jobs:
# test:
# name: 🧪 Test
# runs-on: ubuntu-latest

# strategy:
# matrix:
# node-version: [18.x, 20.x]

# steps:
# - name: 👍 Checkout
# uses: actions/checkout@v3

# - name: ❇️ Setup node.js
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
# cache: 'npm'

# - name: 📥 Install Dependencies
# run: npm install

# - name: 🧑‍🔬 Tests
# run: "npm run septentrio-sbf-nodered:test"

publish:
name: 🚀 Publish
runs-on: ubuntu-latest
# needs: test
if: github.ref == 'refs/heads/main'

steps:
- name: 👍 Checkout
uses: actions/checkout@v3

- name: ❇️ Setup node.js
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: 📥 Install Dependencies
run: npm install

- name: 🛠️ Build
run: "npm run septentrio-sbf-nodered:build"

- name: 🚀 Publish to npm
run: "npm publish --access public --workspace=@coremarine/septentrio-sbf-parser"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
59 changes: 59 additions & 0 deletions .github/workflows/septentrio-sbf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: septentrio-sbf

on:
workflow_dispatch:
push:
paths:
- septentrio-sbf/**

jobs:
test:
name: 🧪 Test
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]

steps:
- name: 👍 Checkout
uses: actions/checkout@v3

- name: ❇️ Setup node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: 📥 Install Dependencies
run: npm install

- name: 🧑‍🔬 Tests
run: "npm run septentrio-sbf:test"

publish:
name: 🚀 Publish
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main'

steps:
- name: 👍 Checkout
uses: actions/checkout@v3

- name: ❇️ Setup node.js
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: 📥 Install Dependencies
run: npm install

- name: 🛠️ Build
run: "npm run septentrio-sbf:build"

- name: 🚀 Publish to npm
run: "npm publish --access public --workspace=@coremarine/sbf-parser"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading
Loading