Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: hooks command#5918

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
NathanWalker merged 73 commits intomainfrompre/v9-combined-testing
Nov 8, 2025
Merged

feat: hooks command#5918

NathanWalker merged 73 commits intomainfrompre/v9-combined-testing
Nov 8, 2025

Conversation

@NathanWalker
Copy link
Contributor

@NathanWalkerNathanWalker commentedNov 8, 2025
edited
Loading

From#5884 (@jcassidyav) which went into prerelease branch.

What is the current behavior?

Users are prevented from usingnpm install --ignore-scripts because any ns plugin that requires hooks utilises post install events to install the hooks.

What is the new behavior?

This PR provides thehooks command to manage plugin hooks.

PR provides:

CommandDescription
ns hooksLists the hooks that are in the installed plugins ( alsons hooks list ).
ns hooks installInstalls the hooks.
ns hooks lockCreates anativescript-lock.json file, this is a list of hooks per plugin and a hash of the script for each hook.
ns hooks verifyCompares the hooks in the plugins with what is specified in thenativescript-lock.json file, failing if a hook is not listed or the hash is not the same.

Usages

  • Modify/Create.npmrc in the project root addingignore-scripts=true
  • Afternpm i runns hooks install

For extra peace of mind:

Runns hooks lock andns hooks install will fail if any of the hooks have changed.

NathanWalkerand others added30 commitsMarch 20, 2025 13:02
Supports live reload.HMR is partial and works hand-in-hand with a hmr-client setup in the per-project @nativescript/vite setup.
dependabotbotand others added27 commitsSeptember 16, 2025 08:33
…ges/doctor (#5873)[skip ci]chore(deps-dev): bump @types/lodash in /packages/doctorBumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.17.15 to 4.17.20.- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)---updated-dependencies:- dependency-name: "@types/lodash"  dependency-version: 4.17.20  dependency-type: direct:development  update-type: version-update:semver-patch...Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…tor (#5874)[skip ci]Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.4.5 to 5.9.2.- [Release notes](https://github.com/microsoft/TypeScript/releases)- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)- [Commits](microsoft/TypeScript@v5.4.5...v5.9.2)---updated-dependencies:- dependency-name: typescript  dependency-version: 5.9.2  dependency-type: direct:development  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…doctor (#5875)chore(deps-dev): bump @types/semver in /packages/doctorBumps [@types/semver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver) from 7.5.8 to 7.7.1.- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/semver)---updated-dependencies:- dependency-name: "@types/semver"  dependency-version: 7.7.1  dependency-type: direct:development  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>[skip ci]
…t-envinfo (#5876)chore(deps): bump envinfo and @types/envinfoBumps [envinfo](https://github.com/tabrindle/envinfo) and [@types/envinfo](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/envinfo). These dependencies needed to be updated together.Updates `envinfo` from 7.8.1 to 7.14.0- [Release notes](https://github.com/tabrindle/envinfo/releases)- [Changelog](https://github.com/tabrindle/envinfo/blob/main/CHANGELOG.md)- [Commits](tabrindle/envinfo@7.8.1...v7.14.0)Updates `@types/envinfo` from 7.8.1 to 7.8.4- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/envinfo)---updated-dependencies:- dependency-name: envinfo  dependency-version: 7.14.0  dependency-type: direct:production  update-type: version-update:semver-minor- dependency-name: "@types/envinfo"  dependency-version: 7.8.4  dependency-type: direct:production  update-type: version-update:semver-patch...Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>[skip ci]
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.0 to 2.4.2.- [Release notes](https://github.com/ossf/scorecard-action/releases)- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)- [Commits](ossf/scorecard-action@62b2cac...05b42c6)---updated-dependencies:- dependency-name: ossf/scorecard-action  dependency-version: 2.4.2  dependency-type: direct:production  update-type: version-update:semver-patch...Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>[skip ci]
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 5.- [Release notes](https://github.com/actions/checkout/releases)- [Commits](actions/checkout@v2...v5)---updated-dependencies:- dependency-name: actions/checkout  dependency-version: '5'  dependency-type: direct:production  update-type: version-update:semver-major...Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>[skip ci]
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 5.- [Release notes](https://github.com/actions/setup-node/releases)- [Commits](actions/setup-node@v3...v5)---updated-dependencies:- dependency-name: actions/setup-node  dependency-version: '5'  dependency-type: direct:production  update-type: version-update:semver-major...Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>[skip ci]
* chore: remove CodeQL workflow in favor of the advance oneReferences:-https://github.com/NativeScript/nativescript-cli/actions/workflows/codeql-advanced.yml-https://github.com/NativeScript/nativescript-cli/actions/workflows/codeql.yml* feat: define workflow permissions* feat: pin dependencies in workflows---------Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
@NathanWalkerNathanWalker added this to the9.0 milestoneNov 8, 2025
@NathanWalkerNathanWalker merged commit87cbca9 intomainNov 8, 2025
4 checks passed
@NathanWalkerNathanWalker deleted the pre/v9-combined-testing branchNovember 8, 2025 18:18
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

9.0

Development

Successfully merging this pull request may close these issues.

5 participants

@NathanWalker@vallemar@UlisesGascon@jcassidyav

[8]ページ先頭

©2009-2025 Movatter.jp