Skip to content

Commit

Permalink
Revert "Update lit labs imports (#5321)"
Browse files Browse the repository at this point in the history
This reverts commit 424d4a7.
  • Loading branch information
hussam-i-am authored Nov 21, 2024
1 parent 82c7923 commit 7f2e9b6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 21 deletions.
5 changes: 0 additions & 5 deletions .changeset/fluffy-crabs-rhyme.md

This file was deleted.

15 changes: 5 additions & 10 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/react/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ module.exports = {
setupFiles: ['<rootDir>/src/utils/test-helpers.tsx'],
setupFilesAfterEnv: ['<rootDir>/src/utils/test-matchers.tsx', '<rootDir>/src/utils/test-deprecations.tsx'],
testMatch: ['<rootDir>/**/*.test.[jt]s?(x)', '!**/*.types.test.[jt]s?(x)'],
transformIgnorePatterns: ['node_modules/(?!@github/[a-z-]+-element|@lit/react|@oddbird/popover-polyfill)'],
transformIgnorePatterns: ['node_modules/(?!@github/[a-z-]+-element|@lit-labs/react|@oddbird/popover-polyfill)'],
}
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"dependencies": {
"@github/relative-time-element": "^4.4.3",
"@github/tab-container-element": "^4.8.0",
"@lit/react": "^1.0.6",
"@lit-labs/react": "1.2.1",
"@oddbird/popover-polyfill": "^0.4.4",
"@primer/behaviors": "^1.7.2",
"@primer/live-region-element": "^0.7.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/react/rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import path from 'node:path'
import commonjs from '@rollup/plugin-commonjs'
import resolve from '@rollup/plugin-node-resolve'
import {babel} from '@rollup/plugin-babel'
import babel from '@rollup/plugin-babel'
import replace from '@rollup/plugin-replace'
import terser from '@rollup/plugin-terser'
import {visualizer} from 'rollup-plugin-visualizer'
Expand Down Expand Up @@ -42,7 +42,7 @@ const ESM_ONLY = new Set([
'@github/paste-markdown',
'@github/relative-time-element',
'@github/tab-container-element',
'@lit/react',
'@lit-labs/react',
'@oddbird/popover-polyfill',
])
const dependencies = [
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/utils/create-component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import styled from 'styled-components'
import type {EventName} from '@lit/react'
import {createComponent as create} from '@lit/react'
import type {EventName} from '@lit-labs/react'
import {createComponent as create} from '@lit-labs/react'
import sx from '../sx'

type EventNames = Record<string, EventName | string>
Expand Down

0 comments on commit 7f2e9b6

Please sign in to comment.