-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
56 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
const { resolve: resolvePath } = require('path'); | ||
const { resolveRootPath } = require('@knosys/sdk'); | ||
|
||
const utils = require('./nop-project'); | ||
const ksUtils = require('./knosys'); | ||
const nopUtils = require('./nop-project'); | ||
|
||
function getNopThemeDirPath() { | ||
return resolvePath(resolveRootPath(), utils.resolveSiteSrcDir('default'), 'themes/nop-project'); | ||
return resolvePath(ksUtils.resolveRootPath(), nopUtils.resolveSiteSrcDir('default'), 'themes/nop-project'); | ||
} | ||
|
||
module.exports = { ...utils, getNopThemeDirPath }; | ||
module.exports = { ...ksUtils, ...nopUtils, getNopThemeDirPath }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = { ...require('@knosys/sdk'), ...require('ksio') }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env node | ||
|
||
require('./helper').execute(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{ | ||
"name": "@nop/website", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Official website", | ||
"private": true, | ||
"main": "index.js", | ||
"scripts": { | ||
"copy": "ksio copy", | ||
"build": "ksio gen", | ||
"clean": "ksio clean", | ||
"start": "ksio serve", | ||
"release": "ksio release" | ||
"copy": "node .knosys/scripts copy", | ||
"build": "node .knosys/scripts gen", | ||
"clean": "node .knosys/scripts clean", | ||
"start": "node .knosys/scripts serve", | ||
"release": "node .knosys/scripts release" | ||
}, | ||
"author": "Ourai L. <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -32,6 +32,6 @@ | |
"devDependencies": { | ||
"@ntks/toolbox": "0.0.6", | ||
"hexo-theme-lime": "0.0.0-alpha.1", | ||
"ksio": "0.0.0" | ||
"ksio": "0.0.1" | ||
} | ||
} |