aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/with-changesets/packages/acme-core
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-changesets/packages/acme-core')
-rw-r--r--examples/with-changesets/packages/acme-core/.eslintrc.js4
-rw-r--r--examples/with-changesets/packages/acme-core/package.json31
-rw-r--r--examples/with-changesets/packages/acme-core/src/Button.tsx11
-rw-r--r--examples/with-changesets/packages/acme-core/src/index.tsx2
-rw-r--r--examples/with-changesets/packages/acme-core/tsconfig.json5
5 files changed, 0 insertions, 53 deletions
diff --git a/examples/with-changesets/packages/acme-core/.eslintrc.js b/examples/with-changesets/packages/acme-core/.eslintrc.js
deleted file mode 100644
index b2a3fa9..0000000
--- a/examples/with-changesets/packages/acme-core/.eslintrc.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = {
- root: true,
- extends: ["acme"],
-};
diff --git a/examples/with-changesets/packages/acme-core/package.json b/examples/with-changesets/packages/acme-core/package.json
deleted file mode 100644
index 8aa79ba..0000000
--- a/examples/with-changesets/packages/acme-core/package.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "name": "@acme/core",
- "version": "0.0.0",
- "main": "./dist/index.js",
- "module": "./dist/index.mjs",
- "types": "./dist/index.d.ts",
- "sideEffects": false,
- "license": "MIT",
- "files": [
- "dist/**"
- ],
- "scripts": {
- "build": "tsup src/index.tsx --format esm,cjs --dts --external react",
- "dev": "tsup src/index.tsx --format esm,cjs --watch --dts --external react",
- "lint": "eslint \"src/**/*.ts*\"",
- "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
- },
- "devDependencies": {
- "@acme/tsconfig": "workspace:*",
- "eslint": "^7.32.0",
- "eslint-config-acme": "workspace:*",
- "@types/react": "^17.0.13",
- "@types/react-dom": "^17.0.8",
- "react": "^17.0.2",
- "tsup": "^5.10.1",
- "typescript": "^4.5.3"
- },
- "publishConfig": {
- "access": "public"
- }
-}
diff --git a/examples/with-changesets/packages/acme-core/src/Button.tsx b/examples/with-changesets/packages/acme-core/src/Button.tsx
deleted file mode 100644
index fbd6ee0..0000000
--- a/examples/with-changesets/packages/acme-core/src/Button.tsx
+++ /dev/null
@@ -1,11 +0,0 @@
-import * as React from "react";
-
-export interface ButtonProps {
- children: React.ReactNode;
-}
-
-export function Button(props: ButtonProps) {
- return <button>{props.children}</button>;
-}
-
-Button.displayName = "Button";
diff --git a/examples/with-changesets/packages/acme-core/src/index.tsx b/examples/with-changesets/packages/acme-core/src/index.tsx
deleted file mode 100644
index f623b20..0000000
--- a/examples/with-changesets/packages/acme-core/src/index.tsx
+++ /dev/null
@@ -1,2 +0,0 @@
-import * as React from "react";
-export { Button, type ButtonProps } from "./Button";
diff --git a/examples/with-changesets/packages/acme-core/tsconfig.json b/examples/with-changesets/packages/acme-core/tsconfig.json
deleted file mode 100644
index 9be70c0..0000000
--- a/examples/with-changesets/packages/acme-core/tsconfig.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "extends": "@acme/tsconfig/react-library.json",
- "include": ["."],
- "exclude": ["dist", "build", "node_modules"]
-}