@infomaximum/package-cli 2.7.1 → 2.9.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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [2.9.0](https://github.com/Infomaximum/package-cli/compare/v2.8.0...v2.9.0) (2024-09-25)
6
+
7
+
8
+ ### Features
9
+
10
+ * ветка по умолчанию develop при инициализации репозитория ([e08c38b](https://github.com/Infomaximum/package-cli/commit/e08c38bd7fec9a2d45129029abca65359f81ec6f))
11
+
12
+ ## [2.8.0](https://github.com/Infomaximum/package-cli/compare/v2.7.1...v2.8.0) (2024-09-18)
13
+
14
+
15
+ ### Features
16
+
17
+ * добавлена возможность импортировать svg в исходном виде (*.svg?src) ([47f0f2c](https://github.com/Infomaximum/package-cli/commit/47f0f2c75f35fae070f58e9b481bf9d98f739bb7))
18
+
5
19
  ### [2.7.1](https://github.com/Infomaximum/package-cli/compare/v2.7.0...v2.7.1) (2024-09-17)
6
20
 
7
21
 
@@ -122,6 +122,10 @@ export const getCommonWidgetConfig = (mode, PATHS) => {
122
122
  filename: "build/static/[hash][ext][query]",
123
123
  },
124
124
  },
125
+ {
126
+ type: "asset/source",
127
+ resourceQuery: /src/,
128
+ },
125
129
  {
126
130
  issuer: /\.[jt]sx?$/,
127
131
  loader: systemRequire.resolve("@svgr/webpack"),
@@ -22,7 +22,7 @@ const runInitWidget = (dirName) => __awaiter(void 0, void 0, void 0, function* (
22
22
  console.error(error);
23
23
  }
24
24
  try {
25
- yield spawnCommand("git", ["init"], {
25
+ yield spawnCommand("git", ["init", "-b", "develop"], {
26
26
  cwd: createPath,
27
27
  });
28
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/package-cli",
3
- "version": "2.7.1",
3
+ "version": "2.9.0",
4
4
  "exports": "./dist/index.js",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",