aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/with-rollup/packages/ui
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-11-03 21:17:06 +0800
committer简律纯 <i@jyunko.cn>2023-11-03 21:17:06 +0800
commit94071d7ce16c56641d67d488e2bac6be84ffe731 (patch)
treed837b71575aba805e18b3db3d056a106d81818fe /examples/with-rollup/packages/ui
parent9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 (diff)
downloadHydroRoll-94071d7ce16c56641d67d488e2bac6be84ffe731.tar.gz
HydroRoll-94071d7ce16c56641d67d488e2bac6be84ffe731.zip
chore: delete useless files
Diffstat (limited to 'examples/with-rollup/packages/ui')
-rw-r--r--examples/with-rollup/packages/ui/Button.tsx5
-rw-r--r--examples/with-rollup/packages/ui/index.tsx2
-rw-r--r--examples/with-rollup/packages/ui/package.json23
-rw-r--r--examples/with-rollup/packages/ui/rollup.config.js10
-rw-r--r--examples/with-rollup/packages/ui/tsconfig.json5
5 files changed, 0 insertions, 45 deletions
diff --git a/examples/with-rollup/packages/ui/Button.tsx b/examples/with-rollup/packages/ui/Button.tsx
deleted file mode 100644
index 3e5afc7..0000000
--- a/examples/with-rollup/packages/ui/Button.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-import * as React from "react";
-
-export const Button = () => {
- return <button>Boop</button>;
-};
diff --git a/examples/with-rollup/packages/ui/index.tsx b/examples/with-rollup/packages/ui/index.tsx
deleted file mode 100644
index 916730e..0000000
--- a/examples/with-rollup/packages/ui/index.tsx
+++ /dev/null
@@ -1,2 +0,0 @@
-import * as React from "react";
-export * from "./Button";
diff --git a/examples/with-rollup/packages/ui/package.json b/examples/with-rollup/packages/ui/package.json
deleted file mode 100644
index 0b3dd05..0000000
--- a/examples/with-rollup/packages/ui/package.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "name": "ui",
- "version": "0.0.0",
- "main": "dist/index.js",
- "types": "dist/index.d.ts",
- "license": "MIT",
- "scripts": {
- "lint": "eslint *.ts*",
- "build": "rollup --config",
- "dev": "pnpm run build -- --watch"
- },
- "devDependencies": {
- "@rollup/plugin-typescript": "^8.5.0",
- "@types/react": "^18.0.34",
- "@types/react-dom": "^17.0.11",
- "eslint": "^7.32.0",
- "eslint-config-custom": "workspace:*",
- "react": "^18.2.0",
- "rollup": "^2.79.0",
- "tsconfig": "workspace:*",
- "typescript": "^4.5.2"
- }
-}
diff --git a/examples/with-rollup/packages/ui/rollup.config.js b/examples/with-rollup/packages/ui/rollup.config.js
deleted file mode 100644
index 851f95f..0000000
--- a/examples/with-rollup/packages/ui/rollup.config.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import typescript from "@rollup/plugin-typescript";
-
-export default {
- input: "index.tsx",
- output: {
- file: "dist/index.js",
- format: "cjs",
- },
- plugins: [typescript()],
-};
diff --git a/examples/with-rollup/packages/ui/tsconfig.json b/examples/with-rollup/packages/ui/tsconfig.json
deleted file mode 100644
index cd6c94d..0000000
--- a/examples/with-rollup/packages/ui/tsconfig.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "extends": "tsconfig/react-library.json",
- "include": ["."],
- "exclude": ["dist", "build", "node_modules"]
-}