From 23270aa58db69f7e812c4ca91897087f7251f254 Mon Sep 17 00:00:00 2001 From: Samy Ouyahia <103439265+souyahia-monk@users.noreply.github.com> Date: Fri, 2 Aug 2024 12:24:40 +0200 Subject: [PATCH] Switched to npmignore files (#822) --- configs/eslint-config-base/package.json | 2 +- .../eslint-config-typescript-react-native/package.json | 2 +- configs/eslint-config-typescript-react/package.json | 2 +- configs/eslint-config-typescript/package.json | 2 +- configs/jest-config/package.json | 2 +- configs/prettier-config/package.json | 2 +- configs/svgo-config/package.json | 2 +- configs/test-utils/package.json | 2 +- configs/typescript-config/package.json | 2 +- package.json | 2 +- packages/analytics/.npmignore | 5 +++++ packages/analytics/package.json | 8 +------- packages/camera-web/.npmignore | 5 +++++ packages/camera-web/package.json | 8 +------- packages/common-ui-web/.npmignore | 5 +++++ packages/common-ui-web/package.json | 6 ------ packages/common/.npmignore | 5 +++++ packages/common/package.json | 8 +------- packages/inspection-capture-web/.npmignore | 5 +++++ packages/inspection-capture-web/package.json | 8 +------- packages/monitoring/.npmignore | 5 +++++ packages/monitoring/package.json | 8 +------- packages/network/.npmignore | 5 +++++ packages/network/package.json | 8 +------- packages/posthog/.npmignore | 5 +++++ packages/posthog/package.json | 8 +------- packages/sentry/.npmignore | 5 +++++ packages/sentry/package.json | 8 +------- packages/sights/.npmignore | 5 +++++ packages/sights/package.json | 8 +------- packages/types/.npmignore | 5 +++++ packages/types/package.json | 8 +------- 32 files changed, 75 insertions(+), 86 deletions(-) create mode 100644 packages/analytics/.npmignore create mode 100644 packages/camera-web/.npmignore create mode 100644 packages/common-ui-web/.npmignore create mode 100644 packages/common/.npmignore create mode 100644 packages/inspection-capture-web/.npmignore create mode 100644 packages/monitoring/.npmignore create mode 100644 packages/network/.npmignore create mode 100644 packages/posthog/.npmignore create mode 100644 packages/sentry/.npmignore create mode 100644 packages/sights/.npmignore create mode 100644 packages/types/.npmignore diff --git a/configs/eslint-config-base/package.json b/configs/eslint-config-base/package.json index c5f45a004..577c7b1fc 100644 --- a/configs/eslint-config-base/package.json +++ b/configs/eslint-config-base/package.json @@ -27,7 +27,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "keywords": [ "monkvision", diff --git a/configs/eslint-config-typescript-react-native/package.json b/configs/eslint-config-typescript-react-native/package.json index 954c8e0ab..9a534d0bd 100644 --- a/configs/eslint-config-typescript-react-native/package.json +++ b/configs/eslint-config-typescript-react-native/package.json @@ -24,7 +24,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "keywords": [ "monkvision", diff --git a/configs/eslint-config-typescript-react/package.json b/configs/eslint-config-typescript-react/package.json index bfd42052a..2821a1432 100644 --- a/configs/eslint-config-typescript-react/package.json +++ b/configs/eslint-config-typescript-react/package.json @@ -23,7 +23,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "keywords": [ "monkvision", diff --git a/configs/eslint-config-typescript/package.json b/configs/eslint-config-typescript/package.json index 1caedb342..273729b69 100644 --- a/configs/eslint-config-typescript/package.json +++ b/configs/eslint-config-typescript/package.json @@ -23,7 +23,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "keywords": [ "monkvision", diff --git a/configs/jest-config/package.json b/configs/jest-config/package.json index 77157d1ba..b438989a5 100644 --- a/configs/jest-config/package.json +++ b/configs/jest-config/package.json @@ -23,7 +23,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "keywords": [ "monkvision", diff --git a/configs/prettier-config/package.json b/configs/prettier-config/package.json index a6d25210f..0f39e4439 100644 --- a/configs/prettier-config/package.json +++ b/configs/prettier-config/package.json @@ -20,7 +20,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "keywords": [ "monkvision", diff --git a/configs/svgo-config/package.json b/configs/svgo-config/package.json index 663093acf..a951aab01 100644 --- a/configs/svgo-config/package.json +++ b/configs/svgo-config/package.json @@ -20,7 +20,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "keywords": [ "monkvision", diff --git a/configs/test-utils/package.json b/configs/test-utils/package.json index baf344ccf..1e2a5f5e3 100644 --- a/configs/test-utils/package.json +++ b/configs/test-utils/package.json @@ -64,7 +64,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "bugs": { "url": "https://github.com/monkvision/monkjs/issues" diff --git a/configs/typescript-config/package.json b/configs/typescript-config/package.json index be0e43ce5..95155b284 100644 --- a/configs/typescript-config/package.json +++ b/configs/typescript-config/package.json @@ -20,7 +20,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "keywords": [ "monkvision", diff --git a/package.json b/package.json index 9cbd94854..dfe918dcc 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "bugs": { "url": "https://github.com/monkvision/monkjs/issues" diff --git a/packages/analytics/.npmignore b/packages/analytics/.npmignore new file mode 100644 index 000000000..55f182f52 --- /dev/null +++ b/packages/analytics/.npmignore @@ -0,0 +1,5 @@ +* +!/package.json +!/README.md +!/lib/**/* +/lib/**/*.map diff --git a/packages/analytics/package.json b/packages/analytics/package.json index 4c3496a09..7a22b05f6 100644 --- a/packages/analytics/package.json +++ b/packages/analytics/package.json @@ -7,12 +7,6 @@ "author": "monkvision", "main": "lib/index.js", "types": "lib/index.d.ts", - "files": [ - "package.json", - "README.md", - "lib/**/*", - "!lib/**/*.map" - ], "scripts": { "clean": "rimraf lib && mkdirp lib", "build": "yarn run clean && tsc -p tsconfig.build.json", @@ -72,7 +66,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "bugs": { "url": "https://github.com/monkvision/monkjs/issues" diff --git a/packages/camera-web/.npmignore b/packages/camera-web/.npmignore new file mode 100644 index 000000000..55f182f52 --- /dev/null +++ b/packages/camera-web/.npmignore @@ -0,0 +1,5 @@ +* +!/package.json +!/README.md +!/lib/**/* +/lib/**/*.map diff --git a/packages/camera-web/package.json b/packages/camera-web/package.json index dbbaa3045..669613a59 100644 --- a/packages/camera-web/package.json +++ b/packages/camera-web/package.json @@ -7,12 +7,6 @@ "author": "monkvision", "main": "lib/index.js", "types": "lib/index.d.ts", - "files": [ - "package.json", - "README.md", - "lib/**/*", - "!lib/**/*.map" - ], "scripts": { "clean": "rimraf lib && mkdirp lib", "build": "yarn run clean && tsc -p tsconfig.build.json", @@ -81,7 +75,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "bugs": { "url": "https://github.com/monkvision/monkjs/issues" diff --git a/packages/common-ui-web/.npmignore b/packages/common-ui-web/.npmignore new file mode 100644 index 000000000..55f182f52 --- /dev/null +++ b/packages/common-ui-web/.npmignore @@ -0,0 +1,5 @@ +* +!/package.json +!/README.md +!/lib/**/* +/lib/**/*.map diff --git a/packages/common-ui-web/package.json b/packages/common-ui-web/package.json index 303057046..65a1ddf16 100644 --- a/packages/common-ui-web/package.json +++ b/packages/common-ui-web/package.json @@ -6,12 +6,6 @@ "version": "4.0.2", "packageManager": "yarn@3.2.4", "main": "lib/index.js", - "files": [ - "package.json", - "README.md", - "lib/**/*", - "!lib/**/*.map" - ], "scripts": { "clean": "rimraf lib && mkdirp lib", "build": "yarn run clean && tsc -p tsconfig.build.json", diff --git a/packages/common/.npmignore b/packages/common/.npmignore new file mode 100644 index 000000000..55f182f52 --- /dev/null +++ b/packages/common/.npmignore @@ -0,0 +1,5 @@ +* +!/package.json +!/README.md +!/lib/**/* +/lib/**/*.map diff --git a/packages/common/package.json b/packages/common/package.json index 7bf829d84..b1764bc47 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -7,12 +7,6 @@ "author": "monkvision", "main": "lib/index.js", "types": "lib/index.d.ts", - "files": [ - "package.json", - "README.md", - "lib/**/*", - "!lib/**/*.map" - ], "scripts": { "clean": "rimraf lib && mkdirp lib", "build": "yarn run clean && tsc -p tsconfig.build.json", @@ -88,7 +82,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "bugs": { "url": "https://github.com/monkvision/monkjs/issues" diff --git a/packages/inspection-capture-web/.npmignore b/packages/inspection-capture-web/.npmignore new file mode 100644 index 000000000..55f182f52 --- /dev/null +++ b/packages/inspection-capture-web/.npmignore @@ -0,0 +1,5 @@ +* +!/package.json +!/README.md +!/lib/**/* +/lib/**/*.map diff --git a/packages/inspection-capture-web/package.json b/packages/inspection-capture-web/package.json index d968f62a1..2bc9d86bf 100644 --- a/packages/inspection-capture-web/package.json +++ b/packages/inspection-capture-web/package.json @@ -7,12 +7,6 @@ "author": "monkvision", "main": "lib/index.js", "types": "lib/index.d.ts", - "files": [ - "package.json", - "README.md", - "lib/**/*", - "!lib/**/*.map" - ], "scripts": { "clean": "rimraf lib && mkdirp lib", "build": "yarn run clean && tsc -p tsconfig.build.json", @@ -85,7 +79,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "bugs": { "url": "https://github.com/monkvision/monkjs/issues" diff --git a/packages/monitoring/.npmignore b/packages/monitoring/.npmignore new file mode 100644 index 000000000..55f182f52 --- /dev/null +++ b/packages/monitoring/.npmignore @@ -0,0 +1,5 @@ +* +!/package.json +!/README.md +!/lib/**/* +/lib/**/*.map diff --git a/packages/monitoring/package.json b/packages/monitoring/package.json index 609626076..6b83d28b8 100644 --- a/packages/monitoring/package.json +++ b/packages/monitoring/package.json @@ -7,12 +7,6 @@ "author": "monkvision", "main": "lib/index.js", "types": "lib/index.d.ts", - "files": [ - "package.json", - "README.md", - "lib/**/*", - "!lib/**/*.map" - ], "scripts": { "clean": "rimraf lib && mkdirp lib", "build": "yarn run clean && tsc -p tsconfig.build.json", @@ -72,7 +66,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "bugs": { "url": "https://github.com/monkvision/monkjs/issues" diff --git a/packages/network/.npmignore b/packages/network/.npmignore new file mode 100644 index 000000000..55f182f52 --- /dev/null +++ b/packages/network/.npmignore @@ -0,0 +1,5 @@ +* +!/package.json +!/README.md +!/lib/**/* +/lib/**/*.map diff --git a/packages/network/package.json b/packages/network/package.json index 5ad33e905..9e32c62fe 100644 --- a/packages/network/package.json +++ b/packages/network/package.json @@ -7,12 +7,6 @@ "author": "monkvision", "main": "lib/src/index.js", "types": "lib/src/index.d.ts", - "files": [ - "package.json", - "README.md", - "lib/**/*", - "!lib/**/*.map" - ], "scripts": { "clean": "rimraf lib && mkdirp lib", "build": "yarn run clean && tsc -p tsconfig.build.json", @@ -76,7 +70,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "bugs": { "url": "https://github.com/monkvision/monkjs/issues" diff --git a/packages/posthog/.npmignore b/packages/posthog/.npmignore new file mode 100644 index 000000000..55f182f52 --- /dev/null +++ b/packages/posthog/.npmignore @@ -0,0 +1,5 @@ +* +!/package.json +!/README.md +!/lib/**/* +/lib/**/*.map diff --git a/packages/posthog/package.json b/packages/posthog/package.json index f3c559952..f09a39842 100644 --- a/packages/posthog/package.json +++ b/packages/posthog/package.json @@ -7,12 +7,6 @@ "author": "monkvision", "main": "lib/index.js", "types": "lib/index.d.ts", - "files": [ - "package.json", - "README.md", - "lib/**/*", - "!lib/**/*.map" - ], "installConfig": { "hoistingLimits": "workspaces" }, @@ -70,7 +64,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "bugs": { "url": "https://github.com/monkvision/monkjs/issues" diff --git a/packages/sentry/.npmignore b/packages/sentry/.npmignore new file mode 100644 index 000000000..55f182f52 --- /dev/null +++ b/packages/sentry/.npmignore @@ -0,0 +1,5 @@ +* +!/package.json +!/README.md +!/lib/**/* +/lib/**/*.map diff --git a/packages/sentry/package.json b/packages/sentry/package.json index d6d4036de..191f117ba 100644 --- a/packages/sentry/package.json +++ b/packages/sentry/package.json @@ -7,12 +7,6 @@ "author": "monkvision", "main": "lib/index.js", "types": "lib/index.d.ts", - "files": [ - "package.json", - "README.md", - "lib/**/*", - "!lib/**/*.map" - ], "installConfig": { "hoistingLimits": "workspaces" }, @@ -70,7 +64,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "bugs": { "url": "https://github.com/monkvision/monkjs/issues" diff --git a/packages/sights/.npmignore b/packages/sights/.npmignore new file mode 100644 index 000000000..55f182f52 --- /dev/null +++ b/packages/sights/.npmignore @@ -0,0 +1,5 @@ +* +!/package.json +!/README.md +!/lib/**/* +/lib/**/*.map diff --git a/packages/sights/package.json b/packages/sights/package.json index c94511138..72159be94 100644 --- a/packages/sights/package.json +++ b/packages/sights/package.json @@ -7,12 +7,6 @@ "author": "monkvision", "main": "lib/index.js", "types": "lib/index.d.ts", - "files": [ - "package.json", - "README.md", - "lib/**/*", - "!lib/**/*.map" - ], "scripts": { "clean": "rimraf dist lib src/lib/data && mkdirp dist lib", "compile": "yarn run clean && yarn run svgo && tsc -p tsconfig.compile.json", @@ -70,7 +64,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "bugs": { "url": "https://github.com/monkvision/monkjs/issues" diff --git a/packages/types/.npmignore b/packages/types/.npmignore new file mode 100644 index 000000000..55f182f52 --- /dev/null +++ b/packages/types/.npmignore @@ -0,0 +1,5 @@ +* +!/package.json +!/README.md +!/lib/**/* +/lib/**/*.map diff --git a/packages/types/package.json b/packages/types/package.json index 5dafaab77..403f2f645 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -7,12 +7,6 @@ "author": "monkvision", "main": "lib/index.js", "types": "lib/index.d.ts", - "files": [ - "package.json", - "README.md", - "lib/**/*", - "!lib/**/*.map" - ], "scripts": { "clean": "rimraf lib && mkdirp lib", "build": "yarn run clean && tsc -p tsconfig.build.json", @@ -55,7 +49,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/monkvision/monkjs.git" + "url": "git+https://github.com/monkvision/monkjs.git" }, "bugs": { "url": "https://github.com/monkvision/monkjs/issues"