New beginnings: Google 🌞 of Code – webpack – Medium
New beginnings: Google 🌞 of Code
I got selected for Google Summer of Code 2018 under webpack. From knowing little about webpack before the organisations were announced, to being selected as one of the students, it has been a great ride. I can’t stress my gratitude towards the webpack community for being so helpful and welcoming to new contributors.
So, let’s take off. 🚀
About me
I‘m a software engineer and a student from DAIICT, India; currently in my final year of Masters in Information Technology. I’ve also pursued React Nanodegree from Udacity.
I absolutely love working with JavaScript. Frontend engineering is my game. There has been a huge ecosystem of libraries and frameworks popping every week. My primary tools have been React, Redux, React Native, webpack and NodeJS. I led development for a young startup couple of years back. I’ve done couple of industry internships and have been quite active in open-source. I’ve contributed and built
Path to webpack
webpack has always been the backbone of everything I do in frontend development. I always feared to dive deeper in webpack or understand how it works internally. I got extremely thrilled and intrigued the day organisations list came out and I discovered webpack on the list. This was the first time webpack applied and got selected for GSoC. I made webpack my target goal and didn’t even bother to look for rest of the organisations.
Contributing
After discovering webpack on the list, I instantly started gazing around all webpack projects, ideas, community discussions, conference talks. Soon, I discovered webpack 4 plans which wasn’t released at that time. I started contributing to webpack CLI. The CLI was introduced a year ago with a goal to improve webpack user experience by providing flexibility. Apart from compiling builds and setting up webpack for an existing/new project, it comes handy for migrating webpack configuration for version upgrades and also to add, update or remove properties from existing configurations.
After some merged PRs and contributing for a week, Even Stensberg took it to Twitter to appreciate me. This exponentially amplified and boosted me and I kept on contributing more. I also approached some of the new contributors like Jevan Chan, buoyantair. We helped each other for contributing and debugging the code.
Work To Do
During this summer, I’m going to work on webpack CLI. The plan is to cover most crucial things on the road-map like refactoring efforts to AST transformations; adding static typing and TypeScript support; rewriting scaffolding generators to make them more maintainable and testable; adding scaffolding and transformations for new commands like add, update, remove, and many other general improvements in visuals.
I’m going to kick-off this summer with the most crucial thing i.e. AST transformations which is the backbone of managing and making changes in the configuration file. Abstract Syntax Trees or ASTs are a hierarchical tree-like representation of code. It helps us understand and read relationships between different elements of code. An AST transformation is an action of modifying this tree (i.e. changing an existing AST to a new AST). The new approach is going to simplify many AST checks, uses recursion and does lots of optimisations to existing flow. The initial work has been already pulled off in a PR. The plan is to work with this new approach for other transformations and commands like add. This will make the transformation a lot easier to maintain and reduce bulky, unnecessary code.
Last but not least
This is the beginning of a new open-source story which is going to be quite commendable. It is going to be an intense summer in terms of work and the summer itself (45°C / 113°F).🔥
I’ll talk again about the other parts of the plan in the follow-up articles. Looking forward to y’all for this amazing expedition. Cheers!
相關推薦
New beginnings: Google 🌞 of Code – webpack – Medium
New beginnings: Google 🌞 of CodeI got selected for Google Summer of Code 2018 under webpack. From knowing little about webpack before the organisations
It's a wrap: Google 🌞 of Code – webpack – Medium
Migration from JavaScript to TypeScript was one of the most discussed open issue for more than 6 months.Introducing TypeScript gave a good stability to the
Google Summer of Code 2017 經驗談
要求 什麽 完整 成了 selected 希望 可能 最終 數據 Google Summer of Code (GSoC) 2018 又要開始了. 如果想實現你心中的開源夢想, 用代碼讓世界變得更美好. 參加GSoC可能是你進入開源的世界最好途徑. GSoC是什麽 Goo
Microsoft Azure Tutorial: Build your first movie inventory web app with just a few lines of code
tro options core any call jpg should nav lines Editor’s Note: The following is a guest post from Mustafa Mahmutovi?, a Microsoft Student
Hackerrank: Week of Code 36
err .com nbsp 右上角 斜率 當前 常數 最小 tar Cut a Strip 題目簡述:給定$n \times m$的矩陣$a[][]$,要求選擇一個$x \times 1(1 \leq x \leq k)$的(連續)子矩陣並清零後,找到最大和的(連續)子矩陣
【HackerRank Week of Code 31】Colliding Circles
href ges all IV pro www cpp cstring IT https://www.hackerrank.com/contests/w31/challenges/colliding-circles/problem 設E(n)為序列長度為n時的期望值。 \[
hackerrankWeek of Code 32
class str test tle rcu lan HR geo TE hackerrankWeek of Code 32 A.Duplication B.Fight the Monsters! C.Circular Walk D.Geometric Trick E.Ba
leetcode750 - Number Of Corner Rectangles - medium
for code aligned ali count orm list column 有效 Given a grid where each entry is only 0 or 1, find the number of corner rectangles.A corner
Leetcode: 200. Number of Islands (week4 --- medium)
題目 示例 分析 題解 總結 題目 Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounde
Bug Report to Google of Android
https://issuetracker.google.com/issues/117744552 When the malicious code in an APP to register too many ContentObserver, it will make system_server
uva1593—— Alignment of Code 【stl,模擬】
You are working in a team that writes Incredibly Customizable Programming Codewriter (ICPC) which is basically a text editor with bells and whistles.
825. Friends Of Appropriate Ages - Medium
Some people will make friend requests. The list of their ages is given and ages[i] is the age of the ith person. Person A will N
Soft-NMS: Improving object detection with one line of code
Improving object detection with one line of code 是ICCV2017的文章,主要是優化解決目標檢測後處理中非極大值抑制(NMS,Non Maximum Suppression)的問題。 NMS: 在解析本文主治之前,先回顧下
LeetCode 646. Maximum Length of Pair Chain [Medium]
原題地址 題目內容 題目分析 題目的意思為找出能相連的最長串的長度,(a,b),(c,d),因為b < c,所以他們是能相連的。採用動態規劃的方法,首先對原來的pair陣列進行排序。用dp[n]記錄每個pair能形成鏈的最大長度。設一個變數temp,如果【pairs[
1593 Alignment of Code
Alignment of Code //#pragma GCC optimize(2) #include <bits/stdc++.h> using namespace std; typedef long long ll; const int
702. Search in a Sorted Array of Unknown Size - Medium
Given an integer array sorted in ascending order, write a function to search target in nums. If target exists, then ret
HackerRank Week of Code -18 GG
The only permutation that satisfies the given pattern is (2,1,0). 題目大意: 給出陣列中相鄰間的大小關係,求有多少種排列滿足給出的要求。 解題思路: 由資料範圍知應該是n^2演算法,就想到了DP,dp[i][j]
解讀google C++ code style談對C++的理解
C++是一門足夠複雜的語言.說它"足夠複雜",是因為C++提供了足夠多程式設計正規化--泛型, 模板, 面向物件, 異常,等等.順便說說,我已經很久沒有跟進C++的最新發展了(比如C++0x), 所以前面列舉出來的特性應該只是C++所有特性的一個部分罷了.C++特性過多很難駕馭好C++的原因之一.
The Nature of Code Ported to Three.js
Chapter 0In this chapter, Daniel introduces one to the beauty of randomness.Chapter 1In this chapter, Daniel shows us how to create a bouncing ball.Chapter
Writing Redux in 15 lines of code
Writing Redux in 15 lines of codeI was inspired to write this today after a colleague new to React complained about how much boilerplate is involved when u