milestone 23 s1: stylex build integration, tokens and shared styles
This commit is contained in:
@@ -39,6 +39,7 @@ mbedtls url=https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/mbedtls-3.6.7.
|
||||
sqlite url=https://sqlite.org/2026/sqlite-amalgamation-3530400.zip hash=N-V-__8AAGVtrgCcOcmjrOJnagmnRyMrcKaOo09KbU-vu8w8
|
||||
|
||||
[npm runtime closure]
|
||||
@stylexjs/stylex 0.19.0 MIT
|
||||
@tanstack/history 1.162.0 MIT
|
||||
@tanstack/query-core 5.101.4 MIT
|
||||
@tanstack/react-query 5.101.4 MIT
|
||||
@@ -47,12 +48,17 @@ sqlite url=https://sqlite.org/2026/sqlite-amalgamation-3530400.zip hash=N-V-__8A
|
||||
@tanstack/router-core 1.171.15 MIT
|
||||
@tanstack/store 0.9.3 MIT
|
||||
cookie-es 3.1.1 MIT
|
||||
css-mediaquery 0.1.2 BSD
|
||||
invariant 2.2.4 MIT
|
||||
isbot 5.2.1 Unlicense
|
||||
js-tokens 4.0.0 MIT
|
||||
loose-envify 1.4.0 MIT
|
||||
react 19.2.8 MIT
|
||||
react-dom 19.2.8 MIT
|
||||
scheduler 0.27.0 MIT
|
||||
seroval 1.5.6 MIT
|
||||
seroval-plugins 1.5.6 MIT
|
||||
styleq 0.2.1 MIT
|
||||
use-sync-external-store 1.6.0 MIT
|
||||
|
||||
[npm build-time generators whose output ships]
|
||||
|
||||
@@ -39,6 +39,21 @@
|
||||
// stay listed in licenses/dependency-identity.txt so that a future build which
|
||||
// does pull them in trips the guard.
|
||||
//
|
||||
// Four more joined that list with the StyleX build integration: css-mediaquery,
|
||||
// invariant, and loose-envify with js-tokens under it. They are @stylexjs/
|
||||
// stylex's own dependencies, they serve its compiler and not its runtime, and a
|
||||
// sourcemap build of a component calling stylex.props shows none of them in any
|
||||
// `sources` list.
|
||||
//
|
||||
// StyleX itself is inventoried below although nothing imports it yet, so no
|
||||
// chunk carries it today. The licence is carried now because the same sourcemap
|
||||
// build settles what the page conversion will land, and it is not the obvious
|
||||
// answer: only @stylexjs/stylex appears as a bundled package, and styleq
|
||||
// arrives inside it. The published lib/es/stylex.mjs vendors styleq's source
|
||||
// instead of importing it, so styleq's bytes ship while styleq never appears in
|
||||
// a `sources` list — no guard would raise it, which is why it is written down
|
||||
// here.
|
||||
//
|
||||
// Of the remaining devDependencies, none puts a byte in web/dist: @vitejs/
|
||||
// plugin-react and typescript only transform our own sources (react-refresh is
|
||||
// dev-server only, and tslib is optional and unused), @tailwindcss/vite
|
||||
@@ -94,6 +109,18 @@
|
||||
.note = "Bundled into the admin UI JavaScript. Grouped because all five carry the identical MIT text and copyright line.",
|
||||
.file = "tanstack-mit.txt",
|
||||
},
|
||||
.{
|
||||
.component = "StyleX",
|
||||
.version = "@stylexjs/stylex 0.19.0",
|
||||
.note = "The style runtime for the admin UI. Its published dist vendors styleq's source, so the styleq entry below covers bytes that arrive inside this package. The npm tarball ships no licence file of its own; this text is the LICENSE of facebook/stylex at tag 0.19.0, which is byte-identical to the one on main.",
|
||||
.file = "stylex-mit.txt",
|
||||
},
|
||||
.{
|
||||
.component = "styleq",
|
||||
.version = "styleq 0.2.1",
|
||||
.note = "The class-name merger StyleX calls at runtime. Never a bundled package in its own right: @stylexjs/stylex vendors its source into lib/es/stylex.mjs, so it reaches web/dist without appearing in any sourcemap `sources` list. Separate entry from StyleX: same MIT text, different copyright line.",
|
||||
.file = "styleq-mit.txt",
|
||||
},
|
||||
.{
|
||||
.component = "TanStack Store",
|
||||
.version = "@tanstack/store 0.9.3, @tanstack/react-store 0.9.3",
|
||||
|
||||
@@ -51,6 +51,8 @@ pub const texts: []const Text = &.{
|
||||
.{ .name = "react-mit.txt", .body = @embedFile("react-mit.txt") },
|
||||
.{ .name = "tanstack-mit.txt", .body = @embedFile("tanstack-mit.txt") },
|
||||
.{ .name = "tanstack-store-mit.txt", .body = @embedFile("tanstack-store-mit.txt") },
|
||||
.{ .name = "stylex-mit.txt", .body = @embedFile("stylex-mit.txt") },
|
||||
.{ .name = "styleq-mit.txt", .body = @embedFile("styleq-mit.txt") },
|
||||
.{ .name = "tailwindcss-mit.txt", .body = @embedFile("tailwindcss-mit.txt") },
|
||||
.{ .name = "vite-mit.txt", .body = @embedFile("vite-mit.txt") },
|
||||
.{ .name = "rolldown-mit.txt", .body = @embedFile("rolldown-mit.txt") },
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Nicolas Gallagher
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
Reference in New Issue
Block a user