Skip to content

Commit db54328

Browse files
committed
chore: update
1 parent fce4f8e commit db54328

File tree

20 files changed

+281
-0
lines changed

20 files changed

+281
-0
lines changed

pnpm-lock.yaml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export * from './utils/numbers';
2+
export * from './utils/strings';
3+
export * from './sum';
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { num1, num2, num3 } from './utils/numbers';
2+
import { str1, str2, str3 } from './utils/strings';
3+
4+
export const numSum = num1 + num2 + num3;
5+
export const strSum = str1 + str2 + str3;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export const num1 = 1;
2+
export const num2 = 2;
3+
export const num3 = 3;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export const str1 = 'str1';
2+
export const str2 = 'str2';
3+
export const str3 = 'str3';
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "dts-composite-abort-on-error-test",
3+
"version": "1.0.0",
4+
"private": true,
5+
"type": "module"
6+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import { defineConfig } from '@rslib/core';
2+
import { generateBundleEsmConfig } from 'test-helper';
3+
4+
export default defineConfig({
5+
lib: [
6+
generateBundleEsmConfig({
7+
bundle: false,
8+
dts: {
9+
bundle: false,
10+
abortOnError: false,
11+
},
12+
}),
13+
],
14+
source: {
15+
entry: {
16+
index: ['./src/**'],
17+
},
18+
},
19+
});
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export interface A {
2+
a: number;
3+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import type { A } from './const';
2+
3+
export const getA = (item: A) => {
4+
item.a = '0';
5+
return item;
6+
};
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": "@rslib/tsconfig/base",
3+
"compilerOptions": {
4+
"baseUrl": "./",
5+
"rootDir": "src",
6+
"composite": true
7+
},
8+
"include": ["src"]
9+
}

0 commit comments

Comments
 (0)