esmate 0.0.6 → 0.0.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/cli/index.js +0 -0
- package/cli/modes.js +7 -7
- package/eslint/node.d.ts +1 -1
- package/eslint/react.d.ts +1 -1
- package/eslint/shared.d.ts +1 -1
- package/package.json +3 -3
- package/prettier/shared.d.ts +1 -1
- package/prettier/tailwind.d.ts +1 -1
- package/vite/index.d.ts +2 -1
- package/vite/index.js +2 -1
- package/vite/react.d.ts +2 -2
- package/vite/react.js +1 -1
package/cli/index.js
CHANGED
|
File without changes
|
package/cli/modes.js
CHANGED
|
@@ -74,17 +74,17 @@ export function lib(program) {
|
|
|
74
74
|
esmate.build();
|
|
75
75
|
yield executeMany([
|
|
76
76
|
{
|
|
77
|
-
name: '
|
|
77
|
+
name: 'deves',
|
|
78
78
|
command: 'npx tsc --watch',
|
|
79
79
|
args: [],
|
|
80
80
|
prefixColor: 'blue',
|
|
81
81
|
},
|
|
82
|
-
{
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
},
|
|
82
|
+
// {
|
|
83
|
+
// name: 'deves',
|
|
84
|
+
// command: 'npx tsc-alias --watch',
|
|
85
|
+
// args: [],
|
|
86
|
+
// prefixColor: 'cyan',
|
|
87
|
+
// },
|
|
88
88
|
]);
|
|
89
89
|
// https://www.npmjs.com/package/glob-watcher
|
|
90
90
|
// watch files to fix and format
|
package/eslint/node.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function node(): import("
|
|
1
|
+
export declare function node(): import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
|
package/eslint/react.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function react(): import("
|
|
1
|
+
export declare function react(): import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
|
package/eslint/shared.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "esmate",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"esmate": "lib",
|
|
6
6
|
"type": "module",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"zod": "^3.24.2"
|
|
33
33
|
},
|
|
34
34
|
"bin": {
|
|
35
|
-
"esm": "cli/index.js",
|
|
36
|
-
"esmate": "cli/index.js"
|
|
35
|
+
"esm": "./cli/index.js",
|
|
36
|
+
"esmate": "./cli/index.js"
|
|
37
37
|
},
|
|
38
38
|
"exports": {
|
|
39
39
|
"./eslint": {
|
package/prettier/shared.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Config } from '
|
|
1
|
+
import { Config } from 'prettier';
|
|
2
2
|
export declare function defineConfig(configs: Config[]): Config;
|
package/prettier/tailwind.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ interface Options {
|
|
|
6
6
|
tailwindPreserveWhitespace?: boolean;
|
|
7
7
|
tailwindPreserveDuplicates?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare function tailwind(options: Options): import("
|
|
9
|
+
export declare function tailwind(options: Options): import("prettier").Config;
|
|
10
10
|
export {};
|
package/vite/index.d.ts
CHANGED
package/vite/index.js
CHANGED
package/vite/react.d.ts
CHANGED
|
@@ -9,12 +9,12 @@ interface SpaOptions {
|
|
|
9
9
|
export declare function spa(options?: SpaOptions): {
|
|
10
10
|
name: string;
|
|
11
11
|
config: () => {
|
|
12
|
+
publicDir: string;
|
|
12
13
|
root: string;
|
|
13
14
|
build: {
|
|
14
15
|
outDir: string;
|
|
15
16
|
};
|
|
16
|
-
|
|
17
|
-
plugins: (import("../vite").Plugin<any> | import("../vite").PluginOption[])[];
|
|
17
|
+
plugins: (import("vite").Plugin<any> | import("vite").PluginOption[])[];
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
export declare function lib(): {};
|
package/vite/react.js
CHANGED
|
@@ -7,11 +7,11 @@ export function spa(options) {
|
|
|
7
7
|
return {
|
|
8
8
|
name: 'react-app',
|
|
9
9
|
config: () => ({
|
|
10
|
+
publicDir: path.join(rootDir, 'public'),
|
|
10
11
|
root: path.join(rootDir, 'src'),
|
|
11
12
|
build: {
|
|
12
13
|
outDir: path.join(rootDir, 'dist'),
|
|
13
14
|
},
|
|
14
|
-
publicDir: path.join(rootDir, 'public'),
|
|
15
15
|
plugins: [paths(options === null || options === void 0 ? void 0 : options.paths), pages(options === null || options === void 0 ? void 0 : options.pages), react(options === null || options === void 0 ? void 0 : options.react)],
|
|
16
16
|
}),
|
|
17
17
|
};
|