Skip to content

Commit 4d580f2

Browse files
SanderEliasVillanuevand
authored andcommitted
fix(scully readme): put readme back on npm
Due to a refactor the readme was lost in the npm package, this puts it back in its place
1 parent df0190d commit 4d580f2

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
"ng": "ng",
66
"tsc": "tsc",
77
"generate": "tsc -p ./scully/tsconfig.scully.json && node ./scully/bin",
8-
"scully:dev:watch": "tsc -w -p ./scully/tsconfig.scully.json",
8+
"scully:dev:watch": "tsc -w -p ./scully/tsconfig.scully.json",
99
"scully:dev:compile": "tsc -p ./scully/tsconfig.scully.json",
1010
"scully:dev:run": "nodemon ./dist/scully/scully.js --ext js",
11-
"scully:serve": "nodemon ./dist/scully/scully.js serve --ext js ",
11+
"scully:serve": "nodemon ./dist/scully/scully.js serve --ext js ",
1212
"scully:dev:all": "ng build @scullyio/ng-lib && ng build && npm run scully:dev:compile && node ./dist/scully/scully",
13-
"scully:publish:patch": "cd ./scully && tsc -p ./tsconfig.scully.json && npm version patch && cp ./package.json ../dist/scully && cd ../dist/scully && npm publish --access=public",
13+
"scully:publish:patch": "cd ./scully && tsc -p ./tsconfig.scully.json && npm version patch && cp ./package.json ../dist/scully &&cp ./readme.md ../dist/scully && cd ../dist/scully && npm publish --access=public",
1414
"scully:publish:minor": "tsc -p ./tsconfig.scully.json && npm version minor",
1515
"scully:publish:major": "tsc -p ./tsconfig.scully.json && npm version major",
1616
"commit": "git add . && npx git-cz",
17-
"commit:select": "npx git-cz",
17+
"commit:select": "npx git-cz",
1818
"build-bazel": "bazel build //...",
1919
"test-bazel": "bazel test //...",
2020
"compile-scully-watch": "ibazel build //scully:compile"

scully/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@scullyio/scully",
3-
"version": "0.0.50",
3+
"version": "0.0.52",
44
"description": "Scully CLI",
55
"repository": {
66
"type": "GIT",

scully/utils/config.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const loadIt = async () => {
4545
distFolder,
4646
appPort: /** 1864 */ 'herodevs'.split('').reduce((sum, token) => (sum += token.charCodeAt(0)), 1000),
4747
staticport: /** 1771 */ 'scully'.split('').reduce((sum, token) => (sum += token.charCodeAt(0)), 1000),
48-
defaultPostRenderers:[];
48+
defaultPostRenderers: [],
4949
}
5050
// compiledConfig
5151
) as ScullyConfig;
@@ -58,9 +58,7 @@ export const updateScullyConfig = async (config: Partial<ScullyConfig>) => {
5858
/** note, an invalid config will abort the entire program. */
5959
const newConfig = Object.assign({}, scullyConfig, config);
6060
if (config.outDir === undefined) {
61-
logWarn(
62-
`The option outDir isn't configured, using default folder "${yellow(scullyConfig.outDir)}".`
63-
);
61+
logWarn(`The option outDir isn't configured, using default folder "${yellow(scullyConfig.outDir)}".`);
6462
} else {
6563
config.outDir = join(angularRoot, config.outDir);
6664
}

0 commit comments

Comments
 (0)