@samitouri / QOS-React-1 / commits / 708d8f8c49

[ez] Remove outdated files

These are no longer in use ghstack-source-id: 075e4fd0ab6140d49857a2086700b1ca9569b626 Pull Request resolved: https://github.com/facebook/react/pull/30092

Lauren Tan committed Jun 25, 2024 at 13:57 UTC 708d8f8c495e2456b91de96f3d20248693ee9ce7
3 files changed -43
compiler/packages/snap/src/SproutTodoFilter.ts
-1
@@ -444,7 +444,6 @@ const skipFilter = new Set([
444 "loop-unused-let",
445 "reanimated-no-memo-arg",
446
447 - // Tested e2e in forget-feedback repo
447 "userspace-use-memo-cache",
448 "transitive-freeze-function-expressions",
449
compiler/scripts/build-packages-forget-feedback.sh deleted
-39
@@ -1,39 +0,0 @@
1 -#!/bin/sh
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 -# Script to build packages for Forget Feedback (eg when you need to add a new package to the
8 -# testapp)
9 -
10 -set -eo pipefail
11 -
12 -cwd=`basename $(pwd)`
13 -
14 -if [ $cwd != "react-forget" ]; then
15 - echo "Error: This script must be run from the top level react-forget directory. Exiting"
16 - exit 1
17 -fi
18 -
19 -# ----------------------- Build packages
20 -yarn install --silent
21 -rm -rf forget-feedback/dist
22 -mkdir forget-feedback/dist
23 -
24 -packages=("babel-plugin-react-compiler" "eslint-plugin-react-compiler" "react-forget-runtime")
25 -for package in ${packages[@]}; do
26 - echo "Building" $package
27 - yarn workspace $package run build
28 -done
29 -
30 -echo "Copying artifacts to local forget-feedback directory..."
31 -for package in ${packages[@]}; do
32 - for dir in packages/$package/; do
33 - if [ -d $dir/dist ]; then
34 - package_name=$(basename $dir)
35 - cp -R $dir/dist/. ./forget-feedback/dist/$package_name
36 - cp $dir/package.json ./forget-feedback/dist/$package_name
37 - fi
38 - done
39 -done
compiler/scripts/copyright.js
-3
@@ -22,9 +22,6 @@ const files = glob.sync("**/*.{js,ts,tsx,jsx,rs}", {
22 ignore: [
23 "**/dist/**",
24 "**/node_modules/**",
25 - "react/**",
26 - "forget-feedback/**",
27 - "packages/js-fuzzer/**",
25 "**/tests/fixtures/**",
26 "**/__tests__/fixtures/**",
27 ],