Skip to content

Commit 6210d10

Browse files
committed
chore: update dependencies in yarn.lock and clean up imports in theme generation files
1 parent a72cf8e commit 6210d10

11 files changed

Lines changed: 24 additions & 24 deletions

File tree

documentation/yarn.lock

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8328,15 +8328,15 @@ node-emoji@^2.1.0:
83288328
emojilib "^2.4.0"
83298329
skin-tone "^2.0.0"
83308330

8331-
node-forge@^1:
8332-
version "1.4.0"
8333-
resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.4.0.tgz#1c7b7d8bdc2d078739f58287d589d903a11b2fc2"
8334-
integrity sha512-LarFH0+6VfriEhqMMcLX2F7SwSXeWwnEAJEsYm5QKWchiVYVvJyV9v7UDvUv+w5HO23ZpQTXDv/GxdDdMyOuoQ==
8335-
8336-
node-releases@^2.0.18:
8337-
version "2.0.18"
8338-
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.18.tgz#f010e8d35e2fe8d6b2944f03f70213ecedc4ca3f"
8339-
integrity sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==
8331+
node-exports-info@^1.6.0:
8332+
version "1.6.0"
8333+
resolved "https://registry.yarnpkg.com/node-exports-info/-/node-exports-info-1.6.0.tgz#1aedafb01a966059c9a5e791a94a94d93f5c2a13"
8334+
integrity sha512-pyFS63ptit/P5WqUkt+UUfe+4oevH+bFeIiPPdfb0pFeYEu/1ELnJu5l+5EcTKYL5M7zaAa7S8ddywgXypqKCw==
8335+
dependencies:
8336+
array.prototype.flatmap "^1.3.3"
8337+
es-errors "^1.3.0"
8338+
object.entries "^1.1.9"
8339+
semver "^6.3.1"
83408340

83418341
node-releases@^2.0.27:
83428342
version "2.0.36"
@@ -10871,15 +10871,10 @@ unbox-primitive@^1.1.0:
1087110871
has-symbols "^1.1.0"
1087210872
which-boxed-primitive "^1.1.1"
1087310873

10874-
undici-types@~6.19.2:
10875-
version "6.19.8"
10876-
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02"
10877-
integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==
10878-
10879-
undici@^6.19.5:
10880-
version "6.24.1"
10881-
resolved "https://registry.yarnpkg.com/undici/-/undici-6.24.1.tgz#9df1425cede20b836d95634347946f79578b7e71"
10882-
integrity sha512-sC+b0tB1whOCzbtlx20fx3WgCXwkW627p4EA9uM+/tNNPkSS+eSEld6pAs9nDv7WbY1UUljBMYPtu9BCOrCWKA==
10874+
undici-types@~7.18.0:
10875+
version "7.18.2"
10876+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.18.2.tgz#29357a89e7b7ca4aef3bf0fd3fd0cd73884229e9"
10877+
integrity sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==
1088310878

1088410879
unicode-canonical-property-names-ecmascript@^2.0.0:
1088510880
version "2.0.1"

template/eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default defineConfig([
9999
'no-duplicate-imports': ERROR,
100100
'no-magic-numbers': [
101101
ERROR,
102-
{ ignore: [-1, 0], ignoreArrayIndexes: true },
102+
{ ignore: [-1, 0, 1], ignoreArrayIndexes: true },
103103
],
104104
'perfectionist/sort-imports': [
105105
'error',

template/src/components/atoms/asset-by-variant/asset-by-variant.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { Image, type ImageProps, type ImageSourcePropType } from 'react-native';
33
import * as z from 'zod';
44

55
import { useTheme } from '@/hooks';
6-
76
import getAssetsContext from '@/theme/assets/get-assets-context';
87

98
type Properties = {

template/src/components/atoms/icon-by-variant/icon-by-variant.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { FC, useMemo } from 'react';
44
import * as z from 'zod';
55

66
import { useTheme } from '@/hooks';
7-
87
import getAssetsContext from '@/theme/assets/get-assets-context';
98

109
type Properties = {

template/src/components/providers/theme-provider/theme-provider.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import {
1717
useState,
1818
} from 'react';
1919

20-
import generateConfig from '@/services/theme-generation/generate-config';
2120
import {
2221
generateBackgrounds,
2322
staticBackgroundStyles,
@@ -37,6 +36,8 @@ import {
3736
import { generateGutters, staticGutterStyles } from '@/theme/gutters';
3837
import layout from '@/theme/layout';
3938

39+
import generateConfig from '@/services/theme-generation/generate-config';
40+
4041
type Context = {
4142
changeTheme: (variant: Variant) => void;
4243
} & Theme;

template/src/services/theme-generation/types/backgrounds.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { RemoveBeforeSeparator } from './common';
22
import type { UnionConfiguration } from './config';
3+
34
import type { staticBackgroundStyles } from '@/theme/backgrounds';
45

56
export type Backgrounds = {

template/src/services/theme-generation/types/borders.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { ArrayValue, RemoveBeforeSeparator, ToNumber } from './common';
22
import type { UnionConfiguration } from './config';
3+
34
import type { config } from '@/theme/_config';
45
import type { staticBorderStyles } from '@/theme/borders';
56

template/src/services/theme-generation/types/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import type generateConfig from '../generate-config';
22
import type { AllPartial } from './common';
3-
import type { config } from '@/theme/_config';
43
import type { Theme as NavigationTheme } from '@react-navigation/native';
54

5+
import type { config } from '@/theme/_config';
6+
67
export type FulfilledThemeConfiguration = {
78
readonly backgrounds: Record<string, string>;
89
borders: {

template/src/services/theme-generation/types/fonts.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { ArrayValue, RemoveBeforeSeparator, ToNumber } from './common';
22
import type { UnionConfiguration } from './config';
3+
34
import type { config } from '@/theme/_config';
45
import type { staticFontStyles } from '@/theme/fonts';
56

template/src/services/theme-generation/types/gutters.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import type {
44
RemoveBeforeSeparator,
55
ToNumber,
66
} from './common';
7+
78
import type { config } from '@/theme/_config';
89
import type { staticGutterStyles } from '@/theme/gutters';
910

0 commit comments

Comments
 (0)