Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
Update to use MetaHeader
Browse files Browse the repository at this point in the history
Reviewed By: mingshi-yang

Differential Revision: D42132621

fbshipit-source-id: ff5ddd7ecdc178eb603e73a4d61ebfafe315064b
  • Loading branch information
Drizzlecrj authored and facebook-github-bot committed Dec 21, 2022
1 parent 9ae61bf commit d0ed0bb
Show file tree
Hide file tree
Showing 48 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion __tests__/semver-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @format
* @oncall i18n_fbt_js
Expand Down
2 changes: 1 addition & 1 deletion babelPlugins.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion demo-app/jest/css.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @flow strict
* @format
Expand Down
2 changes: 1 addition & 1 deletion demo-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"//": "Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.",
"//": "Copyright (c) Meta Platforms, Inc. and affiliates.",
"name": "demo-app",
"//version": "Follow SemVer specs at https://semver.org/",
"version": "1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion demo-app/run_all.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @flow strict
* @format
Expand Down
2 changes: 1 addition & 1 deletion demo-app/src/css/root.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* @format
*/

Expand Down
2 changes: 1 addition & 1 deletion demo-app/src/example/Example$FbtEnum.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @flow strict
* @oncall i18n_fbt_js
Expand Down
2 changes: 1 addition & 1 deletion demo-app/src/example/Example.react.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @fbt {"project": "fbt-demo-project"}
* @format
Expand Down
2 changes: 1 addition & 1 deletion demo-app/src/example/__tests__/Example.react-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @format
* @oncall i18n_fbt_js
Expand Down
2 changes: 1 addition & 1 deletion demo-app/src/example/css/Example.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
* @format
*/

Expand Down
2 changes: 1 addition & 1 deletion jest-preprocessor.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @format
* @noflow
Expand Down
2 changes: 1 addition & 1 deletion moduleMap.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"//": "Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.",
"//": "Copyright (c) Meta Platforms, Inc. and affiliates.",
"name": "fbt-top-level-repo",
"version": "0.9.0",
"main": "index.js",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @format
* @oncall i18n_fbt_js
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-fbt-runtime/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This is a React Native only transform that runs after the fbt syntax
* transform. It extracts jsfbt and strip out extra information from the payload
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-fbt/jest.snapshotResolver.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. Confidential and proprietary.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* See https://jestjs.io/docs/en/configuration#snapshotresolver-string
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @flow strict-local
* @format
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-standalone/src/collectFbtForWeb.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-standalone/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-standalone/src/index.js.flow
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-standalone/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion packages/fb-babel-plugin-utils/RequireCheck.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion packages/fb-babel-plugin-utils/TestUtil.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion packages/fb-babel-plugin-utils/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion packages/fb-tiger-hash/src/Tiger.js.flow
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @flow strict
* @format
Expand Down
2 changes: 1 addition & 1 deletion packages/fb-tiger-hash/src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*/
declare interface PhraseData {
desc: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/fbt/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"//": "Copyright (c) Facebook, Inc. and its affiliates.",
"//": "Copyright (c) Meta Platforms, Inc. and affiliates.",
"name": "fbt",
"description": "The fbt i18n framework JS runtime.",
"//version": "Follow SemVer specs at https://semver.org/",
Expand Down
2 changes: 1 addition & 1 deletion packages/gulp-rewrite-flowtyped-modules/src/Rewriter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. Confidential and proprietary.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @format
* @noflow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. Confidential and proprietary.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @format
* @noflow
Expand Down
2 changes: 1 addition & 1 deletion packages/gulp-rewrite-flowtyped-modules/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. Confidential and proprietary.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @format
* @noflow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. Confidential and proprietary.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @format
* @noflow
Expand Down
2 changes: 1 addition & 1 deletion packages/gulp-strip-docblock-pragmas/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. Confidential and proprietary.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @format
* @noflow
Expand Down
2 changes: 1 addition & 1 deletion packages/gulp-strip-docblock-pragmas/src/stripPragmas.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. Confidential and proprietary.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* @format
* @noflow
Expand Down
2 changes: 1 addition & 1 deletion runtime/nonfb/fbtInit.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion runtime/shared/FbtPureStringResult.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2015-present Facebook. All Rights Reserved.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This file is shared between www and fbsource and www is the source of truth.
* When you make change to this file on www, please make sure you test it on
Expand Down
2 changes: 1 addition & 1 deletion runtime/shared/FbtResult.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2015-present Facebook. All Rights Reserved.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This file is shared between www and fbsource and www is the source of truth.
* When you make change to this file on www, please make sure you test it on
Expand Down
2 changes: 1 addition & 1 deletion setGeneratedFilePragmas.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down Expand Up @@ -60,7 +60,7 @@ module.exports = {
src: 'img/oss_logo.png',
href: 'https://opensource.facebook.com/',
},
copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc.`,
copyright: 'Copyright (c) Meta Platforms, Inc. and affiliates.',
links: [
{
title: 'Docs',
Expand Down
2 changes: 1 addition & 1 deletion website/sidebars.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/CodeBlock.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/Showcase.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/src/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/help.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/users.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion website/static/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
* Copyright (c) Meta Platforms, Inc. and affiliates. 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.
Expand Down

0 comments on commit d0ed0bb

Please sign in to comment.