-
-
Notifications
You must be signed in to change notification settings - Fork 7
feat: add @tsky/lex-cli for generating typescript definitions #28
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
Merged
Merged
Changes from all commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
6325e0a
ignore lexicons dir and temp file
skiniks 7fc335c
adding ts support
skiniks 0e38ff9
types generation packages
skiniks 3d773d8
lock update
skiniks da22d64
generating types from the lexicons
skiniks cc7fd71
moving types to `packages/lexicons`
skiniks 355716f
adding dependencies for generated types
skiniks f8caf66
remove private
skiniks 586ed01
fixing object key order
skiniks d918fe4
adding publishConfig
skiniks 5d3d075
moving devDeps to @tsky/lexicons
skiniks 837a560
adding tsconfig
skiniks 85d37d6
updating gitignores
skiniks 4dc007d
moving script to @tsky/lexicons
skiniks 3775674
Merge branch 'main' into feat/lexicon-type-generation
skiniks 9fbf07b
Update packages/lexicons/package.json
skiniks 224675e
adding generated files
skiniks be90dfa
ignoring generated files for now
skiniks d103777
init @tsky/lex-cli
skiniks 1eef654
adding entry point
skiniks 35a10b1
adding generator
skiniks 8a4074c
adding utils
skiniks b6ca007
revisions to @tsky/lexicons for @tsky/lex-cli
skiniks 5d9f7f3
adding prepublish
skiniks e57f97f
committing generated types
skiniks e9ca690
making more specific
skiniks 83949db
linting
skiniks ece7684
making brand tags required
skiniks 0a5b1a8
linting
skiniks b365739
add package entry point for direct imports
skiniks eb09b04
add index files for better module organization
skiniks 92008cc
extensions required
skiniks a57012a
typo: should be pnpm
skiniks c08a3ef
changing to GenerateTypes
skiniks f048e3a
cleaning up generation
skiniks ef92f36
cleaning up comments
skiniks c207c28
adding extensions
skiniks 463a6a9
refactor: switch from Brand.Type to concrete $type field
skiniks 058c8ed
adding metadata to output lexicons file for ci
skiniks 2b10ecc
chore: set casing for tsky, Tsky, Bluesky (#24)
patak-dev 889e16d
refactor: migrate to scoped package structure (@tsky/*) (#25)
skiniks f57d7b5
Update packages/lexicons/package.json
skiniks 611e72e
adding generated files
skiniks f467391
Merge branch 'feat/lexicon-type-generation' of https://github.com/ski…
skiniks c991847
ignoring generated files for now
skiniks 2c04cd5
init @tsky/lex-cli
skiniks 221263c
adding entry point
skiniks 97e4f20
adding generator
skiniks 41b987d
adding utils
skiniks 81d8c58
revisions to @tsky/lexicons for @tsky/lex-cli
skiniks 2d60a4a
adding prepublish
skiniks 9a3d6f0
committing generated types
skiniks 8808969
making more specific
skiniks fff023c
linting
skiniks 3ab8d98
making brand tags required
skiniks df78224
linting
skiniks 2363bef
add package entry point for direct imports
skiniks 636d647
add index files for better module organization
skiniks 28d6029
extensions required
skiniks d095c44
typo: should be pnpm
skiniks 145bf4f
changing to GenerateTypes
skiniks f4c8826
cleaning up generation
skiniks be91635
cleaning up comments
skiniks 22a247f
adding extensions
skiniks 3563edb
refactor: switch from Brand.Type to concrete $type field
skiniks 17b41b0
adding metadata to output lexicons file for ci
skiniks 272f597
Merge branch 'feat/lex-cli-fork' of https://github.com/skiniks/tsky i…
skiniks e940f72
Merge branch 'main' into feat/lex-cli-fork
skiniks c74d3e5
lockfile update
skiniks ae4c419
linting
skiniks 6d76a17
ignoring generated types
skiniks 9fd4170
lint fix
skiniks File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,33 +1,33 @@ | ||
| { | ||
| "name": "tsky", | ||
| "type": "module", | ||
| "version": "0.1.0", | ||
| "private": true, | ||
| "packageManager": "pnpm@9.14.2", | ||
| "license": "MIT", | ||
| "homepage": "https://tsky.dev/", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+https://github.com/tsky-dev/tsky.git" | ||
| }, | ||
| "scripts": { | ||
| "dev": "pnpm run --filter @tsky/core dev", | ||
| "build": "pnpm run --filter @tsky/core 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", | ||
| "format": "biome format", | ||
| "format:fix": "biome format --write .", | ||
| "lint": "biome lint .", | ||
| "lint:fix": "biome lint --write .", | ||
| "check": "biome check", | ||
| "check:fix": "biome check --write ." | ||
| }, | ||
| "devDependencies": { | ||
| "@biomejs/biome": "^1.9.4", | ||
| "nano-staged": "^0.8.0" | ||
| }, | ||
| "nano-staged": { | ||
| "*.{js,ts,cjs,mjs,json}": ["biome check --write --"] | ||
| } | ||
| } | ||
| { | ||
| "name": "tsky", | ||
| "type": "module", | ||
| "version": "0.1.0", | ||
| "private": true, | ||
| "packageManager": "pnpm@9.14.2", | ||
| "license": "MIT", | ||
| "homepage": "https://tsky.dev/", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+https://github.com/tsky-dev/tsky.git" | ||
| }, | ||
| "scripts": { | ||
| "dev": "pnpm run --filter @tsky/core dev", | ||
| "build": "pnpm run --filter @tsky/core 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", | ||
| "format": "biome format", | ||
| "format:fix": "biome format --write .", | ||
| "lint": "biome lint .", | ||
| "lint:fix": "biome lint --write .", | ||
| "check": "biome check", | ||
| "check:fix": "biome check --write ." | ||
| }, | ||
| "devDependencies": { | ||
| "@biomejs/biome": "^1.9.4", | ||
| "nano-staged": "^0.8.0" | ||
| }, | ||
| "nano-staged": { | ||
| "*.{js,ts,cjs,mjs,json}": ["biome check --write --"] | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| { | ||
| "name": "@tsky/lex-cli", | ||
| "type": "module", | ||
| "version": "0.0.1", | ||
| "license": "MIT", | ||
| "exports": { | ||
| ".": { | ||
| "types": "./dist/index.d.ts", | ||
| "import": "./dist/index.js" | ||
| } | ||
| }, | ||
| "bin": "./dist/index.js", | ||
| "scripts": { | ||
| "build": "tsc", | ||
| "clean": "rm -rf dist", | ||
| "prepublish": "pnpm run clean && pnpm run build" | ||
| }, | ||
| "dependencies": { | ||
| "clipanion": "4.0.0-rc.4", | ||
| "picocolors": "^1.1.1", | ||
| "prettier": "^3.3.3", | ||
| "typanion": "^3.14.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "^22.8.1", | ||
| "typescript": "^5.7.2" | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.