Skip to content

Commit

Permalink
update docs url and add engine definition
Browse files Browse the repository at this point in the history
  • Loading branch information
cindyorangis committed Feb 2, 2022
1 parent aae88be commit 6a97084
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
5 changes: 4 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ module.exports = {
plugins: ['prettier', 'promise', 'jest', 'anti-trojan-source'],
settings: {
'import/resolver': {
node: {},
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
},
react: {
version: '17.0',
Expand Down Expand Up @@ -102,6 +104,7 @@ module.exports = {
],
plugins: ['react', 'react-hooks'],
rules: {
'import/extensions': 'off',
'no-use-before-define': 'off',
'node/prefer-global/url': 'off',
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
Expand Down
7 changes: 2 additions & 5 deletions config/env.development
Original file line number Diff line number Diff line change
Expand Up @@ -164,15 +164,12 @@ PLANET_PORT=9876


################################################################################
# Documentation Service
# Docusaurus App
################################################################################

# Documentation Service Port (default is 4631)
# Docusaurus Server Port (default is 4631)
DOCS_PORT=4631

# Documentation Service URL
DOCS_URL=http://localhost/v1/docs


################################################################################
# Telescope 1.0 Legacy Environment
Expand Down
8 changes: 4 additions & 4 deletions config/env.production
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,14 @@ PLANET_PORT=9876


################################################################################
# Documentation Service
# Docusaurus App
################################################################################

# Documentation Service Port (default is 4631)
# Docusaurus Server Port (default is 4631)
DOCS_PORT=4631

# Documentation Service URL
DOCS_URL=https://api.telescope.cdot.systems/v1/docs
# Docusaurus App URL
DOCS_URL=https://telescope.cdot.systems/docs


################################################################################
Expand Down
8 changes: 4 additions & 4 deletions config/env.staging
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,14 @@ PLANET_PORT=9876


################################################################################
# Documentation Service
# Docusaurus App
################################################################################

# Documentation Service Port (default is 4631)
# Docusaurus Server Port (default is 4631)
DOCS_PORT=4631

# Documentation Service URL
DOCS_URL=https://dev.api.telescope.cdot.systems/v1/docs
# Docusaurus App URL
DOCS_URL=https://dev.telescope.cdot.systems/docs


################################################################################
Expand Down
3 changes: 3 additions & 0 deletions src/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"engines": {
"node": ">=14"
}
}

0 comments on commit 6a97084

Please sign in to comment.