@corva/create-app 0.69.0-rc.0 → 0.69.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.
@@ -0,0 +1 @@
1
+ module.exports = { extends: '@corva/eslint-config-node' };
@@ -0,0 +1 @@
1
+ "@corva/eslint-config-node/prettier"
@@ -88,12 +88,12 @@ const uiScripts = {
88
88
  };
89
89
 
90
90
  const uiPackage = {
91
- version: '0.0.1',
92
- main: 'src/index.js',
93
- scripts: uiScripts,
94
- dependencies: uiDependencies,
95
- devDependencies: jsUiDevDependencies,
96
- jest: {
91
+ 'version': '0.0.1',
92
+ 'main': 'src/index.js',
93
+ 'scripts': uiScripts,
94
+ 'dependencies': uiDependencies,
95
+ 'devDependencies': jsUiDevDependencies,
96
+ 'jest': {
97
97
  roots: ['<rootDir>/src'],
98
98
  collectCoverageFrom: ['src/**/*.{js,jsx,ts,tsx}', '!src/**/*.d.ts'],
99
99
  coverageThreshold: {
@@ -114,7 +114,7 @@ const uiPackage = {
114
114
  '^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)': '<rootDir>/config/jest/fileTransform.js',
115
115
  },
116
116
  transformIgnorePatterns: [
117
- '/node_modules/(?!.*@babel/runtime).+\\.(js|jsx|mjs|cjs|ts|tsx)$',
117
+ '/node_modules/(?!.*@babel/runtime|@icon-park/react/es).+\\.(js|jsx|mjs|cjs|ts|tsx)$',
118
118
  '^.+\\.module\\.(css|sass|scss)$',
119
119
  ],
120
120
  modulePaths: [],
@@ -126,6 +126,9 @@ const uiPackage = {
126
126
  watchPlugins: ['jest-watch-typeahead/filename', 'jest-watch-typeahead/testname'],
127
127
  resetMocks: true,
128
128
  },
129
+ 'lint-staged': {
130
+ 'src/**/*.{js,jsx,ts,tsx}': 'eslint --fix',
131
+ },
129
132
  };
130
133
 
131
134
  const tsUiPackage = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/create-app",
3
- "version": "0.69.0-rc.0",
3
+ "version": "0.69.0",
4
4
  "private": false,
5
5
  "description": "Create an app to use it in CORVA.AI",
6
6
  "keywords": [
@@ -1,2 +1,2 @@
1
- HOST=app.local.corva.ai
1
+ HOST=localhost
2
2
  PORT=8080
@@ -1,5 +1,6 @@
1
- # You need to add: 127.0.0.1 app.local.corva.ai to /etc/hosts
2
- HOST=app.local.corva.ai
1
+ # One of: localhost | 127.0.0.1 | app.local.corva.ai
2
+ # For app.local.corva.ai you need to add: 127.0.0.1 app.local.corva.ai to /etc/hosts
3
+ HOST=localhost
3
4
 
4
5
  # Single sign-on works ONLY with PORTS 8080, 9000 or 80.
5
6
  PORT=8080
@@ -1,2 +1,2 @@
1
- HOST=app.local.corva.ai
1
+ HOST=localhost
2
2
  PORT=8080
@@ -1,5 +1,6 @@
1
- # You need to add: 127.0.0.1 app.local.corva.ai to /etc/hosts
2
- HOST=app.local.corva.ai
1
+ # One of: localhost | 127.0.0.1 | app.local.corva.ai
2
+ # For app.local.corva.ai you need to add: 127.0.0.1 app.local.corva.ai to /etc/hosts
3
+ HOST=localhost
3
4
 
4
5
  # Single sign-on works ONLY with PORTS 8080, 9000 or 80.
5
6
  PORT=8080