@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.
- package/package.json +11 -5
- package/skills/CHANGELOG.md +18 -0
- package/skills/add-addons-existing-app/SKILL.md +113 -0
- package/skills/choose-ecosystem-integrations/SKILL.md +140 -0
- package/skills/choose-ecosystem-integrations/references/authentication-providers.md +19 -0
- package/skills/choose-ecosystem-integrations/references/data-layer-providers.md +20 -0
- package/skills/choose-ecosystem-integrations/references/deployment-targets.md +19 -0
- package/skills/create-app-scaffold/SKILL.md +132 -0
- package/skills/create-app-scaffold/references/create-flag-compatibility-matrix.md +34 -0
- package/skills/create-app-scaffold/references/deployment-providers.md +19 -0
- package/skills/create-app-scaffold/references/framework-adapters.md +17 -0
- package/skills/create-app-scaffold/references/toolchains.md +17 -0
- package/skills/maintain-custom-addons-dev-watch/SKILL.md +118 -0
- package/skills/query-docs-library-metadata/SKILL.md +85 -0
- package/skills/query-docs-library-metadata/references/discovery-command-output-schemas.md +70 -0
- package/CHANGELOG.md +0 -815
- package/playwright-report/index.html +0 -85
- package/playwright.config.ts +0 -21
- package/src/bin.ts +0 -15
- package/src/cli.ts +0 -1099
- package/src/command-line.ts +0 -612
- package/src/dev-watch.ts +0 -564
- package/src/discovery.ts +0 -209
- package/src/file-syncer.ts +0 -263
- package/src/index.ts +0 -21
- package/src/options.ts +0 -280
- package/src/types.ts +0 -27
- package/src/ui-environment.ts +0 -74
- package/src/ui-prompts.ts +0 -387
- package/src/utils.ts +0 -30
- package/test-results/.last-run.json +0 -4
- package/tests/command-line.test.ts +0 -703
- package/tests/index.test.ts +0 -9
- package/tests/options.test.ts +0 -281
- package/tests/setupVitest.ts +0 -6
- package/tests/ui-environment.test.ts +0 -97
- package/tests/ui-prompts.test.ts +0 -233
- package/tests-e2e/addons-smoke.spec.ts +0 -31
- package/tests-e2e/create-smoke.spec.ts +0 -39
- package/tests-e2e/helpers.ts +0 -526
- package/tests-e2e/matrix-opportunistic.spec.ts +0 -142
- package/tests-e2e/router-only-smoke.spec.ts +0 -54
- package/tests-e2e/solid-smoke.spec.ts +0 -26
- package/tests-e2e/templates-smoke.spec.ts +0 -52
- package/tsconfig.json +0 -17
- 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
|
-
}
|