@tomjs/stylelint 7.0.0 → 7.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.
@@ -0,0 +1,7 @@
1
+ //#region src/globs.d.ts
2
+ /**
3
+ * https://github.com/antfu/eslint-config/blob/5af1d9bf96609ab1d0a820cee0f83cd6948a0c5d/src/globs.ts#L56C14-L56C26
4
+ */
5
+ declare const IGNORE_FILES: string[];
6
+ //#endregion
7
+ export { IGNORE_FILES };
package/dist/globs.js ADDED
@@ -0,0 +1,30 @@
1
+ //#region src/globs.ts
2
+ /**
3
+ * https://github.com/antfu/eslint-config/blob/5af1d9bf96609ab1d0a820cee0f83cd6948a0c5d/src/globs.ts#L56C14-L56C26
4
+ */
5
+ const IGNORE_FILES = [
6
+ "**/node_modules/**",
7
+ "**/dist/**",
8
+ "**/output/**",
9
+ "**/coverage/**",
10
+ "**/temp/**",
11
+ "**/.temp/**",
12
+ "**/tmp/**",
13
+ "**/.tmp/**",
14
+ "**/.history/**",
15
+ "**/.vitepress/cache/**",
16
+ "**/.nuxt/**",
17
+ "**/.next/**",
18
+ "**/.svelte-kit/**",
19
+ "**/.vercel/**",
20
+ "**/.changeset/**",
21
+ "**/.idea/**",
22
+ "**/.cache/**",
23
+ "**/.output/**",
24
+ "**/.vite-inspect/**",
25
+ "**/.yarn/**",
26
+ "**/__snapshots__/**"
27
+ ];
28
+
29
+ //#endregion
30
+ export { IGNORE_FILES };
@@ -0,0 +1,7 @@
1
+ import { IGNORE_FILES } from "./globs.js";
2
+ import { Config } from "stylelint";
3
+
4
+ //#region src/index.d.ts
5
+ declare const config: Config;
6
+ //#endregion
7
+ export { IGNORE_FILES, config as default };
@@ -1,4 +1,4 @@
1
- import { t as IGNORE_FILES } from "./globs-DiC_9FJQ.mjs";
1
+ import { IGNORE_FILES } from "./globs.js";
2
2
 
3
3
  //#region src/index.ts
4
4
  const config = {
@@ -60,4 +60,4 @@ const config = {
60
60
  var src_default = config;
61
61
 
62
62
  //#endregion
63
- export { src_default as default };
63
+ export { IGNORE_FILES, src_default as default };
@@ -0,0 +1,6 @@
1
+ import { Config } from "stylelint";
2
+
3
+ //#region src/uniapp.d.ts
4
+ declare const _default: Config;
5
+ //#endregion
6
+ export { _default as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tomjs/stylelint",
3
3
  "type": "module",
4
- "version": "7.0.0",
4
+ "version": "7.1.0",
5
5
  "description": "stylelint config for tomjs",
6
6
  "author": {
7
7
  "name": "Tom Gao",
@@ -25,9 +25,17 @@
25
25
  "vue"
26
26
  ],
27
27
  "exports": {
28
- ".": "./dist/index.mjs",
29
- "./uniapp": "./dist/uniapp.mjs"
28
+ ".": {
29
+ "types": "./dist/index.d.ts",
30
+ "import": "./dist/index.js"
31
+ },
32
+ "./uniapp": {
33
+ "types": "./dist/uniapp.d.ts",
34
+ "import": "./dist/uniapp.js"
35
+ }
30
36
  },
37
+ "module": "./dist/index.js",
38
+ "types": "./dist/index.d.ts",
31
39
  "files": [
32
40
  "dist"
33
41
  ],
@@ -1,36 +0,0 @@
1
- //#region src/globs.ts
2
- /**
3
- * https://github.com/antfu/eslint-config/blob/5af1d9bf96609ab1d0a820cee0f83cd6948a0c5d/src/globs.ts#L56C14-L56C26
4
- */
5
- const IGNORE_FILES = [
6
- "**/node_modules",
7
- "**/dist",
8
- "**/output",
9
- "**/coverage",
10
- "**/temp",
11
- "**/.temp",
12
- "**/tmp",
13
- "**/.tmp",
14
- "**/.history",
15
- "**/.vitepress/cache",
16
- "**/.nuxt",
17
- "**/.next",
18
- "**/.svelte-kit",
19
- "**/.vercel",
20
- "**/.changeset",
21
- "**/.idea",
22
- "**/.cache",
23
- "**/.output",
24
- "**/.vite-inspect",
25
- "**/.yarn",
26
- "**/__snapshots__",
27
- "**/*.js",
28
- "**/*.jsx",
29
- "**/*.tsx",
30
- "**/*.ts",
31
- "**/*.json",
32
- "**/*.md"
33
- ];
34
-
35
- //#endregion
36
- export { IGNORE_FILES as t };
package/dist/globs.mjs DELETED
@@ -1,3 +0,0 @@
1
- import { t as IGNORE_FILES } from "./globs-DiC_9FJQ.mjs";
2
-
3
- export { IGNORE_FILES };
File without changes