Skip to content

Commit bfde4e6

Browse files
committed
chore: update
1 parent 829e4cb commit bfde4e6

File tree

9 files changed

+27
-27
lines changed

9 files changed

+27
-27
lines changed

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/integration/redirect/dts.test.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ test('redirect.dts.path: true with redirect.dts.extension: false - default', asy
1313
expect(contents.esm0).toMatchInlineSnapshot(`
1414
{
1515
"<ROOT>/tests/integration/redirect/dts/dist/default/esm/foo/foo.d.ts": "import { logRequest } from '../logger';
16-
import { logger } from '../../../../compile/rslog';
16+
import { logger } from '../../../../compile/prebundle-pkg';
1717
import { logRequest as logRequest2 } from '../logger';
1818
export { logRequest, logRequest2, logger };
1919
",
2020
"<ROOT>/tests/integration/redirect/dts/dist/default/esm/foo/index.d.ts": "export type Barrel = string;
2121
",
2222
"<ROOT>/tests/integration/redirect/dts/dist/default/esm/index.d.ts": "import { logRequest } from './logger';
23-
import { logger } from '../../../compile/rslog';
23+
import { logger } from '../../../compile/prebundle-pkg';
2424
import type { Baz } from './';
2525
import type { LoggerOptions } from './types';
2626
import { defaultOptions } from './types.js';
@@ -29,7 +29,7 @@ test('redirect.dts.path: true with redirect.dts.extension: false - default', asy
2929
export * from './foo';
3030
export * from './logger';
3131
export type { Foo } from './types';
32-
export * from '../../../compile/rslog';
32+
export * from '../../../compile/prebundle-pkg';
3333
export type { Bar } from './types';
3434
export * from './foo';
3535
export * from './types';
@@ -61,14 +61,14 @@ test('redirect.dts.path: false with redirect.dts.extension: false', async () =>
6161
expect(contents.esm1).toMatchInlineSnapshot(`
6262
{
6363
"<ROOT>/tests/integration/redirect/dts/dist/path-false/esm/foo/foo.d.ts": "import { logRequest } from '@src/logger';
64-
import { logger } from 'rslog';
64+
import { logger } from 'prebundle-pkg';
6565
import { logRequest as logRequest2 } from '../logger';
6666
export { logRequest, logRequest2, logger };
6767
",
6868
"<ROOT>/tests/integration/redirect/dts/dist/path-false/esm/foo/index.d.ts": "export type Barrel = string;
6969
",
7070
"<ROOT>/tests/integration/redirect/dts/dist/path-false/esm/index.d.ts": "import { logRequest } from '@src/logger';
71-
import { logger } from 'rslog';
71+
import { logger } from 'prebundle-pkg';
7272
import type { Baz } from 'self-entry';
7373
import type { LoggerOptions } from './types';
7474
import { defaultOptions } from './types.js';
@@ -77,7 +77,7 @@ test('redirect.dts.path: false with redirect.dts.extension: false', async () =>
7777
export * from '@src/foo';
7878
export * from '@src/logger';
7979
export type { Foo } from '@src/types';
80-
export * from 'rslog';
80+
export * from 'prebundle-pkg';
8181
export type { Bar } from 'types';
8282
export * from './foo';
8383
export * from './types';
@@ -109,14 +109,14 @@ test('redirect.dts.path: true with redirect.dts.extension: true', async () => {
109109
expect(contents.esm2).toMatchInlineSnapshot(`
110110
{
111111
"<ROOT>/tests/integration/redirect/dts/dist/extension-true/esm/foo/foo.d.ts": "import { logRequest } from '../logger.js';
112-
import { logger } from '../../../../compile/rslog';
112+
import { logger } from '../../../../compile/prebundle-pkg';
113113
import { logRequest as logRequest2 } from '../logger.js';
114114
export { logRequest, logRequest2, logger };
115115
",
116116
"<ROOT>/tests/integration/redirect/dts/dist/extension-true/esm/foo/index.d.ts": "export type Barrel = string;
117117
",
118118
"<ROOT>/tests/integration/redirect/dts/dist/extension-true/esm/index.d.ts": "import { logRequest } from './logger.js';
119-
import { logger } from '../../../compile/rslog';
119+
import { logger } from '../../../compile/prebundle-pkg';
120120
import type { Baz } from './index.js';
121121
import type { LoggerOptions } from './types.js';
122122
import { defaultOptions } from './types.js';
@@ -125,7 +125,7 @@ test('redirect.dts.path: true with redirect.dts.extension: true', async () => {
125125
export * from './foo/index.js';
126126
export * from './logger.js';
127127
export type { Foo } from './types.js';
128-
export * from '../../../compile/rslog';
128+
export * from '../../../compile/prebundle-pkg';
129129
export type { Bar } from './types.js';
130130
export * from './foo/index.js';
131131
export * from './types.js';
@@ -157,14 +157,14 @@ test('redirect.dts.path: false with dts.redirect.extension: true', async () => {
157157
expect(contents.esm3).toMatchInlineSnapshot(`
158158
{
159159
"<ROOT>/tests/integration/redirect/dts/dist/path-false-extension-true/esm/foo/foo.d.ts": "import { logRequest } from '@src/logger';
160-
import { logger } from 'rslog';
160+
import { logger } from 'prebundle-pkg';
161161
import { logRequest as logRequest2 } from '../logger.js';
162162
export { logRequest, logRequest2, logger };
163163
",
164164
"<ROOT>/tests/integration/redirect/dts/dist/path-false-extension-true/esm/foo/index.d.ts": "export type Barrel = string;
165165
",
166166
"<ROOT>/tests/integration/redirect/dts/dist/path-false-extension-true/esm/index.d.ts": "import { logRequest } from '@src/logger';
167-
import { logger } from 'rslog';
167+
import { logger } from 'prebundle-pkg';
168168
import type { Baz } from 'self-entry';
169169
import type { LoggerOptions } from './types.js';
170170
import { defaultOptions } from './types.js';
@@ -173,7 +173,7 @@ test('redirect.dts.path: false with dts.redirect.extension: true', async () => {
173173
export * from '@src/foo';
174174
export * from '@src/logger';
175175
export type { Foo } from '@src/types';
176-
export * from 'rslog';
176+
export * from 'prebundle-pkg';
177177
export type { Bar } from 'types';
178178
export * from './foo/index.js';
179179
export * from './types.js';
@@ -205,12 +205,12 @@ test('redirect.dts.extension: true with dts.autoExtension: true', async () => {
205205
expect(contents.esm4).toMatchInlineSnapshot(`
206206
{
207207
"<ROOT>/tests/integration/redirect/dts/dist/auto-extension-true/foo/foo.d.mts": "import { logRequest } from '../logger.mjs';
208-
import { logger } from '../../../compile/rslog';
208+
import { logger } from '../../../compile/prebundle-pkg';
209209
import { logRequest as logRequest2 } from '../logger.mjs';
210210
export { logRequest, logRequest2, logger };
211211
",
212212
"<ROOT>/tests/integration/redirect/dts/dist/auto-extension-true/foo/foo.d.ts": "import { logRequest } from '../logger.js';
213-
import { logger } from '../../../compile/rslog';
213+
import { logger } from '../../../compile/prebundle-pkg';
214214
import { logRequest as logRequest2 } from '../logger.js';
215215
export { logRequest, logRequest2, logger };
216216
",
@@ -219,7 +219,7 @@ test('redirect.dts.extension: true with dts.autoExtension: true', async () => {
219219
"<ROOT>/tests/integration/redirect/dts/dist/auto-extension-true/foo/index.d.ts": "export type Barrel = string;
220220
",
221221
"<ROOT>/tests/integration/redirect/dts/dist/auto-extension-true/index.d.mts": "import { logRequest } from './logger.mjs';
222-
import { logger } from '../../compile/rslog';
222+
import { logger } from '../../compile/prebundle-pkg';
223223
import type { Baz } from './index.mjs';
224224
import type { LoggerOptions } from './types.mjs';
225225
import { defaultOptions } from './types.mjs';
@@ -228,13 +228,13 @@ test('redirect.dts.extension: true with dts.autoExtension: true', async () => {
228228
export * from './foo/index.mjs';
229229
export * from './logger.mjs';
230230
export type { Foo } from './types.mjs';
231-
export * from '../../compile/rslog';
231+
export * from '../../compile/prebundle-pkg';
232232
export type { Bar } from './types.mjs';
233233
export * from './foo/index.mjs';
234234
export * from './types.mjs';
235235
",
236236
"<ROOT>/tests/integration/redirect/dts/dist/auto-extension-true/index.d.ts": "import { logRequest } from './logger.js';
237-
import { logger } from '../../compile/rslog';
237+
import { logger } from '../../compile/prebundle-pkg';
238238
import type { Baz } from './index.js';
239239
import type { LoggerOptions } from './types.js';
240240
import { defaultOptions } from './types.js';
@@ -243,7 +243,7 @@ test('redirect.dts.extension: true with dts.autoExtension: true', async () => {
243243
export * from './foo/index.js';
244244
export * from './logger.js';
245245
export type { Foo } from './types.js';
246-
export * from '../../compile/rslog';
246+
export * from '../../compile/prebundle-pkg';
247247
export type { Bar } from './types.js';
248248
export * from './foo/index.js';
249249
export * from './types.js';
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "prebundle-pkg",
3+
"version": "0.0.0"
4+
}

tests/integration/redirect/dts/compile/rslog/package.json

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { logRequest } from '@src/logger';
2-
import { logger } from 'rslog';
2+
import { logger } from 'prebundle-pkg';
33
import { logRequest as logRequest2 } from '../logger';
44

55
export { logRequest, logRequest2, logger };

tests/integration/redirect/dts/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { logRequest } from '@src/logger';
2-
import { logger } from 'rslog';
2+
import { logger } from 'prebundle-pkg';
33
import type { Baz } from 'self-entry';
44
import type { LoggerOptions } from './types';
55
import { defaultOptions } from './types.js';
@@ -18,7 +18,7 @@ export {
1818
export * from '@src/foo';
1919
export * from '@src/logger';
2020
export type { Foo } from '@src/types';
21-
export * from 'rslog';
21+
export * from 'prebundle-pkg';
2222
export type { Bar } from 'types';
2323
export * from './foo';
2424
export * from './types';

tests/integration/redirect/dts/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"paths": {
66
"*": ["./src/*"],
77
"@src/*": ["./src/*"],
8-
"rslog": ["./compile/rslog"],
8+
"prebundle-pkg": ["./compile/prebundle-pkg"],
99
"self-entry": ["./src"]
1010
}
1111
},

0 commit comments

Comments
 (0)