Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove copyright headers #813

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions @types/@storybook/addon-actions.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

declare module '@storybook/addon-actions';
8 changes: 0 additions & 8 deletions @types/@storybook/addon-storyshots.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

declare module '@storybook/addon-storyshots';
8 changes: 0 additions & 8 deletions @types/@storybook/react-native.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

declare module '@storybook/react-native';
8 changes: 0 additions & 8 deletions @types/humps.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

declare module 'humps';
8 changes: 0 additions & 8 deletions demo/App.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import * as Constants from './src/constants';
import Hyperview from 'hyperview';
import './src/gesture-handler';
Expand Down
8 changes: 0 additions & 8 deletions demo/src/HandleBack.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import {
useFocusEffect,
useNavigation,
Expand Down
8 changes: 0 additions & 8 deletions demo/src/HyperviewScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import { MAIN_STACK_NAME, MODAL_STACK_NAME } from './constants';
import type { Props, RouteParams } from './types';
import HandleBack from './HandleBack';
Expand Down
8 changes: 0 additions & 8 deletions demo/src/Navigator.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import * as Constants from './constants';
import HyperviewScreen from './HyperviewScreen';
import React from 'react';
Expand Down
8 changes: 0 additions & 8 deletions demo/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

// This is the URL of the service running the Hyperview examples
export const ENTRY_POINT_URL = 'http://0.0.0.0:8085/index.xml';

Expand Down
8 changes: 0 additions & 8 deletions demo/src/gesture-handler/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import 'react-native-gesture-handler';
8 changes: 0 additions & 8 deletions demo/src/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import moment from 'moment';

export const formatDate = (
Expand Down
8 changes: 0 additions & 8 deletions demo/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import type { NavigationRouteParams } from 'hyperview';
import type { StackScreenProps } from '@react-navigation/stack';

Expand Down
8 changes: 0 additions & 8 deletions scripts/generate/app-key.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
// @flow

/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import * as Files from './files';
import path from 'path';

Expand Down
7 changes: 0 additions & 7 deletions scripts/generate/files.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
// @flow
//
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

const fs = require('fs');
const mkdirp = require('mkdirp');
Expand Down
8 changes: 0 additions & 8 deletions scripts/generate/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
// @flow

/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

// Run all auto-generate scripts

import './app-key';
Expand Down
8 changes: 0 additions & 8 deletions scripts/generate/stories.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
// @flow

/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import * as Files from './files';
import glob from 'glob';
import path from 'path';
Expand Down
13 changes: 3 additions & 10 deletions scripts/generate/templates.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
// @flow

/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import * as Files from './files';
import glob from 'glob';
import packageJson from '../../package.json';
Expand All @@ -21,8 +13,9 @@ const templates = glob
.sync(path.join(rootDir, 'src/**/stories/*.xml'))
.map(templateAbsolutePath => {
const templatePath = templateAbsolutePath.replace(rootDir, projectName);
return ` '${templatePath}':\n \`${Files.read(templateAbsolutePath) ||
''}\`,`;
return ` '${templatePath}':\n \`${
Files.read(templateAbsolutePath) || ''
}\`,`;
})
.sort();

Expand Down
8 changes: 0 additions & 8 deletions src/VisibilityDetectingView.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import { Dimensions, View } from 'react-native';
import React, { PureComponent } from 'react';
import type { StyleProp, ViewStyle } from 'react-native';
Expand Down
8 changes: 0 additions & 8 deletions src/behaviors/hv-alert/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import * as Dom from 'hyperview/src/services/dom';
import * as Namespaces from 'hyperview/src/services/namespaces';
import { Alert, Platform } from 'react-native';
Expand Down
8 changes: 0 additions & 8 deletions src/behaviors/hv-copy-to-clipboard/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import { Clipboard } from 'react-native';

export default {
Expand Down
8 changes: 0 additions & 8 deletions src/behaviors/hv-hide/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import * as Behaviors from 'hyperview/src/services/behaviors';
import * as Dom from 'hyperview/src/services/dom';
import * as Xml from 'hyperview/src/services/xml';
Expand Down
8 changes: 0 additions & 8 deletions src/behaviors/hv-open-settings/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import { Linking } from 'react-native';

export default {
Expand Down
8 changes: 0 additions & 8 deletions src/behaviors/hv-select-all/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import * as Behaviors from 'hyperview/src/services/behaviors';
import * as Dom from 'hyperview/src/services/dom';
import * as Xml from 'hyperview/src/services/xml';
Expand Down
8 changes: 0 additions & 8 deletions src/behaviors/hv-set-value/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import * as Behaviors from 'hyperview/src/services/behaviors';
import * as Dom from 'hyperview/src/services/dom';
import * as Xml from 'hyperview/src/services/xml';
Expand Down
8 changes: 0 additions & 8 deletions src/behaviors/hv-share/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import * as Namespaces from 'hyperview/src/services/namespaces';
import type { Content, Options } from './types';
import { Platform, Share } from 'react-native';
Expand Down
8 changes: 0 additions & 8 deletions src/behaviors/hv-share/types.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

export type Content = {
message: string;
title?: string;
Expand Down
8 changes: 0 additions & 8 deletions src/behaviors/hv-show/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import * as Behaviors from 'hyperview/src/services/behaviors';
import * as Dom from 'hyperview/src/services/dom';
import * as Xml from 'hyperview/src/services/xml';
Expand Down
8 changes: 0 additions & 8 deletions src/behaviors/hv-toggle/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import * as Behaviors from 'hyperview/src/services/behaviors';
import * as Dom from 'hyperview/src/services/dom';
import * as Xml from 'hyperview/src/services/xml';
Expand Down
8 changes: 0 additions & 8 deletions src/behaviors/hv-unselect-all/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import * as Behaviors from 'hyperview/src/services/behaviors';
import * as Dom from 'hyperview/src/services/dom';
import * as Xml from 'hyperview/src/services/xml';
Expand Down
8 changes: 0 additions & 8 deletions src/behaviors/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import type { BehaviorRegistry, HvBehavior } from 'hyperview/src/types';
import HvAlert from 'hyperview/src/behaviors/hv-alert';
import HvCopyToClipboard from 'hyperview/src/behaviors/hv-copy-to-clipboard';
Expand Down
8 changes: 0 additions & 8 deletions src/components/hv-date-field/field-label/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import type { Props } from './types';
import React from 'react';
import type { StyleSheet } from 'hyperview/src/types';
Expand Down
8 changes: 0 additions & 8 deletions src/components/hv-date-field/field-label/types.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/**
* Copyright (c) Garuda Labs, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

import type { StyleSheet } from 'hyperview/src/types';

export type Props = {
Expand Down
Loading