@localstack/appinspector-ui 1.0.166 → 1.0.168

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.
Files changed (2) hide show
  1. package/README.md +6 -9
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -12,21 +12,18 @@ npm install @localstack/appinspector-ui
12
12
 
13
13
  ### Start LocalStack
14
14
 
15
- Start LocalStack with the following configuration:
16
-
17
15
  ```sh
18
- APP_INSPECTOR=1 EXTRA_CORS_ALLOWED_ORIGINS=* localstack start
16
+ pnpm run lstk:start
19
17
  ```
20
18
 
21
- > [!NOTE]
22
- > Remember to start LocalStack Pro using `LOCALSTACK_AUTH_TOKEN=test` in development or with <your-auth-token> in production.
19
+ This starts the emulator through `lstk` using the committed [lstk.toml](lstk.toml), which
20
+ enables AppInspector and the CORS origins the UI needs. Requires a LocalStack Pro auth
21
+ token (`lstk login`, or `LOCALSTACK_AUTH_TOKEN` in the environment).
23
22
 
24
23
  ### Run the development server
25
24
 
26
- Develop locally using:
27
-
28
25
  ```sh
29
- npm run dev
26
+ pnpm run dev
30
27
  ```
31
28
 
32
- Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more information about development and testing.
29
+ Check out [CLAUDE.md](CLAUDE.md) for development, testing and contribution guidelines.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localstack/appinspector-ui",
3
- "version": "1.0.166",
3
+ "version": "1.0.168",
4
4
  "description": "LocalStack AppInspector UI",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -25,17 +25,17 @@
25
25
  "check-types": "tsc -b",
26
26
  "dev": "vite --open",
27
27
  "lint": "eslint --fix",
28
- "localstack:start": "LOCALSTACK_APP_INSPECTOR=1 localstack start -d",
29
- "localstack:stop": "localstack stop",
30
- "localstack:wait": "localstack wait -t 60",
28
+ "lstk:logs": "lstk --config lstk.toml logs",
29
+ "lstk:start": "lstk --config lstk.toml start --non-interactive",
30
+ "lstk:stop": "lstk --config lstk.toml stop",
31
31
  "prepare": "husky",
32
32
  "preview": "vite preview",
33
33
  "simplify-icons": "node scripts/simplify-icons.mjs",
34
34
  "storybook": "storybook dev -p 6006",
35
- "test:e2e": "npm run localstack:start && npm run localstack:wait && npm run test:playwright && npm run localstack:stop",
35
+ "test:e2e": "pnpm run lstk:start && pnpm run test:playwright:docker && pnpm run lstk:stop",
36
36
  "test:playwright": "playwright test",
37
+ "test:playwright:docker": "sh scripts/run-linux-tests-in-docker.sh",
37
38
  "test:playwright:ui": "playwright test --ui",
38
- "test:playwright:update-playwright-snapshots": "sh scripts/run-linux-tests-in-docker.sh",
39
39
  "test:storybook": "vitest --project=storybook"
40
40
  },
41
41
  "lint-staged": {