@nubjs/extensions 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/index.d.ts +15 -0
- package/index.js +12212 -0
- package/index.mjs +12211 -0
- package/package-extensions.json +29269 -0
- package/package.json +40 -0
package/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# @nubjs/extensions
|
|
2
|
+
|
|
3
|
+
A drop-in replacement for `@yarnpkg/extensions` carrying 812 packages instead of 159.
|
|
4
|
+
|
|
5
|
+
```js
|
|
6
|
+
import { packageExtensions } from '@nubjs/extensions';
|
|
7
|
+
// Array<[selector, { dependencies?, peerDependencies?, peerDependenciesMeta? }]>
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
Every rule from `@yarnpkg/extensions@2.0.7` is included verbatim, so nothing that works today stops working. The rest comes from scanning the 10000 most-downloaded packages on npm for imports their manifests never declare.
|
|
11
|
+
|
|
12
|
+
Method, per-entry evidence and the ready-to-paste config blocks: https://github.com/nubjs/package-extensions
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @nubjs/extensions 1.0.0 — generated 2026-09-06, do not edit.
|
|
2
|
+
// 812 packages, 1190 undeclared dependencies found by scanning
|
|
3
|
+
// the 10000 most-downloaded npm packages, plus every rule from
|
|
4
|
+
// @yarnpkg/extensions@2.0.7.
|
|
5
|
+
// https://github.com/nubjs/package-extensions
|
|
6
|
+
|
|
7
|
+
export interface PackageExtensionData {
|
|
8
|
+
dependencies?: Record<string, string>;
|
|
9
|
+
optionalDependencies?: Record<string, string>;
|
|
10
|
+
peerDependencies?: Record<string, string>;
|
|
11
|
+
peerDependenciesMeta?: Record<string, { optional?: boolean }>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/** Selector-to-extension pairs, in the shape `@yarnpkg/extensions` publishes. */
|
|
15
|
+
export declare const packageExtensions: Array<[string, PackageExtensionData]>;
|