@dg-scripts/webpack-template 5.17.0 → 5.18.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.
package/.prettierrc.json CHANGED
@@ -1,9 +1,11 @@
1
1
  {
2
- "arrowParens": "avoid",
2
+ "arrowParens": "always",
3
+ "bracketSpacing": true,
3
4
  "endOfLine": "lf",
5
+ "printWidth": 80,
4
6
  "semi": false,
5
7
  "singleQuote": true,
6
8
  "tabWidth": 2,
7
- "trailingComma": "es5",
8
- "printWidth": 80
9
+ "trailingComma": "all",
10
+ "useTabs": false
9
11
  }
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [5.18.0](https://github.com/sabertazimi/bod/compare/v5.17.0...v5.18.0) (2024-04-01)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **bod-tempalte:** add webpack tempalte directory ([#1143](https://github.com/sabertazimi/bod/issues/1143)) ([f212277](https://github.com/sabertazimi/bod/commit/f212277afa68c1c88e30124337887cd2a6e136ef))
12
+
13
+
14
+ ### Features
15
+
16
+ * **bod-template:** add webpack template ([#1144](https://github.com/sabertazimi/bod/issues/1144)) ([e1c1efd](https://github.com/sabertazimi/bod/commit/e1c1efda93b58db8fec18a5c32b7cb13a09fa62b))
17
+
18
+
19
+
20
+
21
+
6
22
  # [2.10.0](https://github.com/sabertazimi/boilerplate/compare/v2.9.0...v2.10.0) (2022-05-29)
7
23
 
8
24
 
package/package.json CHANGED
@@ -1,27 +1,27 @@
1
1
  {
2
2
  "name": "@dg-scripts/webpack-template",
3
- "version": "5.17.0",
3
+ "version": "5.18.0",
4
+ "packageManager": "pnpm@8.15.5",
4
5
  "description": "Minimal webpack boilerplate",
5
- "keywords": [
6
- "webpack",
7
- "boilerplate",
8
- "template"
9
- ],
6
+ "author": "sabertazimi",
10
7
  "license": "MIT",
8
+ "homepage": "https://github.com/sabertazimi/bod",
11
9
  "repository": {
12
10
  "type": "git",
13
11
  "url": "git+https://github.com/sabertazimi/bod.git"
14
12
  },
15
- "author": "sabertazimi",
16
- "main": "./src/index.js",
17
- "engines": {
18
- "node": ">=14"
19
- },
20
13
  "bugs": {
21
14
  "url": "https://github.com/sabertazimi/bod/issues"
22
15
  },
23
- "homepage": "https://github.com/sabertazimi/bod",
24
- "packageManager": "pnpm@8.15.5",
16
+ "keywords": [
17
+ "webpack",
18
+ "boilerplate",
19
+ "template"
20
+ ],
21
+ "main": "./src/index.js",
22
+ "engines": {
23
+ "node": ">=18"
24
+ },
25
25
  "browserslist": {
26
26
  "production": [
27
27
  ">0.2%",
@@ -53,8 +53,8 @@
53
53
  "@babel/plugin-transform-class-properties": "^7.24.1",
54
54
  "@babel/plugin-transform-object-rest-spread": "^7.24.1",
55
55
  "@babel/preset-env": "^7.24.3",
56
- "@dg-scripts/eslint-config": "^5.17.0",
57
- "@dg-scripts/stylelint-config": "^5.17.0",
56
+ "@dg-scripts/eslint-config": "^5.18.0",
57
+ "@dg-scripts/stylelint-config": "^5.18.0",
58
58
  "@svgr/webpack": "^8.1.0",
59
59
  "@types/jest": "^29.5.12",
60
60
  "@types/node": "^20.12.2",
@@ -74,7 +74,7 @@
74
74
  "postcss": "^8.4.38",
75
75
  "postcss-flexbugs-fixes": "^5.0.2",
76
76
  "postcss-loader": "^8.1.1",
77
- "postcss-preset-env": "^9.5.2",
77
+ "postcss-preset-env": "^9.5.3",
78
78
  "prettier": "^3.2.5",
79
79
  "sass-loader": "^14.1.1",
80
80
  "style-loader": "^3.3.4",
@@ -93,5 +93,6 @@
93
93
  "webpack-cli": "^5.1.4",
94
94
  "webpack-dev-server": "^5.0.4",
95
95
  "webpackbar": "^6.0.1"
96
- }
96
+ },
97
+ "gitHead": "3bf0c5de549ce2a77026cbc7a3748013a45d0492"
97
98
  }
package/scripts/badge.ts CHANGED
@@ -1,11 +1,11 @@
1
- import cp from 'child_process';
2
- import fs from 'fs';
1
+ import cp from 'node:child_process';
2
+ import fs from 'node:fs';
3
3
  import path from 'path';
4
4
  import { fetch } from 'undici';
5
5
 
6
6
  const rootPath = path.join(__dirname, '..');
7
7
  const SummaryFilePath = path.join(rootPath, 'coverage/coverage-summary.json');
8
- const OutputBadgePath = path.join(rootPath, 'build');
8
+ const OutputBadgePath = path.join(rootPath, 'dist');
9
9
  const CoverageType = ['statements', 'branches', 'functions', 'lines'];
10
10
  const BadgeStyle = [
11
11
  'for-the-badge',