kimbleton
kimbleton
DDeno
Created by kimbleton on 6/17/2024 in #help
Using bitbucket repositories as dependencies in Deno
Thank you so much for this comment! You shown light to this journey.
14 replies
DDeno
Created by kimbleton on 6/17/2024 in #help
Using bitbucket repositories as dependencies in Deno
Im tempted to bump this to just get someone using bitbucket to say "yeh works for me" πŸ˜„
14 replies
DDeno
Created by πŸŽ€π”Έβ„•π”Ύπ”Όπ•ƒ π”»π•†π•ƒπ•ƒπ”½π”Έβ„‚π”ΌπŸŽ€πŸ‡΅πŸ‡Έ on 6/26/2024 in #help
Advice on building on running a React app.
I did try this https://deno.land/x/refresh@1.0.0 and yea it worked for automatic refreshing but I went the pm2 route as I have that ready to go already. well now that I have opened my mouth I should maybe share my two cents where I have now a ts file with Deno.serve that is configured to host my static assets in a predetermined address and then I have pm2 ecosystem.config file where I have configured pm2 to watch files and run esbuild - basically prod build atm - when files change. The ecosystem file has also starts the Deno.serve(..) ts file so I can just run either an alias command or pm2 start in my repo root and my static hosting and watching for tsx and ts files starts
15 replies
DDeno
Created by πŸŽ€π”Έβ„•π”Ύπ”Όπ•ƒ π”»π•†π•ƒπ•ƒπ”½π”Έβ„‚π”ΌπŸŽ€πŸ‡΅πŸ‡Έ on 6/26/2024 in #help
Advice on building on running a React app.
maybe someone else can give you more 'latest n greatest' tip. I have unfortunately got myself stuck with webpack for my bundler. but vite seems to be hyped among the deno community so that might be something to consider to use as your dev server
15 replies
DDeno
Created by πŸŽ€π”Έβ„•π”Ύπ”Όπ•ƒ π”»π•†π•ƒπ•ƒπ”½π”Έβ„‚π”ΌπŸŽ€πŸ‡΅πŸ‡Έ on 6/26/2024 in #help
Advice on building on running a React app.
that is ofc very brute way for developing. there are live reload modules available in JSR IIRC. but for example you can also use pm2 to watch files and do the build with esbuild and reload your page old school if you like
15 replies
DDeno
Created by πŸŽ€π”Έβ„•π”Ύπ”Όπ•ƒ π”»π•†π•ƒπ•ƒπ”½π”Έβ„‚π”ΌπŸŽ€πŸ‡΅πŸ‡Έ on 6/26/2024 in #help
Advice on building on running a React app.
you can just use Deno.serve(..) with serveDir to serve your static built assets.
15 replies
DDeno
Created by πŸŽ€π”Έβ„•π”Ύπ”Όπ•ƒ π”»π•†π•ƒπ•ƒπ”½π”Έβ„‚π”ΌπŸŽ€πŸ‡΅πŸ‡Έ on 6/26/2024 in #help
Advice on building on running a React app.
is this for developing or running for production use or for both?
15 replies
DDeno
Created by πŸŽ€π”Έβ„•π”Ύπ”Όπ•ƒ π”»π•†π•ƒπ•ƒπ”½π”Έβ„‚π”ΌπŸŽ€πŸ‡΅πŸ‡Έ on 6/26/2024 in #help
Advice on building on running a React app.
so you want to run the already bundled and compiled js, is that the question?
15 replies
DDeno
Created by kimbleton on 6/17/2024 in #help
Using bitbucket repositories as dependencies in Deno
Ive now tried variations I could come up with about the env var without any luck. As silly as it may sound, the sad reality is I would have wishes deno to be the next bug thing for my company, but not being able to figure out the issue with bitbucket is total blocker as we have all our repositories there. Even if you cannot help with the matter, I would appreciate if there is someone who can confirm that this indeed works, as I am starting to suspect this is an issue how deno uses the env var with bitbucket i.e bitbucket not being compatible
14 replies
DDeno
Created by kimbleton on 6/17/2024 in #help
Using bitbucket repositories as dependencies in Deno
nope. was not it
14 replies
DDeno
Created by kimbleton on 6/17/2024 in #help
Using bitbucket repositories as dependencies in Deno
Ah maybe I need to add the allow net cli option
14 replies
DDeno
Created by kimbleton on 6/17/2024 in #help
Using bitbucket repositories as dependencies in Deno
ok after manually clearing the cache I see "redirect policy disallowrf redirection to: '..'"
14 replies
DDeno
Created by kimbleton on 6/17/2024 in #help
Using bitbucket repositories as dependencies in Deno
but if I on purpose make the token bad, it does show that the token is not parsed. It is being parsed when I have it correct.
14 replies
DDeno
Created by kimbleton on 6/17/2024 in #help
Using bitbucket repositories as dependencies in Deno
In bitbucket it says the key is not accessed. Makes me believe deno is not really using it
14 replies
DDeno
Created by kimbleton on 6/17/2024 in #help
Using bitbucket repositories as dependencies in Deno
fetch_cached_no_follow is the ones I get before getting Prepared module load. and then comes error "Loading unprepared module: .."
14 replies
DDeno
Created by kimbleton on 6/17/2024 in #help
Using bitbucket repositories as dependencies in Deno
Unfortunately the AI was not helpful. No errors related to the token (in my case bitbucket app password) being malformed.
14 replies