Skip to content

Commit

Permalink
refactor: small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkeyl committed Nov 11, 2024
1 parent d5ae72b commit 4590a4f
Show file tree
Hide file tree
Showing 27 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
},
"type": "module",
"imports": {
"#app": "./src/app/index.ts",
"#at-rule-parameters": "./src/features/at-rule/parameters.ts",
"#features": "./src/features/index.ts",
"#rule-parameters": "./src/features/rule/parameters.ts",
"#shared": "./src/shared/index.ts"
"#config": "./src/config/index.ts",
"#at-rule-parameters": "./src/utils/at-rule/parameters.ts",
"#utils": "./src/utils/index.ts",
"#rule-parameters": "./src/utils/rule/parameters.ts",
"#data": "./src/data/index.ts"
},
"exports": {
".": "./index.js"
Expand Down
2 changes: 1 addition & 1 deletion specs/regex/bem-regex.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, expect, test as spec } from 'vitest';

import { CSSRules } from '#app';
import { CSSRules } from '#config';

describe('BEM Class Regex', async () => {
const BEMClassRegex = new RegExp(`${CSSRules['selector-class-pattern'][0]}`);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { beforeEach, describe, expect, test as spec } from 'vitest';

import { createAtRule } from '#features';
import { createAtRule } from '#utils';
import type { Parameters } from '#at-rule-parameters';

describe('Create At Rule', async () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, expect, test as spec } from 'vitest';

import { createLogicalGroup } from '#features';
import { createLogicalGroup } from '#utils';

describe('Create Logical Group', async () => {
spec(
Expand Down
2 changes: 1 addition & 1 deletion specs/features/rule.spec.ts → specs/utils/rule.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { beforeEach, describe, expect, test as spec } from 'vitest';

import { createRule } from '#features';
import { createRule } from '#utils';
import type { Parameters } from '#rule-parameters';

describe('Create Rule', async () => {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { selectors } from '@archoleat/reglib';

import { createAtRule, createLogicalGroup, createRule } from '#features';
import { createAtRule, createLogicalGroup, createRule } from '#utils';

import { deprecated } from './deprecated.ts';
import { experimental } from './experimental.ts';
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/app/rules/css.ts → src/config/rules/css.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { selectors } from '@archoleat/reglib';

import { messages } from '#shared';
import { messages } from '#data';

const BLOCK = selectors.bem.BLOCK_REGEX;
const ELEMENT = selectors.bem.ELEMENT_REGEX;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CSSRules, plugins, propertiesOrder, SCSSRules } from '#app';
import { CSSRules, plugins, propertiesOrder, SCSSRules } from '#config';

export default {
extends: ['stylelint-config-standard-scss', 'stylelint-prettier/recommended'],
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4590a4f

Please sign in to comment.