Skip to content

Commit

Permalink
build(docs): small updates after switching to free hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaursen committed Apr 24, 2021
1 parent b0e8ccb commit 96e2dcd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 32 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -19,7 +19,6 @@ packages/*/*.tsbuildinfo
# Documentation ignores since .gitignore in child directories isn't picked up by
# ag
/packages/documentation/.next
/packages/documentation/build
/packages/documentation/.env*.local

# Copies/generated by dev-utils during builds
Expand Down
25 changes: 0 additions & 25 deletions deploy.sh

This file was deleted.

3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -8,15 +8,14 @@
"prepare": "husky install",
"cz": "cz",
"release": "dev-utils release",
"dev-utils": "dev-utils",
"sandbox": "dev-utils sandbox",
"start": "yarn workspace documentation start-dev",
"dev": "npm-run-all -p watch start",
"setup": "npm-run-all build-dev-utils force-install build \"sandbox --empty\"",
"force-install": "yarn --force",
"sassdoc": "dev-utils sassdoc",
"styles": "dev-utils styles",
"variables": "dev-utils variables",
"build-docs": "yarn workspace documentation build",
"build-dev-utils": "yarn workspace @react-md/dev-utils build",
"build-ejs": "tsc -b tsconfig.ejs.json",
"build-cjs": "tsc -b tsconfig.cjs.json",
Expand Down
1 change: 0 additions & 1 deletion packages/documentation/next.config.js
Expand Up @@ -10,7 +10,6 @@ const withCustomConfig = (nextConfig = {}) => {
webpack5: true,
strictPostcssConfiguration: true,
},
distDir: 'build',
poweredByHeader: false,
compress: false,
webpack(config, options) {
Expand Down
8 changes: 5 additions & 3 deletions packages/documentation/package.json
Expand Up @@ -4,13 +4,15 @@
"description": "The documentation site for react-md",
"private": true,
"scripts": {
"prebuild": "npm-run-all -p index update-env",
"index": "dev-utils doc-index",
"prebuild": "npm-run-all sandbox sassdoc run-indexer update-env",
"sandbox": "dev-utils sandbox",
"sassdoc": "dev-utils sassdoc",
"run-indexer": "dev-utils doc-index",
"update-env": "node updateProdEnv.js",
"dev": "cross-env NEXT_TELEMETRY_DISABLED=1 next dev",
"build": "cross-env NEXT_TELEMETRY_DISABLED=1 next build",
"start": "cross-env NEXT_TELEMETRY_DISABLED=1 NODE_ENV=production next start",
"start-dev": "npm-run-all index dev",
"start-dev": "npm-run-all run-indexer dev",
"start-prod": "npm-run-all build start"
},
"author": "Mikkel Laursen <mlaursen03@gmail.com>",
Expand Down

0 comments on commit 96e2dcd

Please sign in to comment.