Skip to content

Commit

Permalink
Merge pull request #135 from wix-incubator/decouple-website
Browse files Browse the repository at this point in the history
refactor: move website to repo root
  • Loading branch information
denysdovhan authored Jul 8, 2022
2 parents 786c618 + 2382cd7 commit b37ad1c
Show file tree
Hide file tree
Showing 98 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.

0 comments on commit b37ad1c

Please sign in to comment.