Skip to content

Commit

Permalink
Merge branch 'master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Barokai committed Sep 5, 2023
2 parents 499e6cb + acd9232 commit f15c786
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 25 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
26 changes: 8 additions & 18 deletions azure-pipeline.yml
@@ -1,9 +1,8 @@
name: 4.1$(rev:.r)
name: 4.2$(rev:.r)
trigger:
branches:
include:
- master

pool:
vmImage: 'ubuntu-latest'
demands: npm
Expand All @@ -17,7 +16,7 @@ steps:

# Set yarn version
- task: Bash@3
displayName: 'Install'
displayName: 'Set yarn version'
inputs:
targetType: 'inline'
script: 'yarn set version stable'
Expand All @@ -44,28 +43,19 @@ steps:
targetType: 'inline'
script: 'yarn install --immutable --immutable-cache'

# Build
- task: Bash@3
displayName: 'Build'
inputs:
targetType: 'inline'
script: 'yarn build'
# failOnStderr: true

# Lint
# Test
- task: Bash@3
displayName: 'Lint'
displayName: 'Test'
inputs:
targetType: 'inline'
script: 'yarn lint'
failOnStderr: true
script: 'yarn test --ci'

# Test
# Build
- task: Bash@3
displayName: 'Test'
displayName: 'Build'
inputs:
targetType: 'inline'
script: 'yarn test --ci'
script: 'yarn workspace next-sitemap build && yarn workspace next-sitemap postbuild'

# Copy README
- task: Bash@3
Expand Down
12 changes: 6 additions & 6 deletions docs/app/components/Footer.tsx
@@ -1,9 +1,9 @@
const Footer = () => {
return (
<>
<div className="bg-neutral-200 dark:bg-slate-900 flex flex-col md:flex-row md:justify-evenly items-center p-3 border-t border-slate-300 dark:border-slate-700 text-sm font-ranadeLight">
<div className="flex flex-row max-md:flex-col items-center">
<p className=" px-2">
<div className="flex flex-col items-center p-3 text-sm border-t bg-neutral-200 dark:bg-slate-900 md:flex-row md:justify-evenly border-slate-300 dark:border-slate-700 font-ranadeLight">
<div className="flex flex-row items-center max-md:flex-col">
<p className="px-2 ">
Created by:&nbsp;
<a
href="https://github.com/iamvishnusankar/next-sitemap/graphs/contributors"
Expand All @@ -14,7 +14,7 @@ const Footer = () => {
Vishnu Sankar & Contributors.&nbsp;
</a>
</p>
<p className=" max-md:my-2 px-2">
<p className="px-2 max-md:my-2">
Font From:&nbsp;
<a
href="https://www.fontshare.com/"
Expand All @@ -26,9 +26,9 @@ const Footer = () => {
</a>
</p>
</div>
<div className=" flex flex-col md:flex-row items-center mb:4">
<div className="flex flex-col items-center md:flex-row mb:4">
<a
href="https://github.com/iamvishnusankar/next-sitemap/docs"
href="https://github.com/iamvishnusankar/next-sitemap/tree/master/docs"
target="_blank"
className="text-slate-400 hover:underline hover:cursor-pointer hover:text-neutral-200"
rel="noopener noreferrer"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -18,7 +18,7 @@
"clean": "tsc --build --clean",
"dev:test": "jest --watchAll",
"dev:tsc": "tsc --build --watch",
"build": "turbo run build --force",
"build": "turbo run deploy --force",
"test": "jest --ci --coverage --verbose",
"lint": "eslint . && yarn prettier:check",
"prettier:check": "prettier --check \"**/*.{js,mjs,cjs,jsx,json,ts,tsx,md,mdx,css,html,yml,yaml,scss,less,graphql,graphqls,gql}\"",
Expand Down
13 changes: 13 additions & 0 deletions turbo.json
Expand Up @@ -4,6 +4,19 @@
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**"]
},
"postbuild": {
"dependsOn": ["^postbuild"],
"outputs": [
"dist/**",
".next/**",
"public/robots.txt",
"public/sitemap*.xml"
]
},
"deploy": {
"dependsOn": ["build", "postbuild"],
"outputs": []
},
"lint": {
"outputs": []
},
Expand Down

0 comments on commit f15c786

Please sign in to comment.