@cherepanov.pavel/shareable-config 1.0.2 → 1.0.3

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/README.md CHANGED
@@ -51,7 +51,17 @@ import {
51
51
  jsConfig,
52
52
  tsConfig,
53
53
  vueConfig,
54
- } from '@frontend/configs/tools/eslint-config/index.js';
54
+ } from '@cherepanov.pavel/shareable-config/tools/eslint-config/index.js';
55
+ ```
56
+
57
+ Before:
58
+ ```js
59
+ import baseConfig from './tools/stylelint-config/config.js';
60
+ ```
61
+
62
+ After:
63
+ ```js
64
+ import baseConfig from '@cherepanov.pavel/shareable-config/tools/stylelint-config/config.js';
55
65
  ```
56
66
 
57
67
  5. **Override rules via the `override` function in your own configs where needed.**
@@ -70,12 +80,12 @@ import {
70
80
 
71
81
  After installing the package, run:
72
82
  ```sh
73
- npx -p "@frontend/configs" set-env
83
+ npx -p "@cherepanov.pavel/shareable-config" set-env
74
84
  ```
75
85
 
76
86
  Then run:
77
87
  ```sh
78
- npx -p "@frontend/configs" get-all
88
+ npx -p "@cherepanov.pavel/shareable-config" get-all
79
89
  ```
80
90
 
81
91
  or run any other command if you want to update partially.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cherepanov.pavel/shareable-config",
3
3
  "description": "setup for new repositories",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "type": "module",
6
6
  "devEngines": {
7
7
  "packageManager": {
@@ -50,6 +50,7 @@
50
50
  "eslint": "^10.8.1",
51
51
  "eslint-plugin-vue": "^10.10.0",
52
52
  "fs-extra": "^11.4.0",
53
+ "globals": "^17.9.0",
53
54
  "jiti": "^2.7.0",
54
55
  "json5": "^2.2.3",
55
56
  "postcss-html": "^2.0.0",
@@ -5,7 +5,7 @@ export const possibleProblemRules = {
5
5
  'vue/attributes-order': [ERROR],
6
6
  'vue/block-lang': [OFF],
7
7
  'vue/block-order': [ERROR, {
8
- order: ['template', 'script', 'style'],
8
+ order: ['script', 'template', 'style'],
9
9
  }],
10
10
  'vue/component-api-style': [ERROR, ['script-setup']],
11
11
  'vue/component-definition-name-casing': [ERROR, 'PascalCase'],