chore(repo): use LTS node typings (#8366)
This commit is contained in:
parent
da39485076
commit
15c6ca70a2
@ -106,7 +106,7 @@
|
|||||||
"@types/jasminewd2": "~2.0.3",
|
"@types/jasminewd2": "~2.0.3",
|
||||||
"@types/jest": "27.0.2",
|
"@types/jest": "27.0.2",
|
||||||
"@types/marked": "^2.0.0",
|
"@types/marked": "^2.0.0",
|
||||||
"@types/node": "14.14.37",
|
"@types/node": "16.11.7",
|
||||||
"@types/prettier": "2.3.0",
|
"@types/prettier": "2.3.0",
|
||||||
"@types/react": "17.0.3",
|
"@types/react": "17.0.3",
|
||||||
"@types/react-dom": "17.0.3",
|
"@types/react-dom": "17.0.3",
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import { spawnProcess } from './spawn-process';
|
|||||||
|
|
||||||
describe('spawnProcess()', () => {
|
describe('spawnProcess()', () => {
|
||||||
let spy: jest.SpyInstance<
|
let spy: jest.SpyInstance<
|
||||||
childProcess.SpawnSyncReturns<Buffer>,
|
childProcess.SpawnSyncReturns<string | Buffer>,
|
||||||
[
|
[
|
||||||
command: string,
|
command: string,
|
||||||
args?: readonly string[],
|
args?: readonly string[],
|
||||||
|
|||||||
@ -69,7 +69,7 @@ const server = createServer(async (socket) => {
|
|||||||
const entry = list.getEntries()[0];
|
const entry = list.getEntries()[0];
|
||||||
serverLogger.log(`Time taken for '${entry.name}'`, `${entry.duration}ms`);
|
serverLogger.log(`Time taken for '${entry.name}'`, `${entry.duration}ms`);
|
||||||
});
|
});
|
||||||
performanceObserver.observe({ entryTypes: ['measure'], buffered: false });
|
performanceObserver.observe({ entryTypes: ['measure'] });
|
||||||
}
|
}
|
||||||
|
|
||||||
socket.on('data', async (data) => {
|
socket.on('data', async (data) => {
|
||||||
|
|||||||
@ -9,7 +9,7 @@ Object {
|
|||||||
"@nrwl/cli": "*",
|
"@nrwl/cli": "*",
|
||||||
"@nrwl/tao": "*",
|
"@nrwl/tao": "*",
|
||||||
"@nrwl/workspace": "*",
|
"@nrwl/workspace": "*",
|
||||||
"@types/node": "14.14.33",
|
"@types/node": "16.11.7",
|
||||||
"prettier": "^2.3.1",
|
"prettier": "^2.3.1",
|
||||||
"typescript": "~4.4.3",
|
"typescript": "~4.4.3",
|
||||||
},
|
},
|
||||||
@ -32,7 +32,7 @@ Object {
|
|||||||
"@nrwl/cli": "*",
|
"@nrwl/cli": "*",
|
||||||
"@nrwl/tao": "*",
|
"@nrwl/tao": "*",
|
||||||
"@nrwl/workspace": "*",
|
"@nrwl/workspace": "*",
|
||||||
"@types/node": "14.14.33",
|
"@types/node": "16.11.7",
|
||||||
"prettier": "^2.3.1",
|
"prettier": "^2.3.1",
|
||||||
"typescript": "~4.4.3",
|
"typescript": "~4.4.3",
|
||||||
},
|
},
|
||||||
@ -56,7 +56,7 @@ Object {
|
|||||||
"@nrwl/react": "*",
|
"@nrwl/react": "*",
|
||||||
"@nrwl/tao": "*",
|
"@nrwl/tao": "*",
|
||||||
"@nrwl/workspace": "*",
|
"@nrwl/workspace": "*",
|
||||||
"@types/node": "14.14.33",
|
"@types/node": "16.11.7",
|
||||||
"prettier": "^2.3.1",
|
"prettier": "^2.3.1",
|
||||||
"typescript": "~4.4.3",
|
"typescript": "~4.4.3",
|
||||||
},
|
},
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
"@nrwl/tao": "<%= nxVersion %>",
|
"@nrwl/tao": "<%= nxVersion %>",
|
||||||
"@nrwl/cli": "<%= nxVersion %>",
|
"@nrwl/cli": "<%= nxVersion %>",
|
||||||
"@nrwl/workspace": "<%= nxVersion %>",
|
"@nrwl/workspace": "<%= nxVersion %>",
|
||||||
"@types/node": "14.14.33",
|
"@types/node": "16.11.7",
|
||||||
"typescript": "<%= typescriptVersion %>",
|
"typescript": "<%= typescriptVersion %>",
|
||||||
"prettier": "<%= prettierVersion %>"
|
"prettier": "<%= prettierVersion %>"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,5 +5,5 @@ if (process.env.NX_PERF_LOGGING) {
|
|||||||
const entry = list.getEntries()[0];
|
const entry = list.getEntries()[0];
|
||||||
console.log(`Time for '${entry.name}'`, entry.duration);
|
console.log(`Time for '${entry.name}'`, entry.duration);
|
||||||
});
|
});
|
||||||
obs.observe({ entryTypes: ['measure'], buffered: false });
|
obs.observe({ entryTypes: ['measure'] });
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,5 +5,5 @@ if (process.env.NX_PERF_LOGGING) {
|
|||||||
const entry = list.getEntries()[0];
|
const entry = list.getEntries()[0];
|
||||||
console.log(`Time for '${entry.name}'`, entry.duration);
|
console.log(`Time for '${entry.name}'`, entry.duration);
|
||||||
});
|
});
|
||||||
obs.observe({ entryTypes: ['measure'], buffered: false });
|
obs.observe({ entryTypes: ['measure'] });
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5281,10 +5281,10 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.9.tgz#879be3ad7af29f4c1a5c433421bf99fab7047185"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.9.tgz#879be3ad7af29f4c1a5c433421bf99fab7047185"
|
||||||
integrity sha512-MKmdASMf3LtPzwLyRrFjtFFZ48cMf8jmX5VRYrDQiJa8Ybu5VAmkqBWqKU8fdCwD8ysw4mQ9nrEHvzg6gunR7A==
|
integrity sha512-MKmdASMf3LtPzwLyRrFjtFFZ48cMf8jmX5VRYrDQiJa8Ybu5VAmkqBWqKU8fdCwD8ysw4mQ9nrEHvzg6gunR7A==
|
||||||
|
|
||||||
"@types/node@14.14.37":
|
"@types/node@16.11.7":
|
||||||
version "14.14.37"
|
version "16.11.7"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.37.tgz#a3dd8da4eb84a996c36e331df98d82abd76b516e"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.7.tgz#36820945061326978c42a01e56b61cd223dfdc42"
|
||||||
integrity sha512-XYmBiy+ohOR4Lh5jE379fV2IU+6Jn4g5qASinhitfyO71b/sCo6MKsMLF5tc7Zf2CE8hViVQyYSobJNke8OvUw==
|
integrity sha512-QB5D2sqfSjCmTuWcBWyJ+/44bcjO7VbjSbOE0ucoVbAsSNQc4Lt6QkgkVXkTDwkL4z/beecZNDvVX15D4P8Jbw==
|
||||||
|
|
||||||
"@types/node@^14.0.10", "@types/node@^14.14.31":
|
"@types/node@^14.0.10", "@types/node@^14.14.31":
|
||||||
version "14.17.34"
|
version "14.17.34"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user