docs: remove copyright header from all files (#667)
This commit is contained in:
Родитель
2e42594099
Коммит
aa7ca5396c
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
package com.microsoft.reacttestapp
|
||||
|
||||
import android.app.Activity
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
package com.microsoft.reacttestapp.component
|
||||
|
||||
import android.app.Activity
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
package com.microsoft.reacttestapp.component
|
||||
|
||||
import android.os.Bundle
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
package com.microsoft.reacttestapp.component
|
||||
|
||||
import android.os.Bundle
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
package com.microsoft.reacttestapp.react
|
||||
|
||||
import com.facebook.react.bridge.Arguments
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#include "AppRegistry.h"
|
||||
|
||||
#if __has_include(<jsi/jsi.h>)
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#ifndef COMMON_APPREGISTRY_
|
||||
#define COMMON_APPREGISTRY_
|
||||
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#import <XCTest/XCTest.h>
|
||||
|
||||
#import <ReactTestApp-DevSupport/ReactTestApp-DevSupport.h>
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// swiftlint:disable force_cast
|
||||
|
||||
import XCTest
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#import <XCTest/XCTest.h>
|
||||
|
||||
#import <React/RCTBridge.h>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#include "pch.h"
|
||||
|
||||
#include <CppUnitTest.h>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
@UIApplicationMain
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import <React/RCTBridgeModule.h>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#import "AppRegistryModule.h"
|
||||
|
||||
#import <jsi/jsi.h>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
import AVFoundation
|
||||
import UIKit
|
||||
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <objc/runtime.h>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class RCTBridge;
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#import "React+Compatibility.h"
|
||||
|
||||
#include <TargetConditionals.h>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
final class ReactInstance: NSObject, RCTBridgeDelegate {
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wnullability-completeness"
|
||||
#import <React/RCTAssert.h>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NSNotificationName const ReactTestAppDidInitializeNotification =
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import UIKit
|
||||
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
struct Session {
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#include <TargetConditionals.h>
|
||||
#if TARGET_OS_IOS
|
||||
#import <UIKit/UIViewController.h>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#import "UIViewController+ReactTestApp.h"
|
||||
|
||||
@protocol RTAViewController <NSObject>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
import XCTest
|
||||
|
||||
class ReactTestAppTests: XCTestCase {
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
import XCTest
|
||||
|
||||
class ReactTestAppUITests: XCTestCase {
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
#
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
#
|
||||
|
||||
def find_file(file_name, current_dir)
|
||||
return if current_dir.expand_path.to_s == '/'
|
||||
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
#
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
#
|
||||
|
||||
require('json')
|
||||
require('pathname')
|
||||
require('rubygems/version')
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
#
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
#
|
||||
# rubocop:disable Layout/LineLength
|
||||
|
||||
require_relative('pod_helpers')
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
#
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
#
|
||||
# rubocop:disable Layout/LineLength
|
||||
|
||||
def include_react_native!(options)
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
#
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
#
|
||||
# rubocop:disable Layout/LineLength
|
||||
|
||||
require_relative('pod_helpers')
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
#
|
||||
# Copyright (c) Microsoft Corporation
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
#
|
||||
|
||||
def include_react_native!(options)
|
||||
react_native, flipper_versions, project_root, target_platform = options.values_at(
|
||||
:path, :rta_flipper_versions, :rta_project_root, :rta_target_platform
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
|
||||
@NSApplicationMain
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
|
||||
final class ViewController: NSViewController {
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
import XCTest
|
||||
|
||||
class ReactTestAppTests: XCTestCase {
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
import XCTest
|
||||
|
||||
class ReactTestAppUITests: XCTestCase {
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
#
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
#
|
||||
|
||||
require_relative('../ios/test_app')
|
||||
|
||||
def use_test_app!(options = {}, &block)
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* @template Args
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
#!/usr/bin/env node
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
require("./link")(module);
|
||||
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
#!/usr/bin/env node
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
(async () => {
|
||||
const { version: targetVersion } = require("react-native/package.json");
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
#!/usr/bin/env node
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
const { spawnSync } = require("child_process");
|
||||
const fs = require("fs");
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
#!/usr/bin/env node
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
const { spawn } = require("child_process");
|
||||
const os = require("os");
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
"use strict";
|
||||
|
||||
const fs = jest.createMockFromModule("fs");
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
describe("console", () => {
|
||||
const { error, warn } = require("../../scripts/configure");
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
describe("gatherConfig()", () => {
|
||||
const { mockParams } = require("./mockParams");
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
jest.mock("fs");
|
||||
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
describe("getConfig()", () => {
|
||||
const { mockParams } = require("./mockParams");
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
describe("getPlatformPackage()", () => {
|
||||
const { getPlatformPackage } = require("../../scripts/configure");
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
jest.mock("fs");
|
||||
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
describe("isInstalled()", () => {
|
||||
const { isInstalled } = require("../../scripts/configure");
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
describe("join()", () => {
|
||||
const { join } = require("../../scripts/configure");
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
describe("mergeConfig()", () => {
|
||||
const { mergeConfig } = require("../../scripts/configure");
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
// istanbul ignore file
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Returns mock parameters.
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
describe("packageSatisfiesVersionRange()", () => {
|
||||
const { packageSatisfiesVersionRange } = require("../../scripts/configure");
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
describe("projectRelativePath()", () => {
|
||||
const { mockParams } = require("./mockParams");
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
describe("reactNativeConfig()", () => {
|
||||
const { mockParams } = require("./mockParams");
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
jest.mock("fs");
|
||||
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
jest.mock("fs");
|
||||
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
jest.mock("fs");
|
||||
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
// istanbul ignore file
|
||||
"use strict";
|
||||
|
||||
jest.mock("fs");
|
||||
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
#
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
#
|
||||
|
||||
require('minitest/autorun')
|
||||
|
||||
require_relative('../ios/test_app')
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
jest.mock("fs");
|
||||
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
jest.mock("fs");
|
||||
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
describe("findNearest", () => {
|
||||
const path = require("path");
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
describe("findUserProjects", () => {
|
||||
const path = require("path");
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
jest.mock("fs");
|
||||
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
jest.mock("fs");
|
||||
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
jest.mock("fs");
|
||||
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
describe("getPackageVersion", () => {
|
||||
const path = require("path");
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
describe("getVersionNumber", () => {
|
||||
const { getVersionNumber } = require("../../windows/test-app");
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
jest.mock("fs");
|
||||
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
describe("replaceContent", () => {
|
||||
const { replaceContent } = require("../../windows/test-app");
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
#
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
#
|
||||
|
||||
require_relative('ios/test_app')
|
||||
|
||||
def use_test_app!(options = {}, &block)
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#include "pch.h"
|
||||
|
||||
#include "App.h"
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "App.xaml.g.h"
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <winrt/Microsoft.ReactNative.h>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#include "pch.h"
|
||||
|
||||
#include "MainPage.h"
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <any>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#include "pch.h"
|
||||
|
||||
#include "Manifest.h"
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#include "pch.h"
|
||||
|
||||
#include "ReactInstance.h"
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#include "pch.h"
|
||||
|
||||
#include "ReactPackageProvider.h"
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <winrt/Microsoft.ReactNative.h>
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <winrt/Windows.Foundation.h>
|
||||
|
|
|
@ -1,8 +1 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#include "pch.h"
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
|
||||
#pragma once
|
||||
|
||||
#define NOMINMAX
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
#!/usr/bin/env node
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation
|
||||
//
|
||||
// This source code is licensed under the MIT license found in the
|
||||
// LICENSE file in the root directory of this source tree.
|
||||
//
|
||||
// @ts-check
|
||||
"use strict";
|
||||
|
||||
const fs = require("fs");
|
||||
const os = require("os");
|
||||
|
|
Загрузка…
Ссылка в новой задаче