Skip to content

Commit

Permalink
fix: folder structure updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Gonzalez committed Feb 12, 2023
1 parent 06389f9 commit c34b397
Show file tree
Hide file tree
Showing 13 changed files with 17,223 additions and 11,201 deletions.
8 changes: 0 additions & 8 deletions dist/components/ExampleComponent.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/index.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './components';
export * from './example';
17,207 changes: 17,207 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"type": "git"
},
"release": {
"branches": ["main"]
"branches": [
"main"
]
},
"scripts": {
"start": "tsdx watch",
Expand Down Expand Up @@ -94,5 +96,8 @@
"@semantic-release/github",
"@semantic-release/npm",
"@semantic-release/git"
]
],
"dependencies": {
"registry-url": "^6.0.1"
}
}
20 changes: 0 additions & 20 deletions src/components/ExampleComponent.tsx

This file was deleted.

1 change: 0 additions & 1 deletion src/components/index.ts

This file was deleted.

5 changes: 5 additions & 0 deletions src/example/Example/Example.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import React from 'react'

const Example = () => <h1>Example component</h1>

export default Example
1 change: 1 addition & 0 deletions src/example/Example/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default as Example } from './Example'
1 change: 1 addition & 0 deletions src/example/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './Example'
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './components'
export * from './example'
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
// see https://www.typescriptlang.org/tsconfig to better understand tsconfigs
"include": ["src", "types"],
"compilerOptions": {
"declaration": true,
Expand Down
11,166 changes: 0 additions & 11,166 deletions yarn.lock

This file was deleted.

0 comments on commit c34b397

Please sign in to comment.