diff --git a/internal/common/node_module_info.bzl b/internal/common/node_module_info.bzl index c511dee0ba..a8e72c919b 100644 --- a/internal/common/node_module_info.bzl +++ b/internal/common/node_module_info.bzl @@ -25,8 +25,8 @@ NodeModuleInfo = provider( NodeModuleSources = provider( doc = "Provides sources for npm dependencies installed with yarn_install and npm_install rules", fields = { - "sources": "Source files that are npm dependencies", "scripts": "Source files that are javascript named-UMD or named-AMD modules for use in rules such as ts_devserver", + "sources": "Source files that are npm dependencies", "workspace": "The workspace name that the npm dependencies are provided from", }, ) diff --git a/internal/npm_install/node_module_library.bzl b/internal/npm_install/node_module_library.bzl index b5a7f71cde..d7adcd87bc 100644 --- a/internal/npm_install/node_module_library.bzl +++ b/internal/npm_install/node_module_library.bzl @@ -44,13 +44,13 @@ node_module_library = rule( doc = "The list of files that comprise the package", allow_files = True, ), - "deps": attr.label_list( - doc = "Transitive dependencies of the package", - ), "scripts": attr.label_list( doc = "A subset of srcs that are javascript named-UMD or named-AMD scripts for use in rules such as ts_devserver", allow_files = True, ), + "deps": attr.label_list( + doc = "Transitive dependencies of the package", + ), }, doc = "Defines an npm package under node_modules", )