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

Feature/v9 #18

Merged
merged 47 commits into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
e8177e9
prepare for v9
mrinc Jul 22, 2023
18e8f30
Added a generic client
mrinc Jul 22, 2023
e77de17
Updated documentation
mrinc Jul 23, 2023
05be1a7
Updated main readme
mrinc Jul 23, 2023
4982350
Updated main readme
mrinc Jul 23, 2023
c7982f5
Added plugin cache ability to optimize load speed - 16% improvement f…
mrinc Jul 24, 2023
ed8f2a6
Adding current state of docs
mrinc Jul 25, 2023
95ddb7a
Updated lotadocs
mrinc Aug 1, 2023
6044016
Updated packagejson
mrinc Aug 1, 2023
148ef40
dit-tag - v9
mrinc Aug 1, 2023
a095146
chore(package.json): update build script to include running testDev a…
mrinc Aug 9, 2023
d5f4840
Added dotnet base
mrinc Dec 13, 2023
7c61b8b
V9 initial code migration
mrinc Dec 14, 2023
24913de
feat(sec-config.yaml): enable service-default0X, service-default1X, s…
mrinc Dec 14, 2023
84fd21a
Updated deps
mrinc Dec 15, 2023
4cd5303
Publishing beta package
mrinc Dec 15, 2023
73ef6fc
Publishing beta package
mrinc Dec 15, 2023
fdb7185
Publishing beta package - updated files
mrinc Dec 15, 2023
92dacfd
Updated BSB with the ability to do direct calls and dynamic addition …
mrinc Dec 15, 2023
e73b9b3
Updated client code
mrinc Dec 15, 2023
9ff1d26
Updated zod type
mrinc Dec 16, 2023
3430f27
Updated zod types
mrinc Dec 17, 2023
2887b6d
Updated github build scripts node versions
mrinc Dec 17, 2023
e32ca3d
Updated workflow, env name for bsb plugins and docker scripts
mrinc Dec 18, 2023
2a9372b
Fixed package json ref
mrinc Dec 18, 2023
4ec0bf5
Fixing lint issues
mrinc Dec 18, 2023
b2a0878
Fixing build issues
mrinc Dec 18, 2023
0a6eb2a
Fixing build issues
mrinc Dec 18, 2023
ec924ec
Fixing build issues
mrinc Dec 18, 2023
d8eb75e
Fixing build issues
mrinc Dec 18, 2023
50ef354
Fixing build issues
mrinc Dec 18, 2023
dbec48c
Some config based fixes. Updated all libs. General cleanup
mrinc Dec 20, 2023
62ce5c9
Updated tools dep
mrinc Dec 20, 2023
16bff1c
Updated package
mrinc Dec 20, 2023
19131b4
Build specifically for BSB core
mrinc Dec 20, 2023
cefee6a
forcing build
mrinc Dec 20, 2023
3fc23f0
Updated docker build
mrinc Dec 22, 2023
38e7ad1
Build updates for nodejs
mrinc Dec 22, 2023
3027709
Updated build scripts for docker
mrinc Dec 22, 2023
ec4dac6
Temp fix for nodejs multi-arch builds - reverting to nodejs 18 for now
mrinc Dec 22, 2023
785225f
Moving workflows into temp folder while cleanup occurs
mrinc Dec 22, 2023
dffd8f7
Updated entrypoint/docker script
mrinc Dec 22, 2023
204225a
Updating build permissions setup
mrinc Dec 22, 2023
ec89c3d
Updated docker scripts
mrinc Dec 23, 2023
c9c5c25
Fixing file permissions
mrinc Dec 23, 2023
a03dba6
Added CMD based debugging. Using CMD instead of an ENV
mrinc Dec 23, 2023
9767049
Uhm... lots of fixes and cleanups
mrinc Jan 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
85 changes: 85 additions & 0 deletions .github/_tocleanup/-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# name: Build Framework

# on:
# pull_request:
# push:
# branches:
# - "**"
# - "!develop"
# - "!master"
# tags-ignore:
# - "**"

# jobs:
# build-framework-nodejs:
# runs-on: ubuntu-latest

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

# steps:
# - uses: actions/checkout@v4

# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v4
# with:
# node-version: ${{ matrix.node-version }}
# cache: "npm"
# cache-dependency-path: nodejs/package-lock.json

# - run: npm i -g typescript ts-node
# working-directory: ./nodejs
# - run: tsc -v ; ts-node -v
# working-directory: ./nodejs
# - run: npm ci
# working-directory: ./nodejs
# - run: npm run build
# working-directory: ./nodejs
# - run: npm run test
# working-directory: ./nodejs

# - name: Test Report ${{ matrix.node-version }}
# uses: dorny/[email protected]
# with:
# name: Tests
# path: nodejs/junit.json
# reporter: mocha-json

# - name: Upload coverage reports to Codecov
# if: contains(matrix.node-version, '20.x')
# uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# directory: nodejs/coverage

# - name: cleanup
# if: always()
# run: rm -f ~/.npmrc ; rm -f ./.npmrc;

# docs_build_:
# runs-on: ubuntu-latest

# strategy:
# matrix:
# node-version: [20.x]
# # See supported Node.js release schedule at https://nodejs.org/en/about/releases/

# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0

# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v4
# with:
# node-version: ${{ matrix.node-version }}
# cache: "npm"
# cache-dependency-path: documentation/package-lock.json

# - run: npm ci
# working-directory: documentation/

# - run: npm run build
# working-directory: documentation/
181 changes: 181 additions & 0 deletions .github/_tocleanup/-develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
# name: Build and Publish (EA)

# on:
# push:
# branches:
# - "develop"

# jobs:
# build_and_publish_ea_nodejs:
# runs-on: ubuntu-latest

# strategy:
# matrix:
# node-version: [18.x, 20.x]
# #experimental: [false]
# #include:
# # - node-version: 19.x
# # experimental: true

# #continue-on-error: ${{ matrix.experimental }}

# outputs:
# version: ${{ steps.semver.outputs.version }}
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0

# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v4
# with:
# node-version: ${{ matrix.node-version }}
# cache: "npm"
# cache-dependency-path: nodejs/package-lock.json

# - run: npm i -g typescript ts-node
# working-directory: ./nodejs
# - run: tsc -v ; ts-node -v
# working-directory: ./nodejs
# - run: npm ci
# working-directory: ./nodejs

# - name: semver
# id: semver
# uses: paulhatch/[email protected]
# with:
# tag_prefix: "v"
# branch: develop
# major_pattern: "(MAJOR)"
# minor_pattern: "(MINOR)"
# format: "${major}.${minor}.${patch}-ea.${increment}"
# change_path: "./"
# bump_each_commit: true
# namespace: ""

# - run: rm -f ~/.npmrc ; rm -f ./.npmrc ; echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM2_TOKEN_PUB }}" > ./.npmrc
# working-directory: ./nodejs
# - run: |
# git config user.name "${{ secrets.NPM_NAME }}";
# git config user.email "${{ secrets.NPM_EMAIL }}";
# echo "Hello $(git config --get user.name)";

# - name: output version
# run: |
# echo "Setting version too: ${{ steps.semver.outputs.version }}";

# - run: npm version ${{ steps.semver.outputs.version }}
# working-directory: ./nodejs
# - run: npm run build
# working-directory: ./nodejs
# - run: npm run test
# working-directory: ./nodejs

# - name: Test Report ${{ matrix.node-version }}
# uses: dorny/[email protected]
# with:
# name: Tests
# path: nodejs/junit.json
# reporter: mocha-json

# - name: Upload coverage reports to Codecov
# if: contains(matrix.node-version, '20.x')
# uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# directory: nodejs/coverage

# - run: cp README.md ./nodejs/README.md

# - run: npm publish --tag ea
# working-directory: ./nodejs
# if: contains(matrix.node-version, '20.x')

# - run: npm pack
# working-directory: ./nodejs
# if: contains(matrix.node-version, '20.x')

# - uses: actions/upload-artifact@v2
# if: contains(matrix.node-version, '20.x')
# with:
# name: published-package
# path: ./nodejs/*.tgz

# - name: cleanup
# if: always()
# run: rm -f ~/.npmrc ; rm -f ./.npmrc;

# docker_build_ea_nodejs:
# needs: [build_and_publish_ea_nodejs, docs_build_ea]
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2

# - uses: actions/download-artifact@v2
# with:
# name: published-package
# path: ./nodejs

# - name: Set up QEMU
# uses: docker/setup-qemu-action@master
# with:
# platforms: all

# - name: Set up Docker Buildx
# id: buildx
# uses: docker/setup-buildx-action@master

# - name: Login to DockerHub
# if: github.event_name != 'pull_request'
# uses: docker/login-action@v1
# with:
# username: ${{ secrets.DOCKER_HUB_USER }}
# password: ${{ secrets.DOCKER_HUB_TOKEN }}

# - name: Build
# uses: docker/build-push-action@v2
# with:
# builder: ${{ steps.buildx.outputs.name }}
# context: ./nodejs/
# file: ./nodejs/Dockerfile
# platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
# push: true
# tags: |
# betterweb/service-base:ea-node
# betterweb/service-base:node-${{ needs.build_and_publish_ea_nodejs.outputs.version }}

# docs_build_ea:
# runs-on: ubuntu-latest
# needs: [build_and_publish_ea_nodejs]

# strategy:
# matrix:
# node-version: [20.x]
# # See supported Node.js release schedule at https://nodejs.org/en/about/releases/

# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0

# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v4
# with:
# node-version: ${{ matrix.node-version }}
# cache: "npm"
# cache-dependency-path: documentation/package-lock.json

# - run: npm ci
# working-directory: documentation/

# - run: npm run build
# working-directory: documentation/

# - name: Update site
# uses: cloudflare/[email protected]
# with:
# apiToken: ${{ secrets.CF_API_TOKEN }}
# accountId: ${{ secrets.CF_ACCOUNT_ID }}
# command: pages publish documentation/.vuepress/dist --project-name=bsb-documentation --commit-dirty=true --branch=ea
Loading
Loading