lucy-cli 1.1.0 → 1.1.2

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.
@@ -53,7 +53,7 @@
53
53
  "postinstall": "wix sync-types",
54
54
  "wix:dev": "wix dev",
55
55
  "dev": "lucy-cli dev",
56
- "lint": "eslint .",
56
+ "lint": "NODE_OPTIONS=\"--max-old-space-size=32768\" eslint .",
57
57
  "docs": "typedoc --tsconfig typescript/tsconfig.json --skipErrorChecking",
58
58
  "build": "lucy-cli build-prod",
59
59
  "fix-wix": "lucy-cli fix-wix",
package/files/.madgerc ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "fontSize": "10px",
3
+ "graphVizOptions": {
4
+ "G": {
5
+ "rankdir": "LR"
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ module.exports = {
2
+ overrides: [
3
+ {
4
+ files: ["**/*.{ts,tsx}"],
5
+ customSyntax: "@stylelint/postcss-css-in-js",
6
+ },
7
+ ],
8
+ };
@@ -0,0 +1,19 @@
1
+ import { defineConfig } from 'cypress';
2
+ import { cloudPlugin } from 'cypress-cloud/plugin';
3
+
4
+ export default defineConfig({
5
+ videoCompression: 15,
6
+ chromeWebSecurity: true,
7
+ pageLoadTimeout: 120000,
8
+ defaultCommandTimeout: 10000,
9
+ retries: {
10
+ runMode: 0,
11
+ openMode: 0,
12
+ },
13
+ e2e: {
14
+ baseUrl: 'https://www.heise.de/',
15
+ setupNodeEvents(on, config) {
16
+ return cloudPlugin(on, config);
17
+ },
18
+ },
19
+ });
@@ -1,4 +1,5 @@
1
1
  import eslint from '@eslint/js';
2
+ // @ts-ignore
2
3
  import importPlugin from 'eslint-plugin-import';
3
4
  import jsdoc from 'eslint-plugin-jsdoc';
4
5
  import namedImportSpacing from 'eslint-plugin-named-import-spacing';
@@ -15,6 +16,7 @@ export default tseslint.config(
15
16
  './.wix',
16
17
  './src',
17
18
  "eslint.config.mjs",
19
+ "cypress.config.mjs",
18
20
  "**/*.js"
19
21
  ],
20
22
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "lucy-cli",
4
- "version": "1.1.0",
4
+ "version": "1.1.2",
5
5
  "description": "Lucy Framework for WIX Studio Editor",
6
6
  "main": ".dist/index.js",
7
7
  "scripts": {
package/src/settings.json CHANGED
@@ -53,7 +53,7 @@
53
53
  "postinstall": "wix sync-types",
54
54
  "wix:dev": "wix dev",
55
55
  "dev": "lucy-cli dev",
56
- "lint": "eslint .",
56
+ "lint": "NODE_OPTIONS=\"--max-old-space-size=32768\" eslint .",
57
57
  "docs": "typedoc --tsconfig typescript/tsconfig.json --skipErrorChecking",
58
58
  "build": "lucy-cli build-prod",
59
59
  "fix-wix": "lucy-cli fix-wix",
@@ -1,24 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-return */
2
- /* eslint-disable @typescript-eslint/no-unsafe-call */
3
- /* eslint-disable @typescript-eslint/no-require-imports */
4
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
5
- // cypress.config.js
6
- const { defineConfig } = require('cypress');
7
- const { cloudPlugin } = require('cypress-cloud/plugin');
8
-
9
- module.exports = defineConfig({
10
- videoCompression: 15,
11
- chromeWebSecurity: true,
12
- pageLoadTimeout: 120000,
13
- defaultCommandTimeout: 10000,
14
- retries: {
15
- runMode: 0,
16
- openMode: 0,
17
- },
18
- e2e: {
19
- baseUrl: 'https://www.somehost.com/',
20
- setupNodeEvents(on, config) {
21
- return cloudPlugin(on, config);
22
- },
23
- },
24
- });