@webspatial/builder 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/lib/Cli.js +1 -1
  3. package/dist/lib/cmds/build.d.ts +1 -1
  4. package/dist/lib/cmds/build.js +1 -1
  5. package/dist/lib/cmds/check.js +1 -1
  6. package/dist/lib/cmds/help.js +1 -1
  7. package/dist/lib/cmds/version.js +1 -1
  8. package/dist/lib/pwa/config.js +1 -1
  9. package/dist/lib/pwa/index.js +1 -1
  10. package/dist/lib/pwa/validate.js +1 -1
  11. package/dist/lib/resource/file.js +1 -1
  12. package/dist/lib/resource/imageHelper.js +1 -1
  13. package/dist/lib/resource/index.d.ts +10 -3
  14. package/dist/lib/resource/index.js +1 -1
  15. package/dist/lib/resource/load.js +1 -1
  16. package/dist/lib/utils/CustomError.js +1 -1
  17. package/dist/lib/utils/FetchUtils-1.js +1 -1
  18. package/dist/lib/utils/Log.js +1 -1
  19. package/dist/lib/utils/fetch.js +1 -1
  20. package/dist/lib/utils/messages.js +1 -1
  21. package/dist/lib/utils/utils.d.ts +9 -0
  22. package/dist/lib/utils/utils.js +1 -1
  23. package/dist/lib/xcode/index.js +1 -1
  24. package/dist/lib/xcode/manifestSwiftTemplate.js +1 -1
  25. package/dist/lib/xcode/xcodebuild.js +1 -1
  26. package/dist/lib/xcode/xcodeproject.js +1 -1
  27. package/dist/lib/xcode/xcrun.js +1 -1
  28. package/package.json +3 -2
  29. package/template/visionOSApp/Packages/RealityKitContent/.build/workspace-state.json +0 -7
  30. package/template/visionOSApp/Packages/RealityKitContent/.swiftpm/xcode/xcuserdata/bytedance.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
  31. package/template/visionOSApp/Packages/RealityKitContent/Package.realitycomposerpro/ProjectData/main.json +0 -11
  32. package/template/visionOSApp/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/SceneMetadataList.json +0 -112
  33. package/template/visionOSApp/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/Settings.rcprojectdata +0 -17
  34. package/template/visionOSApp/Packages/RealityKitContent/Package.swift +0 -27
  35. package/template/visionOSApp/Packages/RealityKitContent/README.md +0 -3
  36. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Immersive.usda +0 -50
  37. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Materials/GridMaterial.usda +0 -216
  38. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Scene.usda +0 -59
  39. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.swift +0 -4
  40. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json +0 -12
  41. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json +0 -6
  42. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Contents.json +0 -17
  43. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json +0 -12
  44. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json +0 -6
  45. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json +0 -12
  46. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json +0 -6
  47. package/template/visionOSApp/web-spatial/Assets.xcassets/Contents.json +0 -6
  48. package/template/visionOSApp/web-spatial/Info.plist +0 -33
  49. package/template/visionOSApp/web-spatial/Preview Content/Preview Assets.xcassets/Contents.json +0 -6
  50. package/template/visionOSApp/web-spatial/libs/EventEmitter.swift +0 -32
  51. package/template/visionOSApp/web-spatial/libs/SpatialComponent.swift +0 -31
  52. package/template/visionOSApp/web-spatial/libs/SpatialEntity.swift +0 -179
  53. package/template/visionOSApp/web-spatial/libs/SpatialInputComponent.swift +0 -26
  54. package/template/visionOSApp/web-spatial/libs/SpatialMeshResource.swift +0 -19
  55. package/template/visionOSApp/web-spatial/libs/SpatialModel3DComponent.swift +0 -51
  56. package/template/visionOSApp/web-spatial/libs/SpatialModelComponent.swift +0 -32
  57. package/template/visionOSApp/web-spatial/libs/SpatialObject.swift +0 -144
  58. package/template/visionOSApp/web-spatial/libs/SpatialPhysicallyBasedMaterial.swift +0 -19
  59. package/template/visionOSApp/web-spatial/libs/SpatialViewComponent.swift +0 -15
  60. package/template/visionOSApp/web-spatial/libs/SpatialWindowComponent.swift +0 -420
  61. package/template/visionOSApp/web-spatial/libs/SpatialWindowContainer.swift +0 -149
  62. package/template/visionOSApp/web-spatial/libs/Utils/CommandManager.swift +0 -800
  63. package/template/visionOSApp/web-spatial/libs/Utils/Logger.swift +0 -36
  64. package/template/visionOSApp/web-spatial/libs/Utils/SceneManager.swift +0 -108
  65. package/template/visionOSApp/web-spatial/libs/Utils/WindowContainerMgr.swift +0 -117
  66. package/template/visionOSApp/web-spatial/libs/json/JsonParser.swift +0 -52
  67. package/template/visionOSApp/web-spatial/libs/uiKitDelegate/Window.swift +0 -34
  68. package/template/visionOSApp/web-spatial/libs/webView/UpdateSystem.swift +0 -33
  69. package/template/visionOSApp/web-spatial/libs/webView/backend/NativeWebView.swift +0 -319
  70. package/template/visionOSApp/web-spatial/libs/webView/manifest.swift +0 -92
  71. package/template/visionOSApp/web-spatial/static-web/index.html +0 -9
  72. package/template/visionOSApp/web-spatial/views/HideViewModifier.swift +0 -17
  73. package/template/visionOSApp/web-spatial/views/ImmersiveView.swift +0 -24
  74. package/template/visionOSApp/web-spatial/views/LoadingView.swift +0 -29
  75. package/template/visionOSApp/web-spatial/views/MaterialWithBorderCornerModifier.swift +0 -82
  76. package/template/visionOSApp/web-spatial/views/OpenDismissHandlerUI.swift +0 -52
  77. package/template/visionOSApp/web-spatial/views/PlainWindowContainerView.swift +0 -84
  78. package/template/visionOSApp/web-spatial/views/SpatialModel3DView.swift +0 -193
  79. package/template/visionOSApp/web-spatial/views/SpatialViewUI.swift +0 -168
  80. package/template/visionOSApp/web-spatial/views/SpatialWebViewUI.swift +0 -186
  81. package/template/visionOSApp/web-spatial/views/VolumetricWindowContainerView.swift +0 -38
  82. package/template/visionOSApp/web-spatial/views/ui/NavView.swift +0 -125
  83. package/template/visionOSApp/web-spatial/web_spatialApp.swift +0 -158
  84. package/template/visionOSApp/web-spatial.xcodeproj/project.pbxproj +0 -686
  85. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  86. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  87. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +0 -5
  88. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcuserdata/bytedance.xcuserdatad/WorkspaceSettings.xcsettings +0 -14
  89. package/template/visionOSApp/web-spatial.xcodeproj/xcshareddata/xcschemes/web-spatial.xcscheme +0 -115
  90. package/template/visionOSApp/web-spatial.xcodeproj/xcuserdata/bytedance.xcuserdatad/xcschemes/xcschememanagement.plist +0 -27
  91. package/template/visionOSApp/web-spatialTests/web_spatialTests.swift +0 -34
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Workspace
3
- version = "1.0">
4
- <FileRef
5
- location = "self:">
6
- </FileRef>
7
- </Workspace>
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>IDEDidComputeMac32BitWarning</key>
6
- <true/>
7
- </dict>
8
- </plist>
@@ -1,5 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict/>
5
- </plist>
@@ -1,14 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>BuildLocationStyle</key>
6
- <string>UseAppPreferences</string>
7
- <key>CustomBuildLocationType</key>
8
- <string>RelativeToDerivedData</string>
9
- <key>DerivedDataLocationStyle</key>
10
- <string>Default</string>
11
- <key>ShowSharedSchemesAutomaticallyEnabled</key>
12
- <true/>
13
- </dict>
14
- </plist>
@@ -1,115 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Scheme
3
- LastUpgradeVersion = "1600"
4
- version = "1.7">
5
- <BuildAction
6
- parallelizeBuildables = "YES"
7
- buildImplicitDependencies = "YES"
8
- buildArchitectures = "Automatic">
9
- <BuildActionEntries>
10
- <BuildActionEntry
11
- buildForTesting = "YES"
12
- buildForRunning = "YES"
13
- buildForProfiling = "YES"
14
- buildForArchiving = "YES"
15
- buildForAnalyzing = "YES">
16
- <BuildableReference
17
- BuildableIdentifier = "primary"
18
- BlueprintIdentifier = "2B2F1D622BEBFAAA006897EE"
19
- BuildableName = "WebSpatial.app"
20
- BlueprintName = "web-spatial"
21
- ReferencedContainer = "container:web-spatial.xcodeproj">
22
- </BuildableReference>
23
- </BuildActionEntry>
24
- </BuildActionEntries>
25
- </BuildAction>
26
- <TestAction
27
- buildConfiguration = "Debug"
28
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
29
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
30
- shouldUseLaunchSchemeArgsEnv = "YES"
31
- shouldAutocreateTestPlan = "YES">
32
- <Testables>
33
- <TestableReference
34
- skipped = "NO"
35
- parallelizable = "YES">
36
- <BuildableReference
37
- BuildableIdentifier = "primary"
38
- BlueprintIdentifier = "2B2F1D792BEBFAAD006897EE"
39
- BuildableName = "WebSpatial.xctest"
40
- BlueprintName = "web-spatialTests"
41
- ReferencedContainer = "container:web-spatial.xcodeproj">
42
- </BuildableReference>
43
- </TestableReference>
44
- </Testables>
45
- </TestAction>
46
- <LaunchAction
47
- buildConfiguration = "Debug"
48
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
49
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
50
- launchStyle = "0"
51
- useCustomWorkingDirectory = "NO"
52
- ignoresPersistentStateOnLaunch = "NO"
53
- debugDocumentVersioning = "YES"
54
- debugServiceExtension = "internal"
55
- allowLocationSimulation = "YES">
56
- <BuildableProductRunnable
57
- runnableDebuggingMode = "0">
58
- <BuildableReference
59
- BuildableIdentifier = "primary"
60
- BlueprintIdentifier = "2B2F1D622BEBFAAA006897EE"
61
- BuildableName = "WebSpatial.app"
62
- BlueprintName = "web-spatial"
63
- ReferencedContainer = "container:web-spatial.xcodeproj">
64
- </BuildableReference>
65
- </BuildableProductRunnable>
66
- <EnvironmentVariables>
67
- <EnvironmentVariable
68
- key = "IDEPreferLogStreaming"
69
- value = "YES"
70
- isEnabled = "YES">
71
- </EnvironmentVariable>
72
- </EnvironmentVariables>
73
- <AdditionalOptions>
74
- <AdditionalOption
75
- key = "MallocStackLogging"
76
- value = ""
77
- isEnabled = "YES">
78
- </AdditionalOption>
79
- <AdditionalOption
80
- key = "PrefersMallocStackLoggingLite"
81
- value = ""
82
- isEnabled = "YES">
83
- </AdditionalOption>
84
- <AdditionalOption
85
- key = "MallocScribble"
86
- value = ""
87
- isEnabled = "YES">
88
- </AdditionalOption>
89
- </AdditionalOptions>
90
- </LaunchAction>
91
- <ProfileAction
92
- buildConfiguration = "Release"
93
- shouldUseLaunchSchemeArgsEnv = "YES"
94
- savedToolIdentifier = ""
95
- useCustomWorkingDirectory = "NO"
96
- debugDocumentVersioning = "YES">
97
- <BuildableProductRunnable
98
- runnableDebuggingMode = "0">
99
- <BuildableReference
100
- BuildableIdentifier = "primary"
101
- BlueprintIdentifier = "2B2F1D622BEBFAAA006897EE"
102
- BuildableName = "WebSpatial.app"
103
- BlueprintName = "web-spatial"
104
- ReferencedContainer = "container:web-spatial.xcodeproj">
105
- </BuildableReference>
106
- </BuildableProductRunnable>
107
- </ProfileAction>
108
- <AnalyzeAction
109
- buildConfiguration = "Debug">
110
- </AnalyzeAction>
111
- <ArchiveAction
112
- buildConfiguration = "Release"
113
- revealArchiveInOrganizer = "YES">
114
- </ArchiveAction>
115
- </Scheme>
@@ -1,27 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>SchemeUserState</key>
6
- <dict>
7
- <key>web-spatial.xcscheme_^#shared#^_</key>
8
- <dict>
9
- <key>orderHint</key>
10
- <integer>0</integer>
11
- </dict>
12
- </dict>
13
- <key>SuppressBuildableAutocreation</key>
14
- <dict>
15
- <key>2B2F1D622BEBFAAA006897EE</key>
16
- <dict>
17
- <key>primary</key>
18
- <true/>
19
- </dict>
20
- <key>2B2F1D792BEBFAAD006897EE</key>
21
- <dict>
22
- <key>primary</key>
23
- <true/>
24
- </dict>
25
- </dict>
26
- </dict>
27
- </plist>
@@ -1,34 +0,0 @@
1
- //
2
- // web_spatialTests.swift
3
- // web-spatialTests
4
- //
5
- // Created by ByteDance on 5/8/24.
6
- //
7
-
8
- @testable import web_spatial
9
- import XCTest
10
-
11
- class web_spatialTests: XCTestCase {
12
- override func setUpWithError() throws {
13
- // Put setup code here. This method is called before the invocation of each test method in the class.
14
- }
15
-
16
- override func tearDownWithError() throws {
17
- // Put teardown code here. This method is called after the invocation of each test method in the class.
18
- }
19
-
20
- func testExample() throws {
21
- // This is an example of a functional test case.
22
- // Use XCTAssert and related functions to verify your tests produce the correct results.
23
- // Any test you write for XCTest can be annotated as throws and async.
24
- // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
25
- // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
26
- }
27
-
28
- func testPerformanceExample() throws {
29
- // This is an example of a performance test case.
30
- measure {
31
- // Put the code you want to measure the time of here.
32
- }
33
- }
34
- }