diff --git a/packages/api/.npmignore b/packages/api/.npmignore deleted file mode 100644 index 291fa0ebbb..0000000000 --- a/packages/api/.npmignore +++ /dev/null @@ -1,15 +0,0 @@ -stryker.conf.js -test -dist/test -/schema -/reports -/coverage -/testResources -/.nyc_output -.vscode -.nycrc.json -*.tsbuildinfo -tsconfig?(.*).json -.mocharc.jsonc -.nyc_output -.gitattributes \ No newline at end of file diff --git a/packages/api/package.json b/packages/api/package.json index 19733203ab..843e90d6a3 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -8,6 +8,7 @@ "url": "https://github.com/stryker-mutator/stryker-js.git", "directory": "packages/api" }, + "files": ["./dist/", "./core.d.ts", "./src-generated/", "./src/"], "exports": { "./check": "./dist/src/check/index.js", "./core": "./dist/src/core/index.js", diff --git a/packages/core/.npmignore b/packages/core/.npmignore deleted file mode 100644 index 0ccde45177..0000000000 --- a/packages/core/.npmignore +++ /dev/null @@ -1,13 +0,0 @@ -stryker.conf.js -test -dist/test -/coverage -/reports -/testResources -/.nyc_output -.vscode -.nycrc.json -*.tsbuildinfo -tsconfig?(.*).json -.mocharc.jsonc -.gitattributes \ No newline at end of file diff --git a/packages/core/package.json b/packages/core/package.json index 7cb99fcc08..49ac9eacd6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -3,6 +3,7 @@ "version": "7.1.1", "description": "The extendable JavaScript mutation testing framework", "type": "module", + "files": ["./bin/", "./dist/", "./schema/", "./src/"], "exports": { ".": { "import": "./dist/src/index.js" diff --git a/packages/cucumber-runner/.npmignore b/packages/cucumber-runner/.npmignore deleted file mode 100644 index bec62e6ef9..0000000000 --- a/packages/cucumber-runner/.npmignore +++ /dev/null @@ -1,16 +0,0 @@ -stryker.conf.js -test -dist/test -/schema -/reports -/coverage -/testResources -/typings -/.nyc_output -.vscode -.nycrc.json -*.tsbuildinfo -tsconfig?(.*).json -.mocharc.jsonc -.nyc_output -.gitattributes diff --git a/packages/cucumber-runner/package.json b/packages/cucumber-runner/package.json index 4576fc1369..6a8985fe76 100644 --- a/packages/cucumber-runner/package.json +++ b/packages/cucumber-runner/package.json @@ -2,6 +2,7 @@ "name": "@stryker-mutator/cucumber-runner", "version": "7.1.1", "description": "A plugin to use the cucumber test runner in Stryker, the JavaScript mutation testing framework", + "files": ["./dist/", "./src-generated/", "./src/"], "exports": { ".": { "import": "./dist/src/index.js" diff --git a/packages/grunt-stryker/.npmignore b/packages/grunt-stryker/.npmignore deleted file mode 100644 index 3652df01aa..0000000000 --- a/packages/grunt-stryker/.npmignore +++ /dev/null @@ -1,22 +0,0 @@ -# General code -*.ts -!*.d.ts -*.js.map -test -testResources -/coverage -# General related files -.editorconfig -.gitattributes -.gitignore -.npmignore -.nycrc -.nyc_output -.stryker-temp -.tmp -.tscache -.vscode -stryker.conf.js -tsconfig.json -/coverage -reports \ No newline at end of file diff --git a/packages/grunt-stryker/package.json b/packages/grunt-stryker/package.json index deea00c64d..3fb90dfd59 100644 --- a/packages/grunt-stryker/package.json +++ b/packages/grunt-stryker/package.json @@ -32,6 +32,7 @@ "engines": { "node": ">=16.0.0" }, + "files": ["./tasks/"], "main": "Gruntfile.js", "devDependencies": { "@stryker-mutator/api": "7.1.1", diff --git a/packages/instrumenter/.npmignore b/packages/instrumenter/.npmignore deleted file mode 100644 index b3543ebb40..0000000000 --- a/packages/instrumenter/.npmignore +++ /dev/null @@ -1,16 +0,0 @@ -stryker.conf.js -test -dist/test -/schema -/reports -/coverage -/testResources -/.nyc_output -/typings -.vscode -.nycrc.json -*.tsbuildinfo -tsconfig?(.*).json -.mocharc.jsonc -.nyc_output -.gitattributes \ No newline at end of file diff --git a/packages/instrumenter/package.json b/packages/instrumenter/package.json index f51ac5339d..c481d182fc 100644 --- a/packages/instrumenter/package.json +++ b/packages/instrumenter/package.json @@ -4,6 +4,7 @@ "description": "The code instrumenter used in Stryker, the JavaScript mutation testing framework", "main": "dist/src/index.js", "type": "module", + "files": ["./dist/", "./src/"], "exports": { ".": { "import": "./dist/src/index.js" diff --git a/packages/jasmine-runner/.npmignore b/packages/jasmine-runner/.npmignore deleted file mode 100644 index ce6a3fc5ce..0000000000 --- a/packages/jasmine-runner/.npmignore +++ /dev/null @@ -1,16 +0,0 @@ -stryker.conf.js -test -dist/test -/schema -/reports -/coverage -/testResources -/typings -/.nyc_output -.vscode -.nycrc.json -*.tsbuildinfo -tsconfig?(.*).json -.mocharc.jsonc -.nyc_output -.gitattributes \ No newline at end of file diff --git a/packages/jasmine-runner/package.json b/packages/jasmine-runner/package.json index 44252380aa..7107f1a4d4 100644 --- a/packages/jasmine-runner/package.json +++ b/packages/jasmine-runner/package.json @@ -2,6 +2,7 @@ "name": "@stryker-mutator/jasmine-runner", "version": "7.1.1", "description": "A plugin to use the Jasmine (NodeJS) test runner in Stryker, the mutation testing framework for JavaScript and friends", + "files": ["./dist/", "./src-generated/", "./src/"], "exports": { ".": { "import": "./dist/src/index.js" diff --git a/packages/jest-runner/.npmignore b/packages/jest-runner/.npmignore deleted file mode 100644 index ce6a3fc5ce..0000000000 --- a/packages/jest-runner/.npmignore +++ /dev/null @@ -1,16 +0,0 @@ -stryker.conf.js -test -dist/test -/schema -/reports -/coverage -/testResources -/typings -/.nyc_output -.vscode -.nycrc.json -*.tsbuildinfo -tsconfig?(.*).json -.mocharc.jsonc -.nyc_output -.gitattributes \ No newline at end of file diff --git a/packages/jest-runner/package.json b/packages/jest-runner/package.json index 2559addcf4..fa1527e77c 100644 --- a/packages/jest-runner/package.json +++ b/packages/jest-runner/package.json @@ -2,6 +2,7 @@ "name": "@stryker-mutator/jest-runner", "version": "7.1.1", "description": "A plugin to use the jest test runner and framework in Stryker, the JavaScript mutation testing framework", + "files": ["./dist/", "./src-generated/", "./src/"], "main": "dist/src/index.js", "exports": { ".": { diff --git a/packages/karma-runner/.npmignore b/packages/karma-runner/.npmignore deleted file mode 100644 index ce6a3fc5ce..0000000000 --- a/packages/karma-runner/.npmignore +++ /dev/null @@ -1,16 +0,0 @@ -stryker.conf.js -test -dist/test -/schema -/reports -/coverage -/testResources -/typings -/.nyc_output -.vscode -.nycrc.json -*.tsbuildinfo -tsconfig?(.*).json -.mocharc.jsonc -.nyc_output -.gitattributes \ No newline at end of file diff --git a/packages/karma-runner/package.json b/packages/karma-runner/package.json index 9ffc9e9704..41b6008496 100644 --- a/packages/karma-runner/package.json +++ b/packages/karma-runner/package.json @@ -2,6 +2,11 @@ "name": "@stryker-mutator/karma-runner", "version": "7.1.1", "description": "A plugin to use the karma test runner in Stryker, the JavaScript mutation testing framework", + "files": [ + "./dist/", + "./src-generated/", + "./src/", + "./stryker-karma.conf.cjs"], "exports": { ".": { "import": "./dist/src/index.js" diff --git a/packages/mocha-runner/.npmignore b/packages/mocha-runner/.npmignore deleted file mode 100644 index ce6a3fc5ce..0000000000 --- a/packages/mocha-runner/.npmignore +++ /dev/null @@ -1,16 +0,0 @@ -stryker.conf.js -test -dist/test -/schema -/reports -/coverage -/testResources -/typings -/.nyc_output -.vscode -.nycrc.json -*.tsbuildinfo -tsconfig?(.*).json -.mocharc.jsonc -.nyc_output -.gitattributes \ No newline at end of file diff --git a/packages/mocha-runner/package.json b/packages/mocha-runner/package.json index ba26a4bd9b..ae3ac9ad96 100644 --- a/packages/mocha-runner/package.json +++ b/packages/mocha-runner/package.json @@ -2,6 +2,7 @@ "name": "@stryker-mutator/mocha-runner", "version": "7.1.1", "description": "A plugin to use the mocha test runner in Stryker, the JavaScript mutation testing framework", + "files": ["./dist/", "./src-generated/", "./src/"], "exports": { ".": { "import": "./dist/src/index.js" diff --git a/packages/tap-runner/.npmignore b/packages/tap-runner/.npmignore deleted file mode 100644 index ce6a3fc5ce..0000000000 --- a/packages/tap-runner/.npmignore +++ /dev/null @@ -1,16 +0,0 @@ -stryker.conf.js -test -dist/test -/schema -/reports -/coverage -/testResources -/typings -/.nyc_output -.vscode -.nycrc.json -*.tsbuildinfo -tsconfig?(.*).json -.mocharc.jsonc -.nyc_output -.gitattributes \ No newline at end of file diff --git a/packages/tap-runner/package.json b/packages/tap-runner/package.json index 10f48bbeb2..6c0485fa47 100644 --- a/packages/tap-runner/package.json +++ b/packages/tap-runner/package.json @@ -2,6 +2,7 @@ "name": "@stryker-mutator/tap-runner", "version": "7.1.1", "description": "A plugin to use the TAP (test anything protocol) test runner in Stryker, the JavaScript mutation testing framework", + "files": ["./dist/", "./src-generated/", "./src/"], "exports": { ".": { "import": "./dist/src/index.js" diff --git a/packages/typescript-checker/.npmignore b/packages/typescript-checker/.npmignore deleted file mode 100644 index ce6a3fc5ce..0000000000 --- a/packages/typescript-checker/.npmignore +++ /dev/null @@ -1,16 +0,0 @@ -stryker.conf.js -test -dist/test -/schema -/reports -/coverage -/testResources -/typings -/.nyc_output -.vscode -.nycrc.json -*.tsbuildinfo -tsconfig?(.*).json -.mocharc.jsonc -.nyc_output -.gitattributes \ No newline at end of file diff --git a/packages/typescript-checker/package.json b/packages/typescript-checker/package.json index a076af38fe..d60b442a2e 100644 --- a/packages/typescript-checker/package.json +++ b/packages/typescript-checker/package.json @@ -2,6 +2,7 @@ "name": "@stryker-mutator/typescript-checker", "version": "7.1.1", "description": "A typescript type checker plugin to be used in Stryker, the JavaScript mutation testing framework", + "files": ["./dist/", "./src-generated/", "./src/"], "exports": { ".": { "import": "./dist/src/index.js" diff --git a/packages/util/.npmignore b/packages/util/.npmignore deleted file mode 100644 index ce6a3fc5ce..0000000000 --- a/packages/util/.npmignore +++ /dev/null @@ -1,16 +0,0 @@ -stryker.conf.js -test -dist/test -/schema -/reports -/coverage -/testResources -/typings -/.nyc_output -.vscode -.nycrc.json -*.tsbuildinfo -tsconfig?(.*).json -.mocharc.jsonc -.nyc_output -.gitattributes \ No newline at end of file diff --git a/packages/util/package.json b/packages/util/package.json index fb640395cb..82c9361d4e 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -2,6 +2,7 @@ "name": "@stryker-mutator/util", "version": "7.1.1", "description": "Contains utilities for Stryker, the mutation testing framework for JavaScript and friends", + "files": ["./dist/", "./src/"], "exports": { ".": { "import": "./dist/src/index.js" diff --git a/packages/vitest-runner/.npmignore b/packages/vitest-runner/.npmignore deleted file mode 100644 index ce6a3fc5ce..0000000000 --- a/packages/vitest-runner/.npmignore +++ /dev/null @@ -1,16 +0,0 @@ -stryker.conf.js -test -dist/test -/schema -/reports -/coverage -/testResources -/typings -/.nyc_output -.vscode -.nycrc.json -*.tsbuildinfo -tsconfig?(.*).json -.mocharc.jsonc -.nyc_output -.gitattributes \ No newline at end of file diff --git a/packages/vitest-runner/package.json b/packages/vitest-runner/package.json index ac3c8849bf..f4722773eb 100644 --- a/packages/vitest-runner/package.json +++ b/packages/vitest-runner/package.json @@ -2,6 +2,7 @@ "name": "@stryker-mutator/vitest-runner", "version": "7.1.1", "description": "A plugin to use the vitest test runner and framework in Stryker, the JavaScript mutation testing framework", + "files": ["./dist/", "./src-generated/", "./src/"], "exports": { ".": { "import": "./dist/src/index.js"