- 
                Notifications
    You must be signed in to change notification settings 
- Fork 11.9k
refactor(@ngtools/webpack): remove NGCC integration #24720
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
          
     Merged
      
      
    
                
     Merged
            
            
          Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    65c8c35    to
    f36a711      
    Compare
  
    
              
                    clydin
  
              
              approved these changes
              
                  
                    Feb 15, 2023 
                  
              
              
            
            
              
                    alxhub
  
              
              approved these changes
              
                  
                    Feb 15, 2023 
                  
              
              
            
            
This commit removes usage of NGCC which was used to convert old View Engine libraries to Ivy. BREAKING CHANGE: NGCC integration has been removed and as a result Angular View Engine libraries will no longer work.
f36a711    to
    158a561      
    Compare
  
    
    
  atscott 
      added a commit
        to atscott/vscode-ng-language-service
      that referenced
      this pull request
    
      Feb 15, 2023 
    
    
      
  
    
      
    
  
NGCC is being removed in Angular v16. The language service should not longer attempt to run it. angular/angular-cli#24720 As a result, we can now set the support for running in untrusted workspaces to "true" since we don't have to execute ngcc from the `node_modules` folder.
    
  atscott 
      added a commit
        to atscott/vscode-ng-language-service
      that referenced
      this pull request
    
      Feb 15, 2023 
    
    
      
  
    
      
    
  
NGCC is being removed in Angular v16. The language service should not longer attempt to run it. angular/angular-cli#24720 As a result, we can now set the support for running in untrusted workspaces to "true" since we don't have to execute ngcc from the `node_modules` folder.
    
  atscott 
      added a commit
        to atscott/vscode-ng-language-service
      that referenced
      this pull request
    
      Feb 16, 2023 
    
    
      
  
    
      
    
  
NGCC is being removed in Angular v16. The language service should not longer attempt to run it. angular/angular-cli#24720 As a result, we can now set the support for running in untrusted workspaces to "true" since we don't have to execute ngcc from the `node_modules` folder.
    
  atscott 
      added a commit
        to atscott/vscode-ng-language-service
      that referenced
      this pull request
    
      Feb 17, 2023 
    
    
      
  
    
      
    
  
NGCC is being removed in Angular v16. The language service should not longer attempt to run it. angular/angular-cli#24720 As a result, we can now set the support for running in untrusted workspaces to "true" since we don't have to execute ngcc from the `node_modules` folder.
    
  atscott 
      added a commit
        to atscott/vscode-ng-language-service
      that referenced
      this pull request
    
      Feb 17, 2023 
    
    
      
  
    
      
    
  
NGCC is being removed in Angular v16. The language service should not longer attempt to run it. angular/angular-cli#24720 As a result, we can now set the support for running in untrusted workspaces to "true" since we don't have to execute ngcc from the `node_modules` folder.
    
  atscott 
      added a commit
        to atscott/vscode-ng-language-service
      that referenced
      this pull request
    
      Feb 23, 2023 
    
    
      
  
    
      
    
  
NGCC is being removed in Angular v16. The language service should not longer attempt to run it. angular/angular-cli#24720 As a result, we can now set the support for running in untrusted workspaces to "true" since we don't have to execute ngcc from the `node_modules` folder.
    
  atscott 
      added a commit
        to angular/vscode-ng-language-service
      that referenced
      this pull request
    
      Feb 23, 2023 
    
    
      
  
    
      
    
  
NGCC is being removed in Angular v16. The language service should not longer attempt to run it. angular/angular-cli#24720 As a result, we can now set the support for running in untrusted workspaces to "true" since we don't have to execute ngcc from the `node_modules` folder.
    
  Lms24 
      added a commit
        to getsentry/sentry-javascript
      that referenced
      this pull request
    
      Feb 27, 2023 
    
    
      
  
    
      
    
  
Add a new SDK package to our monorepo: `@sentry/angular-ivy`. While this is technically a new SDK, its content and functionality is identical to `@sentry/angular`. Only the build configuration differs: * The Ivy SDK is built with Angular 12, allowing for a compatibility of NG12-15 * The Ivy SDK is built with `compilationMode: partial`, enabeling a build format that is compatible with Angular's Ivy rendering engine. * This means that `ngcc` no longer needs to step in at initial build time to up-compile the SDK. Which is good because `ngcc` will be removed in Angular 16 (angular/angular-cli#24720) * The Ivy SDK's build output follows the Angular Package Format (APF) v12 standard ([spec](https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs/preview)) which is very similar to APF 10 which we used before (see #4641 for more details) Because functionality-wise there's no difference to `@sentry/angular`, I opted to symlink the source files instead of duplicating them. The only exception is `sdk.ts` which needed some adaption for the new package, like setting the SDK name and adjusting the min version check. For the same reason, this new package currently doesn't contain tests. We'll need to reconsider this approach (symlinking and testing) if we ever need to make package-specific adjustments.
| This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. | 
  
      Sign up for free
      to subscribe to this conversation on GitHub.
      Already have an account?
      Sign in.
  
      Labels
      
    action: merge
  The PR is ready for merge by the caretaker 
  
    detected: breaking change
  PR contains a commit with a breaking change 
  
    target: major
  This PR is targeted for the next major release 
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
This commit removes usage of NGCC which was used to convert old View Engine libraries to Ivy.
BREAKING CHANGE: NGCC integration has been removed and as a result Angular View Engine libraries will no longer work.