Skip to content

Commit 81addf0

Browse files
committed
fix: cli tests config
1 parent 3331fbf commit 81addf0

File tree

9 files changed

+392
-194
lines changed

9 files changed

+392
-194
lines changed

jest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { getJestProjects } from '@nx/jest';
1+
import { getJestProjectsAsync } from '@nx/jest';
22

33
export default {
4-
projects: getJestProjects(),
4+
projects: await getJestProjectsAsync(),
55
};

nx.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,8 @@
5252
]
5353
},
5454
"nxCloudAccessToken": "MzViMzc1MGQtMDQyNi00N2E3LTliMmYtYWI4ZGIxYWJjYzE3fHJlYWQtd3JpdGU=",
55-
"defaultBase": "main"
55+
"defaultBase": "main",
56+
"tui": {
57+
"enabled": false
58+
}
5659
}

packages/cli-e2e/src/cli.smoke.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ describe('Qwik UI CLI Smoke test', () => {
2323

2424
it('should be installed and add the button file', () => {
2525
execSync(
26-
'npx -y qwik-ui@e2e init --e2e --projectRoot ./ --uiComponentsPath "src/components/ui" --rootCssPath "src/global.css" --installTailwind --style "simple" --components=button',
26+
'npx -y qwik-ui@0.3.3 init --e2e --projectRoot ./ --uiComponentsPath "src/components/ui" --rootCssPath "src/global.css" --installTailwind --style "simple" --components=button',
2727
{
2828
cwd: projectDirectory,
2929
env: process.env,
3030
stdio: 'inherit',
3131
},
3232
);
33-
execSync('npx -y qwik-ui@e2e add button', {
33+
execSync('pnpm exec qwik-ui add button', {
3434
cwd: projectDirectory,
3535
env: process.env,
3636
stdio: 'inherit',

packages/cli/.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"semi": true,
3+
"singleQuote": true,
4+
"trailingComma": "all",
5+
"printWidth": 90
6+
}

packages/cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "qwik-ui",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"publishConfig": {
55
"access": "public"
66
},
@@ -12,14 +12,14 @@
1212
"description": "Qwik UI Command line interface",
1313
"dependencies": {
1414
"@clack/prompts": "^0.7.0",
15-
"@nx/devkit": "19.2.3",
15+
"@nx/devkit": "21.1.2",
1616
"@qwik-ui/utils": "0.3.2",
1717
"ansis": "2.3.0",
1818
"tslib": "^2.3.0",
1919
"yargs": "17.7.2"
2020
},
2121
"devDependencies": {
22-
"@qwik-ui/styled": "0.3.2",
22+
"@qwik-ui/styled": "0.3.4",
2323
"prettier-2": "npm:prettier@^2"
2424
},
2525
"type": "commonjs",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"tailwindcss-animate": "^1.0.7",
3-
"class-variance-authority": "^0.7.0",
3+
"class-variance-authority": "0.7.1",
44
"@qwikest/icons": "^0.0.13"
55
}

0 commit comments

Comments
 (0)