-
Notifications
You must be signed in to change notification settings - Fork 183
chore: create-llama monorepo #581
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
21 commits
Select commit
Hold shift + click to select a range
bb5b08d
chore: create-llama monorepo
thucpn 9b61106
add root package.json and pnpm workspace
thucpn 68d3f72
keep e2e inside create-llama
thucpn 50dd139
update root package.json
thucpn 210bada
move scripts and dev dependencies of create-llama to root
thucpn 3ba2551
update e2e test for create-llama package
thucpn f4e498b
update lint workflow
thucpn 6ffe40c
update release llama-index-server workflow
thucpn df8585d
update path for test_llama_index_server workflow
thucpn d62b1f1
remove local lock file
thucpn 2d123d5
keep lint and format in create-llama
thucpn 4e0ae19
fix: format
thucpn 5492e26
update pre-commit
thucpn 041e248
move playwright back to create-llama
thucpn 2f516bf
disable pnpm for installing generated frontend
thucpn 1f7ede6
use npm for type check
thucpn 1e88dfd
update gitignore
thucpn a968fe0
try --ignore-workspace option
thucpn 791bfd7
Move llama-index-server from packages/python-server to python directory
thucpn b90e708
update CI for python server
thucpn 1eb52e6
Create plenty-spies-tickle.md
thucpn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"create-llama": patch | ||
--- | ||
|
||
chore: create-llama monorepo |
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
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
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,3 +1,3 @@ | ||
pnpm format | ||
pnpm lint | ||
uvx ruff format --check templates/ | ||
uvx ruff format --check packages/create-llama/templates/ |
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,86 +1,39 @@ | ||
{ | ||
"name": "create-llama", | ||
"version": "0.5.10", | ||
"description": "Create LlamaIndex-powered apps with one command", | ||
"keywords": [ | ||
"rag", | ||
"llamaindex", | ||
"next.js" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/run-llama/create-llama", | ||
"directory": "packages/create-llama" | ||
}, | ||
"license": "MIT", | ||
"bin": { | ||
"create-llama": "./dist/index.js" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "bash ./scripts/build.sh", | ||
"build:ncc": "pnpm run clean && ncc build ./index.ts -o ./dist/ --minify --no-cache --no-source-map-register", | ||
"clean": "rimraf --glob ./dist ./templates/**/__pycache__ ./templates/**/node_modules ./templates/**/poetry.lock", | ||
"dev": "ncc build ./index.ts -w -o dist/", | ||
"e2e": "playwright test", | ||
"e2e:python": "playwright test e2e/shared e2e/python", | ||
"e2e:typescript": "playwright test e2e/shared e2e/typescript", | ||
"format": "prettier --ignore-unknown --cache --check .", | ||
"format:write": "prettier --ignore-unknown --write .", | ||
"lint": "eslint . --ignore-pattern dist --ignore-pattern e2e/cache", | ||
"new-snapshot": "pnpm run build && changeset version --snapshot", | ||
"new-version": "pnpm run build && changeset version", | ||
"pack-install": "bash ./scripts/pack.sh", | ||
"prepare": "husky", | ||
"release": "pnpm run build && changeset publish", | ||
"release-snapshot": "pnpm run build && changeset publish --tag snapshot" | ||
}, | ||
"dependencies": { | ||
"@types/async-retry": "1.4.2", | ||
"@types/ci-info": "2.0.0", | ||
"@types/cross-spawn": "6.0.0", | ||
"@types/fs-extra": "11.0.4", | ||
"@types/node": "^20.11.7", | ||
"@types/prompts": "2.4.2", | ||
"@types/tar": "6.1.5", | ||
"@types/validate-npm-package-name": "3.0.0", | ||
"async-retry": "1.3.1", | ||
"async-sema": "3.0.1", | ||
"ci-info": "github:watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540", | ||
"commander": "12.1.0", | ||
"cross-spawn": "7.0.3", | ||
"fast-glob": "3.3.1", | ||
"fs-extra": "11.2.0", | ||
"global-agent": "^3.0.0", | ||
"got": "10.7.0", | ||
"ollama": "^0.5.0", | ||
"ora": "^8.0.1", | ||
"picocolors": "1.0.0", | ||
"prompts": "2.4.2", | ||
"smol-toml": "^1.1.4", | ||
"tar": "6.1.15", | ||
"terminal-link": "^3.0.0", | ||
"update-check": "1.5.4", | ||
"validate-npm-package-name": "3.0.0", | ||
"yaml": "2.4.1" | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.27.1", | ||
"@playwright/test": "^1.41.1", | ||
"@vercel/ncc": "0.38.1", | ||
"eslint": "^8.56.0", | ||
"eslint-config-prettier": "^8.10.0", | ||
"husky": "^9.0.10", | ||
"prettier": "^3.2.5", | ||
"prettier-plugin-organize-imports": "^3.2.4", | ||
"rimraf": "^5.0.5", | ||
"typescript": "^5.3.3", | ||
"wait-port": "^1.1.0" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": ">=16.14.0" | ||
} | ||
"name": "create-llama-monorepo", | ||
"version": "1.0.0", | ||
"private": true, | ||
"description": "Monorepo for create-llama", | ||
"keywords": [ | ||
"rag", | ||
"llamaindex" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/run-llama/create-llama" | ||
}, | ||
"license": "MIT", | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"scripts": { | ||
"prepare": "husky", | ||
"new-snapshot": "pnpm -r build && changeset version --snapshot", | ||
"new-version": "pnpm -r build && changeset version", | ||
"release": "pnpm -r build && changeset publish", | ||
"release-snapshot": "pnpm -r build && changeset publish --tag snapshot", | ||
thucpn marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"build": "pnpm -r --filter create-llama build", | ||
"e2e": "pnpm -r --filter create-llama e2e", | ||
"dev": "pnpm -r --filter create-llama dev", | ||
thucpn marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"format": "pnpm -r --filter create-llama format", | ||
"format:write": "pnpm -r --filter create-llama format:write", | ||
"lint": "pnpm -r --filter create-llama lint" | ||
thucpn marked this conversation as resolved.
Show resolved
Hide resolved
|
||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.27.1", | ||
"husky": "^9.0.10" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": ">=16.14.0" | ||
} | ||
} |
File renamed without changes.
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.