diff --git a/compiler/package.json b/compiler/package.json index dd5e232325..d28be2d730 100644 --- a/compiler/package.json +++ b/compiler/package.json @@ -11,7 +11,7 @@ "scripts": { "bundle:meta": "scripts/bundle-meta.sh", "bundle:oss": "scripts/bundle-oss.sh", - "copy-to-forget-feedback": "scripts/copy-to-forget-feedback.sh", + "copyright": "node scripts/copyright.js", "hash": "scripts/hash.sh", "start": "yarn workspace playground run start", "next": "yarn workspace playground run dev", diff --git a/compiler/packages/babel-plugin-react-forget/scripts/copyright.js b/compiler/scripts/copyright.js similarity index 85% rename from compiler/packages/babel-plugin-react-forget/scripts/copyright.js rename to compiler/scripts/copyright.js index 12eb8417af..6f195a353c 100644 --- a/compiler/packages/babel-plugin-react-forget/scripts/copyright.js +++ b/compiler/scripts/copyright.js @@ -23,7 +23,13 @@ const files = glob.sync("**/*.{js,ts,tsx,jsx}", { "**/dist/**", "**/node_modules/**", "test262/**", - "**/__tests__/fixtures/**/*.js", + "react/**", + "forget-feedback/**", + "packages/js-fuzzer/**", + "**/tests/fixtures/**", + "**/__tests__/fixtures/**", + // Special case where we need to preserve a jest directive + "packages/forest-runtime/src/__tests__/DOM-test.ts", ], });