@navikt/aksel-stylelint 6.0.0 → 6.1.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/dist/index.css +1 -1
- package/dist/rules/aksel-design-token-exists/index.test.js +2 -2
- package/dist/rules/aksel-design-token-no-component-reference/index.test.js +2 -2
- package/dist/rules/aksel-design-token-no-global-override/index.test.js +2 -2
- package/dist/rules/aksel-no-class-override/index.test.js +2 -2
- package/dist/rules/aksel-no-deprecated-classes/index.test.js +2 -2
- package/dist/rules/aksel-no-internal-tokens/index.test.js +2 -2
- package/package.json +6 -17
package/dist/index.css
CHANGED
|
@@ -23,9 +23,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
const
|
|
26
|
+
const stylelint_test_rule_node_1 = require("stylelint-test-rule-node");
|
|
27
27
|
const _1 = __importStar(require("."));
|
|
28
|
-
(0,
|
|
28
|
+
(0, stylelint_test_rule_node_1.testRule)({
|
|
29
29
|
plugins: ["./dist/index.js"],
|
|
30
30
|
ruleName: _1.default.ruleName,
|
|
31
31
|
config: true,
|
|
@@ -23,9 +23,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
const
|
|
26
|
+
const stylelint_test_rule_node_1 = require("stylelint-test-rule-node");
|
|
27
27
|
const _1 = __importStar(require("."));
|
|
28
|
-
(0,
|
|
28
|
+
(0, stylelint_test_rule_node_1.testRule)({
|
|
29
29
|
plugins: ["./dist/index.js"],
|
|
30
30
|
ruleName: _1.default.ruleName,
|
|
31
31
|
config: true,
|
|
@@ -23,9 +23,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
const
|
|
26
|
+
const stylelint_test_rule_node_1 = require("stylelint-test-rule-node");
|
|
27
27
|
const _1 = __importStar(require("."));
|
|
28
|
-
(0,
|
|
28
|
+
(0, stylelint_test_rule_node_1.testRule)({
|
|
29
29
|
plugins: ["./dist/index.js"],
|
|
30
30
|
ruleName: _1.default.ruleName,
|
|
31
31
|
config: true,
|
|
@@ -23,9 +23,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
const
|
|
26
|
+
const stylelint_test_rule_node_1 = require("stylelint-test-rule-node");
|
|
27
27
|
const _1 = __importStar(require("."));
|
|
28
|
-
(0,
|
|
28
|
+
(0, stylelint_test_rule_node_1.testRule)({
|
|
29
29
|
plugins: ["./dist/index.js"],
|
|
30
30
|
ruleName: _1.default.ruleName,
|
|
31
31
|
config: true,
|
|
@@ -23,10 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
const
|
|
26
|
+
const stylelint_test_rule_node_1 = require("stylelint-test-rule-node");
|
|
27
27
|
const _1 = __importStar(require("."));
|
|
28
28
|
const deprecations_1 = require("../../deprecations");
|
|
29
|
-
(0,
|
|
29
|
+
(0, stylelint_test_rule_node_1.testRule)({
|
|
30
30
|
plugins: ["./dist/index.js"],
|
|
31
31
|
ruleName: _1.default.ruleName,
|
|
32
32
|
config: true,
|
|
@@ -23,9 +23,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
const
|
|
26
|
+
const stylelint_test_rule_node_1 = require("stylelint-test-rule-node");
|
|
27
27
|
const _1 = __importStar(require("."));
|
|
28
|
-
(0,
|
|
28
|
+
(0, stylelint_test_rule_node_1.testRule)({
|
|
29
29
|
plugins: ["./dist/index.js"],
|
|
30
30
|
ruleName: _1.default.ruleName,
|
|
31
31
|
config: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/aksel-stylelint",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"author": "Aksel | NAV",
|
|
5
5
|
"homepage": "https://aksel.nav.no/grunnleggende/kode/stylelint",
|
|
6
6
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"/dist"
|
|
27
27
|
],
|
|
28
28
|
"scripts": {
|
|
29
|
-
"test": "
|
|
29
|
+
"test": "yarn build && node --import tsx --test ./dist/**/*.test.js",
|
|
30
30
|
"copy-css": "node -e \"require('fs').copyFileSync('../core/css/dist/index.css','dist/index.css')\"",
|
|
31
31
|
"copy-tokens": "node -e \"require('fs').copyFileSync('../core/css/tokens.json','dist/tokens.json')\"",
|
|
32
32
|
"copy": "yarn copy-css && yarn copy-tokens",
|
|
@@ -35,26 +35,15 @@
|
|
|
35
35
|
"dev": "yarn watch:lint"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@navikt/ds-css": "^6.
|
|
39
|
-
"@navikt/ds-tokens": "^6.
|
|
40
|
-
"@types/jest": "^29.0.0",
|
|
38
|
+
"@navikt/ds-css": "^6.1.0",
|
|
39
|
+
"@navikt/ds-tokens": "^6.1.0",
|
|
41
40
|
"concurrently": "7.2.1",
|
|
42
41
|
"copyfiles": "2.4.1",
|
|
43
|
-
"jest": "^29.0.0",
|
|
44
|
-
"jest-preset-stylelint": "^6.1.0",
|
|
45
42
|
"postcss-selector-parser": "^6.0.13",
|
|
46
43
|
"postcss-value-parser": "^4.2.0",
|
|
47
44
|
"stylelint": "^14.8.5",
|
|
48
|
-
"
|
|
45
|
+
"stylelint-test-rule-node": "^0.2.1",
|
|
46
|
+
"tsx": "^4.7.1",
|
|
49
47
|
"typescript": "^5.1.6"
|
|
50
|
-
},
|
|
51
|
-
"jest": {
|
|
52
|
-
"preset": "jest-preset-stylelint",
|
|
53
|
-
"testMatch": [
|
|
54
|
-
"**/*.test.ts"
|
|
55
|
-
],
|
|
56
|
-
"transform": {
|
|
57
|
-
"^.+\\.ts?$": "ts-jest"
|
|
58
|
-
}
|
|
59
48
|
}
|
|
60
49
|
}
|