@lipemat/js-boilerplate 9.0.0-beta.4 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,11 +11,11 @@ const presetEnv = {
11
11
  *
12
12
  * @link https://caniuse.com/css-focus-visible
13
13
  *
14
- * May be imported directly into index.js for SPA or site which loads JS app
14
+ * May be imported directly into the index.js for sites, which loads JS app
15
15
  * on every page.
16
16
  * @link https://github.com/WICG/focus-visible
17
17
  *
18
- * Most often will need it site wide on pages which do and don't use the JS app.
18
+ * Most will often need it site wide on pages, which do and don't use the JS app.
19
19
  * @link https://unpkg.com/focus-visible@5.2.0/dist/focus-visible.min.js
20
20
  */
21
21
  'focus-visible-pseudo-class': {
@@ -25,7 +25,7 @@ const presetEnv = {
25
25
  };
26
26
 
27
27
  /**
28
- * If browserslist is not specified, we fallback to WordPress defaults.
28
+ * If browserslist is not specified, we fall back to WordPress defaults.
29
29
  *
30
30
  * @link https://github.com/csstools/postcss-preset-env#browsers
31
31
  */
@@ -36,7 +36,9 @@ if ( getDefaultBrowsersList() ) {
36
36
 
37
37
  const config = {
38
38
  plugins: [
39
- require( 'postcss-import' ),
39
+ require( 'postcss-import' )( {
40
+ skipDuplicates: false,
41
+ } ),
40
42
  require( 'postcss-custom-media' ),
41
43
  require( 'postcss-nested' ),
42
44
  postcssPresetEnv( presetEnv ),
@@ -24,6 +24,7 @@ const plugins = [
24
24
  // Only use this if the project has a tsconfig.json file.
25
25
  if ( hasLocalOverride( 'tsconfig.json', true ) ) {
26
26
  plugins.push( new ForkTsCheckerWebpackPlugin( {
27
+ devServer: false,
27
28
  formatter: 'basic',
28
29
  typescript: {
29
30
  configFile: config.workingDirectory + '/tsconfig.json',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lipemat/js-boilerplate",
3
- "version": "9.0.0-beta.4",
3
+ "version": "9.0.0",
4
4
  "description": "Dependencies and scripts for a no config JavaScript app",
5
5
  "author": "Mat Lipe",
6
6
  "license": "MIT",