Browse Source

actualizados paquetes npm migrando hacia bootstrap 5

lowry-bs5-sd
jorge 1 year ago
parent
commit
50387f7896
  1. 7
      README.md
  2. 2290
      package-lock.json
  3. 12
      package.json
  4. 2
      tmpl/header.html
  5. 31
      webpack.config.js

7
README.md

@ -1,5 +1,8 @@
> branch `lowry-bs5-sd` es la de desarrollo de Bootstrap5 para SinDominio
>
> branch `lowry-bs5-sd` es la de desarrollo de Bootstrap5 para SinDominio
nota: https://getbootstrap.com/docs/5.0/migration/
Set up a testing environment:
```
make deps

2290
package-lock.json generated

File diff suppressed because it is too large Load Diff

12
package.json

@ -1,6 +1,6 @@
{
"name": "lowry",
"version": "0.0.0",
"version": "0.0.1",
"description": "Our favorite burocrat",
"main": "assets/index.js",
"scripts": {
@ -13,23 +13,25 @@
"author": "SinDominio",
"license": "AGPL-3.0",
"dependencies": {
"bootstrap": "^4.4.1",
"jquery": "^3.4.1",
"bootstrap": "^5.0.0-beta1",
"jquery": "^3.5.1",
"popper.js": "^1.16.1",
"webassemblyjs": "^1.9.0"
},
"devDependencies": {
"@popperjs/core": "^2.6.0",
"@svgr/core": "^4.3.3",
"ajv": "^6.12.6",
"autoprefixer": "^7.1.3",
"css-loader": "^3.4.2",
"expose-loader": "^0.7.5",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^3.0.1",
"node-sass": "^4.13.1",
"node-sass": "^5.0.0",
"postcss-loader": "^3.0.0",
"sass-loader": "^7.3.1",
"style-loader": "^0.18.2",
"webpack": "^4.42.1",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.11"
}
}

2
tmpl/header.html

@ -5,5 +5,5 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" type="image/png" href="/img/favicon_sd.png"/>
<link rel="stylesheet" href="/style.css">
<title>lowry</title>
<title>Lowry - el burocrata que trabaja para SinDominio</title>
<script src="/bundle.js"></script>

31
webpack.config.js

@ -49,7 +49,7 @@ module.exports = {
options: {
name: '[name].[ext]',
outputPath: 'img/',
},
},
},
{
test: require.resolve('jquery'),
@ -75,32 +75,3 @@ module.exports = {
new ExtractTextPlugin('style.css')
]
};
//
//
//
//https://getbootstrap.com/docs/4.0/getting-started/webpack/
// loaders: [
// {
// test: /\.scss$/,
// use: [{
// loader: 'style-loader', // inject CSS to page
// }, {
// loader: 'css-loader', // translates CSS into CommonJS modules
// }, {
// loader: 'postcss-loader', // Run post css actions
// options: {
// plugins: function () { // post css plugins, can be exported to postcss.config.js
// return [
// require('precss'),
// require('autoprefixer')
// ];
// }
// }
// }, {
// loader: 'sass-loader' // compiles Sass to CSS
// }]
// }
// ],

Loading…
Cancel
Save