Skip to content

Commit 4d2a752

Browse files
authored
Merge pull request #1002 from spotify/release
Release v14
2 parents 5408ad4 + 27e4dce commit 4d2a752

File tree

7 files changed

+2497
-2912
lines changed

7 files changed

+2497
-2912
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"devDependencies": {
2424
"@spotify/eslint-config-oss": "^1.0.0",
2525
"@spotify/eslint-plugin": "^13.0.0",
26-
"husky": "^7.0.0",
27-
"lerna": "^4.0.0",
26+
"husky": "^8.0.1",
27+
"lerna": "^5.1.8",
2828
"typescript": "^4.2.3"
2929
}
3030
}

packages/create-web-scripts-library/src/integration.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ describe('integration test', () => {
5050

5151
// check that all the commands work
5252
[
53-
{ cmd: 'lint', asyncTimeout: 15000 },
53+
{ cmd: 'lint', asyncTimeout: 20000 },
5454
{ cmd: 'test', asyncTimeout: 30000 },
5555
{ cmd: 'build', asyncTimeout: 60000 },
5656
].forEach(

packages/eslint-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"devDependencies": {
3737
"@spotify/web-scripts": "^13.0.1",
3838
"@types/eslint": "^8.4.1",
39-
"@types/jest": "^27.0.1",
39+
"@types/jest": "^28.1.4",
4040
"@typescript-eslint/parser": "^5.13.0",
4141
"@typescript-eslint/types": "^5.13.0",
4242
"eslint": "^8.10.0",

packages/web-scripts-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"devDependencies": {
3131
"@spotify/tsconfig": "^13.0.1",
32-
"@types/jest": "^27.0.1"
32+
"@types/jest": "^28.1.4"
3333
},
3434
"publishConfig": {
3535
"access": "public"

packages/web-scripts/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,29 +30,29 @@
3030
"prepublishOnly": "yarn run bootstrap && yarn run build"
3131
},
3232
"dependencies": {
33-
"@commitlint/cli": "^16.2.1",
34-
"@commitlint/config-conventional": "^16.2.1",
33+
"@commitlint/cli": "^17.0.3",
34+
"@commitlint/config-conventional": "^17.0.3",
3535
"@spotify/eslint-config": "^13.0.1",
3636
"@spotify/prettier-config": "^13.0.1",
3737
"@spotify/tsconfig": "^13.0.1",
3838
"@spotify/web-scripts-utils": "^13.0.1",
3939
"@types/cross-spawn": "^6.0.0",
4040
"@types/debug": "^4.1.2",
41-
"@types/jest": "^27.0.1",
42-
"@types/react": "^17.0.24",
43-
"@types/react-dom": "^17.0.5",
41+
"@types/jest": "^28.1.4",
42+
"@types/react": "^18.0.15",
43+
"@types/react-dom": "^18.0.6",
4444
"commander": "^6.1.0",
4545
"commitizen": "^4.2.3",
4646
"cross-spawn-promise": "^0.10.1",
4747
"cz-conventional-changelog": "^3.0.2",
4848
"debug": "^4.1.1",
4949
"eslint": "^8.10.0",
50-
"jest": "^27.0.1",
51-
"jest-junit": "^13.0.0",
52-
"lint-staged": "^12.3.4",
50+
"jest": "^28.1.2",
51+
"jest-junit": "^14.0.0",
52+
"lint-staged": "^13.0.3",
5353
"prettier": "^2.2.1",
5454
"semantic-release": "^19.0.2",
55-
"ts-jest": "^27.0.1",
55+
"ts-jest": "^28.0.5",
5656
"typescript": "^4.2.3"
5757
},
5858
"devDependencies": {

packages/web-scripts/src/Tasks/BuildTask.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ async function buildTypes(task: BuildTaskDesc): Promise<string> {
5959
'--emitDeclarationOnly',
6060
'--noEmit',
6161
'false',
62+
'--module',
63+
'CommonJS',
6264
...task.restOptions,
6365
];
6466
const stdout = await spawn(cmd, args, { stdio: 'inherit' });
@@ -69,6 +71,8 @@ async function buildCJS(task: BuildTaskDesc): Promise<string> {
6971
const cmd = 'npx';
7072
const args = [
7173
'tsc',
74+
'--declaration',
75+
'false',
7276
'--allowJs',
7377
'--outDir',
7478
'cjs',
@@ -86,6 +90,8 @@ async function buildESM(task: BuildTaskDesc): Promise<string> {
8690
const cmd = 'npx';
8791
const args = [
8892
'tsc',
93+
'--declaration',
94+
'false',
8995
'--allowJs',
9096
'--outDir',
9197
'esm',

0 commit comments

Comments
 (0)