Skip to content

Commit

Permalink
refactor(website): Fix path to website folder
Browse files Browse the repository at this point in the history
  • Loading branch information
denysdovhan committed Jul 5, 2022
1 parent c46db29 commit 2382cd7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ jobs:
- name: 📦 Install Packages
run: yarn install --frozen-lockfile

# FIXME: Build all package after publishing to npm
- name: ⚙️ Build Packages
run: yarn workspace @autoviews/core build
run: yarn build

- name: 👤 Setup Identity
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website-deoploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Website Deploy

defaults:
run:
working-directory: packages/website
working-directory: website

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
},
{
"files": "*.md",
"files": "website/**/*.md",
"options": {
"parser": "mdx"
}
Expand Down
6 changes: 5 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ Write tests and add new functionality.
To start development server in for docs, run:

```sh
yarn workspace @autoviews/website start
# Go to website folder
cd website

# Start development server
yarn start
```

Note: the website is dependent on the core package and requires a build of the
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"build": "lerna run build --stream --parallel",
"test": "lerna run test --stream --parallel",
"clear": "lerna run clear --stream --parallel",
"release": "lerna publish -y",
"lint": "lerna run lint --stream --parallel",
"release": "lerna publish -y",
"format": "prettier --write --ignore-path .gitignore ."
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/wix-incubator/autoviews/tree/master/packages/website'
'https://github.com/wix-incubator/autoviews/tree/master/website'
},
// blog: {
// showReadingTime: true,
Expand Down

0 comments on commit 2382cd7

Please sign in to comment.