davezuko

davezuko

✈️ 🔭 🏒 ⌨️ 📖 🎾

Member Since 8 years ago

Microsoft, Nashville, TN

Experience Points
503
follower
Lessons Completed
2
follow
Lessons Completed
244
stars
Best Reply Awards
24
repos

914 contributions in the last year

Pinned
⚡ Get started with React, Redux, and React-Router.
⚡ Make React forms simple again, see it here:
⚡ Everything you need to know about Shadow DOM
⚡ Tiny functional programming suite for JavaScript.
Activity
May
19
22 hours ago
pull request

davezuko merge to OfficeDev/microsoft-teams-ui-component-library

davezuko
davezuko

Fix pipes

This PR removes PR deployments and fixes deployments for main(=latest) and alpha.

A changefile is not included since this should run without publishing to NPM.

May
18
1 day ago
pull request

davezuko merge to OfficeDev/microsoft-teams-ui-component-library

davezuko
davezuko

Release to latest

Releases these changes in alpha to latest:

The version is just a patch since very little changed about the API.

open pull request

davezuko wants to merge OfficeDev/microsoft-teams-ui-component-library

davezuko
davezuko

Release to latest

Releases these changes in alpha to latest:

The version is just a patch since very little changed about the API.

davezuko
davezuko

Looks like this resolution could be satisfied with the above lockfile entry. This won't affect consumers, but it may be a good time to run yarn-deduplicate. I've used https://www.npmjs.com/package/yarn-deduplicate in the past, but may be worth giving yarn's builtin command a shot.

pull request

davezuko merge to OfficeDev/microsoft-teams-ui-component-library

davezuko
davezuko

Release to latest

Releases these changes in alpha to latest:

The version is just a patch since very little changed about the API.

May
4
2 weeks ago
Activity icon
issue

davezuko issue comment evanw/esbuild

davezuko
davezuko

Consecutive commands break build time

Couldn't find anyone talking about this weird scenario so I decided to open an issue.

I have the following esbuild.js file

require('esbuild')
  .build({
    entryPoints: [
      // My lambdas here
    ],
    outdir: 'dist',
    sourcemap: 'inline',
    sourcesContent: false,
    external: ['dd-trace', 'pg-native'],
    target: 'es6',
    platform: 'node',
    logLevel: 'info',
    minify: true,
    bundle: true,
  })
  .catch(() => process.exit(1));

And imagine I have two build scripts in mypackage.json file

"script": {
  "build": "node ./esbuild"
  "build2": "node ./esbuild && yarn otherLongRunningScript"
}

If I run the first command yarn build, I will get something like

$ node ./esbuild

  dist/someFunction.js              10.8mb ⚠️

✨  Done in 1.12s.

But If I run the second command yarn build2, I will get something like

$ node ./esbuild && yarn otherLongRunningScript

  dist/someFunction.js              10.8mb ⚠️

Output from the other script
...

✨  Done in 23.12s.

And now the Done in shows the complete timeframe it took for the whole script to execute, not only for the esbuild process which is actually what I expected. Any idea how to avoid that? tnx :)

davezuko
davezuko

That "Done in" is printed by yarn and returns the total time to execute the entire package.json script. So, this issue doesn't really concern esbuild itself. Nonetheless, there are a number of ways to get just the build time:

  1. Time and log it yourself in build.js.
  2. Run yarn build && yarn otherLongRunningScript directly without the wrapper build2 script. Since these are two distinct and non-recursive yarn invocations you'll see the execution time for each.
  3. Use the time script, e.g. time node ./esbuild && yarn otherLongRunningScript
  4. etc.

You may want to refer to https://github.com/yarnpkg/yarn/issues/4423

Apr
29
2 weeks ago
push

davezuko push davezuko/templates

davezuko
davezuko

WebApp: update dependencies, fix global.css

commit sha: 7e5fbfcfbac27042d4cca638f1789b5622eebb42

push time in 2 weeks ago
Apr
24
3 weeks ago
Activity icon
fork

davezuko forked bimbo1989/code-with-a-tan

⚡ Forked code-with-a-tan VSCode theme
davezuko Updated
fork time in 3 weeks ago
Apr
20
4 weeks ago
pull request

davezuko merge to OfficeDev/microsoft-teams-ui-component-library

davezuko
davezuko

Publish features & fixes to latest

This PR will publish all the latest PR's since and including #98

Comparison between this branch and alpha can be viewed here: https://github.com/OfficeDev/microsoft-teams-ui-component-library/compare/alpha...publish/alpha?expand=1

Apr
9
1 month ago
push

davezuko push davezuko/templates

davezuko
davezuko

WebApp: load entry points from package.json

commit sha: 5ad8f67884ce6681007e9a12c002d145f8a240b0

push time in 1 month ago
push

davezuko push davezuko/templates

davezuko
davezuko

WebApp: load entry points from package.json

commit sha: 82fa2289d6b692338bc685327d30ea14ebf4fef9

push time in 1 month ago
push

davezuko push davezuko/templates

davezuko
davezuko

WebApp: minify index.html during build

commit sha: fb2ea1bf80a67efe3f519c06130a4d1b83d64f76

push time in 1 month ago
push

davezuko push davezuko/templates

davezuko
davezuko

WebApp: minify index.html during build

commit sha: b44212795a53c7fdd10f3f1b92eb03660535170a

push time in 1 month ago
push

davezuko push davezuko/templates

davezuko
davezuko

WebApp: include updated build scripts

commit sha: 640e020199cf069f31126eda61bdbf951ef5ecf2

push time in 1 month ago
push

davezuko push davezuko/templates

davezuko
davezuko

WebApp: include updated build scripts

commit sha: 9a31a6fb07574daf272e1eb35c1837dc5a2566e4

push time in 1 month ago
Mar
24
1 month ago
push

davezuko push davezuko/umbrella

davezuko
davezuko

Dependencies: upgrade to latest

commit sha: 5412d695e22a9010672e5434058e369d46b35f1e

push time in 1 month ago
Mar
21
1 month ago
started
started time in 1 month ago
Mar
15
2 months ago
Mar
12
2 months ago
Previous