@wyw-in-js/processor-utils 0.5.2 → 0.5.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/esm/utils/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":[],"sources":["../../src/utils/types.ts"],"sourcesContent":["import type { TransformOptions } from '@babel/core';\n\nimport type { ClassNameFn, VariableNameFn } from '@wyw-in-js/shared';\n\nexport interface IOptions {\n classNameSlug?: string | ClassNameFn;\n displayName: boolean;\n variableNameConfig?: 'var' | 'dashes' | 'raw';\n variableNameSlug?: string | VariableNameFn;\n}\n\nexport type IFileContext = Pick<TransformOptions, 'root' | 'filename'>;\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"types.js","names":[],"sources":["../../src/utils/types.ts"],"sourcesContent":["import type { TransformOptions } from '@babel/core';\n\nimport type { ClassNameFn, VariableNameFn } from '@wyw-in-js/shared';\n\nexport interface IOptions {\n classNameSlug?: string | ClassNameFn;\n displayName: boolean;\n extensions?: string[];\n variableNameConfig?: 'var' | 'dashes' | 'raw';\n variableNameSlug?: string | VariableNameFn;\n}\n\nexport type IFileContext = Pick<TransformOptions, 'root' | 'filename'>;\n"],"mappings":""}
|
package/lib/utils/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":[],"sources":["../../src/utils/types.ts"],"sourcesContent":["import type { TransformOptions } from '@babel/core';\n\nimport type { ClassNameFn, VariableNameFn } from '@wyw-in-js/shared';\n\nexport interface IOptions {\n classNameSlug?: string | ClassNameFn;\n displayName: boolean;\n variableNameConfig?: 'var' | 'dashes' | 'raw';\n variableNameSlug?: string | VariableNameFn;\n}\n\nexport type IFileContext = Pick<TransformOptions, 'root' | 'filename'>;\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"types.js","names":[],"sources":["../../src/utils/types.ts"],"sourcesContent":["import type { TransformOptions } from '@babel/core';\n\nimport type { ClassNameFn, VariableNameFn } from '@wyw-in-js/shared';\n\nexport interface IOptions {\n classNameSlug?: string | ClassNameFn;\n displayName: boolean;\n extensions?: string[];\n variableNameConfig?: 'var' | 'dashes' | 'raw';\n variableNameSlug?: string | VariableNameFn;\n}\n\nexport type IFileContext = Pick<TransformOptions, 'root' | 'filename'>;\n"],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wyw-in-js/processor-utils",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@babel/generator": "^7.23.5",
|
|
6
|
-
"@wyw-in-js/shared": "0.5.
|
|
6
|
+
"@wyw-in-js/shared": "0.5.3"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"@babel/types": "^7.23.5",
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
"@types/babel__generator": "^7.6.7",
|
|
12
12
|
"@types/node": "^16.18.55",
|
|
13
13
|
"typescript": "^5.2.2",
|
|
14
|
-
"@wyw-in-js/babel-config": "0.5.
|
|
15
|
-
"@wyw-in-js/eslint-config": "0.5.
|
|
16
|
-
"@wyw-in-js/jest-preset": "0.5.
|
|
17
|
-
"@wyw-in-js/ts-config": "0.5.
|
|
14
|
+
"@wyw-in-js/babel-config": "0.5.3",
|
|
15
|
+
"@wyw-in-js/eslint-config": "0.5.3",
|
|
16
|
+
"@wyw-in-js/jest-preset": "0.5.3",
|
|
17
|
+
"@wyw-in-js/ts-config": "0.5.3"
|
|
18
18
|
},
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=16.0.0"
|
package/types/utils/types.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import type { ClassNameFn, VariableNameFn } from '@wyw-in-js/shared';
|
|
|
3
3
|
export interface IOptions {
|
|
4
4
|
classNameSlug?: string | ClassNameFn;
|
|
5
5
|
displayName: boolean;
|
|
6
|
+
extensions?: string[];
|
|
6
7
|
variableNameConfig?: 'var' | 'dashes' | 'raw';
|
|
7
8
|
variableNameSlug?: string | VariableNameFn;
|
|
8
9
|
}
|