New repo dev deps

This commit is contained in:
Evert Prants 2024-03-16 14:13:35 +02:00
parent 398018bf50
commit 3efd4625b6
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
3 changed files with 13 additions and 12 deletions

18
package-lock.json generated
View File

@ -1,15 +1,15 @@
{ {
"name": "@squeebot/cli", "name": "@squeebot/cli",
"version": "3.5.1", "version": "3.6.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@squeebot/cli", "name": "@squeebot/cli",
"version": "3.5.1", "version": "3.6.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@squeebot/core": "^3.6.0-1", "@squeebot/core": "^3.6.3",
"fs-extra": "^11.1.1", "fs-extra": "^11.1.1",
"node-watch": "^0.7.4", "node-watch": "^0.7.4",
"tar": "^6.1.15", "tar": "^6.1.15",
@ -184,9 +184,9 @@
} }
}, },
"node_modules/@squeebot/core": { "node_modules/@squeebot/core": {
"version": "3.6.0-1", "version": "3.6.3",
"resolved": "https://registry.npmjs.org/@squeebot/core/-/core-3.6.0-1.tgz", "resolved": "https://registry.npmjs.org/@squeebot/core/-/core-3.6.3.tgz",
"integrity": "sha512-Q9My45N9Z4irJc5/SvZJoSogLHKkqmqQkP6XdOEKerFAsPW/+x0gUNb45R0P7YpDjYe84nedtSuqlHxYzVnlhA==", "integrity": "sha512-lZArEZUiY2iN9poSxrXsowdIKGf9PzBjqNMgtQxf63UJ9es1A52DDlhpv7qzCVsSJ4wV0aZrY+crk4yTsqISXA==",
"dependencies": { "dependencies": {
"fs-extra": "^11.1.1", "fs-extra": "^11.1.1",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
@ -1987,9 +1987,9 @@
} }
}, },
"@squeebot/core": { "@squeebot/core": {
"version": "3.6.0-1", "version": "3.6.3",
"resolved": "https://registry.npmjs.org/@squeebot/core/-/core-3.6.0-1.tgz", "resolved": "https://registry.npmjs.org/@squeebot/core/-/core-3.6.3.tgz",
"integrity": "sha512-Q9My45N9Z4irJc5/SvZJoSogLHKkqmqQkP6XdOEKerFAsPW/+x0gUNb45R0P7YpDjYe84nedtSuqlHxYzVnlhA==", "integrity": "sha512-lZArEZUiY2iN9poSxrXsowdIKGf9PzBjqNMgtQxf63UJ9es1A52DDlhpv7qzCVsSJ4wV0aZrY+crk4yTsqISXA==",
"requires": { "requires": {
"fs-extra": "^11.1.1", "fs-extra": "^11.1.1",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",

View File

@ -1,6 +1,6 @@
{ {
"name": "@squeebot/cli", "name": "@squeebot/cli",
"version": "3.6.0", "version": "3.6.1",
"description": "Squeebot v3 runtime, environments and configuration", "description": "Squeebot v3 runtime, environments and configuration",
"main": "dist/squeebot.js", "main": "dist/squeebot.js",
"bin": { "bin": {
@ -30,7 +30,7 @@
"typescript": "^5.1.6" "typescript": "^5.1.6"
}, },
"dependencies": { "dependencies": {
"@squeebot/core": "^3.6.0-1", "@squeebot/core": "^3.6.3",
"fs-extra": "^11.1.1", "fs-extra": "^11.1.1",
"node-watch": "^0.7.4", "node-watch": "^0.7.4",
"tar": "^6.1.15", "tar": "^6.1.15",

View File

@ -40,7 +40,8 @@ export async function newRepository(
if (typescript) { if (typescript) {
console.log('Installing TypeScript support'); console.log('Installing TypeScript support');
await executor.installPackage('typescript'); await executor.installPackage('typescript', true);
await executor.installPackage('@types/node', true);
await fs.writeJson(path.join(location, 'tsconfig.json'), tsConfig); await fs.writeJson(path.join(location, 'tsconfig.json'), tsConfig);
gitIgnore += '\n*.js'; gitIgnore += '\n*.js';
gitIgnore += '\n!.eslintrc.js'; gitIgnore += '\n!.eslintrc.js';