Skip to content

Commit

Permalink
chore(templates): add name and version to every template, remove entr…
Browse files Browse the repository at this point in the history
…ies blank spaces
  • Loading branch information
vanbasten17 committed Oct 1, 2020
1 parent e7c7253 commit 0f7618c
Show file tree
Hide file tree
Showing 45 changed files with 18 additions and 108 deletions.
2 changes: 2 additions & 0 deletions packages/botonic-cli/templates/blank/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"name": "blank",
"version": "1.0.0",
"scripts": {
"build": "webpack --env.target=all --mode=production",
"start": "webpack-dev-server --env.target=dev --mode=development",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import { DevApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { webchat } from '../src/webchat'

import { config } from '../src'

export const app = new DevApp({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { NodeApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { config } from '../src'

export const app = new NodeApp({ routes, locales, plugins, ...config })
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { WebchatApp } from '@botonic/react'

import { webchat } from '../src/webchat'

export const app = new WebchatApp(webchat)
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { WebviewApp } from '@botonic/react'

import { webviews } from '../src/webviews'

import { locales } from '../src/locales'

export const app = new WebviewApp({ webviews, locales })
2 changes: 2 additions & 0 deletions packages/botonic-cli/templates/childs/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"name": "childs",
"version": "1.0.0",
"scripts": {
"build": "webpack --env.target=all --mode=production",
"start": "webpack-dev-server --env.target=dev --mode=development",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import { DevApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { webchat } from '../src/webchat'

import { config } from '../src'

export const app = new DevApp({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { NodeApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { config } from '../src'

export const app = new NodeApp({ routes, locales, plugins, ...config })
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { WebchatApp } from '@botonic/react'

import { webchat } from '../src/webchat'

export const app = new WebchatApp(webchat)
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { WebviewApp } from '@botonic/react'

import { webviews } from '../src/webviews'

import { locales } from '../src/locales'

export const app = new WebviewApp({ webviews, locales })
2 changes: 2 additions & 0 deletions packages/botonic-cli/templates/custom-webchat/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"name": "custom-webchat",
"version": "1.0.0",
"scripts": {
"build": "webpack --env.target=all --mode=production",
"start": "webpack-dev-server --env.target=dev --mode=development",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import { DevApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { webchat } from '../src/webchat'

import { config } from '../src'

export const app = new DevApp({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { NodeApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { config } from '../src'

export const app = new NodeApp({ routes, locales, plugins, ...config })
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { WebchatApp } from '@botonic/react'

import { webchat } from '../src/webchat'

export const app = new WebchatApp(webchat)
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { WebviewApp } from '@botonic/react'

import { webviews } from '../src/webviews'

import { locales } from '../src/locales'

export const app = new WebviewApp({ webviews, locales })
2 changes: 2 additions & 0 deletions packages/botonic-cli/templates/dynamic-carousel/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"name": "dynamic-carousel",
"version": "1.0.0",
"scripts": {
"build": "webpack --env.target=all --mode=production",
"start": "webpack-dev-server --env.target=dev --mode=development",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import { DevApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { webchat } from '../src/webchat'

import { config } from '../src'

export const app = new DevApp({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { NodeApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { config } from '../src'

export const app = new NodeApp({ routes, locales, plugins, ...config })
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { WebchatApp } from '@botonic/react'

import { webchat } from '../src/webchat'

export const app = new WebchatApp(webchat)
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { WebviewApp } from '@botonic/react'

import { webviews } from '../src/webviews'

import { locales } from '../src/locales'

export const app = new WebviewApp({ webviews, locales })
2 changes: 2 additions & 0 deletions packages/botonic-cli/templates/dynamodb/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"name": "dynamodb",
"version": "1.0.0",
"scripts": {
"build": "webpack --env.target=all --mode=production",
"start": "webpack-dev-server --env.target=dev --mode=development",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import { DevApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { webchat } from '../src/webchat'

import { config } from '../src'

export const app = new DevApp({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { NodeApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { config } from '../src'

export const app = new NodeApp({ routes, locales, plugins, ...config })
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { WebchatApp } from '@botonic/react'

import { webchat } from '../src/webchat'

export const app = new WebchatApp(webchat)
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { WebviewApp } from '@botonic/react'

import { webviews } from '../src/webviews'

import { locales } from '../src/locales'

export const app = new WebviewApp({ webviews, locales })
2 changes: 2 additions & 0 deletions packages/botonic-cli/templates/handoff/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"name": "handoff",
"version": "1.0.0",
"scripts": {
"build": "webpack --env.target=all --mode=production",
"start": "webpack-dev-server --env.target=dev --mode=development",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import { DevApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { webchat } from '../src/webchat'

import { config } from '../src'

export const app = new DevApp({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { NodeApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { config } from '../src'

export const app = new NodeApp({ routes, locales, plugins, ...config })
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { WebchatApp } from '@botonic/react'

import { webchat } from '../src/webchat'

export const app = new WebchatApp(webchat)
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { WebviewApp } from '@botonic/react'

import { webviews } from '../src/webviews'

import { locales } from '../src/locales'

export const app = new WebviewApp({ webviews, locales })
2 changes: 2 additions & 0 deletions packages/botonic-cli/templates/intent/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"name": "intent",
"version": "1.0.0",
"scripts": {
"build": "webpack --env.target=all --mode=production",
"start": "webpack-dev-server --env.target=dev --mode=development",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import { DevApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { webchat } from '../src/webchat'

import { config } from '../src'

export const app = new DevApp({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { NodeApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { config } from '../src'

export const app = new NodeApp({ routes, locales, plugins, ...config })
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { WebchatApp } from '@botonic/react'

import { webchat } from '../src/webchat'

export const app = new WebchatApp(webchat)
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { WebviewApp } from '@botonic/react'

import { webviews } from '../src/webviews'

import { locales } from '../src/locales'

export const app = new WebviewApp({ webviews, locales })
2 changes: 2 additions & 0 deletions packages/botonic-cli/templates/nlu/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"name": "nlu",
"version": "1.0.0",
"scripts": {
"build": "webpack --env.target=all --mode=production",
"start": "webpack-dev-server --env.target=dev --mode=development",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import { DevApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { webchat } from '../src/webchat'

import { config } from '../src'

export const app = new DevApp({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { NodeApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { config } from '../src'

export const app = new NodeApp({ routes, locales, plugins, ...config })
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { WebchatApp } from '@botonic/react'

import { webchat } from '../src/webchat'

export const app = new WebchatApp(webchat)
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { WebviewApp } from '@botonic/react'

import { webviews } from '../src/webviews'

import { locales } from '../src/locales'

export const app = new WebviewApp({ webviews, locales })
2 changes: 2 additions & 0 deletions packages/botonic-cli/templates/tutorial/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"name": "tutorial",
"version": "1.0.0",
"scripts": {
"build": "webpack --env.target=all --mode=production",
"start": "webpack-dev-server --env.target=dev --mode=development",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import { DevApp } from '@botonic/react'

import { routes } from '../src/routes'

import { locales } from '../src/locales'

import { plugins } from '../src/plugins'

import { webchat } from '../src/webchat'

import { config } from '../src'

export const app = new DevApp({
Expand Down
Loading

0 comments on commit 0f7618c

Please sign in to comment.