From 3a768e0d5162eb49d1a813a93b52e7d3af3531a1 Mon Sep 17 00:00:00 2001 From: Alexander Brown Date: Mon, 23 Oct 2023 11:21:43 -0700 Subject: [PATCH 1/9] Replace union member CSS with any to speed up type checking massively. See https://github.com/stitchesjs/stitches/issues/1038#issuecomment-1516638929 --- packages/react/types/css-util.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/types/css-util.d.ts b/packages/react/types/css-util.d.ts index 5452ca4a..711526fb 100644 --- a/packages/react/types/css-util.d.ts +++ b/packages/react/types/css-util.d.ts @@ -95,9 +95,9 @@ export type CSS< [K: string]: ( | number | string - | CSS | {} | undefined + | any ) } ) From 386209ba071a4fd23d2827a1af33e3cb28fd272d Mon Sep 17 00:00:00 2001 From: Alexander Brown Date: Wed, 25 Oct 2023 11:43:49 -0700 Subject: [PATCH 2/9] Update package.json name to allow publishing private fork. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 086f3ef9..24200298 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "$schema": "./.vscode/package.schema.json", - "name": "stitches", + "name": "@sigmacomputing/stitches", + "version": "1.2.9", "type": "module", "license": "MIT", "contributors": [ From 0fe7695aab5c024362a04599dada4784c9b03286 Mon Sep 17 00:00:00 2001 From: Alexander Brown Date: Wed, 25 Oct 2023 13:09:38 -0700 Subject: [PATCH 3/9] v1.3.1-3 --- packages/core/package.json | 4 ++-- packages/react/package.json | 4 ++-- packages/stringify/package.json | 4 ++-- packages/test/package.json | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 870c1cfe..797781b4 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { - "name": "@stitches/core", - "version": "1.3.1-1", + "name": "@sigmacomputing/stitches-core", + "version": "1.3.1-3", "description": "The modern CSS-in-JS library", "type": "module", "main": "dist/index.cjs", diff --git a/packages/react/package.json b/packages/react/package.json index e944f271..e846ea4a 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { - "name": "@stitches/react", - "version": "1.3.1-1", + "name": "@sigmacomputing/stitches-react", + "version": "1.3.1-3", "description": "The modern CSS-in-JS library", "type": "module", "main": "dist/index.cjs", diff --git a/packages/stringify/package.json b/packages/stringify/package.json index e6d07ff3..be4c63ff 100644 --- a/packages/stringify/package.json +++ b/packages/stringify/package.json @@ -1,6 +1,6 @@ { - "name": "@stitches/stringify", - "version": "1.3.1-1", + "name": "@sigmacomputing/stitches-stringify", + "version": "1.3.1-3", "description": "Converts an object into CSS", "type": "module", "main": "dist/index.cjs", diff --git a/packages/test/package.json b/packages/test/package.json index d4d0134b..c4c30d95 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -1,6 +1,6 @@ { - "name": "@stitches/test", - "version": "1.3.1-1", + "name": "@sigmacomputing/stitches-test", + "version": "1.3.1-2", "type": "module", "files": [ "dist/*.cjs", From 4f87d734f78e886cb941349a8fa5ea63727b9428 Mon Sep 17 00:00:00 2001 From: Alexander Brown Date: Wed, 25 Oct 2023 13:34:39 -0700 Subject: [PATCH 4/9] Replace all @stitches/(\w+) with @sigmacomputing/stitches-$1 --- README.md | 4 +- package.json | 2 +- packages/core/README.md | 12 +- packages/react/README.md | 12 +- packages/stringify/README.md | 6 +- packages/test/Issue-803-core.ts | 2 +- packages/test/Issue-803-react.ts | 2 +- packages/test/Issue-813-core.ts | 4 +- packages/test/Issue-813-react.ts | 4 +- packages/test/built-types/Issue-813-core.d.ts | 32 +- .../test/built-types/Issue-813-react.d.ts | 32 +- packages/test/built-types/index.d.ts | 184 ++++---- .../test/built-types/stitches.config.d.ts | 414 +++++++++--------- packages/test/package.json | 2 +- packages/test/stitches.config.ts | 6 +- 15 files changed, 359 insertions(+), 359 deletions(-) diff --git a/README.md b/README.md index 5e66f5b6..319398e1 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ CSS-in-JS with near-zero runtime, SSR, multi-variant support, and a best-in-clas Framework-agnostic implementation. ```sh -npm install @stitches/core +npm install @sigmacomputing/stitches-core ``` [Read more](https://github.com/stitchesjs/stitches/tree/main/packages/core) @@ -27,7 +27,7 @@ npm install @stitches/core React wrapper including the `styled` API. ```sh -npm install @stitches/react +npm install @sigmacomputing/stitches-react ``` [Read more](https://github.com/stitchesjs/stitches/tree/main/packages/react) diff --git a/package.json b/package.json index 24200298..3b220bd8 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "Jonathan Neal" ], "scripts": { - "build:test:types": "yarn workspace @stitches/test build", + "build:test:types": "yarn workspace @sigmacomputing/stitches-test build", "build": "node .task/build.js", "build:watch": "node .task/build.js --watch", "lint": "node .task/lint.js", diff --git a/packages/core/README.md b/packages/core/README.md index 7308e021..a02079b3 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -1,15 +1,15 @@ -# @stitches/core +# @sigmacomputing/stitches-core -**@stitches/core** is a framework-agnostic implementation of [stitches](https://stitches.dev), a CSS-in-JS library with a best-in-class developer experience. +**@sigmacomputing/stitches-core** is a framework-agnostic implementation of [stitches](https://stitches.dev), a CSS-in-JS library with a best-in-class developer experience.


```sh # with npm -npm install @stitches/core +npm install @sigmacomputing/stitches-core # with yarn -yarn add @stitches/core +yarn add @sigmacomputing/stitches-core ```


@@ -21,7 +21,7 @@ yarn add @stitches/core ```html ``` @@ -33,7 +33,7 @@ import { css } from 'https://cdn.skypack.dev/@stitches/core'
```js - + ``` @@ -33,7 +33,7 @@ import { styled } from 'https://cdn.skypack.dev/@stitches/react'
```js - +