@infomaximum/package-cli 2.7.0 → 2.8.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.8.0](https://github.com/Infomaximum/package-cli/compare/v2.7.1...v2.8.0) (2024-09-18)
6
+
7
+
8
+ ### Features
9
+
10
+ * добавлена возможность импортировать svg в исходном виде (*.svg?src) ([47f0f2c](https://github.com/Infomaximum/package-cli/commit/47f0f2c75f35fae070f58e9b481bf9d98f739bb7))
11
+
12
+ ### [2.7.1](https://github.com/Infomaximum/package-cli/compare/v2.7.0...v2.7.1) (2024-09-17)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * удалено поле entry из манифеста виджета ([02d00a7](https://github.com/Infomaximum/package-cli/commit/02d00a753485de953020dc565dadfdf28138ff2d))
18
+
5
19
  ## [2.7.0](https://github.com/Infomaximum/package-cli/compare/v2.6.1...v2.7.0) (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"),
@@ -5,7 +5,6 @@ export const WIDGET_MANIFEST_TEMPLATE = `\
5
5
  {
6
6
  "$schema": "node_modules/${CUSTOM_PACKAGE_CLI_LIB_NAME}/schemas/widgetManifestSchema.json",
7
7
  "uuid": "${randomUUID()}",
8
- "entry": "index.js",
9
8
  "api_version": 1,
10
9
  "name": {
11
10
  "en": "{{${capitalizeHelperName} packageName}}",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/package-cli",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "exports": "./dist/index.js",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",