@alfalab/stylelint-core-vars 2.1.0 → 2.1.1

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
@@ -1,5 +1,11 @@
1
1
  # stylelint-core-vars
2
2
 
3
+ ## 2.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#121](https://github.com/core-ds/arui-presets-lint/pull/121) [`b83ff31`](https://github.com/core-ds/arui-presets-lint/commit/b83ff31f78483f79dcb263f71e3a2dd5a92b5c15) Thanks [@kiskv](https://github.com/kiskv)! - Фикс попадания зависимости с версией 'workspace:\*' в релизный пакет
8
+
3
9
  ## 2.1.0
4
10
 
5
11
  ### Minor Changes
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ // Удаляем devDependencies перед публикацией
2
+ // Для того чтобы зависимости с версией `workspace:*` не попали в релиз
3
+ import { readFile, writeFile } from 'node:fs/promises';
4
+ const pkgPath = 'package.json';
5
+ const pkg = JSON.parse(await readFile(pkgPath, 'utf8'));
6
+ pkg.devDependencies = {};
7
+ await writeFile(pkgPath, `${JSON.stringify(pkg, null, 4)}\n`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/stylelint-core-vars",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "core-components css linter",
5
5
  "license": "MIT",
6
6
  "author": "core-ds contributors",
@@ -22,6 +22,7 @@
22
22
  },
23
23
  "scripts": {
24
24
  "build": "rimraf dist && tsc -p tsconfig.build.json",
25
+ "prepack": "tsx scripts/strip-dev-deps.ts",
25
26
  "test": "tsc --noEmit && yarn lint && yarn test:unit",
26
27
  "test:unit": "vitest --run",
27
28
  "lint": "yarn lint:scripts && yarn format:check",
@@ -34,17 +35,7 @@
34
35
  "@manypkg/get-packages": "^3.1.0",
35
36
  "postcss": "^8.5.6"
36
37
  },
37
- "devDependencies": {
38
- "@alfalab/core-components-vars": "7.0.0",
39
- "@vitest/coverage-istanbul": "4.1.5",
40
- "arui-presets-lint": "workspace:*",
41
- "jest-preset-stylelint": "^8.0.0",
42
- "rimraf": "6.1.3",
43
- "stylelint": "16.23.1",
44
- "tsx": "4.21.0",
45
- "typescript": "6.0.3",
46
- "vitest": "4.1.5"
47
- },
38
+ "devDependencies": {},
48
39
  "peerDependencies": {
49
40
  "stylelint": "^16.0.0"
50
41
  },