@iteam/supreme
Advanced tools
Comparing version 1.8.0 to 1.9.0
@@ -0,1 +1,9 @@ | ||
# [1.9.0](https://github.com/Iteam1337/supreme/compare/v1.8.0...v1.9.0) (2019-09-02) | ||
### Features | ||
* **reason:** add semantic-release ([#20](https://github.com/Iteam1337/supreme/issues/20)) ([624a039](https://github.com/Iteam1337/supreme/commit/624a039)) | ||
* **reason:** add test setup ([#21](https://github.com/Iteam1337/supreme/issues/21)) ([a99894c](https://github.com/Iteam1337/supreme/commit/a99894c)) | ||
# [1.8.0](https://github.com/Iteam1337/supreme/compare/v1.7.0...v1.8.0) (2019-09-02) | ||
@@ -2,0 +10,0 @@ |
{ | ||
"name": "@iteam/supreme", | ||
"version": "1.8.0", | ||
"version": "1.9.0", | ||
"main": "bin/supreme", | ||
@@ -5,0 +5,0 @@ "bin": "bin/supreme", |
import execa from 'execa' | ||
import chalk from 'chalk' | ||
import { CLIProps } from '../' | ||
import { create, overwrite } from '../utils/file' | ||
import { create, overwrite, createFolder } from '../utils/file' | ||
import path from 'path' | ||
@@ -71,2 +71,8 @@ import ora from 'ora' | ||
// Creates .releaserc for @semantic-release | ||
await create({ | ||
templateName: 'reason/releaserc', | ||
output: `${projectName}/.releaserc`, | ||
}) | ||
// Move and overwrite index html | ||
@@ -98,2 +104,10 @@ spinner.text = 'Updating base files' | ||
// Test setup | ||
await createFolder(`${projectName}/__tests__`) | ||
await create({ | ||
templateName: 'reason/App_test.re', | ||
output: `${projectName}/__tests__/App_test.re`, | ||
}) | ||
spinner.stop() | ||
@@ -100,0 +114,0 @@ |
@@ -70,2 +70,8 @@ import chalk from 'chalk' | ||
export const createFolder = async (folderName: string) => { | ||
const mkdir = util.promisify(fs.mkdir) | ||
await mkdir(folderName) | ||
} | ||
export const hasPkg = async (packageName: string) => { | ||
@@ -72,0 +78,0 @@ const pkg = await readPkgUp() |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19992
30
344