Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
9efc2ab
move react DSL to subfolder
KetanReddy Aug 20, 2025
a917ae1
basic python dsl setup minus publishing
KetanReddy Sep 9, 2025
bbbeda1
build out with rules
KetanReddy Sep 18, 2025
c7e2f6a
initial build out, wip tests
KetanReddy Sep 26, 2025
3cd12ef
fix package location
KetanReddy Sep 26, 2025
a9c46fc
Update test command to run all targets
KetanReddy Sep 26, 2025
f8a3d19
Lint passing for py files
KetanReddy Oct 1, 2025
f576d9a
build out more tests
KetanReddy Oct 7, 2025
9bdec8e
Track source directories explicitly so copy_directory picks up file c…
KetanReddy Oct 7, 2025
bc0ed1c
Update bazel lock
KetanReddy Oct 7, 2025
958e520
fix lint
KetanReddy Oct 7, 2025
6965a21
fix release script for python packages
KetanReddy Oct 7, 2025
9337a39
Bump rules
KetanReddy Oct 8, 2025
4eb6f51
Handle case of asset/view not included in manifest
KetanReddy Oct 8, 2025
73bb142
remove comment class/tests
KetanReddy Oct 8, 2025
6c196e1
Bump rules/bazel version
KetanReddy Oct 8, 2025
e03fa17
store test results
KetanReddy Oct 8, 2025
588fb20
Limit what is actually built at each stage.
KetanReddy Oct 8, 2025
2eacb8c
fix typo
KetanReddy Oct 8, 2025
ebc5957
Fix generation of const values
KetanReddy Oct 9, 2025
0172fb9
Merge branch 'main' of https://github.com/player-ui/tools into featur…
KetanReddy Oct 9, 2025
c5ea68d
Fix lint
KetanReddy Oct 9, 2025
479ab91
Fix reporting of tests to circle
KetanReddy Oct 10, 2025
1174f63
use latest rules
KetanReddy Oct 10, 2025
0868ad0
Move slot logic out of Asset to allow intermediate classes to have slots
KetanReddy Oct 31, 2025
fb9c271
Fix generation of literals in unions when all members are not consts
KetanReddy Nov 12, 2025
d1e8dd0
Fix lint issues
KetanReddy Nov 12, 2025
b2d48e6
Add auto ID support to base asset class
KetanReddy Dec 8, 2025
898556a
Update generation to make ID optional
KetanReddy Dec 8, 2025
81e9257
Set default for id to be None
KetanReddy Dec 8, 2025
ed780a9
fix ordering of args for required to be before optional
KetanReddy Dec 8, 2025
b3e6f42
Publish to main PyPi
KetanReddy Dec 9, 2025
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
31 changes: 0 additions & 31 deletions .bazelignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,6 @@ profile
.circleci
.github

# Node modules
node_modules
xlr/utils/node_modules
xlr/types/node_modules
xlr/sdk/node_modules
xlr/converters/node_modules
xlr/asset-docgen-webpack-plugin/node_modules
language/typescript-expression-plugin/node_modules
language/json-language-service/node_modules
language/json-language-server/node_modules
language/dsl/node_modules
language/complexity-check-plugin/node_modules
language/metrics-output-plugin/node_modules
helpers/node_modules
devtools/client/node_modules
devtools/messenger/node_modules
devtools/plugins/desktop/basic/node_modules
devtools/plugins/desktop/common/node_modules
devtools/plugins/desktop/profiler/node_modules
devtools/plugins/mobile/flipper-desktop-client/node_modules
devtools/types/node_modules
devtools/common/node_modules
devtools/flipper/node_modules
devtools/ui/node_modules
common/static-xlrs/node_modules
common/test-utils/node_modules
cli/node_modules

# Devtools plugins test environment
devtools/plugins/desktop/test-env/node_modules

# Backup files
_backup

Expand Down
12 changes: 8 additions & 4 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
common --enable_bzlmod
test --test_output=errors
coverage --combined_report=lcov
common --experimental_generate_llvm_lcov

# honor the setting of `skipLibCheck` in the tsconfig.json file
common --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig

startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1
# Cache Config
common --bes_results_url=https://app.buildbuddy.io/invocation/
common --bes_backend=grpcs://remote.buildbuddy.io
Expand All @@ -14,10 +15,13 @@ common --remote_timeout=3600
common --build_metadata=REPO_URL=https://github.com/player-ui/tools.git
common --remote_cache_compression --remote_cache_async

# Python config
common --incompatible_default_to_explicit_init_py

# CI Config
common:ci --build_metadata=ROLE=CI --workspace_status_command=./scripts/workspace-status.sh
common:ci --local_cpu_resources=4
common:ci --local_ram_resources=8000
common:ci --build_metadata=ROLE=CI
common:ci --local_resources=cpu=4
common:ci --local_resources=memory=8000

# Release Config
common:release --config=ci --stamp --workspace_status_command=./scripts/workspace-status.sh
Expand Down
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.3.0
8.4.2
20 changes: 16 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ jobs:
steps:
- attach_workspace:
at: ~/tools

- run: bazel build --config=ci -- //...
# Python files don't have a build step so we only need to actually build the JS files
- run: bazel build -- $(bazel query "kind(npm_package, //...)" --output label 2>/dev/null | tr '\n' ' ')

- save_cache:
paths:
Expand All @@ -112,8 +112,20 @@ jobs:
- v1-bazel-cache-core-main

- run: |
BUNDLE_TARGETS=$(bazel query 'attr("name", "_eslint$|_vitest$", //...)' --output label 2>/dev/null | tr '\n' ' ')
bazel coverage --config=ci -- $BUNDLE_TARGETS
bazel coverage --config=ci -- $(bazel query "kind(js_test, //...) + kind(py_test, //...)" --output label 2>/dev/null | tr '\n' ' ')

- run:
when: always
command: |
RESULTS_DIR=_test_results
find -L ./bazel-testlogs -name test.xml | while read line
do
mkdir -p $RESULTS_DIR/$(dirname $line)
cp $line $RESULTS_DIR/$(dirname $line)
done

- store_test_results:
path: _test_results

- codecov/upload:
files: ./bazel-out/_coverage/_coverage_report.dat
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,8 @@ ios/*/*/Resources/**/*.js
.ios-build-number

.bazelrc.local
.qodo
.qodo

# Python
__pycache__/
*.pyc
Loading