lucy-cli 0.9.8 → 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.
@@ -34,8 +34,8 @@
34
34
  }
35
35
  ],
36
36
  "paths": {
37
- "public/*": ["./lib/public/*", "./typescript/public/*"],
38
- "backend/*": ["./lib/backend/*", "./typescript/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": "../typescript",
7
+ "rootDir": ".",
8
8
  "target": "ES2020",
9
- "module": "ESNext",
9
+ "module": "ES2020",
10
10
  "moduleResolution": "Node",
11
11
  "preserveConstEnums": true,
12
12
  "allowSyntheticDefaultImports": true,
13
- "skipLibCheck": true,
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/*", "../lib/public/*"],
34
- "backend/*": ["./backend/*", "../lib/backend/*"],
35
- "pages/*": ["./pages/*", "../lib/pages/*"],
36
- "types/*": ["./types/*", "../lib/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", "./**/*.test.ts"],
47
+ "exclude": ["../node_modules", "../.wix", "node_modules", "./wix", "./**/*.spec.ts", "../src/**/*"],
45
48
  "include":[
46
49
  "!*.d.ts",
47
50
  "public/**/*.tsx",
48
- "../lib/public/**/*tsx"
51
+ "**/*.ts"
49
52
  ],
50
53
  "references": [
51
54
  {
@@ -16,10 +16,10 @@ export default defineConfig({
16
16
  resolveId(source) {
17
17
 
18
18
  if (source.startsWith('wix')){
19
- const baseName = source.replace(/^wix/, '');
19
+ const moduleName = source.replace(/^wix/, '');
20
20
  const candidates = [
21
- path.resolve(__dirname, './lib/__mocks__/wix' + baseName),
22
- path.resolve(__dirname, './typescript/__mocks__/wix' + baseName),
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "lucy-cli",
4
- "version": "0.9.8",
4
+ "version": "0.10.0",
5
5
  "description": "Lucy Framework for WIX Studio Editor",
6
6
  "main": ".dist/index.js",
7
7
  "scripts": {
package/src/settings.json CHANGED
@@ -17,7 +17,10 @@
17
17
  "@total-typescript/ts-reset": "^0.6.1",
18
18
  "@types/node": "^22.9.1",
19
19
  "@types/nodemailer": "^6.4.17",
20
+ "typedoc-github-theme": "^0.2.0",
20
21
  "@types/react": "^19.0.0",
22
+ "@vitest/ui": "^2.1.8",
23
+ "@vitest/coverage-v8": "^2.1.8",
21
24
  "@typescript-eslint/eslint-plugin": "^8.15.0",
22
25
  "@typescript-eslint/parser": "^8.15.0",
23
26
  "@typescript-eslint/utils": "^8.15.0",