Skip to content

Commit

Permalink
fix: Set "sideEffects": false in package.json (#5030)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S authored Dec 4, 2023
1 parent 8507076 commit 08363dc
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/cspell-bundled-dicts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"publishConfig": {
"access": "public"
},
"sideEffects": false,
"main": "cspell-default.json",
"files": [
"cspell-default.json",
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-config-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-config#readme",
"license": "MIT",
"type": "module",
"sideEffects": false,
"exports": {
".": "./dist/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-dictionary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "8.1.0",
"description": "A spelling dictionary library useful for checking words and getting suggestions.",
"type": "module",
"sideEffects": false,
"types": "dist/index.d.ts",
"module": "dist/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
}
},
"type": "module",
"sideEffects": false,
"main": "dist/plugin/index.cjs",
"types": "dist/plugin/index.d.cts",
"files": [
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-gitignore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"cspell-gitignore": "bin.mjs"
},
"type": "module",
"sideEffects": false,
"types": "dist/index.d.ts",
"module": "dist/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-glob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-glob#readme",
"license": "MIT",
"type": "module",
"sideEffects": false,
"types": "dist/esm/index.d.ts",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-grammar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"cspell-grammar": "bin.mjs"
},
"type": "module",
"sideEffects": false,
"types": "dist/index.d.ts",
"module": "dist/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-io/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "8.1.0",
"description": "A library of useful I/O functions used across various cspell tools.",
"type": "module",
"sideEffects": false,
"types": "dist/esm/index.d.ts",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-json-reporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-json-reporter#readme",
"type": "module",
"sideEffects": false,
"types": "dist/esm/index.d.ts",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "8.1.0",
"description": "A library of useful functions used across various cspell tools.",
"type": "module",
"sideEffects": false,
"types": "dist/esm/index.d.ts",
"module": "dist/esm/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-pipe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-pipe#readme",
"license": "MIT",
"type": "module",
"sideEffects": false,
"module": "dist/index.js",
"typings": "dist/index.d.ts",
"directories": {
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-resolver#readme",
"license": "MIT",
"type": "module",
"sideEffects": false,
"exports": {
".": "./dist/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-service-bus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-service-bus#readme",
"license": "MIT",
"type": "module",
"sideEffects": false,
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-strong-weak-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-strong-weak-map#readme",
"license": "MIT",
"type": "module",
"sideEffects": false,
"module": "dist/esm/index.js",
"exports": {
".": {
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"access": "public"
},
"type": "module",
"sideEffects": false,
"bin": {
"cspell-tools-cli": "bin.mjs"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-trie-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "8.1.0",
"description": "Trie Data Structure to support cspell.",
"type": "module",
"sideEffects": false,
"types": "dist/index.d.ts",
"module": "dist/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-trie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "8.1.0",
"description": "Trie Data Structure reader for cspell",
"type": "module",
"sideEffects": false,
"bin": {
"cspell-trie": "bin.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cspell-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"version": "8.1.0",
"description": "Types for cspell and cspell-lib",
"type": "commonjs",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/cspell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"cspell-esm": "bin.mjs"
},
"type": "module",
"sideEffects": false,
"types": "dist/esm/index.d.mts",
"module": "dist/esm/index.mjs",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/dynamic-import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/dynamic-import#readme",
"license": "MIT",
"type": "commonjs",
"sideEffects": false,
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"types": "./dist/cjs/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/hunspell-reader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "A library for reading Hunspell Dictionary Files",
"bin": "bin.js",
"type": "module",
"sideEffects": false,
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
Expand Down

0 comments on commit 08363dc

Please sign in to comment.