Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #92 from swarmion/chore/tree-shaking-libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
adriencaccia authored Mar 8, 2022
2 parents e0e4292 + fd27fb7 commit 57e66bc
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions .syncpackrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module.exports = {
'bugs',
'repository',
'workspaces',
'sideEffects',
'files',
'main',
'module',
Expand Down
1 change: 1 addition & 0 deletions contracts/core-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "1.0.0",
"license": "UNLICENSED",
"sideEffects": false,
"files": [
"dist"
],
Expand Down
1 change: 1 addition & 0 deletions contracts/forum-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "1.0.0",
"license": "UNLICENSED",
"sideEffects": false,
"files": [
"dist"
],
Expand Down
1 change: 1 addition & 0 deletions contracts/users-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "1.0.0",
"license": "UNLICENSED",
"sideEffects": false,
"files": [
"dist"
],
Expand Down
4 changes: 2 additions & 2 deletions frontend/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"stylelint-fix": "yarn stylelint-base-config --fix",
"test": "yarn test-linter && yarn test-type && yarn test-unit",
"test-linter": "yarn linter-base-config src",
"test-stylelint": "yarn stylelint-base-config **/*.{ts,tsx}",
"test-type": "tsc --noEmit",
"test-unit": "jest --runInBand --collectCoverage --logHeapUsage --passWithNoTests",
"test-stylelint": "yarn stylelint-base-config **/*.{ts,tsx}"
"test-unit": "jest --runInBand --collectCoverage --logHeapUsage --passWithNoTests"
},
"dependencies": {
"@emotion/react": "^11.8.1",
Expand Down
1 change: 1 addition & 0 deletions packages/configuration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "1.0.0",
"license": "UNLICENSED",
"sideEffects": false,
"files": [
"dist"
],
Expand Down
1 change: 1 addition & 0 deletions packages/serverless-configuration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "1.0.0",
"license": "UNLICENSED",
"sideEffects": false,
"files": [
"dist"
],
Expand Down
1 change: 1 addition & 0 deletions packages/serverless-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "1.0.0",
"license": "UNLICENSED",
"sideEffects": false,
"files": [
"dist"
],
Expand Down
1 change: 1 addition & 0 deletions tools/generators/library/typed-json-config/package.json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const packageJson = (options: NormalizedSchema): PackageJson => ({
private: true,
version: '1.0.0',
license: 'UNLICENSED',
sideEffects: false,
files: ['dist'],
main: 'dist/cjs/index.js',
module: 'dist/esm/index.js',
Expand Down
1 change: 1 addition & 0 deletions tools/generators/types/PackageJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export interface PackageJson {
private: boolean;
version: string;
license: string;
sideEffects: boolean;
files: string[];
main: string;
module: string;
Expand Down

0 comments on commit 57e66bc

Please sign in to comment.