Skip to content

Commit 06ef517

Browse files
committed
Merge origin/main into release branch
Resolved conflicts: - Kept version 0.3.1-alpha.1 in package.json and src/version.ts - Added Meta copyright header back to src/version.ts - Accepted deletion of deprecated files (inference.ts, telemetry.ts, vector-dbs.ts)
2 parents 447c618 + a294775 commit 06ef517

File tree

153 files changed

+925
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+925
-0
lines changed

.eslintrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// Copyright (c) Meta Platforms, Inc. and affiliates.
2+
// All rights reserved.
3+
//
4+
// This source code is licensed under the terms described in the LICENSE file in
5+
// the root directory of this source tree.
6+
17
module.exports = {
28
parser: '@typescript-eslint/parser',
39
plugins: ['@typescript-eslint', 'unused-imports', 'prettier'],

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,3 +349,7 @@ If you are interested in other runtime environments, please open or upvote an is
349349
## Contributing
350350

351351
See [the contributing documentation](./CONTRIBUTING.md).
352+
353+
## License
354+
355+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

jest.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// Copyright (c) Meta Platforms, Inc. and affiliates.
2+
// All rights reserved.
3+
//
4+
// This source code is licensed under the terms described in the LICENSE file in
5+
// the root directory of this source tree.
6+
17
import type { JestConfigWithTsJest } from 'ts-jest';
28

39
const config: JestConfigWithTsJest = {

scripts/utils/check-is-in-git-install.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/usr/bin/env bash
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed under the terms described in the LICENSE file in
6+
# the root directory of this source tree.
7+
28
# Check if you happen to call prepare for a repository that's already in node_modules.
39
[ "$(basename "$(dirname "$PWD")")" = 'node_modules' ] ||
410
# The name of the containing directory that 'npm` uses, which looks like

scripts/utils/check-version.cjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
const fs = require('fs');
29
const path = require('path');
310

scripts/utils/fix-index-exports.cjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
const fs = require('fs');
29
const path = require('path');
310

scripts/utils/git-swap.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/usr/bin/env bash
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed under the terms described in the LICENSE file in
6+
# the root directory of this source tree.
7+
28
set -exuo pipefail
39
# the package is published to NPM from ./dist
410
# we want the final file structure for git installs to match the npm installs, so we

scripts/utils/make-dist-package-json.cjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
const pkgJson = require(process.env['PKG_JSON_PATH'] || '../../package.json');
29

310
function processExportMap(m) {

scripts/utils/postprocess-files.cjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
const fs = require('fs');
29
const path = require('path');
310
const { parse } = require('@typescript-eslint/parser');

scripts/utils/upload-artifact.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/usr/bin/env bash
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed under the terms described in the LICENSE file in
6+
# the root directory of this source tree.
7+
28
set -exuo pipefail
39

410
RESPONSE=$(curl -X POST "$URL" \

0 commit comments

Comments
 (0)