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

chore: rebrand to @ubiquity-os/ubiquity-os-logger #39

Merged
merged 3 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
49 changes: 49 additions & 0 deletions .github/workflows/sync-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Sync branch to template

on:
workflow_dispatch:
schedule:
- cron: '14 0 1 * *'

jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get GitHub App token
uses: tibdex/[email protected]
id: get_installation_token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Sync branch to template
env:
GH_TOKEN: ${{ steps.get_installation_token.outputs.token }}
IGNORE_FILES: "README.md another-file.txt"
run: |
branch_name=$(git rev-parse --abbrev-ref HEAD)
original_remote=$(git remote get-url origin)
pr_branch="sync-template/${branch_name}"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git checkout -b "$pr_branch"
git clone https://github.com/ubiquity/ts-template
for file in $IGNORE_FILES; do
rm -rf "ts-template/$file"
done
cp -rf ts-template/* .
rm -rf ts-template/
git add .
git commit -m "chore: sync template"
git push "$original_remote" "$pr_branch"
gh pr create --title "Sync branch to template" --body "This pull request merges changes from the template repository." --head "$pr_branch" --base "$branch_name"


35 changes: 21 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,54 @@
# Changelog

## [1.3.0](https://github.com/ubiquity/ubiquibot-logger/compare/v1.2.0...v1.3.0) (2024-07-10)
## [1.3.1](https://github.com/ubiquity-os/ubiquity-os-logger/compare/v1.3.0...v1.3.1) (2024-08-21)


### Bug Fixes

* always return a LogReturn instead of null ([b46b77d](https://github.com/ubiquity-os/ubiquity-os-logger/commit/b46b77d2198746d4484b45b8eff45de2865567af))

## [1.3.0](https://github.com/ubiquity-os/ubiquity-os-logger/compare/v1.2.0...v1.3.0) (2024-07-10)


### Miscellaneous Chores

* release 1.3.0 ([ac68790](https://github.com/ubiquity/ubiquibot-logger/commit/ac68790560805d850af0de5bba2deeb559651898))
* release 1.3.0 ([ac68790](https://github.com/ubiquity-os/ubiquity-os-logger/commit/ac68790560805d850af0de5bba2deeb559651898))

## [1.2.0](https://github.com/ubiquity/ubiquibot-logger/compare/v1.1.2...v1.2.0) (2024-07-03)
## [1.2.0](https://github.com/ubiquity-os/ubiquity-os-logger/compare/v1.1.2...v1.2.0) (2024-07-03)


### Features

* the package is now compiled for both ESM and CommonJs ([42f1cab](https://github.com/ubiquity/ubiquibot-logger/commit/42f1cab960afd42dcb3c19097e800e02a8881aa0))
* the package is now compiled for both ESM and CommonJs ([42f1cab](https://github.com/ubiquity-os/ubiquity-os-logger/commit/42f1cab960afd42dcb3c19097e800e02a8881aa0))

## [1.1.2](https://github.com/ubiquity/ubiquibot-logger/compare/v1.1.1...v1.1.2) (2024-07-02)
## [1.1.2](https://github.com/ubiquity-os/ubiquity-os-logger/compare/v1.1.1...v1.1.2) (2024-07-02)


### Bug Fixes

* yarn pack is now called on release-please.yml ([4df89c8](https://github.com/ubiquity/ubiquibot-logger/commit/4df89c849c74efc4d7bcb88192fb0afcd477acf4))
* yarn pack is now called on release-please.yml ([4df89c8](https://github.com/ubiquity-os/ubiquity-os-logger/commit/4df89c849c74efc4d7bcb88192fb0afcd477acf4))

## [1.1.1](https://github.com/ubiquity/ubiquibot-logger/compare/v1.1.0...v1.1.1) (2024-07-02)
## [1.1.1](https://github.com/ubiquity-os/ubiquity-os-logger/compare/v1.1.0...v1.1.1) (2024-07-02)


### Bug Fixes

* renamed package.json to be under an org ([f46e46b](https://github.com/ubiquity/ubiquibot-logger/commit/f46e46b78a29f5ed9c4b5c7ea2085d68e182bc09))
* renamed package.json to be under an org ([f46e46b](https://github.com/ubiquity-os/ubiquity-os-logger/commit/f46e46b78a29f5ed9c4b5c7ea2085d68e182bc09))

## [1.1.0](https://github.com/ubiquity/ubiquibot-logger/compare/v1.0.0...v1.1.0) (2024-07-02)
## [1.1.0](https://github.com/ubiquity-os/ubiquity-os-logger/compare/v1.0.0...v1.1.0) (2024-07-02)

### Features

* export pretty-logs ([bb9e691](https://github.com/ubiquity/ubiquibot-logger/commit/bb9e691f85b7b52cd339d82e4f98fe409a801a7b))
* logging NPM module initial port from ubiquibot refactor/general ([1ffe3d0](https://github.com/ubiquity/ubiquibot-logger/commit/1ffe3d00060e77b9eee3a0258d8baba2e5991e77))
* export pretty-logs ([bb9e691](https://github.com/ubiquity-os/ubiquity-os-logger/commit/bb9e691f85b7b52cd339d82e4f98fe409a801a7b))
* logging NPM module initial port from ubiquity-os refactor/general ([1ffe3d0](https://github.com/ubiquity-os/ubiquity-os-logger/commit/1ffe3d00060e77b9eee3a0258d8baba2e5991e77))

### Bug Fixes

* updated target branch for release-please.yml ([dcbdcea](https://github.com/ubiquity/ubiquibot-logger/commit/dcbdcea5a4e71de7072023c2caef432c7b984115))
* updated target branch for release-please.yml ([dcbdcea](https://github.com/ubiquity-os/ubiquity-os-logger/commit/dcbdcea5a4e71de7072023c2caef432c7b984115))

## 1.0.0 (2024-07-02)

### Features

* export pretty-logs ([bb9e691](https://github.com/ubiquity/ubiquibot-logger/commit/bb9e691f85b7b52cd339d82e4f98fe409a801a7b))
* logging NPM module initial port from ubiquibot refactor/general ([1ffe3d0](https://github.com/ubiquity/ubiquibot-logger/commit/1ffe3d00060e77b9eee3a0258d8baba2e5991e77))
* export pretty-logs ([bb9e691](https://github.com/ubiquity-os/ubiquity-os-logger/commit/bb9e691f85b7b52cd339d82e4f98fe409a801a7b))
* logging NPM module initial port from ubiquity-os refactor/general ([1ffe3d0](https://github.com/ubiquity-os/ubiquity-os-logger/commit/1ffe3d00060e77b9eee3a0258d8baba2e5991e77))
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `@ubiquity-dao/ubiquibot-logger`
# `@ubiquity-os/ubiquity-os-logger`

Ubiquity logger NPM module.
UbiquityOS logger NPM module.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ubiquity-dao/ubiquibot-logger",
"version": "1.3.0",
"name": "@ubiquity-os/ubiquity-os-logger",
"version": "1.3.1",
"description": "Ubiquity logging module with Supabase support.",
"author": "Ubiquity DAO",
"license": "MIT",
Expand Down
Loading