textpattern-default-theme
Advanced tools
Comparing version 4.8.2 to 4.8.7
@@ -29,3 +29,3 @@ # Contributor Covenant Code of Conduct | ||
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. | ||
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviours that they deem inappropriate, threatening, offensive, or harmful. | ||
@@ -32,0 +32,0 @@ ## Scope |
{ | ||
"version": "4.8.7", | ||
"title": "Four Point Eight", | ||
"txp-type": "textpattern-theme", | ||
"version": "4.8.2", | ||
"description": "The default theme shipped with Textpattern CMS 4.8.", | ||
"author": "Team Textpattern", | ||
"author_uri": "https://github.com/textpattern/textpattern-default-theme" | ||
} | ||
} |
@@ -5,3 +5,3 @@ { | ||
"txp-type": "textpattern-theme", | ||
"version": "4.8.2", | ||
"version": "4.8.7", | ||
"description": "The default theme that ships as standard with Textpattern CMS.", | ||
@@ -29,22 +29,20 @@ "author": "Team Textpattern", | ||
"devDependencies": { | ||
"autoprefixer": "9.8.0", | ||
"autoprefixer": "10.2.6", | ||
"clean-webpack-plugin": "3.0.0", | ||
"copy-webpack-plugin": "6.0.1", | ||
"cross-env": "7.0.2", | ||
"css-loader": "3.5.3", | ||
"file-loader": "6.0.0", | ||
"mini-css-extract-plugin": "0.9.0", | ||
"postcss-loader": "3.0.0", | ||
"sass": "1.26.5", | ||
"sass-loader": "8.0.2", | ||
"stylelint": "13.5.0", | ||
"stylelint-order": "4.0.0", | ||
"stylelint-scss": "3.17.2", | ||
"stylelint-webpack-plugin": "2.0.0", | ||
"webpack": "4.43.0", | ||
"webpack-cli": "3.3.11" | ||
"copy-webpack-plugin": "9.0.0", | ||
"cross-env": "7.0.3", | ||
"css-loader": "5.2.6", | ||
"mini-css-extract-plugin": "1.6.0", | ||
"postcss": "8.3.0", | ||
"postcss-loader": "5.3.0", | ||
"sass": "1.32.8", | ||
"sass-loader": "11.1.1", | ||
"stylelint": "13.13.1", | ||
"stylelint-order": "4.1.0", | ||
"stylelint-scss": "3.19.0", | ||
"stylelint-webpack-plugin": "2.1.1", | ||
"webpack": "5.38.1", | ||
"webpack-cli": "4.7.0", | ||
"webpack-manifest-version-sync-plugin": "0.0.4" | ||
}, | ||
"optionalDependencies": { | ||
"fibers": "5.0.0" | ||
}, | ||
"browserslist": [ | ||
@@ -56,5 +54,5 @@ "> 0.5%", | ||
"scripts": { | ||
"build": "webpack -p --progress" | ||
"build": "webpack --progress" | ||
}, | ||
"license": "GPL-2.0" | ||
} |
@@ -5,9 +5,5 @@ # Textpattern CMS default theme | ||
[![Known Vulnerabilities](https://snyk.io/test/github/textpattern/textpattern-default-theme/badge.svg?targetFile=package.json)](https://snyk.io/test/github/textpattern/textpattern-default-theme?targetFile=package.json) | ||
[![devDependencies Status](https://david-dm.org/textpattern/textpattern-default-theme/dev-status.svg)](https://david-dm.org/textpattern/textpattern-default-theme?type=dev) | ||
[![optionalDependencies Status](https://david-dm.org/textpattern/textpattern-default-theme/optional-status.svg)](https://david-dm.org/textpattern/textpattern-default-theme?type=optional) | ||
[Demo](https://default-theme.textpattern.com/) | ||
This project is the source for the default theme that ships as standard with [Textpattern CMS](https://textpattern.com/). It is intended as a starting point for new users learning the Textpattern CMS for the first time or existing users that want to adapt their current code for modern standards, and is not intended as a finished production theme (though you could use it as such if you want to). | ||
This project is the source for the default theme that ships as standard with [Textpattern CMS](https://textpattern.com/) as of v4.7.0 onwards. It is intended as a starting point for new users learning the Textpattern CMS for the first time or existing users that want to adapt their current code for modern standards, and is not intended as a finished production theme (though you could use it as such if you want to). | ||
## Features | ||
@@ -26,4 +22,5 @@ | ||
* Chrome, Edge, Firefox, Safari and Opera the last two recent stable releases. | ||
* Internet Explorer 11. | ||
* Chrome, Edge, Firefox, Safari and Opera the last two recent stable releases. | ||
* Firefox ESR latest major point release. | ||
@@ -30,0 +27,0 @@ ## Requirements |
{ | ||
"title": "Four Point Eight", | ||
"txp-type": "textpattern-theme", | ||
"version": "4.8.2", | ||
"description": "The default theme shipped with Textpattern CMS 4.8.", | ||
@@ -6,0 +5,0 @@ "author": "Team Textpattern", |
@@ -6,2 +6,3 @@ const distDir = __dirname + '/dist/four-point-eight'; | ||
const CopyWebpackPlugin = require('copy-webpack-plugin'); | ||
const ManifestVersionSyncPlugin = require('webpack-manifest-version-sync-plugin'); | ||
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | ||
@@ -11,2 +12,3 @@ const StyleLintPlugin = require('stylelint-webpack-plugin'); | ||
module.exports = { | ||
mode: 'production', | ||
entry: { | ||
@@ -25,8 +27,19 @@ 'styles/default.css': './src/scss/default.scss' | ||
MiniCssExtractPlugin.loader, | ||
// Translates CSS into CommonJS modules. | ||
{ loader: 'css-loader', options: { importLoaders: 2 } }, | ||
// Run postCSS actions. | ||
{ loader: 'postcss-loader', options: { plugins: [require('autoprefixer')] } }, | ||
// Compiles Sass to CSS. | ||
{ | ||
loader: 'css-loader', | ||
options: { | ||
importLoaders: 2, | ||
}, | ||
}, | ||
{ | ||
loader: 'postcss-loader', | ||
options: { | ||
postcssOptions: { | ||
plugins: [ | ||
'autoprefixer', | ||
], | ||
}, | ||
}, | ||
}, | ||
{ | ||
loader: 'sass-loader', | ||
@@ -36,13 +49,17 @@ options: { | ||
sassOptions: { | ||
outputStyle: 'expanded' | ||
} | ||
} | ||
} | ||
outputStyle: 'expanded', | ||
}, | ||
}, | ||
}, | ||
] | ||
}, | ||
{ | ||
test: /\.woff2?$|\.ttf$|\.eot$|\.svg$|\.png|\.jpe?g|\.gif$/, | ||
loader: 'file-loader' | ||
test: /\.(woff(2)?|svg)$/, | ||
type: 'asset/inline', | ||
}, | ||
] | ||
{ | ||
test: /\.(?:ico|gif|jpe?g|png|svg|webp)$/i, | ||
type: 'asset/resource', | ||
}, | ||
], | ||
}, | ||
@@ -62,2 +79,5 @@ plugins: [ | ||
}), | ||
new ManifestVersionSyncPlugin({ | ||
manifestPath: 'manifest.json', | ||
}), | ||
new CopyWebpackPlugin({ | ||
@@ -71,3 +91,3 @@ patterns: [ | ||
}), | ||
] | ||
], | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
29371600
0
82
17
1800
69