-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #556 from atls/feat/vanilla-extract-migration
feat/vanilla-extract-migration
- Loading branch information
Showing
946 changed files
with
34,150 additions
and
42,395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.zip filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"recommendations": [ | ||
"arcanis.vscode-zipfs", | ||
"dbaeumer.vscode-eslint" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"search.exclude": { | ||
"**/.yarn": true, | ||
"**/.pnp.*": true | ||
}, | ||
"eslint.nodePath": ".yarn/sdks", | ||
"typescript.tsdk": ".yarn/sdks/typescript/lib", | ||
"typescript.enablePromptUseWorkspaceTsdk": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
diff --git a/dist/declarations/src/index.d.ts b/dist/declarations/src/index.d.ts | ||
index 66e1d61f0390dd9c5c318378fe55f1b802184fcd..1f43a7740e4c4cbc6c3d573152b0d24cb4f8d863 100644 | ||
--- a/dist/declarations/src/index.d.ts | ||
+++ b/dist/declarations/src/index.d.ts | ||
@@ -7,4 +7,4 @@ export declare const flush: () => void, hydrate: (ids: string[]) => void, cx: (. | ||
}, css: { | ||
(template: TemplateStringsArray, ...args: import("./create-instance.js").CSSInterpolation[]): string; | ||
(...args: import("./create-instance.js").CSSInterpolation[]): string; | ||
-}, sheet: import("./create-instance.js").CSSStyleSheet, cache: EmotionCache; | ||
+}, sheet: import("./create-instance.js").CSSStyleSheet, cache: import('@emotion/cache').EmotionCache; |
12 changes: 12 additions & 0 deletions
12
.yarn/patches/@vanilla-extract-integration-npm-7.1.7-cf020c7449.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/package.json b/package.json | ||
index cdf22a7aed76707f9ea47cc1fa4491c3f5d66945..bb6d45a25dc1c1aa38137b86109e36157fea1c4a 100644 | ||
--- a/package.json | ||
+++ b/package.json | ||
@@ -3,6 +3,7 @@ | ||
"version": "7.1.7", | ||
"description": "Zero-runtime Stylesheets-in-TypeScript", | ||
"main": "dist/vanilla-extract-integration.cjs.js", | ||
+ "type": "module", | ||
"types": "dist/vanilla-extract-integration.cjs.d.ts", | ||
"files": [ | ||
"/dist" |
12 changes: 12 additions & 0 deletions
12
.yarn/patches/@vanilla-extract-webpack-plugin-npm-2.3.11-96bc4d2d50.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/package.json b/package.json | ||
index 21d9191e211063849fdf6de480939854948f7d13..158f05f407b2351ec9e50e1a1efe44943f0214bd 100644 | ||
--- a/package.json | ||
+++ b/package.json | ||
@@ -4,6 +4,7 @@ | ||
"description": "Zero-runtime Stylesheets-in-TypeScript", | ||
"main": "dist/vanilla-extract-webpack-plugin.cjs.js", | ||
"module": "dist/vanilla-extract-webpack-plugin.esm.js", | ||
+ "type": "module", | ||
"types": "dist/vanilla-extract-webpack-plugin.cjs.d.ts", | ||
"exports": { | ||
"./package.json": "./package.json", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/dist/calendar.d.ts b/dist/calendar.d.ts | ||
index 62fde6d8974bbf10a5fe76b22a65f22210822c96..b3e91b345520fb0ad1a5108a3b212f7eebbf91c4 100644 | ||
--- a/dist/calendar.d.ts | ||
+++ b/dist/calendar.d.ts | ||
@@ -7,7 +7,7 @@ import MonthYearDropdown from "./month_year_dropdown"; | ||
import Time from "./time"; | ||
import Year from "./year"; | ||
import YearDropdown from "./year_dropdown"; | ||
-import type { Day } from "date-fns/types"; | ||
+import type { Day } from "date-fns"; | ||
interface YearDropdownProps extends React.ComponentPropsWithoutRef<typeof YearDropdown> { | ||
} | ||
interface MonthDropdownProps extends React.ComponentPropsWithoutRef<typeof MonthDropdown> { |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire, register} = require(`module`); | ||
const {resolve} = require(`path`); | ||
const {pathToFileURL} = require(`url`); | ||
|
||
const relPnpApiPath = "../../../../.pnp.cjs"; | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absUserWrapperPath = resolve(__dirname, `./sdk.user.cjs`); | ||
const absRequire = createRequire(absPnpApiPath); | ||
|
||
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`); | ||
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath); | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require eslint/bin/eslint.js | ||
require(absPnpApiPath).setup(); | ||
if (isPnpLoaderEnabled && register) { | ||
register(pathToFileURL(absPnpLoaderPath)); | ||
} | ||
} | ||
} | ||
|
||
const wrapWithUserWrapper = existsSync(absUserWrapperPath) | ||
? exports => absRequire(absUserWrapperPath)(exports) | ||
: exports => exports; | ||
|
||
// Defer to the real eslint/bin/eslint.js your application uses | ||
module.exports = wrapWithUserWrapper(absRequire(`eslint/bin/eslint.js`)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire, register} = require(`module`); | ||
const {resolve} = require(`path`); | ||
const {pathToFileURL} = require(`url`); | ||
|
||
const relPnpApiPath = "../../../../.pnp.cjs"; | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absUserWrapperPath = resolve(__dirname, `./sdk.user.cjs`); | ||
const absRequire = createRequire(absPnpApiPath); | ||
|
||
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`); | ||
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath); | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require eslint | ||
require(absPnpApiPath).setup(); | ||
if (isPnpLoaderEnabled && register) { | ||
register(pathToFileURL(absPnpLoaderPath)); | ||
} | ||
} | ||
} | ||
|
||
const wrapWithUserWrapper = existsSync(absUserWrapperPath) | ||
? exports => absRequire(absUserWrapperPath)(exports) | ||
: exports => exports; | ||
|
||
// Defer to the real eslint your application uses | ||
module.exports = wrapWithUserWrapper(absRequire(`eslint`)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire, register} = require(`module`); | ||
const {resolve} = require(`path`); | ||
const {pathToFileURL} = require(`url`); | ||
|
||
const relPnpApiPath = "../../../../.pnp.cjs"; | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absUserWrapperPath = resolve(__dirname, `./sdk.user.cjs`); | ||
const absRequire = createRequire(absPnpApiPath); | ||
|
||
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`); | ||
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath); | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require eslint/use-at-your-own-risk | ||
require(absPnpApiPath).setup(); | ||
if (isPnpLoaderEnabled && register) { | ||
register(pathToFileURL(absPnpLoaderPath)); | ||
} | ||
} | ||
} | ||
|
||
const wrapWithUserWrapper = existsSync(absUserWrapperPath) | ||
? exports => absRequire(absUserWrapperPath)(exports) | ||
: exports => exports; | ||
|
||
// Defer to the real eslint/use-at-your-own-risk your application uses | ||
module.exports = wrapWithUserWrapper(absRequire(`eslint/use-at-your-own-risk`)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "eslint", | ||
"version": "8.48.0-sdk", | ||
"main": "./lib/api.js", | ||
"type": "commonjs", | ||
"bin": { | ||
"eslint": "./bin/eslint.js" | ||
}, | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": "./lib/api.js", | ||
"./use-at-your-own-risk": "./lib/unsupported-api.js" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file is automatically generated by @yarnpkg/sdks. | ||
# Manual changes might be lost! | ||
|
||
integrations: | ||
- vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire, register} = require(`module`); | ||
const {resolve} = require(`path`); | ||
const {pathToFileURL} = require(`url`); | ||
|
||
const relPnpApiPath = "../../../../.pnp.cjs"; | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absUserWrapperPath = resolve(__dirname, `./sdk.user.cjs`); | ||
const absRequire = createRequire(absPnpApiPath); | ||
|
||
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`); | ||
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath); | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require typescript/bin/tsc | ||
require(absPnpApiPath).setup(); | ||
if (isPnpLoaderEnabled && register) { | ||
register(pathToFileURL(absPnpLoaderPath)); | ||
} | ||
} | ||
} | ||
|
||
const wrapWithUserWrapper = existsSync(absUserWrapperPath) | ||
? exports => absRequire(absUserWrapperPath)(exports) | ||
: exports => exports; | ||
|
||
// Defer to the real typescript/bin/tsc your application uses | ||
module.exports = wrapWithUserWrapper(absRequire(`typescript/bin/tsc`)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire, register} = require(`module`); | ||
const {resolve} = require(`path`); | ||
const {pathToFileURL} = require(`url`); | ||
|
||
const relPnpApiPath = "../../../../.pnp.cjs"; | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absUserWrapperPath = resolve(__dirname, `./sdk.user.cjs`); | ||
const absRequire = createRequire(absPnpApiPath); | ||
|
||
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`); | ||
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath); | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require typescript/bin/tsserver | ||
require(absPnpApiPath).setup(); | ||
if (isPnpLoaderEnabled && register) { | ||
register(pathToFileURL(absPnpLoaderPath)); | ||
} | ||
} | ||
} | ||
|
||
const wrapWithUserWrapper = existsSync(absUserWrapperPath) | ||
? exports => absRequire(absUserWrapperPath)(exports) | ||
: exports => exports; | ||
|
||
// Defer to the real typescript/bin/tsserver your application uses | ||
module.exports = wrapWithUserWrapper(absRequire(`typescript/bin/tsserver`)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire, register} = require(`module`); | ||
const {resolve} = require(`path`); | ||
const {pathToFileURL} = require(`url`); | ||
|
||
const relPnpApiPath = "../../../../.pnp.cjs"; | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absUserWrapperPath = resolve(__dirname, `./sdk.user.cjs`); | ||
const absRequire = createRequire(absPnpApiPath); | ||
|
||
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`); | ||
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath); | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require typescript/lib/tsc.js | ||
require(absPnpApiPath).setup(); | ||
if (isPnpLoaderEnabled && register) { | ||
register(pathToFileURL(absPnpLoaderPath)); | ||
} | ||
} | ||
} | ||
|
||
const wrapWithUserWrapper = existsSync(absUserWrapperPath) | ||
? exports => absRequire(absUserWrapperPath)(exports) | ||
: exports => exports; | ||
|
||
// Defer to the real typescript/lib/tsc.js your application uses | ||
module.exports = wrapWithUserWrapper(absRequire(`typescript/lib/tsc.js`)); |
Oops, something went wrong.