create-apollo-app
Advanced tools
Comparing version 0.0.36 to 0.0.37
{ | ||
"name": "create-apollo-app", | ||
"version": "0.0.36", | ||
"version": "0.0.37", | ||
"description": "Apollo GraphQL apps creator", | ||
@@ -5,0 +5,0 @@ "author": "Victor Vlasenko <victor.vlasenko@sysgears.com>", |
# Create Apollo App | ||
[![Join the chat at https://gitter.im/sysgears/create-apollo-app](https://badges.gitter.im/sysgears/create-apollo-app.svg)](https://gitter.im/sysgears/create-apollo-app?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
[![npm version](https://badge.fury.io/js/create-apollo-app.svg)](https://badge.fury.io/js/create-apollo-app) | ||
@@ -103,2 +104,12 @@ [![Twitter Follow](https://img.shields.io/twitter/follow/sysgears.svg?style=social)](https://twitter.com/sysgears) | ||
**NOTE**: If you want to add CSS, SCSS, Sass, or Less to the frontend React application, you need to add the PostCSS | ||
configuration file `postcss.config.js` under the `{app-root}/src` for the `@web` template or the | ||
`{app-root}/packages/web/src` folder for the `@server-web` and `@universal` templates. | ||
The PostCSS configuration file can be empty, like this: | ||
```js | ||
module.exports = {}; | ||
```` | ||
The client-side application will be automatically opened in your default browser at [http://localhost:3000](http://localhost:3000). | ||
@@ -105,0 +116,0 @@ The server-side GraphQL application runs on [http://localhost:8080](http://localhost:8080). |
{ | ||
"expo": { | ||
"name": "{;name;}", | ||
"name": "//{name//}", | ||
"version": "0.1.0", | ||
"slug": "{;slug;}", | ||
"slug": "//{slug//}", | ||
"sdkVersion": "32.0.0", | ||
"ios": { | ||
"bundleIdentifier": "com.{;camelSlug;}" | ||
"bundleIdentifier": "com.//{camelSlug//}" | ||
}, | ||
"android": { | ||
"package": "com.{;camelSlug;}" | ||
"package": "com.//{camelSlug//}" | ||
} | ||
} | ||
} |
{ | ||
"name": "{;slug;}", | ||
"name": "//{slug//}", | ||
"version": "0.1.0", | ||
@@ -4,0 +4,0 @@ "private": true, |
{ | ||
"name": "{;slug;}", | ||
"name": "//{slug//}", | ||
"version": "0.1.0", | ||
@@ -4,0 +4,0 @@ "!presets": ["ts", "babel", "server", "graphql"], |
import { Server } from 'http'; | ||
{;^isWorkspace;} | ||
//{^isWorkspace//} | ||
import opn from 'opn'; | ||
{;/isWorkspace;} | ||
//{/isWorkspace//} | ||
@@ -34,7 +34,7 @@ import startServer from './server'; | ||
console.log(`GraphQL Server is now running on http://localhost:${PORT}`); | ||
{;^isWorkspace;} | ||
//{^isWorkspace//} | ||
if (firstStartInDevMode) { | ||
opn(`http://localhost:${PORT}/api/swagger`); | ||
} | ||
{;/isWorkspace;} | ||
//{/isWorkspace//} | ||
} | ||
@@ -41,0 +41,0 @@ |
{ | ||
"name": "{;slug;}", | ||
"name": "//{slug//}", | ||
"version": "0.1.0", | ||
@@ -4,0 +4,0 @@ "private": true, |
{ | ||
"name": "{;slug;}", | ||
"name": "//{slug//}", | ||
"private": true, | ||
@@ -4,0 +4,0 @@ "scripts": { |
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
38630
204