-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
95 additions
and
69 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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
Binary file not shown.
This file contains 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 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 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 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 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 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,5 +1,6 @@ | ||
{ | ||
"devDependencies": { | ||
"@manypkg/cli": "^0.21.2", | ||
"@types/bun": "^1.0.1", | ||
"@types/node": "^16.11.4", | ||
"@types/react": "^18.2.34", | ||
|
@@ -29,21 +30,21 @@ | |
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"dev": "pnpm run start", | ||
"lint": "pnpm run -r lint", | ||
"lint-fix": "pnpm run -r lint-fix", | ||
"build": "pnpm --filter \"@tomic/lib\" run build && pnpm --filter=!./lib run -r build ", | ||
"dev": "./run-all.sh start", | ||
"lint": "./run-all.sh lint", | ||
"lint-fix": "bun run -r lint-fix", | ||
"build": "bun --filter \"@tomic/lib\" run build && bun --filter=!./lib run -r build ", | ||
"test": "bun test .test.ts", | ||
"test-e2e": "pnpm run --filter @tomic/e2e test-e2e", | ||
"test-query": "pnpm run --filter @tomic/e2e test-query", | ||
"start": "pnpm run -r --parallel start", | ||
"test-e2e": "bun run --filter @tomic/e2e test-e2e", | ||
"test-query": "bun run --filter @tomic/e2e test-query", | ||
"start": "bun run -r --parallel start", | ||
"typedoc": "typedoc --options ./typedoc.json", | ||
"typedoc-publish": "pnpm run typedoc && netlify deploy --dir data-browser/publish/docs/ --prod --auth $NETLIFY_AUTH_TOKEN --site atomic-lib", | ||
"typecheck": "pnpm run -r --parallel typecheck" | ||
"typedoc-publish": "bun run typedoc && netlify deploy --dir data-browser/publish/docs/ --prod --auth $NETLIFY_AUTH_TOKEN --site atomic-lib", | ||
"typecheck": "bun run -r --parallel typecheck" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "pnpm run lint-fix" | ||
"pre-commit": "bun run lint-fix" | ||
} | ||
}, | ||
"workspaces": { | ||
|
@@ -56,7 +57,7 @@ | |
"cli" | ||
] | ||
}, | ||
"packageManager": "[email protected]", | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"eslint-plugin-import": "^2.26.0" | ||
} | ||
|
This file contains 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 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,25 @@ | ||
#!/bin/bash | ||
|
||
# Check if an argument is provided | ||
if [ $# -eq 0 ]; then | ||
echo "No arguments provided. Usage: ./run-all.sh [script]" | ||
exit 1 | ||
fi | ||
|
||
# The script to run (e.g., build, test, lint) | ||
script=$1 | ||
|
||
# Define your list of projects | ||
declare -a projects=("lib" "react" "cli" "svelte" "data-browser") | ||
|
||
# Loop over the list of projects | ||
for project in "${projects[@]}"; do | ||
dir="$project" | ||
if [ -d "$dir" ]; then | ||
echo "Running 'bun run $script' in $dir" | ||
# Navigate into the directory, run 'bun run [script]', and then go back | ||
(cd "$dir" && bun run $script) | ||
else | ||
echo "Directory $dir does not exist." | ||
fi | ||
done |
This file contains 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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
"module": "./dist/index.js", | ||
"main-dev": "src/index.ts", | ||
"name": "@tomic/svelte", | ||
"packageManager": "[email protected]", | ||
"packageManager": "[email protected]", | ||
"peerDependencies": { | ||
"@tomic/lib": "workspace:*" | ||
}, | ||
|
This file contains 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 |
---|---|---|
|
@@ -39,8 +39,8 @@ atomic-server | |
## 4. Compile from source | ||
|
||
```sh | ||
# make sure pnpm is installed and available in path! https://pnpm.io/ | ||
pnpm --version | ||
# make sure bun is installed and available in path! https://bun.sh/ | ||
bun --version | ||
git clone [email protected]:atomicdata-dev/atomic-server.git | ||
cd atomic-server/server | ||
cargo run | ||
|