@platformatic/watt-admin 0.6.0-alpha.11 → 0.6.0-alpha.13

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/lib/start.js CHANGED
@@ -52,7 +52,8 @@ export async function start (client, selectedRuntime) {
52
52
 
53
53
  const configFile = join(__dirname, '..', 'watt.json')
54
54
  const server = await create(configFile, undefined, {
55
- setupSignals: false
55
+ setupSignals: false,
56
+ isProduction: true
56
57
  })
57
58
  entrypointUrl = await server.start()
58
59
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@platformatic/watt-admin",
4
- "version": "0.6.0-alpha.11",
4
+ "version": "0.6.0-alpha.13",
5
5
  "scripts": {
6
6
  "prepublishOnly": "npm run clean && npm run build",
7
7
  "dev": "wattpm dev",
@@ -1,9 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(npm run typecheck:*)"
5
- ],
6
- "deny": [],
7
- "ask": []
8
- }
9
- }
@@ -1,27 +0,0 @@
1
- import { defineConfig, devices } from '@playwright/test'
2
-
3
- const PORT = process.env.PORT || '5042'
4
- const baseURL = `http://127.0.0.1:${PORT}`
5
- const timeout = 60000
6
-
7
- export default defineConfig({
8
- testDir: './test/e2e',
9
- fullyParallel: true,
10
- reporter: 'html',
11
- use: { baseURL, trace: 'on-first-retry' },
12
- projects: [
13
- {
14
- name: 'chromium',
15
- use: { ...devices['Desktop Chrome'] },
16
- },
17
- ],
18
- webServer: {
19
- command: 'cd ../.. && npm run clean && npm run build && npm run start',
20
- url: baseURL,
21
- timeout,
22
- stdout: 'pipe',
23
- stderr: 'pipe',
24
- env: { PORT, INCLUDE_ADMIN: '1', CI: '1' }
25
- },
26
- timeout
27
- })
@@ -1,14 +0,0 @@
1
- 'use strict'
2
-
3
- import { join } from 'path'
4
-
5
- const __dirname = import.meta.dirname
6
-
7
- export default {
8
- plugins: {
9
- tailwindcss: {
10
- config: join(__dirname, '..', '..', 'node_modules', '@platformatic', 'ui-components', 'tailwind.config.cjs')
11
- },
12
- autoprefixer: {}
13
- }
14
- }