Comments (3)
I believe #207 fixes a couple issues here
from bazel-examples.
(1) does not reproduce on MacOS
➜ vue git:(main) ✗ bazel run :vite
INFO: Analyzed target //:vite (0 packages loaded, 2 targets configured).
INFO: Found 1 target...
Target //:vite up-to-date:
bazel-bin/vite.sh
INFO: Elapsed time: 0.088s, Critical Path: 0.00s
INFO: 4 processes: 4 internal.
INFO: Running command line: bazel-bin/vite.sh
INFO: Build completed successfully, 4 total actions
VITE v3.2.4 ready in 1658 ms
➜ Local: http://127.0.0.1:5173/
➜ Network: use --host to expose
(2) however does
➜ vue git:(main) ✗ bazel run :type-check
INFO: Analyzed target //:type-check (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //:type-check up-to-date:
bazel-bin/type-check.sh
INFO: Elapsed time: 0.072s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Running command line: external/bazel_tools/tools/test/test-setup.sh ./type-check.sh --noEmit
INFO: Build completed successfully, 1 total action
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //:type-check
-----------------------------------------------------------------------------
src/main.ts(4,20): error TS7016: Could not find a declaration file for module '@yourname/yourlibrary'. '/private/var/tmp/_bazel_patrickrice/5f1378e61111ffea33d6f420e032516f/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/type-check.sh.runfiles/__main__/node_modules/.aspect_rules_js/@[email protected]/node_modules/@yourname/yourlibrary/dist/library.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/yourname__yourlibrary` if it exists or add a new declaration (.d.ts) file containing `declare module '@yourname/yourlibrary';`
from bazel-examples.
(1) and (4) are still there
from bazel-examples.
Related Issues (20)
- [FR]: Example of how to setup multiple `package.json` with `WORKSPACE` macros HOT 2
- [Bug]: vue example doesn't work HOT 4
- Question: How to add CSS from third party package? HOT 4
- How do we configure eslint binary for TypeScript projects HOT 4
- [Bug]: Running Nextjs example in Docker fails with `/app/apps/alpha/bin.runfiles/__main__/apps/alpha/bin.sh: line 379: cd: apps/alpha/dist: No such file or directory` HOT 1
- [Bug]: Windows 10 Angular ngc problem HOT 2
- [Bug]: next.js example does not build with `output: "standalone"` next config HOT 2
- [Question] How do I optimise for build speed with ng_lib? HOT 1
- [Bug]: Next.js and rules_ts are incompatible for custom tsconfig.json options HOT 3
- [FR]: vscode cannot find module
- [Bug]: react-cra example isn't building HOT 1
- [Bug]: react-cra example uses version of aspect_rules_ts that doesn't properly support JavaScript
- Why do you make lib-a and common the way you do? HOT 2
- [FR]: React Native monorepo HOT 3
- [Bug]: build fail when test file name contains capital letter HOT 1
- [Help]: following cra example, ibazel does not symlink pnpm store HOT 1
- [Bug]: Runfiles resolution is broken for oci_python_image example HOT 2
- `transitioned_image` is not used in `oci_go_image` exemple HOT 1
- feat: Add monorepo nestjs example HOT 3
- [Bug]: py_layers.bzl's interpreter layer also fetches dependencies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazel-examples.