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

[Focused Improvement] Consolidate packages #824

Merged
merged 32 commits into from
Oct 25, 2021
Merged

Conversation

addy-pathania
Copy link
Contributor

@addy-pathania addy-pathania commented Oct 4, 2021

Consolidate manifest and pipeline packages into dev-tools

Description / Motivation

To be able to maintain all the packages in a easier way in future.

--> Changes made

  • Package name = Sitecore.jss : Organized files into sub-modules
    - graphql = no change
    - i18 = no change
    - layout = no change
    - media = new
    - testData = no change
    - tracking
    before: separate individual package
    now: submodule in base package
    - utils = moved all loosely left related files to this submodule.

  • Package name = Sitecore-jss-angular : Changed package.json

  • Package name = Sitecore-jss-angular-schematics : No change

  • Package name = Sitecore-jss-cli : No change

  • Package name = Sitecore-jss-dev-tools : Moved manifest, pipelines and update package into this package

    • Manifest
      • changes to import statements within the package.
        before: separate individual package
        now: part of this package
    • Pipelines
      • changes to import statements within the package.
        before: separate individual package
        now: part of this package
    • Update
      • changes to import statements within the package.
        before: separate individual package
        now: part of this package
  • Package name = Sitecore-jss-forms : No change

  • Package name = Sitecore-jss-nextjs :

    • Changed package.json
    • Now importing from sub-modules from base package(sitecore-jss) instead of directly from base-package
    • changes to import statements within the package.
  • Package name = Sitecore-jss-proxy : No change

  • Package name = Sitecore-jss-react :

    • Changed package.json
    • Now importing from sub-modules from base package(sitecore-jss) instead of directly from base-package
    • changes to import statements within the package.
  • Package name = Sitecore-jss-react-forms : No change

  • Package name = Sitecore-jss-native : No Change

  • Package name = Sitecore-jss-hosts : No change

  • Package name = Sitecore-jss-vue :

    • Changed package.json
    • Now importing from sub-modules from base package(sitecore-jss) instead of directly from base-package
    • changed all imports coming from manifest, pipelines, update package now point to the sitecore-jss-dev-tools package.

--> Sample Apps

  • changed package.json
  • changed all imports coming from manifest, pipelines, update package now point to the sitecore-jss-dev-tools package.

Testing Details

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update (non-breaking change; modified files are limited to the /docs directory)

CobyPear and others added 5 commits September 30, 2021 14:47
- media to it's own folder
- various files into utils folder
- graphql-request-client into graphql folder
- rename testData -> test-data
- update dependencies in nextjs package and sample
- TODO: update dependies in remaining samples
@addy-pathania addy-pathania requested a review from a team October 4, 2021 18:54
@vercel
Copy link

vercel bot commented Oct 4, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/sitecore-jss/edge-e2e-styleguide/GBXoHizdFgjhqeRPwutqL2Lt6Vby
✅ Preview: Failed

[Deployment for 8129389 failed]

Copy link
Contributor

@illiakovalenko illiakovalenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done!

Copy link
Contributor

@ambrauer ambrauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See specific comments. Overall looks great!

package.json Outdated Show resolved Hide resolved
packages/sitecore-jss-angular/package.json Outdated Show resolved Hide resolved
packages/sitecore-jss/src/index.ts Outdated Show resolved Hide resolved
docs/upgrade-guides.md Show resolved Hide resolved
Copy link
Contributor

@ambrauer ambrauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved 👍👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants