mirror of
https://gitee.com/bitdance-team/chrome-extension
synced 2025-10-08 00:45:13 +08:00
feat: add monorepo
This commit is contained in:
1
packages/shared/src/index.ts
Normal file
1
packages/shared/src/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './lib/shared';
|
7
packages/shared/src/lib/shared.spec.ts
Normal file
7
packages/shared/src/lib/shared.spec.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { shared } from './shared';
|
||||
|
||||
describe('shared', () => {
|
||||
it('should work', () => {
|
||||
expect(shared()).toEqual('shared');
|
||||
});
|
||||
});
|
3
packages/shared/src/lib/shared.ts
Normal file
3
packages/shared/src/lib/shared.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export function shared(): string {
|
||||
return 'shared';
|
||||
}
|
Reference in New Issue
Block a user