-
-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: init create-webpack-app
package [1]
#4214
base: master
Are you sure you want to change the base?
Commits on May 13, 2024
-
feat: init new package and installed deps
- init create-webpack-app package - installed deps - plop - minimist
Configuration menu - View commit details
-
Copy full SHA for f910fe3 - Browse repository at this point
Copy the full SHA f910fe3View commit details -
feat: add template directory from prototype
added template files which containe handlebar templates and other common files
Configuration menu - View commit details
-
Copy full SHA for c175c9d - Browse repository at this point
Copy the full SHA c175c9dView commit details
Commits on May 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 12fbc20 - Browse repository at this point
Copy the full SHA 12fbc20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92c2f19 - Browse repository at this point
Copy the full SHA 92c2f19View commit details
Commits on May 16, 2024
-
feat: change template to align more with generators package
change the internal structure of template files
Configuration menu - View commit details
-
Copy full SHA for 488f3df - Browse repository at this point
Copy the full SHA 488f3dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for a17fa63 - Browse repository at this point
Copy the full SHA a17fa63View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb6ca9f - Browse repository at this point
Copy the full SHA bb6ca9fView commit details -
build: change module type to esm in package.json
type: module is set in package.json
Configuration menu - View commit details
-
Copy full SHA for d5e9fc3 - Browse repository at this point
Copy the full SHA d5e9fc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 667d50d - Browse repository at this point
Copy the full SHA 667d50dView commit details
Commits on May 18, 2024
-
chore: add ejs and @types/ejs as dependencies
add ejs for rendering logic using ejs templates in future
Configuration menu - View commit details
-
Copy full SHA for 8f89b98 - Browse repository at this point
Copy the full SHA 8f89b98View commit details -
build: change emit module of tsc to esnext
for compatibility with plopfile, as it throws error if it's a commonjs file
Configuration menu - View commit details
-
Copy full SHA for d2ca7f6 - Browse repository at this point
Copy the full SHA d2ca7f6View commit details -
feat: add ejs template rendering support
- change templates to ejs templates - implement ejs rendering logic in plopfile.ts
Configuration menu - View commit details
-
Copy full SHA for acf5fa5 - Browse repository at this point
Copy the full SHA acf5fa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for df39698 - Browse repository at this point
Copy the full SHA df39698View commit details -
- remove helper function - remove unnecessary comment
Configuration menu - View commit details
-
Copy full SHA for 93c2142 - Browse repository at this point
Copy the full SHA 93c2142View commit details
Commits on May 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 85b06bc - Browse repository at this point
Copy the full SHA 85b06bcView commit details -
build: change plopfile.ts on reviews
- better input validation - remove entrypoint prompt - fix path issues
Configuration menu - View commit details
-
Copy full SHA for 88acfd2 - Browse repository at this point
Copy the full SHA 88acfd2View commit details -
- add both index.js and index.ts - fix bud in package.json template file
Configuration menu - View commit details
-
Copy full SHA for 55e13ec - Browse repository at this point
Copy the full SHA 55e13ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 897e00b - Browse repository at this point
Copy the full SHA 897e00bView commit details -
chore: change package.json on reviews
- fix the url - bumped the required node from 14 -> 18 - removed empty peerDeps and peerMetaDeps fields - fix cli entry point typo
Configuration menu - View commit details
-
Copy full SHA for f9cb74a - Browse repository at this point
Copy the full SHA f9cb74aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6baa6a - Browse repository at this point
Copy the full SHA b6baa6aView commit details
Commits on May 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d9a0856 - Browse repository at this point
Copy the full SHA d9a0856View commit details
Commits on Jun 1, 2024
-
feat: add npmInstall custom package
- installs all the packages from deps array to the project directory
Configuration menu - View commit details
-
Copy full SHA for d8ec7e1 - Browse repository at this point
Copy the full SHA d8ec7e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c59396 - Browse repository at this point
Copy the full SHA 4c59396View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04b5f90 - Browse repository at this point
Copy the full SHA 04b5f90View commit details
Commits on Jun 5, 2024
-
feat: add skip prompt functionality
- single prompt to ask whether to skip - if yes then returns default answers object - if no then returns the interactive prompts interface
Configuration menu - View commit details
-
Copy full SHA for 1bdf924 - Browse repository at this point
Copy the full SHA 1bdf924View commit details
Commits on Jun 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5e6a70b - Browse repository at this point
Copy the full SHA 5e6a70bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb5e201 - Browse repository at this point
Copy the full SHA bb5e201View commit details -
feat: create commander cli and implement skip feat
created commander cli implement init command with -s -f flags to skip and -f to override
Configuration menu - View commit details
-
Copy full SHA for 9bf21bf - Browse repository at this point
Copy the full SHA 9bf21bfView commit details
Commits on Jun 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a295914 - Browse repository at this point
Copy the full SHA a295914View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6add83 - Browse repository at this point
Copy the full SHA e6add83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ac8bf0 - Browse repository at this point
Copy the full SHA 4ac8bf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1fb3e7 - Browse repository at this point
Copy the full SHA d1fb3e7View commit details -
test: create test suite for create-webpack-app package
- create test cases for all the functionalities - Default project - Project with a specified generation path - TypeScript project - ES6 project - Project with Sass - Project with Sass and PostCSS - Project with Mini-CSS-Extract-Plugin - Project with Sass, CSS, and PostCSSProject with Less - Project with Stylus - Project with Webpack Dev Server (WDS) - Project with HtmlWebpackPluginProject with WorkboxWebpackPlugin - Project with a writable current path - Project with Yarn package manager
Configuration menu - View commit details
-
Copy full SHA for 2928772 - Browse repository at this point
Copy the full SHA 2928772View commit details
Commits on Jun 15, 2024
-
Update packages/create-webpack-app/README.md
fix grammar Co-authored-by: Nitin Kumar <snitin315@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3f66230 - Browse repository at this point
Copy the full SHA 3f66230View commit details -
Update packages/create-webpack-app/README.md
Co-authored-by: Nitin Kumar <snitin315@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 769e095 - Browse repository at this point
Copy the full SHA 769e095View commit details
Commits on Jun 25, 2024
-
refactor: migrate cli logic to ts from js
- write whole command building and actions logic of commander in src/index.ts for future scalability and type safety - bin/cli.js now only contains importing this src/index.ts compiled lib/index.js file.
Configuration menu - View commit details
-
Copy full SHA for cb309df - Browse repository at this point
Copy the full SHA cb309dfView commit details -
feat: add conditional file generation based on dynamic action function
- using dynamic action function to generate files based on choices - change template structure
Configuration menu - View commit details
-
Copy full SHA for 860e5c2 - Browse repository at this point
Copy the full SHA 860e5c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for de92604 - Browse repository at this point
Copy the full SHA de92604View commit details -
feat: change dependency installation to be cross-compatible
- using cross-spawn instead of normal spawn method
Configuration menu - View commit details
-
Copy full SHA for b150fa8 - Browse repository at this point
Copy the full SHA b150fa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3315f4 - Browse repository at this point
Copy the full SHA f3315f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19f59ea - Browse repository at this point
Copy the full SHA 19f59eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02f04cb - Browse repository at this point
Copy the full SHA 02f04cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 284ab14 - Browse repository at this point
Copy the full SHA 284ab14View commit details
Commits on Jul 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b80f340 - Browse repository at this point
Copy the full SHA b80f340View commit details -
Configuration menu - View commit details
-
Copy full SHA for 944bb33 - Browse repository at this point
Copy the full SHA 944bb33View commit details -
feat: change stdio settings for pkgInstall action
change stdio settings to incorporate each animations and spinners of the underlying child process
Configuration menu - View commit details
-
Copy full SHA for b82f4be - Browse repository at this point
Copy the full SHA b82f4beView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4cca8f - Browse repository at this point
Copy the full SHA b4cca8fView commit details -
test: implement test according to package
made necessary changes based on the differences from the original cli and its tests keeping original tests as base
Configuration menu - View commit details
-
Copy full SHA for e3ef415 - Browse repository at this point
Copy the full SHA e3ef415View commit details -
fix: changed template package.json to improve compatibility with syntax
earlier testing util spawn function was throwing error because of this.
Configuration menu - View commit details
-
Copy full SHA for 0a42c64 - Browse repository at this point
Copy the full SHA 0a42c64View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0196bd - Browse repository at this point
Copy the full SHA f0196bdView commit details
Commits on Jul 4, 2024
-
feat: remove projectName and use path only
- remove projectName and the cumbersome projectPath/projectName resolution - adjust tests accordingly - change template/**/package.json.tpl accordingly - update readme accordingly
Configuration menu - View commit details
-
Copy full SHA for 8e9dfb6 - Browse repository at this point
Copy the full SHA 8e9dfb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff53355 - Browse repository at this point
Copy the full SHA ff53355View commit details
Commits on Jul 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 22873e8 - Browse repository at this point
Copy the full SHA 22873e8View commit details -
perf: change generator conditional flows and dependencies attached
- change dependencies for each prompt according to init command reference - change default for --force flag to appropriate values in index.ts as well as plopfile.ts - change conditional file generation for javascript langType
Configuration menu - View commit details
-
Copy full SHA for fdd61df - Browse repository at this point
Copy the full SHA fdd61dfView commit details -
refactor: remove redundant code from test.utils and extend from utils…
…/test-utils.js - earlier this file was an exact copy with a line changed - now it imports all the utility function and only extends run**() functions with path value pointing to create-webpack-cli
Configuration menu - View commit details
-
Copy full SHA for ea92e56 - Browse repository at this point
Copy the full SHA ea92e56View commit details -
test: update snapshots and test according to previous two commits
- change snapshots according to new dependencies and defaults - change the import in create-webpack-app.test.js
Configuration menu - View commit details
-
Copy full SHA for 3fb7b98 - Browse repository at this point
Copy the full SHA 3fb7b98View commit details
Commits on Aug 25, 2024
-
feat: loader and plugin commands, more templates (#4225)
Co-authored-by: Anshuman Verma <anshu.av97@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2c5bfb3 - Browse repository at this point
Copy the full SHA 2c5bfb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6e4b61 - Browse repository at this point
Copy the full SHA a6e4b61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06fe8cf - Browse repository at this point
Copy the full SHA 06fe8cfView commit details -
test: change vue tests according to change in default value of "cssType"
- change prompt answer keystroke sequence
Configuration menu - View commit details
-
Copy full SHA for add60da - Browse repository at this point
Copy the full SHA add60daView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1664ff - Browse repository at this point
Copy the full SHA e1664ffView commit details
Commits on Aug 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 72c6efd - Browse repository at this point
Copy the full SHA 72c6efdView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd7dff1 - Browse repository at this point
Copy the full SHA dd7dff1View commit details
Commits on Sep 1, 2024
-
feat: improve react generator and template
- remove prompt for router and add it as default - set CSS only as default option instead of none for cssType - fix routes and create new components - add new styles and only have global styles - add navBar as part of layout with buttons to traverse those routes
Configuration menu - View commit details
-
Copy full SHA for 804638c - Browse repository at this point
Copy the full SHA 804638cView commit details -
feat: improve vue generator and templates
- add router as default and remove the prompt for routing - set the cssType to CSS only instead of none - make store as default - add new components to match the react like look and feel - add navbar to traverse those routes - change id of main div from #app to #root to resolve style conflicts
Configuration menu - View commit details
-
Copy full SHA for 830239f - Browse repository at this point
Copy the full SHA 830239fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6fffa8 - Browse repository at this point
Copy the full SHA f6fffa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 572f42a - Browse repository at this point
Copy the full SHA 572f42aView commit details -
test: modify test according to changes in previous commit and also re…
…move redundant tests - remove tests for vue and react for router and store/state since both of these are being checked in default tests - update snapshots
Configuration menu - View commit details
-
Copy full SHA for 67682a1 - Browse repository at this point
Copy the full SHA 67682a1View commit details
Commits on Sep 11, 2024
-
Feat: File generation and collision handler [6] (#4249)
* refactor: modularize generators and actions - break plopfile generator and action logic in generators and actions - loading them asynchronously - modularity reduces redundancy and increases scalability * fix: remove false count line for bulk file creation * chore: install inquirer * feat: add react generator logic * docs: update Readme of templates as well as package * feat: add --template flag and reengineer conditional generator on given template - change defaultValues and generator function to be based on --template flag - add fallback prompt when template is invalid or unsupported * test: add test cases for --template flag and react generator * feat: change action file creation logger to show relative path instead of just file name * refactor: change default generator to a simpler and scalable logic - change default to resemble the design pattern of react generator - simple conditional flow for file creation and manipulation * perf: use newer @inquirer/prompts instead of inquirer - unpacked size decreased from ~60kb to 19kb * feat: add emoji support to console logs - for better ux added emojis according to type of log * refactor: move default.ts, and react.ts in init directory - introduce a directory structure of commandName/[template1, template2] - move default and react template generators in init/* - avoid namespace issues and cleaner structure * feat: add loader generator, default-template * feat: add plugin generator, default-template * refactor: resolve namespace issues for init command, its default values and generator imports * feat: add loader and plugin command and generators in cli * refactor: move test for init command and rename suite * feat: make test.utils to be configurable by introducing a factory function - the factory function returns a variant of utils configured with the path passed as argument * test: add loader and plugin test suites * fix: fixes the case of failure on single dependency * refactor: remove obsolete comments * refactor: change default values to reduce redundancy * feat: add vue template generator logic * feat: add template files for vue template * feat: add vue template flag command in cli * test: add test cases for vue template generation * chore: add vuex to cspell word array * fix: missing workboxWebpackPlugin dependency logic * feat: add pnpm as package manager in default, react generator * feat: replace vuex with pinia for state management - change all instance of vuex usage with pinia * chore: remove @vue/eslint-config-typescript - It was causing unusually long installation time using npm - Initial setup doesn't need this * feat: add rawExpression helper in vue generator - this is to escape the {{syntax}} of hbs which was a cause of conflict * feat: use composition api, and implement basic project structure * chore: remove cspell ignore directives and include "plopfile" in dictionary * feat: add svelte generator * feat: add svelte to cli frontend * feat: add svelte template files * test: add test cases for svelte generator in init suite * fix: fix webpack.config.js.tpl of vue, svelte, react templates * feat: add router and state support to react generator * feat: add template files to react generator improved ver - add router template files - add components - add states in those components - enhance tsconfig * feat: add router and state default answer to cli front end * test: add test cases for router and improve tests * Update packages/create-webpack-app/src/generators/init/svelte.ts * feat: change default of svelte store to true * refactor: rename dependencies array to devDependencies * refactor: rename dependencies array to devDependencies * fix: import as type error in store/index.ts in svelte template files - importing Writable as type resolves this error * feat: remove useSvelteStore prompt choice and set it included as default * refactor: rename dependencies array to devDependencies * refactor: lowercase all "Webpack" word instance * feat: add new fileAction based on ejs templates - add ejs support and remove hbs conflict - add fileCollision Logic in same - add abort prompt - add overwrite and overwrite all - add diff view in vs code - conditional rendering based on file type (bin or text) - Uses the same Config Object as plop libraries add function * feat: use new FileAction in all generators * feat: modify onSuccessHook and returned string to be more descriptive and configurable - change the string format to be "type:path" - type: [create, overwrite, skip, identical] - path: path/to/file - change the onSuccessHook to display appropriate information based on type * revert: remove hbs helper and its instances - reverts commit: #16de424e * refactor: remove indirect imports from "types.ts" and import from library - remove indirect imports - use unused types * Revert "Merge branch 'gsoc/create-webpack-app-package' into feat/file-generation-and-collision-handler" This reverts commit d64a678, reversing changes made to 367ec7a.
Configuration menu - View commit details
-
Copy full SHA for 403d12e - Browse repository at this point
Copy the full SHA 403d12eView commit details
Commits on Sep 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 20073b9 - Browse repository at this point
Copy the full SHA 20073b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 390325e - Browse repository at this point
Copy the full SHA 390325eView commit details
Commits on Sep 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for acd575a - Browse repository at this point
Copy the full SHA acd575aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 838a6fa - Browse repository at this point
Copy the full SHA 838a6faView commit details
Commits on Sep 20, 2024
-
Revert "fix: fix issue with plop.js prompt failure due to inquirer up…
…date" This reverts commit 838a6fa.
Configuration menu - View commit details
-
Copy full SHA for 5ba3f4f - Browse repository at this point
Copy the full SHA 5ba3f4fView commit details -
fix: failing prompts after update to inquirer v9.3.6
- failure was due to the bypassPrompt of runPrompts from node-plop - so removed bypassPrompt and added manual bypassing in index.ts - also removed prompts for projectPath as presumably they will always be supplied as cli arg
Configuration menu - View commit details
-
Copy full SHA for 6697fa0 - Browse repository at this point
Copy the full SHA 6697fa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b79e528 - Browse repository at this point
Copy the full SHA b79e528View commit details
Commits on Sep 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e33e4cb - Browse repository at this point
Copy the full SHA e33e4cbView commit details -
ci: fix failing CI on windows due to unnormalized paths in logs
- change delimeter from `:` to `|` in fileActions - normalized paths to ensure compatible stdout
Configuration menu - View commit details
-
Copy full SHA for 1cfccdd - Browse repository at this point
Copy the full SHA 1cfccddView commit details
Commits on Oct 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 28c6a83 - Browse repository at this point
Copy the full SHA 28c6a83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6092fb1 - Browse repository at this point
Copy the full SHA 6092fb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e714995 - Browse repository at this point
Copy the full SHA e714995View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd8ab15 - Browse repository at this point
Copy the full SHA cd8ab15View commit details
Commits on Oct 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 01cb7a4 - Browse repository at this point
Copy the full SHA 01cb7a4View commit details