@wonderflow/config 1.4.4 → 1.4.8
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/package.json +19 -20
- package/postcss/config.d.ts +0 -3
- package/postcss/config.js +1 -5
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wonderflow/config",
|
|
3
3
|
"description": "Wanda design system shared configurations ",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.8",
|
|
5
5
|
"author": "Wonderflow",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "index.js",
|
|
@@ -33,37 +33,36 @@
|
|
|
33
33
|
"postbuild": "copyfiles package.json dist"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@wonderflow/eslint-config": "1.
|
|
37
|
-
"@wonderflow/tokens": "1.3.
|
|
38
|
-
"cssnano": "5.0.
|
|
39
|
-
"cssnano-preset-default": "5.1.
|
|
36
|
+
"@wonderflow/eslint-config": "1.1.2",
|
|
37
|
+
"@wonderflow/tokens": "1.3.4",
|
|
38
|
+
"cssnano": "5.0.8",
|
|
39
|
+
"cssnano-preset-default": "5.1.4",
|
|
40
40
|
"flat": "5.0.2",
|
|
41
41
|
"postcss-easy-import": "3.0.0",
|
|
42
42
|
"postcss-inset": "1.0.0",
|
|
43
|
-
"postcss-mixins": "8.1.0",
|
|
44
43
|
"postcss-preset-env": "6.7.0"
|
|
45
44
|
},
|
|
46
45
|
"devDependencies": {
|
|
47
|
-
"@commitlint/cli": "
|
|
48
|
-
"@commitlint/config-conventional": "
|
|
49
|
-
"@semantic-release/commit-analyzer": "
|
|
50
|
-
"@semantic-release/exec": "
|
|
51
|
-
"@semantic-release/git": "
|
|
52
|
-
"@semantic-release/github": "
|
|
53
|
-
"@semantic-release/npm": "
|
|
54
|
-
"@semantic-release/release-notes-generator": "
|
|
46
|
+
"@commitlint/cli": "13.2.1",
|
|
47
|
+
"@commitlint/config-conventional": "13.2.0",
|
|
48
|
+
"@semantic-release/commit-analyzer": "9.0.1",
|
|
49
|
+
"@semantic-release/exec": "6.0.1",
|
|
50
|
+
"@semantic-release/git": "10.0.0",
|
|
51
|
+
"@semantic-release/github": "8.0.1",
|
|
52
|
+
"@semantic-release/npm": "8.0.2",
|
|
53
|
+
"@semantic-release/release-notes-generator": "10.0.2",
|
|
55
54
|
"@types/flat": "5.0.2",
|
|
56
|
-
"@typescript-eslint/eslint-plugin": "
|
|
57
|
-
"@typescript-eslint/parser": "
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "5.1.0",
|
|
56
|
+
"@typescript-eslint/parser": "5.1.0",
|
|
58
57
|
"commitizen": "4.2.4",
|
|
59
58
|
"copyfiles": "2.4.1",
|
|
60
59
|
"cz-conventional-changelog": "3.3.0",
|
|
61
|
-
"eslint": "7.
|
|
62
|
-
"husky": "7.0.
|
|
60
|
+
"eslint": "7.32.0",
|
|
61
|
+
"husky": "7.0.4",
|
|
63
62
|
"is-ci": "3.0.0",
|
|
64
63
|
"npm-run-all": "4.1.5",
|
|
65
64
|
"rimraf": "3.0.2",
|
|
66
|
-
"semantic-release": "
|
|
67
|
-
"typescript": "4.
|
|
65
|
+
"semantic-release": "18.0.0",
|
|
66
|
+
"typescript": "4.4.4"
|
|
68
67
|
}
|
|
69
68
|
}
|
package/postcss/config.d.ts
CHANGED
package/postcss/config.js
CHANGED
|
@@ -5,9 +5,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.postcssConfig = void 0;
|
|
7
7
|
const tokens_json_1 = __importDefault(require("@wonderflow/tokens/platforms/web/tokens.json"));
|
|
8
|
-
const postcss_mixins_1 = __importDefault(require("postcss-mixins"));
|
|
9
8
|
const flat_1 = __importDefault(require("flat"));
|
|
10
|
-
const flatTokens = flat_1.default(tokens_json_1.default, {
|
|
9
|
+
const flatTokens = (0, flat_1.default)(tokens_json_1.default, {
|
|
11
10
|
delimiter: '-'
|
|
12
11
|
});
|
|
13
12
|
const environmentVariables = Object.keys(flatTokens).reduce((acc, key) => {
|
|
@@ -29,9 +28,6 @@ exports.postcssConfig = {
|
|
|
29
28
|
'logical-properties-and-values': false,
|
|
30
29
|
'prefers-color-scheme-query': false,
|
|
31
30
|
'gap-properties': false
|
|
32
|
-
},
|
|
33
|
-
insertAfter: {
|
|
34
|
-
'custom-media-queries': postcss_mixins_1.default
|
|
35
31
|
}
|
|
36
32
|
},
|
|
37
33
|
'postcss-inset': {},
|