Skip to content

Commit d3d0636

Browse files
The bloat eradictor
1 parent c40a357 commit d3d0636

28 files changed

+268
-5817
lines changed

.github/actions/test/action.yml

-17
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ runs:
1414
using: composite
1515

1616
steps:
17-
# - name: Commitlint
18-
# shell: bash
19-
# run: npx --no-install commitlint --from=last-release
20-
2117
- name: Lint
2218
shell: bash
2319
run: npx nx run-many -t lint --exclude website # --base=last-release <- add that back after fix
@@ -26,10 +22,6 @@ runs:
2622
shell: bash
2723
run: npx nx run-many -t build --parallel=false --exclude website # --base=last-release <- add that back
2824

29-
# - name: Build storybook
30-
# shell: bash
31-
# run: npx nx build-storybook headless
32-
3325
- name: Test all except headless
3426
shell: bash
3527
run: npx nx run-many -t test # --base=last-release <- add that back
@@ -41,15 +33,6 @@ runs:
4133
with:
4234
command: 'pnpm test.headless.ci'
4335

44-
# - name: Publish to Chromatic
45-
# uses: chromaui/action@v1
46-
# # Chromatic GitHub Action options
47-
# with:
48-
# # 👇 Chromatic projectToken, refer to the manage page to obtain it.
49-
# projectToken: ${{ inputs.chromatic_token }}
50-
# storybookBuildDir: dist/storybook/headless
51-
# zip: true
52-
5336
# - name: Build
5437
# shell: bash
5538
# run: npx nx affected:build --base=last-release --exclude=website

.storybook/main.ts

-14
This file was deleted.

.storybook/package.json

-3
This file was deleted.

.storybook/tsconfig.json

-14
This file was deleted.

commitlint.config.cjs

-4
This file was deleted.

nx.json

-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
"e2e": {
2828
"cache": true
2929
},
30-
"build-storybook": {
31-
"cache": true
32-
},
3330
"component-test": {
3431
"cache": true
3532
},

package.json

+1-30
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
"release": "pnpm release.prepare && pnpm release.setroot && pnpm release.publish && pnpm release.resetroot",
3030
"release.publish": "changeset publish",
3131
"release.resetroot": "cp dist/pnpm-workspace.yaml pnpm-workspace.yaml",
32-
"story.build.headless": "nx build-storybook headless",
33-
"story.headless": "nx storybook headless",
3432
"test.cli": "NODE_OPTIONS=--experimental-vm-modules nx test cli",
3533
"test.headless": "nx component-test headless",
3634
"test.visual.headless": "nx visual-test headless",
@@ -46,7 +44,6 @@
4644
"@builder.io/qwik": "^1.5.4",
4745
"@builder.io/qwik-city": "^1.5.4",
4846
"@builder.io/qwik-react": "0.5.3",
49-
"@builder.io/vite-plugin-macro": "~0.0.7",
5047
"@changesets/cli": "2.27.1",
5148
"@changesets/get-github-info": "0.6.0",
5249
"@changesets/types": "6.0.0",
@@ -59,6 +56,7 @@
5956
"@img/sharp-linux-x64": "^0.33.0",
6057
"@jscutlery/semver": "^4.2.0",
6158
"@k11r/nx-cloudflare-wrangler": "3.0.0-feat-sst-upgrade.1",
59+
"@modular-forms/qwik": "0.24.0",
6260
"@nx/cypress": "19.0.4",
6361
"@nx/devkit": "19.0.4",
6462
"@nx/eslint": "19.0.4",
@@ -67,26 +65,13 @@
6765
"@nx/js": "19.0.4",
6866
"@nx/playwright": "19.0.4",
6967
"@nx/plugin": "19.0.4",
70-
"@nx/storybook": "19.0.4",
7168
"@nx/vite": "19.0.4",
7269
"@nx/workspace": "19.0.4",
7370
"@oddbird/popover-polyfill": "0.4.3",
7471
"@playwright/test": "^1.41.2",
7572
"@qwikest/icons": "0.0.13",
7673
"@radix-ui/react-scroll-area": "1.0.5",
7774
"@shikijs/transformers": "1.5.2",
78-
"@storybook/addon-a11y": "7.6.0",
79-
"@storybook/addon-coverage": "^0.0.9",
80-
"@storybook/addon-essentials": "7.6.0",
81-
"@storybook/addon-interactions": "7.6.0",
82-
"@storybook/addon-links": "7.6.0",
83-
"@storybook/blocks": "^7.4.0",
84-
"@storybook/builder-vite": "^7.4.0",
85-
"@storybook/html": "^7.4.0",
86-
"@storybook/html-vite": "^7.4.0",
87-
"@storybook/jest": "0.2.3",
88-
"@storybook/test-runner": "0.13.0",
89-
"@storybook/testing-library": "0.2.2",
9075
"@swc-node/register": "1.8.0",
9176
"@swc/core": "~1.3.85",
9277
"@testing-library/cypress": "9.0.0",
@@ -107,17 +92,13 @@
10792
"axe-core": "^4.7.2",
10893
"body-scroll-lock-upgrade": "1.1.0",
10994
"canvas-confetti": "1.9.2",
110-
"chromatic": "^6.24.1",
11195
"class-variance-authority": "0.7.0",
11296
"clipboard-copy": "4.0.1",
11397
"clsx": "^2.0.0",
114-
"commitizen": "^4.3.0",
115-
"commitlint": "^17.7.1",
11698
"cypress": "^13.6.6",
11799
"cypress-axe": "1.4.0",
118100
"cypress-ct-qwik": "0.3.0",
119101
"cypress-real-events": "1.10.3",
120-
"cz-conventional-changelog": "^3.3.0",
121102
"danger": "^11.2.8",
122103
"decompress": "4.2.1",
123104
"dotenv": "16.3.1",
@@ -126,15 +107,12 @@
126107
"eslint-plugin-cypress": "^2.14.0",
127108
"eslint-plugin-playwright": "^1.3.0",
128109
"eslint-plugin-qwik": "^1.5.4",
129-
"eslint-plugin-storybook": "^0.6.13",
130110
"focus-trap": "7.5.3",
131111
"husky": "^8.0.3",
132112
"jest": "^29.4.1",
133113
"jest-environment-jsdom": "^29.4.1",
134114
"jsdom": "22.1.0",
135115
"kleur": "^4.1.5",
136-
"libphonenumber-js": "^1.10.43",
137-
"ngx-deploy-npm": "^7.0.1",
138116
"node-fetch": "^3.3.2",
139117
"np": "^8.0.4",
140118
"nx": "19.0.4",
@@ -147,17 +125,13 @@
147125
"react": "18.2.0",
148126
"react-dom": "18.2.0",
149127
"rehype-pretty-code": "^0.13.0",
150-
"rollup-plugin-pure": "0.2.1",
151128
"sass": "^1.66.1",
152129
"shiki": "1.5.2",
153130
"specificity": "^1.0.0",
154-
"storybook": "^7.4.0",
155-
"storybook-framework-qwik": "^0.2.3",
156131
"tailwind-merge": "^1.14.0",
157132
"tailwindcss": "^3.3.3",
158133
"tailwindcss-animate": "1.0.7",
159134
"ts-jest": "^29.1.0",
160-
"ts-node": "10.9.1",
161135
"tslib": "^2.6.2",
162136
"typescript": "5.4.5",
163137
"undici": "^5.23.0",
@@ -186,8 +160,5 @@
186160
],
187161
"nx": {
188162
"includedScripts": []
189-
},
190-
"dependencies": {
191-
"@modular-forms/qwik": "0.24.0"
192163
}
193164
}

packages/kit-headless/.eslintrc.json

+2-5
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,15 @@
1818
],
1919
"parser": "@typescript-eslint/parser",
2020
"parserOptions": {
21-
"project": [
22-
"packages/kit-headless/tsconfig.*?.json",
23-
"packages/kit-headless/.storybook/tsconfig.json"
24-
],
21+
"project": ["packages/kit-headless/tsconfig.*?.json"],
2522
"ecmaVersion": 2021,
2623
"sourceType": "module",
2724
"ecmaFeatures": {
2825
"jsx": true
2926
}
3027
},
3128
"plugins": ["@typescript-eslint"],
32-
"ignorePatterns": ["!**/*", "cypress.config.ts", "**/.storybook/*"],
29+
"ignorePatterns": ["!**/*", "cypress.config.ts"],
3330
"overrides": [
3431
{
3532
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],

packages/kit-headless/.storybook/main.ts

-47
This file was deleted.

packages/kit-headless/.storybook/preview-head.html

-3
This file was deleted.

packages/kit-headless/.storybook/preview.tsx

-37
This file was deleted.

packages/kit-headless/.storybook/tsconfig.json

-24
This file was deleted.

packages/kit-headless/project.json

-33
Original file line numberDiff line numberDiff line change
@@ -25,39 +25,6 @@
2525
"lintFilePatterns": ["packages/kit-headless/**/*.{ts,tsx,js,jsx}"]
2626
}
2727
},
28-
"storybook": {
29-
"executor": "@nx/storybook:storybook",
30-
"options": {
31-
"port": 4400,
32-
"configDir": "packages/kit-headless/.storybook"
33-
},
34-
"configurations": {
35-
"ci": {
36-
"quiet": true
37-
}
38-
}
39-
},
40-
"build-storybook": {
41-
"executor": "@nx/storybook:build",
42-
"outputs": ["{options.outputDir}"],
43-
"options": {
44-
"uiFramework": "@storybook/html",
45-
"configDir": "packages/kit-headless/.storybook",
46-
"outputDir": "dist/storybook/kit-headless"
47-
},
48-
"configurations": {
49-
"ci": {
50-
"quiet": true
51-
}
52-
}
53-
},
54-
"test-storybook": {
55-
"executor": "nx:run-commands",
56-
"options": {
57-
"command": "pnpm test-storybook --url http://localhost:4400 --coverage",
58-
"cwd": "packages/kit-headless"
59-
}
60-
},
6128
"component-test": {
6229
"executor": "@nx/cypress:cypress",
6330
"options": {

0 commit comments

Comments
 (0)