Add minor fixes

This commit is contained in:
Daniel Garcia 2021-09-09 16:32:12 +02:00
parent 6b0faeb2e5
commit 2234b2197f
2 changed files with 17 additions and 17 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
/node_modules/
/.idea/
/dist/
/dist/

View File

@ -33,24 +33,24 @@
```javascript
entry: './src/index.js', // change if needed
output: {
filename: 'index.js', // change if needed
path: path.resolve(__dirname, 'dist'), // change if needed
filename: 'index.js', // change if needed
path: path.resolve(__dirname, 'dist'), // change if needed
},
plugins: [
new HtmlWebpackPlugin({
template: './src/index.html', // change if needed
filename: path.resolve(__dirname, 'dist', 'index.html'), // change if needed
}),
// ...
new HtmlWebpackPlugin({
template: './src/index.html', // change if needed
filename: path.resolve(__dirname, 'dist', 'index.html'), // change if needed
}),
// ...
],
```
- webpack.dev.js
```javascript
devServer: {
contentBase: path.join(__dirname, 'dist'), // change if needed
port: 9000, // change if needed
historyApiFallback: true,
contentBase: path.join(__dirname, 'dist'), // change if needed
port: 9000, // change if needed
historyApiFallback: true,
},
```
@ -106,11 +106,11 @@ historyApiFallback: true,
Una vez añadidas quedarían de la siguiente forma:
```json
"dependencies": {
"mcf-components": "git+ssh://git@bitbucket.org/SmartclipDev/mcf-components.git#v0.1.3",
"mcf-objects": "git+ssh://git@bitbucket.org/SmartclipDev/mcf-objects.git#v0.1.4",
"mcf-components": "git+ssh://git@bitbucket.org/SmartclipDev/mcf-components.git#v0.2.0",
"mcf-objects": "git+ssh://git@bitbucket.org/SmartclipDev/mcf-objects.git#v0.2.0",
"smart-client-socket": "git+ssh://git@bitbucket.org/SmartclipDev/smart-client-socket.git#v0.2.0",
"smart-ads": "git+ssh://git@bitbucket.org/SmartclipDev/smart-ads.git#v0.1.3"
"smart-utils": "git+ssh://git@bitbucket.org/SmartclipDev/smart-utils.git#v0.1.3"
"smart-ads": "git+ssh://git@bitbucket.org/SmartclipDev/smart-ads.git#v0.2.0",
"smart-utils": "git+ssh://git@bitbucket.org/SmartclipDev/smart-utils.git#v0.1.4"
}
```
Es necesario revisar en los repositorios las últimas versiones de las bibliotecas para incluir la versión adecuada en el proyecto. Esto se hace mediante el número de la versión detrás del símbolo `#`.
@ -140,4 +140,4 @@ Debería abrirse una nueva pestaña en el navegador haciendo una petición al se
12. Crear el repositorio remoto en el [workspace de bitbucket](https://bitbucket.org/SmartclipDev/). Si se trata de una web-app, dentro del [proyecto web-apps](https://bitbucket.org/SmartclipDev/workspace/projects/WA)
13. Iniciar el repositorio local con git y añadir la referencia remota al repositorio local ([documentación de referencia](https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes)).
14. Verificar que el archivo .gitignore contiene todos los path necesarios ([documentación de referencia](https://git-scm.com/docs/gitignore))
15. Realizar el primer commit ([documentación de referencia](https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository)).
15. Realizar el primer commit ([documentación de referencia](https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository)).