Skip to content
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 #4167

Commits on May 13, 2024

  1. feat: init new package and installed deps

    - init create-webpack-app package
    - installed deps
     - plop
     - minimist
    maverox committed May 13, 2024
    Configuration menu
    Copy the full SHA
    f910fe3 View commit details
    Browse the repository at this point in the history
  2. feat: add template directory from prototype

    added template files which containe handlebar templates and other common
    files
    maverox committed May 13, 2024
    Configuration menu
    Copy the full SHA
    c175c9d View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. build: typescript init

    init .tsconfig
    maverox committed May 15, 2024
    Configuration menu
    Copy the full SHA
    12fbc20 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    92c2f19 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. feat: change template to align more with generators package

    change the internal structure of template files
    maverox committed May 16, 2024
    Configuration menu
    Copy the full SHA
    488f3df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a17fa63 View commit details
    Browse the repository at this point in the history
  3. chore: add scripts in package.json

    add build script
    add watch script
    maverox committed May 16, 2024
    Configuration menu
    Copy the full SHA
    bb6ca9f View commit details
    Browse the repository at this point in the history
  4. build: change module type to esm in package.json

    type: module is set in package.json
    maverox committed May 16, 2024
    Configuration menu
    Copy the full SHA
    d5e9fc3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    667d50d View commit details
    Browse the repository at this point in the history

Commits on May 18, 2024

  1. chore: add ejs and @types/ejs as dependencies

    add ejs for rendering logic using ejs templates in future
    maverox committed May 18, 2024
    Configuration menu
    Copy the full SHA
    8f89b98 View commit details
    Browse the repository at this point in the history
  2. build: change emit module of tsc to esnext

    for compatibility with plopfile, as it throws error if it's a commonjs
    file
    maverox committed May 18, 2024
    Configuration menu
    Copy the full SHA
    d2ca7f6 View commit details
    Browse the repository at this point in the history
  3. feat: add ejs template rendering support

    - change templates to ejs templates
    - implement ejs rendering logic in plopfile.ts
    maverox committed May 18, 2024
    Configuration menu
    Copy the full SHA
    acf5fa5 View commit details
    Browse the repository at this point in the history
  4. feat: add entryPoint prompt

    maverox committed May 18, 2024
    Configuration menu
    Copy the full SHA
    df39698 View commit details
    Browse the repository at this point in the history
  5. chore: remove unused code

    - remove helper function
    - remove unnecessary comment
    maverox committed May 18, 2024
    Configuration menu
    Copy the full SHA
    93c2142 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2024

  1. Configuration menu
    Copy the full SHA
    85b06bc View commit details
    Browse the repository at this point in the history
  2. build: change plopfile.ts on reviews

    - better input validation
    - remove entrypoint prompt
    - fix path issues
    maverox committed May 19, 2024
    Configuration menu
    Copy the full SHA
    88acfd2 View commit details
    Browse the repository at this point in the history
  3. feat: change the templates

    - add both index.js and index.ts
    - fix bud in package.json template file
    maverox committed May 19, 2024
    Configuration menu
    Copy the full SHA
    55e13ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    897e00b View commit details
    Browse the repository at this point in the history
  5. 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
    maverox committed May 19, 2024
    Configuration menu
    Copy the full SHA
    f9cb74a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b6baa6a View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Configuration menu
    Copy the full SHA
    d9a0856 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

  1. feat: add npmInstall custom package

    - installs all the packages from deps array to the project directory
    maverox committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    d8ec7e1 View commit details
    Browse the repository at this point in the history
  2. chore: remove redundant code

    maverox committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    4c59396 View commit details
    Browse the repository at this point in the history
  3. fix: typo in prompt

    maverox committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    04b5f90 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. 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
    maverox committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    1bdf924 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Configuration menu
    Copy the full SHA
    5e6a70b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb5e201 View commit details
    Browse the repository at this point in the history
  3. feat: create commander cli and implement skip feat

    created commander cli
    implement init command with
    -s -f flags to
    skip and -f to override
    maverox committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    9bf21bf View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2024

  1. Configuration menu
    Copy the full SHA
    a295914 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6add83 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ac8bf0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d1fb3e7 View commit details
    Browse the repository at this point in the history
  5. 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
    maverox committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    2928772 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2024

  1. Update packages/create-webpack-app/README.md

    fix grammar
    
    Co-authored-by: Nitin Kumar <snitin315@gmail.com>
    maverox and snitin315 committed Jun 15, 2024
    Configuration menu
    Copy the full SHA
    3f66230 View commit details
    Browse the repository at this point in the history
  2. Update packages/create-webpack-app/README.md

    Co-authored-by: Nitin Kumar <snitin315@gmail.com>
    maverox and snitin315 committed Jun 15, 2024
    Configuration menu
    Copy the full SHA
    769e095 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. 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.
    maverox committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    cb309df View commit details
    Browse the repository at this point in the history
  2. feat: add conditional file generation based on dynamic action function

    - using dynamic action function to generate files based on choices
    - change template structure
    maverox committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    860e5c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    de92604 View commit details
    Browse the repository at this point in the history
  4. feat: change dependency installation to be cross-compatible

    - using cross-spawn instead of normal spawn method
    maverox committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    b150fa8 View commit details
    Browse the repository at this point in the history
  5. refactor: remove unused var

    maverox committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    f3315f4 View commit details
    Browse the repository at this point in the history
  6. feat: add types

    maverox committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    19f59ea View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    02f04cb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    284ab14 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Configuration menu
    Copy the full SHA
    b80f340 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    944bb33 View commit details
    Browse the repository at this point in the history
  3. feat: change stdio settings for pkgInstall action

    change stdio settings to incorporate each animations and spinners of the
    underlying child process
    maverox committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    b82f4be View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b4cca8f View commit details
    Browse the repository at this point in the history
  5. 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
    maverox committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    e3ef415 View commit details
    Browse the repository at this point in the history
  6. fix: changed template package.json to improve compatibility with syntax

    earlier testing util spawn function was throwing error because of this.
    maverox committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    0a42c64 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f0196bd View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. 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
    maverox committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    8e9dfb6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff53355 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2024

  1. Configuration menu
    Copy the full SHA
    22873e8 View commit details
    Browse the repository at this point in the history
  2. 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
    maverox committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    fdd61df View commit details
    Browse the repository at this point in the history
  3. 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
    maverox committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    ea92e56 View commit details
    Browse the repository at this point in the history
  4. 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
    maverox committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    3fb7b98 View commit details
    Browse the repository at this point in the history