Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ playwright-report/
test-results/
blob-report/
.knighted-css*/
packages/playwright/dist-css
packages/playwright/src/**/*.knighted-css.ts
packages/playwright/src/mode/**/*.d.ts
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/css/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@knighted/css",
"version": "1.2.0-rc.3",
"version": "1.2.0",
"description": "A build-time utility that traverses JavaScript/TypeScript module dependency graphs to extract, compile, and optimize all imported CSS into a single, in-memory string.",
"type": "module",
"main": "./dist/css.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/playwright/browser-entrypoint.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"sass": "https://cdn.jsdelivr.net/npm/sass@1.80.0/sass.default.js",
"immutable": "https://esm.sh/immutable@4.3.5?bundle",
"less": "https://esm.sh/less@4.2.0?bundle",
"lightningcss-wasm": "https://esm.sh/lightningcss-wasm@1.30.1?bundle"
"lightningcss-wasm": "https://cdn.jsdelivr.net/npm/lightningcss-wasm@1.30.1/+esm"
}
}
</script>
Expand Down
1 change: 0 additions & 1 deletion packages/playwright/dist-css

This file was deleted.

12 changes: 9 additions & 3 deletions packages/playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,27 @@
"check-types": "tsc --noEmit",
"prebuild": "npm run build -w @knighted/css",
"prebuild:mode": "npm run types:mode",
"link-css-dist": "node ./scripts/link-css-dist.js",
"prepare-css-dist": "npm run build -w @knighted/css && npm run link-css-dist",
"prepreview": "npm run prepare-css-dist",
"prepreview:mode": "npm run prepare-css-dist",
"prepreview:hashed": "npm run prepare-css-dist",
"prepreview:auto-stable": "npm run prepare-css-dist",
"prepreview:bridge": "npm run prepare-css-dist",
"prepreview:bridge-webpack": "npm run prepare-css-dist",
"preview": "npm run build && http-server . -p 4174",
"preview:mode": "npm run build:mode && http-server . -p 4179 -o /mode.html",
"preview:hashed": "npm run build:hashed && http-server . -p 4178 -o /hashed.html",
"preview:auto-stable": "npm run build:auto-stable && http-server . -p 4175",
"preview:bridge": "npm run build:bridge:rspack && http-server . -p 4176 -o /bridge.html",
"preview:bridge-webpack": "npm run build:bridge:webpack && http-server . -p 4177 -o /bridge-webpack.html",
"prepreview:bridge": "npm run build -w @knighted/css",
"prepreview:bridge-webpack": "npm run build -w @knighted/css",
"clean:knighted": "rm -rf .knighted-*",
"serve": "http-server dist -p 4174",
"test": "playwright test",
"pretest": "npm run types && npm run build && node ./scripts/link-css-dist.js"
},
"dependencies": {
"@knighted/css": "1.2.0-rc.3",
"@knighted/css": "1.2.0",
"@knighted/jsx": "^1.7.9",
"lit": "^3.2.1",
"react": "^19.0.0",
Expand Down
Loading