@samitouri / QOS-React-2 / commits / 0cc473fc9a

[ez] Move copyright script to top level

Lauren Tan committed Nov 2, 2023 at 12:43 UTC 0cc473fc9ae3d4d8a97fb59b0010fb950b620cc2
2 files changed +8 -2
compiler/package.json
+1 -1
@@ -11,7 +11,7 @@
11 "scripts": {
12 "bundle:meta": "scripts/bundle-meta.sh",
13 "bundle:oss": "scripts/bundle-oss.sh",
14 - "copy-to-forget-feedback": "scripts/copy-to-forget-feedback.sh",
14 + "copyright": "node scripts/copyright.js",
15 "hash": "scripts/hash.sh",
16 "start": "yarn workspace playground run start",
17 "next": "yarn workspace playground run dev",
compiler/scripts/copyright.js renamed
+7 -1
@@ -23,7 +23,13 @@ const files = glob.sync("**/*.{js,ts,tsx,jsx}", {
23 "**/dist/**",
24 "**/node_modules/**",
25 "test262/**",
26 - "**/__tests__/fixtures/**/*.js",
26 + "react/**",
27 + "forget-feedback/**",
28 + "packages/js-fuzzer/**",
29 + "**/tests/fixtures/**",
30 + "**/__tests__/fixtures/**",
31 + // Special case where we need to preserve a jest directive
32 + "packages/forest-runtime/src/__tests__/DOM-test.ts",
33 ],
34 });
35