build: fix npm ignore issue (#4893)

This commit is contained in:
Yaroslav Serhieiev
2025-12-27 22:36:08 +02:00
committed by GitHub
parent 025cb0fba1
commit 4baa830c3a
11 changed files with 35 additions and 254 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "detox-cli",
"version": "20.46.1",
"version": "20.46.2-smoke.1",
"description": "Optional wrapper for Detox CLI, meant to be installed globally",
"main": "cli.js",
"scripts": {
-238
View File
@@ -1,238 +0,0 @@
test
/ios/
build/
DerivedData/
DetoxBuild/
Detox.framework/
.eslintrc
.nvmrc
.vscode
jsconfig.json
wallaby.js
__tests__
__mocks__
__snapshots__
**/*.test.js
**.mock.js
**.mock.json
ios_src
#################
# from .gitignore
#################
############
# Node
############
# Logs
logs
*.log
npm-debug.log*
# Runtime data
pids
*.pid
*.seed
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# node-waf configuration
.lock-wscript
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules
jspm_packages
# Optional npm cache directory
.npm
# Optional REPL history
.node_repl_history
################
# JetBrains
################
.idea
## File-based project format:
*.iws
## Plugin-specific files:
# IntelliJ
/out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
############
# iOS
############
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
## Build generated
ios/build/
ios/DerivedData/
## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
ios/xcuserdata/
## Other
*.moved-aside
*.xcuserstate
## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM
# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
ios/Pods/
# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts
Carthage/Build
# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
fastlane/report.xml
fastlane/screenshots
############
# Android
############
# Built application files
*.apk
*.ap_
# Files for the Dalvik VM
*.dex
# Java class files
*.class
# Generated files
android/bin/
android/gen/
android/out/
# Gradle files
android/.gradle/
android/build/
# Local configuration file (sdk path, etc)
local.properties
# Proguard folder generated by Eclipse
android/proguard/
# Log Files
*.log
# Android Studio Navigation editor temp files
android/.navigation/
# Android Studio captures folder
android/captures/
# Intellij
*.iml
# Keystore files
*.jks
##################
# React-Native
##################
# OSX
#
.DS_Store
# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
# Android/IJ
#
.idea
.gradle
local.properties
# node.js
#
node_modules/
npm-debug.log
# BUCK
buck-out/
\.buckd/
android/app/libs
android/keystores/debug.keystore
+20 -1
View File
@@ -1,8 +1,27 @@
{
"name": "detox",
"description": "E2E tests and automation for mobile",
"version": "20.46.1",
"version": "20.46.2-smoke.1",
"bin": "local-cli/cli.js",
"files": [
"android",
"detox-native",
"Detox-android",
"Detox-ios-*.tbz",
"local-cli",
"runners",
"scripts",
"src",
"*.js",
"*.json",
"*.d.ts",
"!**/__*__/**",
"!**/*.mock.json",
"!**/*.test.js",
"!**/*.snap",
"!jest.config.js",
"!wallaby.js"
],
"repository": {
"type": "git",
"url": "https://github.com/wix/Detox.git"
+1 -1
View File
@@ -67,7 +67,7 @@
"@typescript-eslint/parser": "^6.16.0",
"axios": "^1.7.7",
"cross-env": "^7.0.3",
"detox": "^20.46.0",
"detox": "workspace:*",
"detox-allure2-adapter": "1.0.0-alpha.34",
"eslint": "^8.56.0",
"eslint-plugin-jest": "^28.11.0",
+1 -1
View File
@@ -7,7 +7,7 @@
"detox-server": "detox run-server"
},
"devDependencies": {
"detox": "^20.46.0"
"detox": "workspace:*"
},
"detox": {}
}
+1 -1
View File
@@ -3,7 +3,7 @@
"version": "20.46.0",
"private": true,
"devDependencies": {
"detox": "^20.46.0"
"detox": "workspace:*"
},
"detox": {
"specs": "",
+1 -1
View File
@@ -6,7 +6,7 @@
"test:plugin": "detox test --configuration plugin -l verbose"
},
"devDependencies": {
"detox": "^20.46.0",
"detox": "workspace:*",
"jest": "^30.0.3"
},
"detox": {
@@ -3,7 +3,7 @@
"version": "20.46.0",
"private": true,
"devDependencies": {
"detox": "^20.46.0"
"detox": "workspace:*"
},
"detox": {
"configurations": {
+1 -1
View File
@@ -41,7 +41,7 @@
"@types/jest": "^29.2.1",
"@types/react": "^19.1.0",
"@types/react-test-renderer": "^19.1.0",
"detox": "^20.46.0",
"detox": "workspace:*",
"fs-extra": "^9.1.0",
"jest": "^30.0.3",
"react-test-renderer": "19.1.1",
+1 -1
View File
@@ -65,5 +65,5 @@
"shell-utils": "1.x.x",
"unified": "^10.1.0"
},
"version": "20.46.1"
"version": "20.46.2-smoke.1"
}
+7 -7
View File
@@ -9998,7 +9998,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "demo-plugin@workspace:examples/demo-plugin"
dependencies:
detox: "npm:^20.46.0"
detox: "workspace:*"
jest: "npm:^30.0.3"
languageName: unknown
linkType: soft
@@ -10007,7 +10007,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "demo-react-native-detox-instruments@workspace:examples/demo-react-native-detox-instruments"
dependencies:
detox: "npm:^20.46.0"
detox: "workspace:*"
languageName: unknown
linkType: soft
@@ -10126,7 +10126,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "detox-demo-native-android@workspace:examples/demo-native-android"
dependencies:
detox: "npm:^20.46.0"
detox: "workspace:*"
languageName: unknown
linkType: soft
@@ -10134,7 +10134,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "detox-demo-native-ios@workspace:examples/demo-native-ios"
dependencies:
detox: "npm:^20.46.0"
detox: "workspace:*"
languageName: unknown
linkType: soft
@@ -10168,7 +10168,7 @@ __metadata:
"@typescript-eslint/parser": "npm:^6.16.0"
axios: "npm:^1.7.7"
cross-env: "npm:^7.0.3"
detox: "npm:^20.46.0"
detox: "workspace:*"
detox-allure2-adapter: "npm:1.0.0-alpha.34"
eslint: "npm:^8.56.0"
eslint-plugin-jest: "npm:^28.11.0"
@@ -10193,7 +10193,7 @@ __metadata:
languageName: unknown
linkType: soft
"detox@npm:^20.46.0, detox@workspace:detox":
"detox@workspace:*, detox@workspace:detox":
version: 0.0.0-use.local
resolution: "detox@workspace:detox"
dependencies:
@@ -11702,7 +11702,7 @@ __metadata:
"@types/jest": "npm:^29.2.1"
"@types/react": "npm:^19.1.0"
"@types/react-test-renderer": "npm:^19.1.0"
detox: "npm:^20.46.0"
detox: "workspace:*"
fs-extra: "npm:^9.1.0"
jest: "npm:^30.0.3"
react: "npm:19.1.1"