@contember/cli-common 1.0.0-alpha.1 → 1.0.0-alpha.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contember/cli-common",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.10",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/src/index.js",
6
6
  "typings": "dist/src/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "@types/npm-package-arg": "^6.1.0"
14
14
  },
15
15
  "dependencies": {
16
- "@contember/config-loader": "^1.0.0-alpha.1",
16
+ "@contember/config-loader": "^1.0.0-alpha.10",
17
17
  "chalk": "^4.1.0",
18
18
  "download-tarball": "^2.0.0",
19
19
  "fs-extra": "^10.0.0",
@@ -0,0 +1,20 @@
1
+ import { defineConfig } from 'vite'
2
+ import reactRefresh from '@vitejs/plugin-react-refresh'
3
+
4
+ export default defineConfig({
5
+ root: 'projects',
6
+ esbuild: {
7
+ jsxFactory: '_jsx',
8
+ jsxFragment: '_jsxFragment',
9
+ jsxInject: `import { createElement as _jsx, Fragment as _jsxFragment } from 'react'`,
10
+ },
11
+ build: {
12
+ brotliSize: false,
13
+ chunkSizeWarningLimit: undefined,
14
+ },
15
+ plugins: [reactRefresh()],
16
+ server: {
17
+ host: '0.0.0.0',
18
+ port: 1480,
19
+ },
20
+ })
@@ -109,7 +109,7 @@ services:
109
109
  - pgsql-data:/var/lib/postgres/data
110
110
 
111
111
  healthcheck:
112
- test: ['CMD-SHELL', 'pg_isready']
112
+ test: ['CMD-SHELL', 'pg_isready -U contember']
113
113
  interval: 5s
114
114
  timeout: 5s
115
115
  retries: 10
@@ -10,6 +10,7 @@
10
10
  "@contember/admin": "0.7.0-beta.1",
11
11
  "@contember/admin-i18n": "0.7.0-beta.1",
12
12
  "@types/react": "17.0.5",
13
+ "@vitejs/plugin-react-refresh": "^1.3.6",
13
14
  "react": "17.0.1",
14
15
  "react-dom": "17.0.1",
15
16
  "vite": "^2.5.2"