Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Commit

Permalink
Rename 'publish-docs' to 'publish-web-pages'
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed Mar 5, 2020
1 parent 6b6ed28 commit a790d4c
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 8 deletions.
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.
8 changes: 4 additions & 4 deletions tools/scripts/bin/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ abstract class Dict {
...args
).exit.onerror()

await this.callCmd('publishDocs')
await this.callCmd('publishWebPages')
await this.callCmd('postpublish')
}
)
Expand Down Expand Up @@ -249,17 +249,17 @@ abstract class Dict {
this.mkspawn(commands.jest)
)

public readonly publishDocs = new Command(
public readonly publishWebPages = new Command(
'Publish documentation to gh-pages',
this.mkspawn(commands.publishDocs)
this.mkspawn(commands.publishWebPages)
)

public readonly updateDocs = new Command(
'Rebuild and publish documentation to gh-pages',
async () => {
await this.callCmd('cleanDocs')
await this.callCmd('buildDocs')
await this.callCmd('publishDocs')
await this.callCmd('publishWebPages')
}
)

Expand Down
2 changes: 1 addition & 1 deletion tools/scripts/lib/commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const createNewFolder = require.resolve('@tools/create-new-folder/bin')
export const docs = require.resolve('@tools/docs/bin')
export const gitTagVersions = require.resolve('@tools/git-tag-versions/bin')
export const makeMJS = require.resolve('@tools/make-mjs/bin')
export const publishDocs = require.resolve('@tools/publish-docs/bin')
export const publishWebPages = require.resolve('@tools/publish-web-pages/bin')
export const publishTagPush = require.resolve('@tools/publish-tag-push/bin')
export const preloadedNode = require.resolve('@tools/preloaded-node/bin')
export const standardjs = require.resolve('@tools/standardjs/bin')
Expand Down
2 changes: 1 addition & 1 deletion tools/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@tools/docs": "file:../docs",
"@tools/git-tag-versions": "file:../git-tag-versions",
"@tools/ignore-file": "file:../ignore-file",
"@tools/publish-docs": "file:../publish-docs",
"@tools/publish-web-pages": "file:../publish-web-pages",
"@tools/publish-tag-push": "file:../publish-tag-push",
"@tools/jest": "file:../jest",
"@tools/make-mjs": "file:../make-mjs",
Expand Down
4 changes: 2 additions & 2 deletions tools/scripts/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a790d4c

Please sign in to comment.