@tanstack/cli 0.61.1 → 0.62.1

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 (46) hide show
  1. package/package.json +11 -5
  2. package/skills/CHANGELOG.md +18 -0
  3. package/skills/add-addons-existing-app/SKILL.md +113 -0
  4. package/skills/choose-ecosystem-integrations/SKILL.md +140 -0
  5. package/skills/choose-ecosystem-integrations/references/authentication-providers.md +19 -0
  6. package/skills/choose-ecosystem-integrations/references/data-layer-providers.md +20 -0
  7. package/skills/choose-ecosystem-integrations/references/deployment-targets.md +19 -0
  8. package/skills/create-app-scaffold/SKILL.md +132 -0
  9. package/skills/create-app-scaffold/references/create-flag-compatibility-matrix.md +34 -0
  10. package/skills/create-app-scaffold/references/deployment-providers.md +19 -0
  11. package/skills/create-app-scaffold/references/framework-adapters.md +17 -0
  12. package/skills/create-app-scaffold/references/toolchains.md +17 -0
  13. package/skills/maintain-custom-addons-dev-watch/SKILL.md +118 -0
  14. package/skills/query-docs-library-metadata/SKILL.md +85 -0
  15. package/skills/query-docs-library-metadata/references/discovery-command-output-schemas.md +70 -0
  16. package/CHANGELOG.md +0 -815
  17. package/playwright-report/index.html +0 -85
  18. package/playwright.config.ts +0 -21
  19. package/src/bin.ts +0 -15
  20. package/src/cli.ts +0 -1099
  21. package/src/command-line.ts +0 -612
  22. package/src/dev-watch.ts +0 -564
  23. package/src/discovery.ts +0 -209
  24. package/src/file-syncer.ts +0 -263
  25. package/src/index.ts +0 -21
  26. package/src/options.ts +0 -280
  27. package/src/types.ts +0 -27
  28. package/src/ui-environment.ts +0 -74
  29. package/src/ui-prompts.ts +0 -387
  30. package/src/utils.ts +0 -30
  31. package/test-results/.last-run.json +0 -4
  32. package/tests/command-line.test.ts +0 -703
  33. package/tests/index.test.ts +0 -9
  34. package/tests/options.test.ts +0 -281
  35. package/tests/setupVitest.ts +0 -6
  36. package/tests/ui-environment.test.ts +0 -97
  37. package/tests/ui-prompts.test.ts +0 -233
  38. package/tests-e2e/addons-smoke.spec.ts +0 -31
  39. package/tests-e2e/create-smoke.spec.ts +0 -39
  40. package/tests-e2e/helpers.ts +0 -526
  41. package/tests-e2e/matrix-opportunistic.spec.ts +0 -142
  42. package/tests-e2e/router-only-smoke.spec.ts +0 -54
  43. package/tests-e2e/solid-smoke.spec.ts +0 -26
  44. package/tests-e2e/templates-smoke.spec.ts +0 -52
  45. package/tsconfig.json +0 -17
  46. package/vitest.config.js +0 -8
@@ -1,26 +0,0 @@
1
- import { expect, test } from '@playwright/test'
2
-
3
- import { attachRuntimeGuards, createAppFixture } from './helpers'
4
-
5
- test('@blocking creates a Solid app and renders the home route', async ({ page }) => {
6
- const fixture = await createAppFixture({
7
- appName: 'solid-smoke-app',
8
- framework: 'solid',
9
- })
10
- const guards = attachRuntimeGuards(page, fixture.url)
11
-
12
- try {
13
- await page.goto(fixture.url)
14
- await expect(
15
- page.getByRole('heading', { name: 'Start simple, ship quickly.' }),
16
- ).toBeVisible()
17
- } finally {
18
- try {
19
- guards.assertClean()
20
- } finally {
21
- guards.dispose()
22
- await fixture.stop()
23
- await fixture.cleanup()
24
- }
25
- }
26
- })
@@ -1,52 +0,0 @@
1
- import { expect, test } from '@playwright/test'
2
-
3
- import { attachRuntimeGuards, createReactAppFixture, getRepoPath } from './helpers'
4
-
5
- test('@blocking creates and renders the resume template', async ({ page }) => {
6
- const fixture = await createReactAppFixture({
7
- appName: 'resume-template-smoke-app',
8
- template: getRepoPath('examples/react/resume/template.json'),
9
- })
10
- const guards = attachRuntimeGuards(page, fixture.url)
11
-
12
- try {
13
- await page.goto(fixture.url)
14
- await expect(page.getByRole('heading', { name: /Hi, I'm Jane Smith\./ })).toBeVisible()
15
- await expect(page.getByText('Product-minded frontend engineer')).toBeVisible()
16
-
17
- await page.getByRole('link', { name: 'Resume' }).click()
18
- await expect(page).toHaveURL(/\/$/)
19
- } finally {
20
- try {
21
- guards.assertClean()
22
- } finally {
23
- guards.dispose()
24
- await fixture.stop()
25
- await fixture.cleanup()
26
- }
27
- }
28
- })
29
-
30
- test('@blocking creates and renders the ecommerce template', async ({ page }) => {
31
- const fixture = await createReactAppFixture({
32
- appName: 'ecommerce-template-smoke-app',
33
- template: getRepoPath('examples/react/ecommerce/template.json'),
34
- })
35
- const guards = attachRuntimeGuards(page, fixture.url)
36
-
37
- try {
38
- await page.goto(fixture.url)
39
- await expect(page.getByRole('heading', { name: 'The TanStack Storefront.' })).toBeVisible()
40
-
41
- await page.getByRole('link', { name: 'Browse Catalog' }).click()
42
- await expect(page).toHaveURL(/\/#products$/)
43
- } finally {
44
- try {
45
- guards.assertClean()
46
- } finally {
47
- guards.dispose()
48
- await fixture.stop()
49
- await fixture.cleanup()
50
- }
51
- }
52
- })
package/tsconfig.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2020",
4
- "module": "ES2020",
5
- "outDir": "./dist",
6
- "rootDir": "./src",
7
- "strict": true,
8
- "esModuleInterop": true,
9
- "skipLibCheck": true,
10
- "forceConsistentCasingInFileNames": true,
11
- "moduleResolution": "node",
12
- "declaration": true,
13
- "declarationDir": "./dist/types"
14
- },
15
- "include": ["./src/**/*.ts"],
16
- "exclude": ["node_modules", "dist"]
17
- }
package/vitest.config.js DELETED
@@ -1,8 +0,0 @@
1
- import { defineConfig } from 'vitest/config'
2
-
3
- export default defineConfig({
4
- test: {
5
- setupFiles: ['./tests/setupVitest.js'],
6
- include: ['tests/**/*.test.ts'],
7
- },
8
- })