Skip to content

Commit 11ded11

Browse files
author
Samer Buna
committed
Upgrade and version bump
1 parent 96e7556 commit 11ded11

File tree

5 files changed

+36
-27
lines changed

5 files changed

+36
-27
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reactful",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "An opinionated practical CLI for developing full-stack server-rendered React applications. You can use it to generate an independent React application (optionally with TypeScript) that's fully-configured to render on both client and server. You can also use it to render simple template applications (without SSR).",
55
"repository": "jscomplete/reactful",
66
"author": "Samer Buna <[email protected]>",
@@ -21,8 +21,8 @@
2121
},
2222
"devDependencies": {
2323
"@types/jest": "^25.2.3",
24-
"@typescript-eslint/eslint-plugin": "^3.1.0",
25-
"@typescript-eslint/parser": "^3.1.0",
24+
"@typescript-eslint/eslint-plugin": "^3.2.0",
25+
"@typescript-eslint/parser": "^3.2.0",
2626
"eslint": "^7.2.0",
2727
"eslint-plugin-react": "^7.20.0",
2828
"eslint-plugin-react-hooks": "^4.0.4",

src/commands/run-command.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ import { spawnSync } from 'child_process';
44
export async function runCommand({
55
useYarn,
66
script,
7-
}: configType): Promise<void> {
7+
}: {
8+
useYarn: boolean;
9+
script: string;
10+
}): Promise<void> {
811
const pmCommand = useYarn ? 'yarn' : 'npm';
912

1013
spawnSync(`${pmCommand} run ${script}`, {

src/commands/utils.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ export function commandExists(command: string): boolean {
2828

2929
const prompt = promptSync();
3030

31-
export function copy({ appPath, template }: configType): void {
31+
export function copy({
32+
appPath,
33+
template,
34+
}: {
35+
appPath: string;
36+
template: string;
37+
}): void {
3238
const templateDir = path.resolve(
3339
__dirname,
3440
'..',

templates/simple/src/components/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import * as React from "react";
1+
import * as React from 'react';
22

33
export function App({ initialData }) {
44
const [count, setCount] = React.useState(0);
55
return (
66
<div>
77
<h1>Reactful</h1>
8-
This is a sample stateful and server-side rendered React application.
8+
This is a sample stateful React application.
99
<br />
1010
<br />
1111
Here is a button that will track how many times you click it:

yarn.lock

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -604,41 +604,41 @@
604604
dependencies:
605605
"@types/yargs-parser" "*"
606606

607-
"@typescript-eslint/eslint-plugin@^3.1.0":
608-
version "3.1.0"
609-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.1.0.tgz#4ac00ecca3bbea740c577f1843bc54fa69c3def2"
610-
integrity sha512-D52KwdgkjYc+fmTZKW7CZpH5ZBJREJKZXRrveMiRCmlzZ+Rw9wRVJ1JAmHQ9b/+Ehy1ZeaylofDB9wwXUt83wg==
607+
"@typescript-eslint/eslint-plugin@^3.2.0":
608+
version "3.2.0"
609+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.2.0.tgz#7fb997f391af32ae6ca1dbe56bcefe4dd30bda14"
610+
integrity sha512-t9RTk/GyYilIXt6BmZurhBzuMT9kLKw3fQoJtK9ayv0tXTlznXEAnx07sCLXdkN3/tZDep1s1CEV95CWuARYWA==
611611
dependencies:
612-
"@typescript-eslint/experimental-utils" "3.1.0"
612+
"@typescript-eslint/experimental-utils" "3.2.0"
613613
functional-red-black-tree "^1.0.1"
614614
regexpp "^3.0.0"
615615
semver "^7.3.2"
616616
tsutils "^3.17.1"
617617

618-
"@typescript-eslint/experimental-utils@3.1.0":
619-
version "3.1.0"
620-
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-3.1.0.tgz#2d5dba7c2ac2a3da3bfa3f461ff64de38587a872"
621-
integrity sha512-Zf8JVC2K1svqPIk1CB/ehCiWPaERJBBokbMfNTNRczCbQSlQXaXtO/7OfYz9wZaecNvdSvVADt6/XQuIxhC79w==
618+
"@typescript-eslint/experimental-utils@3.2.0":
619+
version "3.2.0"
620+
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-3.2.0.tgz#4dab8fc9f44f059ec073470a81bb4d7d7d51e6c5"
621+
integrity sha512-UbJBsk+xO9dIFKtj16+m42EvUvsjZbbgQ2O5xSTSfVT1Z3yGkL90DVu0Hd3029FZ5/uBgl+F3Vo8FAcEcqc6aQ==
622622
dependencies:
623623
"@types/json-schema" "^7.0.3"
624-
"@typescript-eslint/typescript-estree" "3.1.0"
624+
"@typescript-eslint/typescript-estree" "3.2.0"
625625
eslint-scope "^5.0.0"
626626
eslint-utils "^2.0.0"
627627

628-
"@typescript-eslint/parser@^3.1.0":
629-
version "3.1.0"
630-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-3.1.0.tgz#9c02ba5d88ad2355672f39e6cd4176f172dd47f8"
631-
integrity sha512-NcDSJK8qTA2tPfyGiPes9HtVKLbksmuYjlgGAUs7Ld2K0swdWibnCq9IJx9kJN8JJdgUJSorFiGaPHBgH81F/Q==
628+
"@typescript-eslint/parser@^3.2.0":
629+
version "3.2.0"
630+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-3.2.0.tgz#d9d7867456b1b8ecae9e724269b0bc932f06cbca"
631+
integrity sha512-Vhu+wwdevDLVDjK1lIcoD6ZbuOa93fzqszkaO3iCnmrScmKwyW/AGkzc2UvfE5TCoCXqq7Jyt6SOXjsIlpqF4A==
632632
dependencies:
633633
"@types/eslint-visitor-keys" "^1.0.0"
634-
"@typescript-eslint/experimental-utils" "3.1.0"
635-
"@typescript-eslint/typescript-estree" "3.1.0"
634+
"@typescript-eslint/experimental-utils" "3.2.0"
635+
"@typescript-eslint/typescript-estree" "3.2.0"
636636
eslint-visitor-keys "^1.1.0"
637637

638-
"@typescript-eslint/typescript-estree@3.1.0":
639-
version "3.1.0"
640-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-3.1.0.tgz#eaff52d31e615e05b894f8b9d2c3d8af152a5dd2"
641-
integrity sha512-+4nfYauqeQvK55PgFrmBWFVYb6IskLyOosYEmhH3mSVhfBp9AIJnjExdgDmKWoOBHRcPM8Ihfm2BFpZf0euUZQ==
638+
"@typescript-eslint/typescript-estree@3.2.0":
639+
version "3.2.0"
640+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-3.2.0.tgz#c735f1ca6b4d3cd671f30de8c9bde30843e7ead8"
641+
integrity sha512-uh+Y2QO7dxNrdLw7mVnjUqkwO/InxEqwN0wF+Za6eo3coxls9aH9kQ/5rSvW2GcNanebRTmsT5w1/92lAOb1bA==
642642
dependencies:
643643
debug "^4.1.1"
644644
eslint-visitor-keys "^1.1.0"

0 commit comments

Comments
 (0)