Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allows evergreen documentation #186

Merged
merged 2 commits into from
Apr 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ node_modules
/.out
/docs/public
/.cache
/for-docs
1 change: 1 addition & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ WORKDIR /usr/app
COPY . .
RUN yarn
RUN yarn lint
RUN yarn build

WORKDIR /usr/app/docs

Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "Kameron (@sharkparty), Steve (@zero0Halo)",
"dependencies": {
"@reach/component-component": "^0.1.3",
"@retailmenot/anchor": "^1.5.0",
"@retailmenot/anchor": "file:../for-docs",
"@xstyled/styled-components": "1.10.0",
"@xstyled/system": "1.10.0",
"algoliasearch": "^3.35.1",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@
"secure": "npx is-website-vulnerable https://anchor.retailmenot.design",
"test:dev": "jest --watch --env=jsdom",
"clean": "rm -rf esm commonjs ts .cache && git clean -Xdf",
"build": "concurrently --names 'modules,typescript' 'npm run build:modules' 'npm run build:ts'",
"build": "concurrently --names 'modules,typescript' 'npm run build:modules' 'npm run build:ts';yarn run build:for-docs;",
"build:ts": "tsc -d",
"build:modules": "rollup -c rollup.config.js",
"build:for-docs": "mkdir -p for-docs; cp -r esm for-docs; cp -r ts for-docs; cp -r commonjs for-docs; cp package.json for-docs",
"ci": "concurrently --names 'lint,test' 'npm run lint' 'npm run test'",
"prepublishOnly": "npm run build",
"lint": "concurrently --names 'pretty,eslint' 'npm run pretty' 'npm run eslint -- --quiet'",
Expand Down