Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
natew committed Jan 12, 2025
1 parent ba6fc9b commit c93fd5c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 15 deletions.
7 changes: 7 additions & 0 deletions packages/compiler/.depcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ignores:
- "babel-plugin-react-compiler"
- "@babel/plugin-transform-destructuring"
- "@babel/plugin-transform-private-methods"
- "@babel/plugin-transform-react-jsx"
- "@babel/plugin-transform-regenerator"
- "@vxrn/vite-native-client"
6 changes: 4 additions & 2 deletions packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@
],
"scripts": {
"build": "tamagui-build",
"check": "depcheck",
"clean": "tamagui-build clean",
"clean:build": "tamagui-build clean:build",
"lint": "../../node_modules/.bin/biome check src",
"lint:fix": "../../node_modules/.bin/biome check --apply-unsafe src",
"watch": "tamagui-build --watch"
},
"dependencies": {
"vite": "^6.0.6",
"@babel/core": "^7.26.0",
"@babel/plugin-transform-destructuring": "^7.25.9",
"@babel/plugin-transform-private-methods": "^7.25.9",
Expand All @@ -35,11 +37,11 @@
"@swc/core": "^1.10.4",
"@vxrn/utils": "workspace:*",
"@vxrn/vite-native-client": "workspace:*",
"metro-react-native-babel-preset": "^0.77.0"
"babel-plugin-react-compiler": "^19.0.0-beta-201e55d-20241215"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@tamagui/build": "^1.121.8",
"depcheck": "^1.4.7",
"react-native": "^0.76.5"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ParserConfig } from '@swc/core'

import { createDebugger } from '@vxrn/debug'
import { createDebugger } from '@vxrn/utils'

export const { debug } = createDebugger('vxrn:compiler-plugin')

Expand Down
3 changes: 0 additions & 3 deletions packages/one/.depcheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ ignores:
- "one/package.json"
- "@vxrn/tslib-lite"
- "@react-native-masked-view/masked-view"
# These Babel deps are actually being used (src/vite/plugins/reactCompilerPlugin.ts), but will be reported as unused by depcheck so we need to ignore them
- "@babel/preset-typescript"
- "babel-plugin-react-compiler"
# this is used dependend on by react-native-screens and errors vite during scan if not here
- "react-native-reanimated"
- "react-native-gesture-handler"
Expand Down
3 changes: 0 additions & 3 deletions packages/one/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,8 @@
},
"dependencies": {
"@azure/core-asynciterator-polyfill": "^1.0.2",
"@babel/core": "^7.26.0",
"@babel/generator": "^7.26.3",
"@babel/parser": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@babel/traverse": "^7.26.4",
"@radix-ui/react-slot": "^1.0.2",
"@react-native-masked-view/masked-view": "^0.3.1",
Expand All @@ -115,7 +113,6 @@
"@vxrn/universal-color-scheme": "workspace:*",
"@vxrn/use-isomorphic-layout-effect": "workspace:*",
"babel-dead-code-elimination": "^1.0.6",
"babel-plugin-react-compiler": "^19.0.0-beta-201e55d-20241215",
"citty": "^0.1.6",
"core-js": "^3.38.1",
"create-vxrn": "workspace:*",
Expand Down
3 changes: 0 additions & 3 deletions packages/one/types/vite/plugins/reactCompilerPlugin.d.ts

This file was deleted.

5 changes: 2 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11540,6 +11540,8 @@ __metadata:
"@tamagui/build": "npm:^1.121.8"
"@vxrn/utils": "workspace:*"
"@vxrn/vite-native-client": "workspace:*"
babel-plugin-react-compiler: "npm:^19.0.0-beta-201e55d-20241215"
depcheck: "npm:^1.4.7"
metro-react-native-babel-preset: "npm:^0.77.0"
react-native: "npm:^0.76.5"
peerDependencies:
Expand Down Expand Up @@ -21771,10 +21773,8 @@ __metadata:
resolution: "one@workspace:packages/one"
dependencies:
"@azure/core-asynciterator-polyfill": "npm:^1.0.2"
"@babel/core": "npm:^7.26.0"
"@babel/generator": "npm:^7.26.3"
"@babel/parser": "npm:^7.26.3"
"@babel/preset-typescript": "npm:^7.26.0"
"@babel/traverse": "npm:^7.26.4"
"@radix-ui/react-slot": "npm:^1.0.2"
"@react-native-masked-view/masked-view": "npm:^0.3.1"
Expand All @@ -21797,7 +21797,6 @@ __metadata:
"@vxrn/universal-color-scheme": "workspace:*"
"@vxrn/use-isomorphic-layout-effect": "workspace:*"
babel-dead-code-elimination: "npm:^1.0.6"
babel-plugin-react-compiler: "npm:^19.0.0-beta-201e55d-20241215"
citty: "npm:^0.1.6"
core-js: "npm:^3.38.1"
create-vxrn: "workspace:*"
Expand Down

0 comments on commit c93fd5c

Please sign in to comment.