Skip to content

Remove shelljs usage from throughout the repo#64042

Closed
josephperrott wants to merge 5 commits intoangular:mainfrom
josephperrott:remove-shelljs
Closed

Remove shelljs usage from throughout the repo#64042
josephperrott wants to merge 5 commits intoangular:mainfrom
josephperrott:remove-shelljs

Conversation

@josephperrott
Copy link
Copy Markdown
Member

No description provided.

@josephperrott josephperrott added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Sep 24, 2025
@pullapprove pullapprove bot requested a review from devversion September 24, 2025 20:38
@angular-robot angular-robot bot added area: build & ci Related the build and CI infrastructure of the project area: core Issues related to the framework runtime area: zones Issues related to zone.js labels Sep 24, 2025
@ngbot ngbot bot modified the milestone: Backlog Sep 24, 2025
@josephperrott josephperrott added target: major This PR is targeted for the next major release and removed target: patch This PR is targeted for the next patch release labels Sep 24, 2025

expect(error).toBe(null);
if (error) {
console.log(migrationName);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These two lines are causing lint errors.

Remove the shelljs usage from package diff script
Update goldens management script to drop shelljs usage
Remove shelljs from package building scripts
Remove shelljs usage from core schematic tests and use builtins instead
fs.chmodSync(dirPath, permissions);

for (const file of fs.readdirSync(dirPath)) {
recursiveChmod(path.join(dirPath, file), permissions);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Wouldn't recursiveChmod also be invoked for files here? Might be worth filtering for readability

@kirjs
Copy link
Copy Markdown
Contributor

kirjs commented Sep 26, 2025

This PR was merged into the repository. The changes were merged into the following branches:

@kirjs kirjs closed this in 422a3b9 Sep 26, 2025
kirjs pushed a commit that referenced this pull request Sep 26, 2025
Remove the shelljs usage from package diff script

PR Close #64042
kirjs pushed a commit that referenced this pull request Sep 26, 2025
Update goldens management script to drop shelljs usage

PR Close #64042
kirjs pushed a commit that referenced this pull request Sep 26, 2025
Remove shelljs from package building scripts

PR Close #64042
kirjs pushed a commit that referenced this pull request Sep 26, 2025
Remove shelljs usage from core schematic tests and use builtins instead

PR Close #64042
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 27, 2025
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 area: build & ci Related the build and CI infrastructure of the project area: core Issues related to the framework runtime area: zones Issues related to zone.js target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants