Skip to content

Commit

Permalink
Merge pull request #8 from frouriojs/develop
Browse files Browse the repository at this point in the history
chore(release): 0.9.1
  • Loading branch information
solufa authored Jul 4, 2020
2 parents 0f15a10 + 43b6e41 commit e67f2b8
Show file tree
Hide file tree
Showing 12 changed files with 5,889 additions and 5,958 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

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.1](https://github.com/frouriojs/create-frourio-app/compare/v0.9.0...v0.9.1) (2020-07-04)


### Features

* disable Nuxt telemetry ([923a6c5](https://github.com/frouriojs/create-frourio-app/commit/923a6c51e8f37e56153e375a3f0a1bc9b411670e))


### Bug Fixes

* bump chalk from 4.0.0 to 4.1.0 ([93e6e2a](https://github.com/frouriojs/create-frourio-app/commit/93e6e2a039f059c8d6ebb6ce84836b68674f907b))

## [0.9.0](https://github.com/frouriojs/create-frourio-app/compare/v0.8.0...v0.9.0) (2020-06-29)


Expand Down
8 changes: 4 additions & 4 deletions lib/prompts.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,23 +87,23 @@ module.exports = [
},
{
name: 'dbPort',
message: '.env TYPEORM_PORT=',
message: 'server/.env TYPEORM_PORT=',
default: answers => dbInfo[answers.dbType].port,
when: answers => answers.dbType !== 'none'
},
{
name: 'dbUser',
message: '.env TYPEORM_USERNAME=',
message: 'server/.env TYPEORM_USERNAME=',
when: answers => answers.dbType !== 'none'
},
{
name: 'dbPass',
message: '.env TYPEORM_PASSWORD=',
message: 'server/.env TYPEORM_PASSWORD=',
when: answers => answers.dbType !== 'none'
},
{
name: 'dbName',
message: '.env TYPEORM_DATABASE=',
message: 'server/.env TYPEORM_DATABASE=',
when: answers => answers.dbType !== 'none'
}
]
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-frourio-app",
"version": "0.9.0",
"version": "0.9.1",
"description": "Create a frourio project in seconds",
"author": "Solufa <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -33,25 +33,25 @@
],
"dependencies": {
"cac": "^6.5.10",
"chalk": "^4.0.0",
"chalk": "^4.1.0",
"envinfo": "^7.5.1",
"sao": "^1.7.1",
"validate-npm-package-name": "^3.0.0"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@commitlint/cli": "^9.0.1",
"@commitlint/config-conventional": "^9.0.1",
"ava": "^3.8.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.21.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.2.5",
"lint-staged": "^10.2.6",
"lint-staged": "^10.2.11",
"prettier": "2.0.5",
"standard-version": "^8.0.0"
}
Expand Down
15 changes: 10 additions & 5 deletions templates/aspida/nuxt/axios/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ const config: Configuration = {
** See https://nuxtjs.org/api/configuration-target
*/
target: '<%= target %>',
/*
** Nuxt telemetry
** See https://nuxtjs.org/api/configuration-telemetry
*/
telemetry: false,
/*
** Auto import components
** See https://nuxtjs.org/api/configuration-components
*/
components: true,
/*
** Headers of the page
** See https://nuxtjs.org/api/configuration-head
Expand Down Expand Up @@ -41,11 +51,6 @@ const config: Configuration = {
** https://nuxtjs.org/guide/plugins
*/
plugins: ['~/plugins/api'],
/*
** Auto import components
** See https://nuxtjs.org/api/configuration-components
*/
components: true,
/*
** Nuxt.js dev-modules
*/
Expand Down
15 changes: 10 additions & 5 deletions templates/aspida/nuxt/fetch/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ const config: Configuration = {
** See https://nuxtjs.org/api/configuration-target
*/
target: '<%= target %>',
/*
** Nuxt telemetry
** See https://nuxtjs.org/api/configuration-telemetry
*/
telemetry: false,
/*
** Auto import components
** See https://nuxtjs.org/api/configuration-components
*/
components: true,
/*
** Headers of the page
** See https://nuxtjs.org/api/configuration-head
Expand Down Expand Up @@ -41,11 +51,6 @@ const config: Configuration = {
** https://nuxtjs.org/guide/plugins
*/
plugins: ['~/plugins/api'],
/*
** Auto import components
** See https://nuxtjs.org/api/configuration-components
*/
components: true,
/*
** Nuxt.js dev-modules
*/
Expand Down
4 changes: 2 additions & 2 deletions templates/front/next/components/UserBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const UserBanner = () => {
)

const login = useCallback(async () => {
const id = prompt('Enter the user id (See .env)')
const pass = prompt('Enter the user pass (See .env)')
const id = prompt('Enter the user id (See server/.env)')
const pass = prompt('Enter the user pass (See server/.env)')
if (!id || !pass) return alert('Login failed')

let newToken = ''
Expand Down
8 changes: 4 additions & 4 deletions templates/front/nuxt/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"dependencies": {
"@nuxt/typescript-runtime": "^0.4.10",
"dotenv": "^8.2.0",
"nuxt": "2.13.0"
"nuxt": "2.13.3"
},
"devDependencies": {
"@nuxt/typescript-build": "^1.0.3",
Expand All @@ -46,15 +46,15 @@
"@nuxtjs/stylelint-module": "^4.0.0",
"babel-eslint": "^10.0.1",
"cross-env": "^7.0.2",
"eslint": "^6.1.0",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-nuxt": ">=0.4.2",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.0.0",
"lint-staged": "^10.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"stylelint": "^10.1.0",
"prettier": "^2.0.5",
"stylelint": "^13.6.1",
"ts-loader": "^7.0.5",
"typescript": "^3.9.5"
}
Expand Down
4 changes: 2 additions & 2 deletions templates/front/nuxt/components/UserBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ export default Vue.extend({
})
},
async login() {
const id = prompt('Enter the user id (See .env)')
const pass = prompt('Enter the user pass (See .env)')
const id = prompt('Enter the user id (See server/.env)')
const pass = prompt('Enter the user pass (See server/.env)')
if (!id || !pass) return alert('Login failed')
try {
Expand Down
6 changes: 6 additions & 0 deletions templates/front/nuxt/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
</div>
</template>

<script lang="ts">
import Vue from 'vue'
export default Vue.extend({})
</script>

<style>
html {
font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI',
Expand Down
8 changes: 4 additions & 4 deletions test/snapshots/index.test.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ Generated by [AVA](https://avajs.dev).
'@nuxt/typescript-runtime': '^0.4.10',
'@nuxtjs/axios': '^5.11.0',
dotenv: '^8.2.0',
nuxt: '2.13.0',
nuxt: '2.13.3',
},
devDependencies: {
'@nuxt/typescript-build': '^1.0.3',
Expand All @@ -1382,15 +1382,15 @@ Generated by [AVA](https://avajs.dev).
'@nuxtjs/stylelint-module': '^4.0.0',
'babel-eslint': '^10.0.1',
'cross-env': '^7.0.2',
eslint: '^6.1.0',
eslint: '^7.4.0',
'eslint-config-prettier': '^6.10.0',
'eslint-plugin-nuxt': '>=0.4.2',
'eslint-plugin-prettier': '^3.1.2',
husky: '^4.0.0',
'lint-staged': '^10.0.0',
'npm-run-all': '^4.1.5',
prettier: '^1.19.1',
stylelint: '^10.1.0',
prettier: '^2.0.5',
stylelint: '^13.6.1',
'ts-loader': '^7.0.5',
typescript: '^3.9.5',
},
Expand Down
Binary file modified test/snapshots/index.test.js.snap
Binary file not shown.
Loading

0 comments on commit e67f2b8

Please sign in to comment.