Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
williamlmao committed Feb 28, 2023
2 parents 32a58c9 + ccf7315 commit 495657e
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ dist-ssr
server/dist
public/dist
storybook-static/
apps/docs/cypress/videos/
apps/docs/cypress/videos/
1 change: 1 addition & 0 deletions apps/docs/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ export default defineConfig({
},
experimentalStudio: true,
baseUrl: "http://localhost:3000",
supportFile: false,
},
});
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"test": "cypress open"
"test": "cypress run"
},
"dependencies": {
"@chimera-ui/components": "workspace:*",
Expand Down
19 changes: 19 additions & 0 deletions apps/docs/pages/docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Installation"
---

## General Installation

import { Callout } from 'nextra-theme-docs'
import Link from 'next/link'

Expand Down Expand Up @@ -152,3 +154,20 @@ html[data-theme="zookeper"] {
```
</details>
## Remix
Installing with remix requires one additional step.
In `remix.config.js` you need to add the `serverDependenciesToBundle` option. Read more [here](https://remix.run/docs/en/v1/pages/gotchas#importing-esm-packages).
```
/** @type {import('@remix-run/dev').AppConfig} */
module.exports = {
future: {
unstable_tailwind: true,
},
ignoredRouteFiles: ["**/.*"],
serverDependenciesToBundle: ["@chimera-ui/components"],
};
```
6 changes: 0 additions & 6 deletions index.js

This file was deleted.

10 changes: 0 additions & 10 deletions index.ts

This file was deleted.

13 changes: 12 additions & 1 deletion packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
# @chimera-ui/components

## 0.3.0

### Minor Changes

- 1874a09: Fixed issue with Remix where exports in package.json was breaking remix builds

## 0.1.0

### Minor Changes

- d9fa560: Initial publish
- efd2e64: Exposes default classes in intellisense

## 0.2.0

### Minor Changes

- Added default classes to intellisense for any subcomponents that have them.
6 changes: 1 addition & 5 deletions packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
{
"name": "@chimera-ui/components",
"version": "0.1.0",
"version": "0.3.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"sideEffects": [
"**/*.css"
],
"exports": {
".": "./dist",
"./styles.css": "./dist/index.css"
},
"license": "MIT",
"files": [
"dist/**"
Expand Down

0 comments on commit 495657e

Please sign in to comment.