⚡ Zero-dependency plcbundle library exclusively for Bun

update requirements

Changed files
+10 -71
.tangled
+9 -28
.tangled/workflows/integration.yml
··· 10 10 dependencies: 11 11 nixpkgs: 12 12 - bun 13 - - curl 14 13 15 14 environment: 16 15 TEST_REMOTE_URL: "https://plcbundle.atscan.net" ··· 19 18 - name: "Install dependencies" 20 19 command: "bun install" 21 20 22 - - name: "Test clone functionality" 21 + - name: "Clone test bundles" 23 22 command: | 24 - echo "Testing clone from remote repository..." 25 23 bun src/cli.ts clone \ 26 24 --remote $TEST_REMOTE_URL \ 27 25 --bundles 1-3 \ 28 26 --threads 4 \ 29 - --dir ./test-integration-data 27 + --dir ./test-data 30 28 31 29 - name: "Verify downloaded bundles" 32 30 command: | 33 - echo "Verifying bundle integrity..." 34 - bun src/cli.ts verify --bundle 1 --dir ./test-integration-data 35 - bun src/cli.ts verify --bundle 2 --dir ./test-integration-data 36 - bun src/cli.ts verify --bundle 3 --dir ./test-integration-data 31 + bun src/cli.ts verify --bundle 1 --dir ./test-data 32 + bun src/cli.ts verify --bundle 2 --dir ./test-data 33 + bun src/cli.ts verify --bundle 3 --dir ./test-data 37 34 38 - - name: "Test info command" 35 + - name: "Test commands" 39 36 command: | 40 - echo "Getting repository info..." 41 - bun src/cli.ts info --dir ./test-integration-data 42 - 43 - - name: "Test export command" 44 - command: | 45 - echo "Exporting operations from bundle 1..." 46 - bun src/cli.ts export --bundle 1 --dir ./test-integration-data | head -n 10 47 - 48 - - name: "Test detect with example" 49 - command: | 50 - echo "Testing detect functionality..." 51 - bun src/cli.ts detect \ 52 - --detect ./examples/detect.ts \ 53 - --bundles 1 \ 54 - --dir ./test-integration-data \ 55 - | head -n 20 56 - 57 - - name: "Cleanup test data" 58 - command: "rm -rf ./test-integration-data" 37 + bun src/cli.ts info --dir ./test-data 38 + bun src/cli.ts export --bundle 1 --dir ./test-data | head -n 10 39 + bun src/cli.ts detect --detect ./examples/detect.ts --bundles 1-2 --dir ./test-data | head -n 20
-42
.tangled/workflows/lint.yml
··· 1 - # Check code quality on every push 2 - when: 3 - - event: ["push", "pull_request"] 4 - branch: ["main", "master", "develop"] 5 - 6 - engine: "nixery" 7 - 8 - dependencies: 9 - nixpkgs: 10 - - bun 11 - 12 - steps: 13 - - name: "Install dependencies" 14 - command: "bun install" 15 - 16 - - name: "Check library imports" 17 - command: | 18 - echo "Verifying library files compile..." 19 - bun --print 'import("./src/index.ts")' > /dev/null 20 - bun --print 'import("./src/plcbundle.ts")' > /dev/null 21 - bun --print 'import("./src/types.ts")' > /dev/null 22 - 23 - - name: "Check CLI imports" 24 - command: | 25 - echo "Verifying CLI compiles..." 26 - bun --print 'import("./src/cli.ts")' > /dev/null 27 - 28 - - name: "Check examples compile" 29 - command: | 30 - echo "Verifying examples compile..." 31 - for file in examples/*.ts; do 32 - echo "Checking $file..." 33 - bun --print "import('./$file')" > /dev/null || echo "Note: $file may require data to run" 34 - done 35 - 36 - - name: "Check tests compile" 37 - command: | 38 - echo "Verifying tests compile..." 39 - for file in tests/*.ts; do 40 - echo "Checking $file..." 41 - bun --print "import('./$file')" > /dev/null 42 - done
+1 -1
README.md
··· 13 13 14 14 ## Requirements 15 15 16 - - [Bun](https://bun.sh) >= 1.3 16 + - [Bun](https://bun.sh) >= 1.2.17 17 17 18 18 ```bash 19 19 # Install Bun if you haven't already