Skip to content

Commit

Permalink
Merge branch 'staging' of https://github.com/moishinetzer/compote int…
Browse files Browse the repository at this point in the history
…o staging
  • Loading branch information
moishinetzer committed Jan 24, 2023
2 parents 4bc80db + 88f4a21 commit e866c3c
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 17 deletions.
5 changes: 0 additions & 5 deletions .changeset/empty-experts-promise.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hungry-flowers-pretend.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nine-seas-relate.md

This file was deleted.

36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# compote

## 0.0.9

### Patch Changes

- b0bbe57: typings and other changes

## 0.0.8

### Patch Changes

- 6f7eb9b: fix css and al

## 0.0.7

### Patch Changes

- 8890c95: fix css

## 0.0.6

### Patch Changes

- 2e6d436: include styles

## 0.0.5

### Patch Changes

- d2676bf: change to tsup

## 0.0.4

### Patch Changes

- 7974dd0: add test div component

## 0.0.2

### Patch Changes
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"name": "pbandj",
"license": "MIT",
"version": "0.0.3",
"version": "0.0.9",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"build": "tsup",
Expand Down
2 changes: 2 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useState } from "react";
import reactLogo from "./assets/react.svg";
import { Button } from "./Button";
import { Div } from "./Div";

function App() {
const [count, setCount] = useState(0);
Expand Down Expand Up @@ -28,6 +29,7 @@ function App() {
Click on the Vite and React logos to learn more
</p>
<Button />
<Div />
</div>
);
}
Expand Down
3 changes: 3 additions & 0 deletions src/Div.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import "./App.css";
import "./index.css";

export function Div() {
return (
<div>
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Export the Button component
import "./index.css";
export * from "./Button";
export * from "./Div";
1 change: 1 addition & 0 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ export default defineConfig({
clean: true,
minify: true,
external: ["react", "react-dom"],
injectStyle: true,
});

0 comments on commit e866c3c

Please sign in to comment.