Skip to content

Feature/187 #187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 37 commits into from
Aug 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
fa729d2
ref: #187 starting readme Spanish translation
lokeeto Jul 20, 2020
b2ef0bf
ref: #187 Spanish translation
lokeeto Jul 20, 2020
4393d3b
ref: #187 Spanish translations and links to readme files
lokeeto Jul 20, 2020
3a3c67b
ref: #187 Spanish translations
lokeeto Jul 20, 2020
a530712
ref: #187 Spanish translations
lokeeto Jul 20, 2020
942d642
ref: #187 Spanish translations
lokeeto Jul 20, 2020
70d927e
ref: #187 Spanish translations
lokeeto Jul 20, 2020
333e5d7
ref: #187 update 00 package.json
lokeeto Jul 20, 2020
ecf553d
ref: #187 update 01 package.json
lokeeto Jul 20, 2020
cca0948
ref: #187 update 00 package.json
lokeeto Jul 20, 2020
d38144d
ref: #187 update 01,02 package.json
lokeeto Jul 20, 2020
5aca3e4
ref: #187 update 03,04 package.json
lokeeto Jul 20, 2020
84ba4e5
ref: #187 update 05 - 09 and translations
lokeeto Jul 21, 2020
121ac7c
ref: #187 update 09, 10 and translations
lokeeto Jul 21, 2020
034ec6a
ref: #187 update 09, 11 webpack
lokeeto Jul 21, 2020
bb21e6a
ref: #187 update 09 webpack
lokeeto Jul 21, 2020
7d45713
ref: #187 update 09 webpack
lokeeto Jul 21, 2020
cd51106
ref: #187 update 09 pending update readme
lokeeto Jul 21, 2020
c4fdd2c
ref: #187 update 09 - 11 pending update readme async await
lokeeto Jul 21, 2020
bde0b83
ref: #187 update 09 - 11 update readme async await
lokeeto Jul 22, 2020
57d15cf
ref: #187 update 12, 13 refactor routes
lokeeto Jul 24, 2020
c940328
ref: #187 update 14 form validation
lokeeto Jul 24, 2020
4bad05d
ref: #187 update 15 context from 14
lokeeto Jul 24, 2020
4b9952e
ref: #187 thanks delamux
lokeeto Jul 24, 2020
7064125
ref: #187 adding types
lokeeto Jul 25, 2020
9da5146
ref: #187 adding types
lokeeto Jul 25, 2020
e6b8f88
ref: #187 delete accidentaly
lokeeto Jul 25, 2020
b684694
ref: #187 adding formik pendind setLoginInfo
lokeeto Jul 25, 2020
cca74be
ref: #187 adding formik pendind setLoginInfo
lokeeto Jul 25, 2020
8a4f365
ref:#187 14_FormValidation refactor
lokeeto Aug 12, 2020
292d24d
ref:#187 14_FormValidation semicolon typo
lokeeto Aug 12, 2020
722a324
ref:#187 14_FormValidation top message
lokeeto Aug 12, 2020
2495840
ref:#187 15 adding context form validation
lokeeto Aug 12, 2020
87b2a98
ref:#187 13 login form change to continue the line of 14 15
lokeeto Aug 12, 2020
d14cad3
ref:#187 13, 14, 15 making continue and improve the container
lokeeto Aug 12, 2020
8269e57
ref:#187 update doc 13
lokeeto Aug 14, 2020
21a0f21
ref:#187 doc 14 and 15
lokeeto Aug 14, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions hooks/00_BoilerPlate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
"author": "Braulio Diez Botella",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.3.1",
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/polyfill": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"awesome-typescript-loader": "^5.2.1",
"babel-loader": "^8.0.5",
"css-loader": "^2.1.0",
"file-loader": "^3.0.1",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.5.0",
"style-loader": "^0.23.1",
"typescript": "^3.3.3",
"url-loader": "^1.1.2",
"webpack": "^4.29.3",
"webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.1.14"
"babel-loader": "^8.1.0",
"css-loader": "^3.6.0",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.3.0",
"mini-css-extract-plugin": "^0.9.0",
"style-loader": "^1.2.1",
"typescript": "^3.9.7",
"url-loader": "^4.1.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
}
}
39 changes: 20 additions & 19 deletions hooks/00_BoilerPlate/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
var HtmlWebpackPlugin = require("html-webpack-plugin");
var MiniCssExtractPlugin = require("mini-css-extract-plugin");
var webpack = require("webpack");
var path = require("path");
const HtmlWebpackPlugin = require("html-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const webpack = require("webpack");
const path = require("path");

var basePath = __dirname;
const basePath = __dirname;

module.exports = {
context: path.join(basePath, "src"),
resolve: {
extensions: [".js", ".ts", ".tsx"]
extensions: [".js", ".ts", ".tsx"],
},
entry: ["@babel/polyfill", "./main.ts"],
output: {
path: path.join(basePath, "dist"),
filename: "bundle.js"
filename: "bundle.js",
},
devtool: "source-map",
devServer: {
contentBase: "./dist", // Content base
inline: true, // Enable watch and live reload
host: "localhost",
port: 8080,
stats: "errors-only"
stats: "errors-only",
},
module: {
rules: [
Expand All @@ -31,32 +31,33 @@ module.exports = {
loader: "awesome-typescript-loader",
options: {
useBabel: true,
babelCore: "@babel/core" // needed for Babel v7
}
babelCore: "@babel/core", // needed for Babel v7
},
},
{
test: /\.css$/,
use: [MiniCssExtractPlugin.loader, "css-loader"]
use: [MiniCssExtractPlugin.loader, "css-loader"],
},
{
test: /\.(png|jpg|gif|svg)$/,
loader: "file-loader",
options: {
name: "assets/img/[name].[ext]?[hash]"
}
}
]
name: "assets/img/[name].[ext]?[hash]",
esModule: false,
},
},
],
},
plugins: [
//Generate index.html in /dist => https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: "index.html", //Name of file in ./dist/
template: "index.html", //Name of template in ./src
hash: true
hash: true,
}),
new MiniCssExtractPlugin({
filename: "[name].css",
chunkFilename: "[id].css"
})
]
chunkFilename: "[id].css",
}),
],
};
38 changes: 19 additions & 19 deletions hooks/01_HelloReact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@
"author": "Braulio Diez Botella",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.3.1",
"@types/react": "^16.8.3",
"@types/react-dom": "^16.8.1",
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/polyfill": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@types/react": "^16.9.43",
"@types/react-dom": "^16.9.8",
"awesome-typescript-loader": "^5.2.1",
"babel-loader": "^8.0.5",
"css-loader": "^2.1.0",
"file-loader": "^3.0.1",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.5.0",
"style-loader": "^0.23.1",
"typescript": "^3.3.3",
"url-loader": "^1.1.2",
"webpack": "^4.29.3",
"webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.1.14"
"babel-loader": "^8.1.0",
"css-loader": "^3.6.0",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.3.0",
"mini-css-extract-plugin": "^0.9.0",
"style-loader": "^1.2.1",
"typescript": "^3.9.7",
"url-loader": "^4.1.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"react": "^16.8.2",
"react-dom": "^16.8.2"
"react": "^16.13.1",
"react-dom": "^16.13.1"
}
}
39 changes: 20 additions & 19 deletions hooks/01_HelloReact/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
var HtmlWebpackPlugin = require("html-webpack-plugin");
var MiniCssExtractPlugin = require("mini-css-extract-plugin");
var webpack = require("webpack");
var path = require("path");
const HtmlWebpackPlugin = require("html-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const webpack = require("webpack");
const path = require("path");

var basePath = __dirname;
const basePath = __dirname;

module.exports = {
context: path.join(basePath, "src"),
resolve: {
extensions: [".js", ".ts", ".tsx"]
extensions: [".js", ".ts", ".tsx"],
},
entry: ["@babel/polyfill", "./index.tsx"],
output: {
path: path.join(basePath, "dist"),
filename: "bundle.js"
filename: "bundle.js",
},
devtool: "source-map",
devServer: {
contentBase: "./dist", // Content base
inline: true, // Enable watch and live reload
host: "localhost",
port: 8080,
stats: "errors-only"
stats: "errors-only",
},
module: {
rules: [
Expand All @@ -31,32 +31,33 @@ module.exports = {
loader: "awesome-typescript-loader",
options: {
useBabel: true,
babelCore: "@babel/core" // needed for Babel v7
}
babelCore: "@babel/core", // needed for Babel v7
},
},
{
test: /\.css$/,
use: [MiniCssExtractPlugin.loader, "css-loader"]
use: [MiniCssExtractPlugin.loader, "css-loader"],
},
{
test: /\.(png|jpg|gif|svg)$/,
loader: "file-loader",
options: {
name: "assets/img/[name].[ext]?[hash]"
}
}
]
name: "assets/img/[name].[ext]?[hash]",
esModule: false,
},
},
],
},
plugins: [
//Generate index.html in /dist => https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: "index.html", //Name of file in ./dist/
template: "index.html", //Name of template in ./src
hash: true
hash: true,
}),
new MiniCssExtractPlugin({
filename: "[name].css",
chunkFilename: "[id].css"
})
]
chunkFilename: "[id].css",
}),
],
};
38 changes: 19 additions & 19 deletions hooks/02_Properties/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@
"author": "Braulio Diez Botella",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.3.1",
"@types/react": "^16.8.3",
"@types/react-dom": "^16.8.1",
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/polyfill": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@types/react": "^16.9.43",
"@types/react-dom": "^16.9.8",
"awesome-typescript-loader": "^5.2.1",
"babel-loader": "^8.0.5",
"css-loader": "^2.1.0",
"file-loader": "^3.0.1",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.5.0",
"style-loader": "^0.23.1",
"typescript": "^3.3.3",
"url-loader": "^1.1.2",
"webpack": "^4.29.3",
"webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.1.14"
"babel-loader": "^8.1.0",
"css-loader": "^3.6.0",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.3.0",
"mini-css-extract-plugin": "^0.9.0",
"style-loader": "^1.2.1",
"typescript": "^3.9.7",
"url-loader": "^4.1.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"react": "^16.8.2",
"react-dom": "^16.8.2"
"react": "^16.13.1",
"react-dom": "^16.13.1"
}
}
6 changes: 3 additions & 3 deletions hooks/02_Properties/src/hello.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ interface Props {
userName: string;
}

export const HelloComponent = (props: Props) => (
<h2>Hello user: {props.userName} !</h2>
);
export const HelloComponent: React.FC<Props> = (props) => (
<h2>Hello user: {props.userName} !</h2>
);
39 changes: 20 additions & 19 deletions hooks/02_Properties/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
var HtmlWebpackPlugin = require("html-webpack-plugin");
var MiniCssExtractPlugin = require("mini-css-extract-plugin");
var webpack = require("webpack");
var path = require("path");
const HtmlWebpackPlugin = require("html-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const webpack = require("webpack");
const path = require("path");

var basePath = __dirname;
const basePath = __dirname;

module.exports = {
context: path.join(basePath, "src"),
resolve: {
extensions: [".js", ".ts", ".tsx"]
extensions: [".js", ".ts", ".tsx"],
},
entry: ["@babel/polyfill", "./index.tsx"],
output: {
path: path.join(basePath, "dist"),
filename: "bundle.js"
filename: "bundle.js",
},
devtool: "source-map",
devServer: {
contentBase: "./dist", // Content base
inline: true, // Enable watch and live reload
host: "localhost",
port: 8080,
stats: "errors-only"
stats: "errors-only",
},
module: {
rules: [
Expand All @@ -31,32 +31,33 @@ module.exports = {
loader: "awesome-typescript-loader",
options: {
useBabel: true,
babelCore: "@babel/core" // needed for Babel v7
}
babelCore: "@babel/core", // needed for Babel v7
},
},
{
test: /\.css$/,
use: [MiniCssExtractPlugin.loader, "css-loader"]
use: [MiniCssExtractPlugin.loader, "css-loader"],
},
{
test: /\.(png|jpg|gif|svg)$/,
loader: "file-loader",
options: {
name: "assets/img/[name].[ext]?[hash]"
}
}
]
name: "assets/img/[name].[ext]?[hash]",
esModule: false,
},
},
],
},
plugins: [
//Generate index.html in /dist => https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: "index.html", //Name of file in ./dist/
template: "index.html", //Name of template in ./src
hash: true
hash: true,
}),
new MiniCssExtractPlugin({
filename: "[name].css",
chunkFilename: "[id].css"
})
]
chunkFilename: "[id].css",
}),
],
};
Loading