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: release preparation #3

Merged
merged 4 commits into from
Oct 30, 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
10 changes: 10 additions & 0 deletions .changeset/sweet-crabs-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@callstack/byorg-core': minor
'@callstack/byorg-discord': minor
'@callstack/byorg-slack': minor
'@callstack/byorg-utils': minor
'@callstack/document-loaders': minor
'@callstack/slack-rich-text': minor
---

Initial release.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@callstack/byorg-core",
"version": "0.1.0",
"version": "0.0.0",
"type": "module",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/discord/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@callstack/byorg-discord",
"version": "0.1.0",
"version": "0.0.0",
"type": "module",
"license": "MIT",
"main": "./dist/cjs/index.cjs",
Expand Down
11 changes: 6 additions & 5 deletions packages/document-loaders/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# BYOrg AI Document loaders
# Document loaders

This package contains functions for fetching documents from multiple sources as strings.
This package contains functions for fetching documents from various sources: Notion, Google Docs, etc.

## Environment variables

This package expects following env variables to be set

| Name | Description |
|--------------|---------------------------------------------|
| NOTION_TOKEN | Token for accessing the Notion API |
| Name | Description |
| ------------ | ---------------------------------- |
| NOTION_TOKEN | Token for accessing the Notion API |
4 changes: 2 additions & 2 deletions packages/document-loaders/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@callstack/byorg-document-loaders",
"version": "0.1.0",
"name": "@callstack/document-loaders",
"version": "0.0.0",
"type": "module",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/slack-rich-text/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# BYOrg AI Slack rich text package
# Slack rich text package

This package contains function for parsing markdown into slack blocks, and slack blocks into markdown.
4 changes: 2 additions & 2 deletions packages/slack-rich-text/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@callstack/byorg-slack-rich-text",
"version": "0.1.0",
"name": "@callstack/slack-rich-text",
"version": "0.0.0",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/slack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@callstack/byorg-slack",
"version": "0.1.0",
"version": "0.0.0",
"type": "module",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.js",
Expand All @@ -12,7 +12,7 @@
"dependencies": {
"@callstack/byorg-core": "workspace:",
"@callstack/byorg-utils": "workspace:",
"@callstack/byorg-slack-rich-text": "workspace:",
"@callstack/slack-rich-text": "workspace:",
"@slack/bolt": "^3.21.1",
"@slack/web-api": "^6.12.1",
"p-debounce": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/slack/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Slack, { ContextBlock, LogLevel, RichTextBlock, SayFn } from '@slack/bolt
import { WebClient } from '@slack/web-api';
import { Application } from '@callstack/byorg-core';
import { logger } from '@callstack/byorg-utils';
import { parseMarkdownToRichTextBlock } from '@callstack/byorg-slack-rich-text';
import { parseMarkdownToRichTextBlock } from '@callstack/slack-rich-text';
import pDebounce from 'p-debounce';
import {
SlackMessage,
Expand Down
2 changes: 1 addition & 1 deletion packages/slack/src/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
import { WebClient } from '@slack/web-api';
import { RichTextBlock } from '@slack/bolt';
import { FileBuffer, Message } from '@callstack/byorg-core';
import { parseRichTextBlockToMarkdown } from '@callstack/byorg-slack-rich-text';
import { parseRichTextBlockToMarkdown } from '@callstack/slack-rich-text';
import { fetchFile } from './slack-api.js';

export async function toCoreMessage(
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@callstack/byorg-utils",
"version": "0.1.0",
"version": "0.0.0",
"type": "module",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.js",
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@callstack/byorg-slack": ["./packages/slack/src/index.ts"],
"@callstack/byorg-discord": ["./packages/discord/src/index.ts"],
"@callstack/byorg-utils": ["./packages/utils/src/index.ts"],
"@callstack/byorg-slack-rich-text": ["./packages/slack-rich-text/src/index.ts"],
"@callstack/slack-rich-text": ["./packages/slack-rich-text/src/index.ts"]
}
},
"ts-node": {
Expand Down