@lipemat/js-boilerplate 10.10.3 → 10.10.4

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.
@@ -1,11 +1,14 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  const path_1 = require("path");
4
7
  const fs_1 = require("fs");
5
8
  const config_1 = require("../helpers/config");
6
9
  const package_config_1 = require("../helpers/package-config");
7
- const postcss_pretty_1 = require("../lib/postcss-pretty");
8
- const postcss_clean_1 = require("../lib/postcss-clean");
10
+ const postcss_pretty_1 = __importDefault(require("../lib/postcss-pretty"));
11
+ const postcss_clean_1 = __importDefault(require("../lib/postcss-clean"));
9
12
  const postcssPresetEnv = require('postcss-preset-env');
10
13
  function isPluginsArray(value) {
11
14
  return Array.isArray(value);
@@ -5,6 +5,7 @@
5
5
  "display": "JS Boilerplate",
6
6
  "compilerOptions": {
7
7
  "allowSyntheticDefaultImports": true,
8
+ "esModuleInterop": true,
8
9
  "forceConsistentCasingInFileNames": true,
9
10
  "jsx": "preserve",
10
11
  "lib": [
@@ -72,10 +72,6 @@ module.exports = {
72
72
  exclude: /node_modules/,
73
73
  options: babelOptions,
74
74
  },
75
- {
76
- test: /\.[jt]sx?$/,
77
- include: /node_modules/,
78
- },
79
75
  {
80
76
  test: /\.css$/,
81
77
  use: [
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.postcss = void 0;
4
7
  /**
@@ -15,7 +18,7 @@ exports.postcss = void 0;
15
18
  * @link https://www.npmjs.com/package/postcss-clean
16
19
  *
17
20
  */
18
- const postcss_1 = require("postcss");
21
+ const postcss_1 = __importDefault(require("postcss"));
19
22
  // Can't use `import` due to the plugin not supporting a default export.
20
23
  const CleanCSS = require('clean-css');
21
24
  const cleaner = (opts = {}) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lipemat/js-boilerplate",
3
- "version": "10.10.3",
3
+ "version": "10.10.4",
4
4
  "description": "Dependencies and scripts for a no config JavaScript app",
5
5
  "author": "Mat Lipe",
6
6
  "license": "MIT",
@@ -36,7 +36,6 @@
36
36
  "scripts": {
37
37
  "browserslist": "lipemat-js-boilerplate browserslist",
38
38
  "build": "ts-node ./bin/build.ts",
39
- "lint": "lipemat-js-boilerplate lint",
40
39
  "prepublishOnly": "yarn run build",
41
40
  "test": "lipemat-js-boilerplate test",
42
41
  "validate-ts": "tsc --noEmit",
@@ -50,7 +49,7 @@
50
49
  "@babel/preset-react": "^7.24.7",
51
50
  "@babel/preset-typescript": "^7.24.7",
52
51
  "@csstools/postcss-global-data": "2.0.0",
53
- "@lipemat/eslint-config": "^3.1.3",
52
+ "@lipemat/eslint-config": "^3.4.2",
54
53
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
55
54
  "@statoscope/webpack-plugin": "^5.28.2",
56
55
  "@teamsupercell/typings-for-css-modules-loader": "^2.5.2",
@@ -108,8 +107,5 @@
108
107
  "memfs": "^3.5.3",
109
108
  "setimmediate": "^1.0.5"
110
109
  },
111
- "resolutions": {
112
- "@types/eslint": "^8.0.0"
113
- },
114
110
  "packageManager": "yarn@4.5.1"
115
111
  }