mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-01-09 21:46:56 -06:00
commit
af7e0778df
@ -29,8 +29,6 @@ const checkedOut = runCommand(gitCheckoutCommand);
|
|||||||
if(!checkedOut) process.exit(-1);
|
if(!checkedOut) process.exit(-1);
|
||||||
|
|
||||||
const actualVersion = runCommandWithOutput(`cd ${repoName} && node -p "require('./package.json').version"`)
|
const actualVersion = runCommandWithOutput(`cd ${repoName} && node -p "require('./package.json').version"`)
|
||||||
console.log(actualVersion)
|
|
||||||
if(!actualVersion) process.exit(-1);
|
|
||||||
|
|
||||||
const installDepsCommand = `cd ${repoName} && npm install`;
|
const installDepsCommand = `cd ${repoName} && npm install`;
|
||||||
const cleanGitHistoryCommand = `cd ${repoName} && rm -rf .git && git init && git add --all -- ":!.github" ":!bin" && git commit -m "Initial commit"`
|
const cleanGitHistoryCommand = `cd ${repoName} && rm -rf .git && git init && git add --all -- ":!.github" ":!bin" && git commit -m "Initial commit"`
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@aleleba/create-react-ssr",
|
"name": "@aleleba/create-react-ssr",
|
||||||
"version": "3.0.32",
|
"version": "3.0.33",
|
||||||
"description": "Starter Kit of server side render of react",
|
"description": "Starter Kit of server side render of react",
|
||||||
"bin": "./bin/cli.js",
|
"bin": "./bin/cli.js",
|
||||||
"main": "src/server/index",
|
"main": "src/server/index",
|
||||||
|
Loading…
Reference in New Issue
Block a user