Skip to content

Commit 984bd28

Browse files
committed
chore: update
1 parent a999aa2 commit 984bd28

File tree

14 files changed

+16
-16
lines changed

14 files changed

+16
-16
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Setup Node.js
4545
uses: actions/setup-node@v4
4646
with:
47-
node-version: 19
47+
node-version: 24
4848

4949
- name: Yarn
5050
run: yarn install --frozen-lockfile

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Setup Node.js
3939
uses: actions/setup-node@v4
4040
with:
41-
node-version: 19
41+
node-version: 24
4242

4343
- name: Yarn
4444
run: yarn install --frozen-lockfile

src/components/AdvancedQRCode.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { downloadQRCode, copyQRCode } from '../utils/download'
77
import { EyeRenderer } from './shapes/EyeRenderer'
88
import { BodyRenderer } from './shapes/BodyRenderer'
99
import { BackgroundRenderer } from './shapes/BackgroundRenderer'
10-
import { QRCodeRef, ErrorCorrectionLevel } from '../types'
10+
import { QRCodeRef, ErrorCorrectionLevel } from '../types/types'
1111
import {
1212
AdvancedQRCodeProps,
1313
GradientConfig,

src/components/QRCodeCanvas.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react'
22
import { forwardRef, useEffect, useRef } from 'react'
33
import { QRCode } from '../qr/QRCode'
4-
import { ImageSettings, QRCodeStyle, ModuleShape } from '../types'
4+
import { ImageSettings, QRCodeStyle, ModuleShape } from '../types/types'
55

66
interface QRCodeCanvasProps {
77
qrCode: QRCode

src/components/QRCodeSVG.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
QRCodeStyle,
77
ModuleShape,
88
GradientSettings,
9-
} from '../types'
9+
} from '../types/types'
1010
import { ShapeRenderer } from './shapes/ShapeRenderer'
1111

1212
interface QRCodeSVGProps {

src/components/ReactQrCode.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
} from 'react'
1010
import { QRCode } from '../qr/QRCode'
1111
import { DataEncoder } from '../utils/dataEncoder'
12-
import { ReactQrCodeProps, QRCodeRef, ErrorCorrectionLevel } from '../types'
12+
import { ReactQrCodeProps, QRCodeRef, ErrorCorrectionLevel } from '../types/types'
1313
import { QRCodeCanvas } from './QRCodeCanvas'
1414
import { QRCodeSVG } from './QRCodeSVG'
1515
import { downloadQRCode, copyQRCode } from '../utils/download'

src/components/shapes/ShapeRenderer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react'
2-
import { ModuleShape } from '../../types'
2+
import { ModuleShape } from '../../types/types'
33

44
interface ShapeProps {
55
shape: ModuleShape

src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { QRDataType } from './types'
1+
import { QRDataType } from './types/types'
22

33
// Main components
44
export { ReactQrCode, ReactQrCode as default } from './components/ReactQrCode'
@@ -27,7 +27,7 @@ export type {
2727
QRModule,
2828
RGB,
2929
RGBA,
30-
} from './types'
30+
} from './types/types'
3131

3232
// Advanced Types
3333
export type {
@@ -60,15 +60,15 @@ export type {
6060
export { PRESET_THEMES } from './types/advanced'
6161

6262
// Error classes
63-
export { QRCodeError, DataTooLongError, InvalidDataError } from './types'
63+
export { QRCodeError, DataTooLongError, InvalidDataError } from './types/types'
6464

6565
// Constants
6666
export {
6767
ERROR_CORRECTION_LEVELS,
6868
QR_MODES,
6969
MAX_VERSION,
7070
MIN_VERSION,
71-
} from './types'
71+
} from './types/types'
7272

7373
// Utilities
7474
export { DataEncoder } from './utils/dataEncoder'

src/qr/QRCode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { QRRSBlock } from './QRRSBlock'
33
import { QRBitBuffer } from './QRBitBuffer'
44
import { QRPolynomial } from './QRPolynomial'
55
import { QR8BitByte } from './QR8BitByte'
6-
import { ERROR_CORRECTION_LEVELS, DataTooLongError } from '../types'
6+
import { ERROR_CORRECTION_LEVELS, DataTooLongError } from '../types/types'
77

88
export class QRCode {
99
private typeNumber: number

src/types/advanced.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Advanced QR Code Customization Types
22

3-
import { ReactQrCodeProps } from '../types'
3+
import { ReactQrCodeProps } from './types'
44

55
export interface AdvancedQRCodeProps extends Omit<ReactQrCodeProps, 'qrStyle'> {
66
advancedStyle?: AdvancedQRStyleOptions

0 commit comments

Comments
 (0)