Skip to content

Commit

Permalink
Merge pull request #15 from frouriojs/develop
Browse files Browse the repository at this point in the history
chore(release): 0.9.5
  • Loading branch information
solufa authored Jul 9, 2020
2 parents 88c5bda + 5d54a0f commit b1b28fb
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 23 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [0.9.5](https://github.com/frouriojs/create-frourio-app/compare/v0.9.4...v0.9.5) (2020-07-09)


### Bug Fixes

* typeorm settings ([06ba7e2](https://github.com/frouriojs/create-frourio-app/commit/06ba7e29ffeed75fe9f81a7833be77faaf304009))

### [0.9.4](https://github.com/frouriojs/create-frourio-app/compare/v0.9.3...v0.9.4) (2020-07-08)


Expand Down
6 changes: 3 additions & 3 deletions lib/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ module.exports = {
pkgs.push({
scripts: {
'migration:generate':
'cd server && ts-node ../node_modules/.bin/typeorm migration:generate -n Task',
'migration:run': 'cd server && ts-node ../node_modules/.bin/typeorm migration:run',
'migration:revert': 'cd server && ts-node ../node_modules/.bin/typeorm migration:revert'
'cd server && ts-node node_modules/.bin/typeorm migration:generate -n Task',
'migration:run': 'cd server && ts-node node_modules/.bin/typeorm migration:run',
'migration:revert': 'cd server && ts-node node_modules/.bin/typeorm migration:revert'
}
})
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-frourio-app",
"version": "0.9.4",
"version": "0.9.5",
"description": "Create a frourio project in seconds",
"author": "Solufa <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion templates/database/server/ormconfig.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ConnectionOptions } from 'typeorm'
import dotenv from 'dotenv'

dotenv.config({ path: '../.env' })
dotenv.config()

const {
TYPEORM_HOST,
Expand Down
36 changes: 18 additions & 18 deletions test/snapshots/index.test.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,9 +471,9 @@ Generated by [AVA](https://avajs.dev).
'install:server': 'cd server && yarn install',
lint: 'eslint --ext .ts,.js,.tsx --ignore-path .gitignore .',
'lint:fix': 'npm run lint -- --fix',
'migration:generate': 'cd server && ts-node ../node_modules/.bin/typeorm migration:generate -n Task',
'migration:revert': 'cd server && ts-node ../node_modules/.bin/typeorm migration:revert',
'migration:run': 'cd server && ts-node ../node_modules/.bin/typeorm migration:run',
'migration:generate': 'cd server && ts-node node_modules/.bin/typeorm migration:generate -n Task',
'migration:revert': 'cd server && ts-node node_modules/.bin/typeorm migration:revert',
'migration:run': 'cd server && ts-node node_modules/.bin/typeorm migration:run',
start: 'run-p start:*',
'start:front': 'next start',
'start:server': 'cd server && cross-env NODE_ENV=production node index.js',
Expand Down Expand Up @@ -571,9 +571,9 @@ Generated by [AVA](https://avajs.dev).
'install:server': 'cd server && yarn install',
lint: 'eslint --ext .ts,.js,.tsx --ignore-path .gitignore .',
'lint:fix': 'npm run lint -- --fix',
'migration:generate': 'cd server && ts-node ../node_modules/.bin/typeorm migration:generate -n Task',
'migration:revert': 'cd server && ts-node ../node_modules/.bin/typeorm migration:revert',
'migration:run': 'cd server && ts-node ../node_modules/.bin/typeorm migration:run',
'migration:generate': 'cd server && ts-node node_modules/.bin/typeorm migration:generate -n Task',
'migration:revert': 'cd server && ts-node node_modules/.bin/typeorm migration:revert',
'migration:run': 'cd server && ts-node node_modules/.bin/typeorm migration:run',
start: 'run-p start:*',
'start:front': 'next start',
'start:server': 'cd server && cross-env NODE_ENV=production node index.js',
Expand Down Expand Up @@ -671,9 +671,9 @@ Generated by [AVA](https://avajs.dev).
'install:server': 'cd server && yarn install',
lint: 'eslint --ext .ts,.js,.tsx --ignore-path .gitignore .',
'lint:fix': 'npm run lint -- --fix',
'migration:generate': 'cd server && ts-node ../node_modules/.bin/typeorm migration:generate -n Task',
'migration:revert': 'cd server && ts-node ../node_modules/.bin/typeorm migration:revert',
'migration:run': 'cd server && ts-node ../node_modules/.bin/typeorm migration:run',
'migration:generate': 'cd server && ts-node node_modules/.bin/typeorm migration:generate -n Task',
'migration:revert': 'cd server && ts-node node_modules/.bin/typeorm migration:revert',
'migration:run': 'cd server && ts-node node_modules/.bin/typeorm migration:run',
start: 'run-p start:*',
'start:front': 'next start',
'start:server': 'cd server && cross-env NODE_ENV=production node index.js',
Expand Down Expand Up @@ -771,9 +771,9 @@ Generated by [AVA](https://avajs.dev).
'install:server': 'cd server && yarn install',
lint: 'eslint --ext .ts,.js,.tsx --ignore-path .gitignore .',
'lint:fix': 'npm run lint -- --fix',
'migration:generate': 'cd server && ts-node ../node_modules/.bin/typeorm migration:generate -n Task',
'migration:revert': 'cd server && ts-node ../node_modules/.bin/typeorm migration:revert',
'migration:run': 'cd server && ts-node ../node_modules/.bin/typeorm migration:run',
'migration:generate': 'cd server && ts-node node_modules/.bin/typeorm migration:generate -n Task',
'migration:revert': 'cd server && ts-node node_modules/.bin/typeorm migration:revert',
'migration:run': 'cd server && ts-node node_modules/.bin/typeorm migration:run',
start: 'run-p start:*',
'start:front': 'next start',
'start:server': 'cd server && cross-env NODE_ENV=production node index.js',
Expand Down Expand Up @@ -964,9 +964,9 @@ Generated by [AVA](https://avajs.dev).
'install:server': 'cd server && yarn install',
lint: 'eslint --ext .ts,.js,.tsx --ignore-path .gitignore .',
'lint:fix': 'npm run lint -- --fix',
'migration:generate': 'cd server && ts-node ../node_modules/.bin/typeorm migration:generate -n Task',
'migration:revert': 'cd server && ts-node ../node_modules/.bin/typeorm migration:revert',
'migration:run': 'cd server && ts-node ../node_modules/.bin/typeorm migration:run',
'migration:generate': 'cd server && ts-node node_modules/.bin/typeorm migration:generate -n Task',
'migration:revert': 'cd server && ts-node node_modules/.bin/typeorm migration:revert',
'migration:run': 'cd server && ts-node node_modules/.bin/typeorm migration:run',
start: 'run-p start:*',
'start:front': 'next start',
'start:server': 'cd server && cross-env NODE_ENV=production node index.js',
Expand Down Expand Up @@ -1064,9 +1064,9 @@ Generated by [AVA](https://avajs.dev).
'install:server': 'cd server && yarn install',
lint: 'eslint --ext .ts,.js,.tsx --ignore-path .gitignore .',
'lint:fix': 'npm run lint -- --fix',
'migration:generate': 'cd server && ts-node ../node_modules/.bin/typeorm migration:generate -n Task',
'migration:revert': 'cd server && ts-node ../node_modules/.bin/typeorm migration:revert',
'migration:run': 'cd server && ts-node ../node_modules/.bin/typeorm migration:run',
'migration:generate': 'cd server && ts-node node_modules/.bin/typeorm migration:generate -n Task',
'migration:revert': 'cd server && ts-node node_modules/.bin/typeorm migration:revert',
'migration:run': 'cd server && ts-node node_modules/.bin/typeorm migration:run',
start: 'run-p start:*',
'start:front': 'next start',
'start:server': 'cd server && cross-env NODE_ENV=production node index.js',
Expand Down
Binary file modified test/snapshots/index.test.js.snap
Binary file not shown.

0 comments on commit b1b28fb

Please sign in to comment.