Skip to content

Commit d16a3b1

Browse files
committed
version 1.0.6
1 parent 4a73a93 commit d16a3b1

File tree

26 files changed

+1158
-396
lines changed

26 files changed

+1158
-396
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env node
22
import scriptsRunner from "./source/scripts";
3-
scriptsRunner();
3+
scriptsRunner()

package-lock.json

Lines changed: 164 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@
1010
"clear": "^0.1.0",
1111
"enquirer": "^2.4.1",
1212
"fs-extra": "^11.2.0",
13-
"shelljs": "^0.8.5"
13+
"shelljs": "^0.8.5",
14+
"ts-node": "^10.9.2"
1415
},
1516
"name": "web-app-init",
16-
"version": "1.0.5",
17+
"version": "1.0.6",
1718
"description": "This is officially designed to install templates based on latest web technology!",
1819
"main": "index.js",
19-
"scripts": {
20-
"test": "echo \"Error: no test specified\" && exit 1"
21-
},
20+
2221
"repository": {
2322
"type": "git",
2423
"url": "git+https://github.com/Deepumandal/react-webpack-configuration.git"
@@ -39,6 +38,6 @@
3938
},
4039
"homepage": "https://github.com/Deepumandal/react-webpack-configuration#readme",
4140
"bin": {
42-
"web-app-init": "index.js"
41+
"web-app-init": "./index.js"
4342
}
4443
}

templates/javascript+webpack+react+chakraui/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,16 @@
1313
"start:live": "webpack serve --open --mode development --live-reload --hot"
1414
},
1515
"devDependencies": {
16+
"@babel/core": "^7.23.7",
1617
"@babel/preset-env": "^7.15.8",
1718
"@babel/preset-react": "^7.14.5",
1819
"@types/react": "^17.0.2",
1920
"@types/react-dom": "^18.2.18",
2021
"babel-loader": "^8.2.2",
2122
"css-loader": "^6.3.0",
23+
"file-loader": "^6.2.0",
2224
"html-webpack-plugin": "^5.3.2",
25+
"sass-loader": "^14.0.0",
2326
"style-loader": "^3.3.0"
2427
},
2528
"dependencies": {
@@ -28,9 +31,9 @@
2831
"@emotion/styled": "^11.11.0",
2932
"dotenv": "^16.3.1",
3033
"framer-motion": "^10.18.0",
31-
"process": "^0.11.10",
3234
"react": "^18.2.0",
3335
"react-dom": "^18.2.0",
36+
"sass": "^1.70.0",
3437
"webpack": "^5.57.1",
3538
"webpack-cli": "^5.1.4",
3639
"webpack-dev-server": "^4.3.1"

templates/javascript+webpack+react+chakraui/src/App.js

Lines changed: 41 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,47 @@
11
import React from "react";
2-
import { Box, Heading } from "@chakra-ui/react";
3-
2+
import "./app.css";
43
const App = () => {
54
return (
6-
<Box
7-
sx={{
8-
width: "100vw",
9-
height: "50vh",
10-
display: "flex",
11-
justifyContent: "center",
12-
alignItems: "center",
13-
}}
14-
>
15-
<Heading>Hello client</Heading>
16-
</Box>
5+
<div className="container">
6+
<header className="header">
7+
<h1 className="title">Your Web App</h1>
8+
<p>
9+
Generate beautiful templates with ease using{" "}
10+
<code>npx web-app-init</code>
11+
</p>
12+
</header>
13+
<main className="main">
14+
<section className="get-started">
15+
<h2 className="section-title ">Get Started</h2>
16+
<p>Follow these simple steps to create your project:</p>
17+
<pre className="code-block ">
18+
<code>npx web-app-init</code>
19+
</pre>
20+
</section>
21+
<div className="links-container">
22+
<a
23+
className="link"
24+
href="https://github.com/deepumandal/react-webpack-configuration"
25+
target="_blank"
26+
rel="noopener noreferrer"
27+
>
28+
GitHub Repository
29+
</a>
30+
<a
31+
className="link"
32+
href="https://www.npmjs.com/package/web-app-init"
33+
target="_blank"
34+
rel="noopener noreferrer"
35+
>
36+
npm Package
37+
</a>
38+
</div>
39+
</main>
40+
41+
<footer className="footer">
42+
<p>Created with ❤️ by Deepak</p>
43+
</footer>
44+
</div>
1745
);
1846
};
1947

0 commit comments

Comments
 (0)