René's URL Explorer Experiment


Title: chore: replace grunt with npm scripts by edusperoni · Pull Request #6088 · NativeScript/nativescript-cli · GitHub

Open Graph Title: chore: replace grunt with npm scripts by edusperoni · Pull Request #6088 · NativeScript/nativescript-cli

X Title: chore: replace grunt with npm scripts by edusperoni · Pull Request #6088 · NativeScript/nativescript-cli

Description: PR Checklist The PR title follows our guidelines. There is an issue for the bug/feature this PR is for. (no tracking issue — happy to open one) You have signed the CLA. All existing tests are passing (1513 passing, unchanged). Tests for the changes are included. (build tooling change; the existing suite plus a real npm pack were used to verify) What is the current behavior? The build runs through Grunt, but most of what the Gruntfile does is already available as plain npm scripts, and some of it no longer works at all: grunt lint and grunt all call npm run tslint, a script that does not exist — both tasks are broken today. grunt-ts is pinned to 6.0.0-beta.22. ts:devlib / ts:devall reference a definitions/ directory that no longer exists. prepack runs ts:release_build (removeComments: true) and then shell:npm_test, which re-runs tsc with the dev config — silently undoing the release compile. You can see the result in the published tarball: lib/*.js still contains comments. BuildPackage.cmd last changed in 2014 and calls grunt enableScripts, a task that no longer exists anywhere. What is the new behavior? Grunt is removed. Its remaining tasks map to npm scripts and four small node scripts: Grunt task Replacement ts:* tsc, plus tsconfig.release.json for the packed build watch tsc --watch (already npm run dev) clean scripts/clean.js generate/verify_unit_testing_dependencies scripts/generate-test-deps.js set_live_ga_id / set_dev_ga_id / verify_live_ga_id scripts/set-ga-id.js template (docs-jekyll) scripts/build-docs.js shell:build_package / shell:npm_test npm pack / npm test tslint:build dropped (already broken; the repo uses prettier) prepack now runs the release compile after the tests instead of before, so removeComments/sourceMap are no longer clobbered. Verified against a real npm pack: the produced tarball is identical to the published 9.1.0-alpha.15 except that shipped lib/*.js no longer carries comments, and the obsolete grunt-ts-generated lib/.d.ts is gone (it referenced .ts sources the package never shipped). scripts/clean.js delegates to git clean -Xdf lib test, since .gitignore already encodes exactly which files under those directories are compiler output — including the negations protecting vendored, hook and fixture .js. Verified equivalent to the old glob list: 450 emitted files removed, the 11 protected ones untouched. Also included is a one-line fix to docs/man_pages/config/config-set.md, which had a stray <% } %> with no opening tag. It made the page fail to render as a lodash template, so docs-jekyll was already broken before this change — the ported script can't work without it. Side effect worth flagging: dropping the grunt toolchain removes js-yaml, micromatch, braces, csproj2ts and tslint from the tree, along with the now-dead grunt and globule minimatch overrides. Summary by CodeRabbit Documentation Improved HTML documentation generation for more consistent rendered content. Updated documentation build instructions to use the current project commands. Build & Release Modernized build and packaging workflows for more reliable project builds and releases. Added automated cleanup and dependency-version preparation steps to support repeatable builds. Maintenance Removed legacy build tooling and simplified project configuration.

Open Graph Description: PR Checklist The PR title follows our guidelines. There is an issue for the bug/feature this PR is for. (no tracking issue — happy to open one) You have signed the CLA. All existing tests are ...

X Description: PR Checklist The PR title follows our guidelines. There is an issue for the bug/feature this PR is for. (no tracking issue — happy to open one) You have signed the CLA. All existing tests are ...

Opengraph URL: https://github.com/NativeScript/nativescript-cli/pull/6088

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8f106ade-f78f-c02c-38cf-b20b0996a857
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8E16:DA744:280750A:35E243B:6B01C26D
html-safe-nonce96513ebc1fa80e7136d960d24db69b8fbe02cf98a6fdbd3d368c892dfb59c3fe
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTE2OkRBNzQ0OjI4MDc1MEE6MzVFMjQzQjo2QjAxQzI2RCIsInZpc2l0b3JfaWQiOiI1MDYwNDU0MzA2NzM0NTIyOTg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac8fa8770405e66a51a81952518340c99dde29deee02d7324490f8efaa2f46303e
hovercard-subject-tagpull_request:4132961875
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/nativescript-cli/pull/6088/files
twitter:imagehttps://avatars.githubusercontent.com/u/4061767?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4061767?s=400&v=4
og:image:altPR Checklist The PR title follows our guidelines. There is an issue for the bug/feature this PR is for. (no tracking issue — happy to open one) You have signed the CLA. All existing tests are ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id21347346
octolytics-dimension-repository_nwoNativeScript/nativescript-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21347346
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/pull/6088/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6088%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6088%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2Fnativescript-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6088/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6088/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6088/files
NativeScripthttps://github.com/NativeScript
nativescript-clihttps://github.com/NativeScript/nativescript-cli
Codehttps://github.com/NativeScript/nativescript-cli
Issues357 (357)https://github.com/NativeScript/nativescript-cli/issues
Pull requests38 (38)https://github.com/NativeScript/nativescript-cli/pulls
Actionshttps://github.com/NativeScript/nativescript-cli/actions
Projectshttps://github.com/NativeScript/nativescript-cli/projects
Security and qualityhttps://github.com/NativeScript/nativescript-cli/security
Insightshttps://github.com/NativeScript/nativescript-cli/insights
Sign up for GitHub https://github.com/signup?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
edusperonihttps://github.com/edusperoni
NativeScript:mainhttps://github.com/NativeScript/nativescript-cli/tree/main
edusperoni:chore/remove-grunthttps://github.com/edusperoni/nativescript-cli/tree/chore/remove-grunt
Conversation 11 https://github.com/NativeScript/nativescript-cli/pull/6088
Commits 2 https://github.com/NativeScript/nativescript-cli/pull/6088/commits
Checks 6 https://github.com/NativeScript/nativescript-cli/pull/6088/checks
Files changed https://github.com/NativeScript/nativescript-cli/pull/6088/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6088/files
chore: replace grunt with npm scripts https://github.com/NativeScript/nativescript-cli/pull/6088/files#top
Show all changes 2 commits https://github.com/NativeScript/nativescript-cli/pull/6088/files
a40706a fix(docs): restore missing isHtml guard in config set man page edusperoni Jul 24, 2026 https://github.com/NativeScript/nativescript-cli/pull/6088/commits/a40706a89af05677b4cc935da63c4bc747de7da1
c856ff3 chore: replace grunt with npm scripts edusperoni Jul 24, 2026 https://github.com/NativeScript/nativescript-cli/pull/6088/commits/c856ff3cc992a7f169b8a913dd4bc70a29c6fd3f
Clear filters https://github.com/NativeScript/nativescript-cli/pull/6088/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6088/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6088/files
.gitignore https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
BuildPackage.cmd https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-4c5d9279b7e334e7559f7d9430c18d25fc0e9fd54147c1887e9bbe138cd9ec25
CONTRIBUTING.md https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055
Gruntfile.js https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-8e7e5f941c67b0cf481a9d650295119d4922b96117e7adc069ba30a81a78c65f
build-jekyll-md.sh https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-53544838dabd8c6d30eca9dfa8deb0ed5cb4c2a92dfd0437616c7010dd48baea
config-set.md https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-347582b4b083e5f881a8c71e85f426922dc9fb297f27a757b0d3f088ac08a756
package-lock.json https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-053150b640a7ce75eff69d1a22cae7f0f94ad64ce9a855db544dda0929316519
package.json https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
build-docs.js https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-a971a9d4e067b3ba48cc6ec06114884be98a65b3d8b9530abdcbb01c648ff8e9
clean.js https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-cfcbe4515bb8c1f6553d70f04c44fbb86d8b80c4fb65782e38c3defc65995366
generate-test-deps.js https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-9fb11be1b5474e3f3e47f8618bdde45de9d332cd984fb2919be70e2669feb357
set-ga-id.js https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-5cf56576ce4ebea79123f4f63a656a1f649e80feac1885f352fac4daa4fd600d
tsconfig.release.json https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-7b712a97e855db03c32bdf4edddd12da55549811da4edae7121044c17b7fddc8
.gitignorehttps://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
View file https://github.com/edusperoni/nativescript-cli/blob/c856ff3cc992a7f169b8a913dd4bc70a29c6fd3f/.gitignore
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6088/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
BuildPackage.cmdhttps://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-4c5d9279b7e334e7559f7d9430c18d25fc0e9fd54147c1887e9bbe138cd9ec25
View file https://github.com/NativeScript/nativescript-cli/blob/cbee6520ae95d611f2289bc85a3dd37564b56d7d/BuildPackage.cmd
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6088/files
CONTRIBUTING.mdhttps://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055
View file https://github.com/edusperoni/nativescript-cli/blob/c856ff3cc992a7f169b8a913dd4bc70a29c6fd3f/CONTRIBUTING.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6088/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055
https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055
https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055
Gruntfile.jshttps://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-8e7e5f941c67b0cf481a9d650295119d4922b96117e7adc069ba30a81a78c65f
View file https://github.com/NativeScript/nativescript-cli/blob/cbee6520ae95d611f2289bc85a3dd37564b56d7d/Gruntfile.js
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6088/files
docs/build-jekyll-md.shhttps://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-53544838dabd8c6d30eca9dfa8deb0ed5cb4c2a92dfd0437616c7010dd48baea
View file https://github.com/edusperoni/nativescript-cli/blob/c856ff3cc992a7f169b8a913dd4bc70a29c6fd3f/docs/build-jekyll-md.sh
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6088/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-53544838dabd8c6d30eca9dfa8deb0ed5cb4c2a92dfd0437616c7010dd48baea
docs/man_pages/config/config-set.mdhttps://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-347582b4b083e5f881a8c71e85f426922dc9fb297f27a757b0d3f088ac08a756
View file https://github.com/edusperoni/nativescript-cli/blob/c856ff3cc992a7f169b8a913dd4bc70a29c6fd3f/docs/man_pages/config/config-set.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6088/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-347582b4b083e5f881a8c71e85f426922dc9fb297f27a757b0d3f088ac08a756
https://github.com/NativeScript/nativescript-cli/pull/6088/files#diff-347582b4b083e5f881a8c71e85f426922dc9fb297f27a757b0d3f088ac08a756
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6088/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.