Skip to content

Commit

Permalink
Fix build steps in packages adding missing /dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
elrumordelaluz committed Aug 25, 2022
1 parent deeba05 commit 7b1497b
Show file tree
Hide file tree
Showing 77 changed files with 721 additions and 12,066 deletions.
38 changes: 17 additions & 21 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
{
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": ["error"]
},
"env": {
"browser": true,
"es6": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"prettier"
]
"plugins": ["prettier"],
"rules": {
"prettier/prettier": ["error"]
},
"env": {
"browser": true,
"es6": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": ["prettier"]
}
22 changes: 11 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
---**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,15 +22,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
5 changes: 1 addition & 4 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
---**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ yarn-error.log*

# turbo
.turbo

dist
22 changes: 11 additions & 11 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
- Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
- The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities
Expand Down Expand Up @@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
Expand Down
9 changes: 9 additions & 0 deletions apps/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# docs

## 0.0.1

### Patch Changes

- Fix build step including /dist folder
- Updated dependencies
- @reactour/utils@0.4.1
4 changes: 2 additions & 2 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "0.0.0",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "next dev --port 3201",
Expand All @@ -21,7 +21,7 @@
"config": "*",
"eslint": "8.22.0",
"next-transpile-modules": "9.0.0",
"tsconfig": "*",
"@reactour/tsconfig": "*",
"typescript": "^4.7.4"
}
}
2 changes: 1 addition & 1 deletion apps/docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "tsconfig/nextjs.json",
"extends": "@reactour/tsconfig/nextjs.json",
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}
2 changes: 1 addition & 1 deletion apps/web/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require("config/eslint-preset");
module.exports = require('@reactour/config/eslint-preset')
6 changes: 6 additions & 0 deletions apps/web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# web

## 0.0.2

### Patch Changes

- Fix build step including /dist folder

## 0.0.1

### Patch Changes
Expand Down
22 changes: 10 additions & 12 deletions apps/web/components/Demo.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
import { Text, Spacer, Snippet, StyledSnippetPre } from '@nextui-org/react'
import { TourProvider, ProviderProps, StepType } from '@reactour/tour'

const Demo: React.FC<
React.PropsWithChildren<{
title?: string
description?: string
demoId: string
length?: number
customSteps?: StepType[]
providerProps?: Omit<ProviderProps, 'steps' | 'children'>
code?: string
}>
> = ({
const Demo: React.FC<React.PropsWithChildren<{
title?: string
description?: string
demoId: string
length?: number
customSteps?: StepType[]
providerProps?: Omit<ProviderProps, 'steps' | 'children'>
code?: string
}>> = ({
title,
description,
demoId,
Expand Down Expand Up @@ -64,7 +62,7 @@ const stepsContent = [
<p>Play beach ball all day long!</p>,
<p>Then, a deliciuos ice cream!</p>,
<p>What about going to fish?</p>,
<p>Let's stay traveling!</p>,
<p>Let`&apos;s stay traveling!</p>,
]

const Code: React.FC<React.PropsWithChildren<unknown>> = ({ children }) => {
Expand Down
14 changes: 8 additions & 6 deletions apps/web/components/Placeholder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import { useTour } from '@reactour/tour'
import * as Icon from '../icons'
import MockItem from './Mock'

const Placeholder: React.FC<
GridContainerProps & { demoId: string; length: number }
> = ({ demoId, length = 3, children, ...props }) => {
const Placeholder: React.FC<GridContainerProps & {
demoId: string
length: number
}> = ({ demoId, length = 3, children, ...props }) => {
const { setIsOpen } = useTour()
return (
<>
Expand All @@ -20,9 +21,10 @@ const Placeholder: React.FC<

export default Placeholder

export const PlaceholderGrid: React.FC<
GridContainerProps & { demoId: string; length: number }
> = ({ demoId, length = 3, ...props }) => {
export const PlaceholderGrid: React.FC<GridContainerProps & {
demoId: string
length: number
}> = ({ demoId, length = 3, ...props }) => {
return (
<Grid.Container gap={2} {...props}>
{Array.from({ length }, (_, i) => (
Expand Down
2 changes: 1 addition & 1 deletion apps/web/icons/Ball.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const BallIcon: React.FC<{}> = (props) => {
const BallIcon: React.FC<{}> = props => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down
2 changes: 1 addition & 1 deletion apps/web/icons/Beach.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const BeachIcon: React.FC<{}> = (props) => {
const BeachIcon: React.FC<{}> = props => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down
2 changes: 1 addition & 1 deletion apps/web/icons/Boat.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const BoatIcon: React.FC<{}> = (props) => {
const BoatIcon: React.FC<{}> = props => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down
2 changes: 1 addition & 1 deletion apps/web/icons/Guide.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const GuideIcon: React.FC<{}> = (props) => {
const GuideIcon: React.FC<{}> = props => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down
2 changes: 1 addition & 1 deletion apps/web/icons/Icecream.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const IcecreamIcon: React.FC<{}> = (props) => {
const IcecreamIcon: React.FC<{}> = props => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down
3 changes: 3 additions & 0 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ const withTM = require('next-transpile-modules')([

module.exports = withTM({
reactStrictMode: true,
images: {
domains: ['cdn.dribbble.com'],
},
})
5 changes: 3 additions & 2 deletions apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web",
"version": "0.0.1",
"version": "0.0.2",
"private": true,
"scripts": {
"dev": "next dev --port 3200",
Expand All @@ -25,8 +25,9 @@
"@types/react": "18.0.17",
"config": "*",
"eslint": "8.22.0",
"eslint-plugin-prettier": "^4.2.1",
"next-transpile-modules": "9.0.0",
"tsconfig": "*",
"@reactour/tsconfig": "*",
"typescript": "^4.7.4"
}
}
2 changes: 1 addition & 1 deletion apps/web/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { AppProps } from 'next/app'
import { AppProps } from 'next/app'
import { NextUIProvider } from '@nextui-org/react'
import '../styles.css'

Expand Down
Loading

0 comments on commit 7b1497b

Please sign in to comment.