@bubblelab/ts-scope-manager 0.1.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.
Files changed (3) hide show
  1. package/index.d.ts +2 -0
  2. package/index.js +12 -0
  3. package/package.json +22 -0
package/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@typescript-eslint/scope-manager';
2
+ export declare function resetIds(): void;
package/index.js ADDED
@@ -0,0 +1,12 @@
1
+ /* eslint-disable @typescript-eslint/no-require-imports, no-undef, @typescript-eslint/no-unused-vars */
2
+ 'use strict';
3
+ const scope = require('@typescript-eslint/scope-manager');
4
+ // Re-export everything from upstream
5
+ Object.assign(exports, scope);
6
+ // Also export resetIds from internal ID module
7
+ try {
8
+ const { resetIds } = require('@typescript-eslint/scope-manager/dist/ID');
9
+ exports.resetIds = resetIds;
10
+ } catch (_e) {
11
+ // noop if upstream layout changes
12
+ }
package/package.json ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "@bubblelab/ts-scope-manager",
3
+ "version": "0.1.0",
4
+ "private": false,
5
+ "license": "MIT",
6
+ "type": "commonjs",
7
+ "main": "index.js",
8
+ "types": "index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./index.js",
12
+ "require": "./index.js",
13
+ "types": "./index.d.ts"
14
+ }
15
+ },
16
+ "peerDependencies": {
17
+ "typescript": ">=4.8.4 <5.9.0"
18
+ },
19
+ "dependencies": {
20
+ "@typescript-eslint/scope-manager": "=8.43.0"
21
+ }
22
+ }