Skip to content
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
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,10 @@ jobs:

- name: 💪 Type check
run: pnpm -r test:typecheck

- name: 📦 Build
run: pnpm -r build

# - name: 🚢 Continuous Release
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An admin would need to install the app right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep - already requested 😂

We can comment that out as soon as it's enable for this repo.

# run: pnpm dlx pkg-pr-new publish './packages/core'
# if: github.event_name == 'pull_request'
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"url": "git+https://github.com/tsky-dev/tsky.git"
},
"scripts": {
"build": "pnpm run --filter tsky build",
"docs:dev": "pnpm run --filter tsky-docs dev",
"docs:build": "pnpm run --filter tsky-docs build",
"docs:preview": "pnpm run --filter tsky-docs preview",
Expand Down
57 changes: 40 additions & 17 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,40 @@
{
"name": "tsky",
"version": "0.1.0",
"license": "MIT",
"scripts": {
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"test": "echo \"Error: no test specified\"",
"test:typescript": "tsc --noEmit"
},
"devDependencies": {
"@atproto/api": "^0.13.18",
"globals": "^15.12.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
}
}
{
"name": "tsky",
"type": "module",
"version": "0.1.0-alpha.0",
"license": "MIT",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "pkgroll",
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"test": "echo \"Error: no test specified\"",
"test:typescript": "tsc --noEmit"
},
"dependencies": {
"@atproto/api": "^0.13.18"
},
"devDependencies": {
"globals": "^15.12.0",
"pkgroll": "^2.5.1",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
}
}
2 changes: 0 additions & 2 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
export * from './bsky';
export * from './tsky';

export { TSky as default } from './tsky';
25 changes: 24 additions & 1 deletion packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,31 @@
{
"compilerOptions": {
"target": "ES2018",
"lib": ["ESNext"],
"useDefineForClassFields": false,
"experimentalDecorators": true,
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "node",
"paths": {
"~/*": ["src/*"]
}
},
"strict": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"declaration": false,
"noEmit": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true
},
"include": ["./src/**/*", "./tests/**/*", "./test-utils/**/*"],
"typedocOptions": {
"out": "./docs",
"theme": "default",
"exclude": "**/+(__tests__|__mocks__)/*",
"excludePrivate": true,
"excludeProtected": true
}
}
Loading
Loading