lucy-cli 0.9.7 → 0.10.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/Gulpfile.js +1 -1
- package/dist/settings.json +1 -4
- package/files/local.tsconfig.json +2 -2
- package/files/typescript/tsconfig.json +13 -10
- package/files/vitest.config.ts +3 -15
- package/package.json +1 -1
- package/src/settings.json +4 -4
- package/files/docs.tsconfig.json +0 -38
package/dist/Gulpfile.js
CHANGED
@@ -63,7 +63,7 @@ gulp.task('add-wix-types', function (done) {
|
|
63
63
|
});
|
64
64
|
gulp.task('set-production', gulp.parallel(setProdConfig()));
|
65
65
|
gulp.task('start-wix', shell.task([
|
66
|
-
'
|
66
|
+
'yarn wix:dev',
|
67
67
|
]));
|
68
68
|
gulp.task('gen-docs', shell.task([
|
69
69
|
'yarn docs',
|
package/dist/settings.json
CHANGED
@@ -13,13 +13,11 @@
|
|
13
13
|
"wixPackages": {},
|
14
14
|
"devPackages": {
|
15
15
|
"@eslint/js": "^9.15.0",
|
16
|
-
"@okee-tech/eslint-plugin-neverthrow": "^1.0.3",
|
17
16
|
"@styled/typescript-styled-plugin": "^1.0.1",
|
18
17
|
"@total-typescript/ts-reset": "^0.6.1",
|
19
|
-
"@types/jest": "^29.5.14",
|
20
18
|
"@types/node": "^22.9.1",
|
21
19
|
"@types/nodemailer": "^6.4.17",
|
22
|
-
"@types/react": "^
|
20
|
+
"@types/react": "^19.0.0",
|
23
21
|
"@typescript-eslint/eslint-plugin": "^8.15.0",
|
24
22
|
"@typescript-eslint/parser": "^8.15.0",
|
25
23
|
"@typescript-eslint/utils": "^8.15.0",
|
@@ -36,7 +34,6 @@
|
|
36
34
|
"eslint-plugin-promise": "^7.2.1",
|
37
35
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
38
36
|
"prettier": "^3.3.3",
|
39
|
-
"react": "^18.3.1",
|
40
37
|
"sass": "^1.81.0",
|
41
38
|
"ts-node": "^10.9.2",
|
42
39
|
"tsx": "^4.19.2",
|
@@ -34,8 +34,8 @@
|
|
34
34
|
}
|
35
35
|
],
|
36
36
|
"paths": {
|
37
|
-
"public/*": ["./
|
38
|
-
"backend/*": ["./
|
37
|
+
"public/*": ["./typescript/public/*", "./lib/public/*"],
|
38
|
+
"backend/*": ["./typescript/backend/*", "./lib/backend/*"],
|
39
39
|
"pages/*": ["./pages/*"],
|
40
40
|
"types/*": ["./types/*"]
|
41
41
|
},
|
@@ -4,19 +4,23 @@
|
|
4
4
|
},
|
5
5
|
"compilerOptions": {
|
6
6
|
"outDir": "../src",
|
7
|
-
"rootDir": "
|
7
|
+
"rootDir": ".",
|
8
8
|
"target": "ES2020",
|
9
|
-
"module": "
|
9
|
+
"module": "ES2020",
|
10
10
|
"moduleResolution": "Node",
|
11
11
|
"preserveConstEnums": true,
|
12
12
|
"allowSyntheticDefaultImports": true,
|
13
|
-
"skipLibCheck":
|
13
|
+
"skipLibCheck": false,
|
14
|
+
"allowJs": true,
|
14
15
|
"declaration": true,
|
16
|
+
"jsx": "react",
|
15
17
|
"strict": true,
|
18
|
+
"alwaysStrict": false,
|
16
19
|
"noImplicitAny": true,
|
17
20
|
"noImplicitReturns": true,
|
18
21
|
"noImplicitThis": true,
|
19
22
|
"strictNullChecks": true,
|
23
|
+
"exactOptionalPropertyTypes": true,
|
20
24
|
"strictBindCallApply": true,
|
21
25
|
"strictFunctionTypes": true,
|
22
26
|
"strictPropertyInitialization": true,
|
@@ -30,22 +34,21 @@
|
|
30
34
|
}
|
31
35
|
],
|
32
36
|
"paths": {
|
33
|
-
"public/*": ["./public/*"
|
34
|
-
"backend/*": ["./backend/*"
|
35
|
-
"pages/*": ["./pages/*"
|
36
|
-
"types/*": ["./types/*"
|
37
|
+
"public/*": ["./public/*"],
|
38
|
+
"backend/*": ["./backend/*"],
|
39
|
+
"pages/*": ["./pages/*"],
|
40
|
+
"types/*": ["./types/*"]
|
37
41
|
},
|
38
42
|
"typeRoots": [
|
39
43
|
"./types",
|
40
|
-
"../lib/types",
|
41
44
|
"../node_modules/@types"
|
42
45
|
]
|
43
46
|
},
|
44
|
-
"exclude": ["../node_modules", "../.wix", "node_modules", "./wix", "./**/*.
|
47
|
+
"exclude": ["../node_modules", "../.wix", "node_modules", "./wix", "./**/*.spec.ts", "../src/**/*"],
|
45
48
|
"include":[
|
46
49
|
"!*.d.ts",
|
47
50
|
"public/**/*.tsx",
|
48
|
-
"
|
51
|
+
"**/*.ts"
|
49
52
|
],
|
50
53
|
"references": [
|
51
54
|
{
|
package/files/vitest.config.ts
CHANGED
@@ -16,10 +16,10 @@ export default defineConfig({
|
|
16
16
|
resolveId(source) {
|
17
17
|
|
18
18
|
if (source.startsWith('wix')){
|
19
|
-
const
|
19
|
+
const moduleName = source.replace(/^wix/, '');
|
20
20
|
const candidates = [
|
21
|
-
path.resolve(__dirname, './lib/__mocks__/wix' +
|
22
|
-
path.resolve(__dirname, './typescript/__mocks__/wix' +
|
21
|
+
path.resolve(__dirname, './lib/__mocks__/wix' + moduleName),
|
22
|
+
path.resolve(__dirname, './typescript/__mocks__/wix' + moduleName),
|
23
23
|
];
|
24
24
|
|
25
25
|
for (const candidate of candidates){
|
@@ -42,16 +42,4 @@ export default defineConfig({
|
|
42
42
|
},
|
43
43
|
alias: {}
|
44
44
|
},
|
45
|
-
// resolve: {
|
46
|
-
// alias: [
|
47
|
-
// {
|
48
|
-
// find: /^wix(.*)$/,
|
49
|
-
// replacement: path.resolve(__dirname, './lib/__mocks__/wix$1'),
|
50
|
-
// },
|
51
|
-
// {
|
52
|
-
// find: /^wix(.*)$/,
|
53
|
-
// replacement: path.resolve(__dirname, './typescript/__mocks__/wix$1'),
|
54
|
-
// },
|
55
|
-
// ],
|
56
|
-
// },
|
57
45
|
});
|
package/package.json
CHANGED
package/src/settings.json
CHANGED
@@ -13,13 +13,14 @@
|
|
13
13
|
"wixPackages": {},
|
14
14
|
"devPackages": {
|
15
15
|
"@eslint/js": "^9.15.0",
|
16
|
-
"@okee-tech/eslint-plugin-neverthrow": "^1.0.3",
|
17
16
|
"@styled/typescript-styled-plugin": "^1.0.1",
|
18
17
|
"@total-typescript/ts-reset": "^0.6.1",
|
19
|
-
"@types/jest": "^29.5.14",
|
20
18
|
"@types/node": "^22.9.1",
|
21
19
|
"@types/nodemailer": "^6.4.17",
|
22
|
-
"
|
20
|
+
"typedoc-github-theme": "^0.2.0",
|
21
|
+
"@types/react": "^19.0.0",
|
22
|
+
"@vitest/ui": "^2.1.8",
|
23
|
+
"@vitest/coverage-v8": "^2.1.8",
|
23
24
|
"@typescript-eslint/eslint-plugin": "^8.15.0",
|
24
25
|
"@typescript-eslint/parser": "^8.15.0",
|
25
26
|
"@typescript-eslint/utils": "^8.15.0",
|
@@ -36,7 +37,6 @@
|
|
36
37
|
"eslint-plugin-promise": "^7.2.1",
|
37
38
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
38
39
|
"prettier": "^3.3.3",
|
39
|
-
"react": "^18.3.1",
|
40
40
|
"sass": "^1.81.0",
|
41
41
|
"ts-node": "^10.9.2",
|
42
42
|
"tsx": "^4.19.2",
|
package/files/docs.tsconfig.json
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"outDir": "../src",
|
4
|
-
"rootDir": "../typescript",
|
5
|
-
"target": "ES2020",
|
6
|
-
"module": "ESNext",
|
7
|
-
"moduleResolution": "Node",
|
8
|
-
"preserveConstEnums": true,
|
9
|
-
"allowSyntheticDefaultImports": true,
|
10
|
-
"skipLibCheck": true,
|
11
|
-
"jsx": "react",
|
12
|
-
"declaration": true,
|
13
|
-
"strict": true,
|
14
|
-
"noImplicitAny": true,
|
15
|
-
"noImplicitReturns": true,
|
16
|
-
"noImplicitThis": true,
|
17
|
-
"strictNullChecks": true,
|
18
|
-
"strictBindCallApply": true,
|
19
|
-
"strictFunctionTypes": true,
|
20
|
-
"strictPropertyInitialization": true,
|
21
|
-
"experimentalDecorators": true,
|
22
|
-
"paths": {
|
23
|
-
"public/*": ["./**/public/*"],
|
24
|
-
"backend/*": ["./**/backend/*"],
|
25
|
-
"pages/*": ["./**/pages/*"],
|
26
|
-
"types/*": ["./**/types/*"]
|
27
|
-
},
|
28
|
-
"typeRoots": ["./**/types", "../node_modules/@types"]
|
29
|
-
},
|
30
|
-
"exclude": [
|
31
|
-
"../node_modules",
|
32
|
-
"../.wix",
|
33
|
-
"**/*.js",
|
34
|
-
"node_modules",
|
35
|
-
"./wix",
|
36
|
-
"./**/*.test.ts"
|
37
|
-
]
|
38
|
-
}
|