Skip to content

Commit 4fb8c10

Browse files
committed
Renamed types declaration file
1 parent 0c4db69 commit 4fb8c10

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Command-line tool to create a new L³ application.",
44
"version": "0.6.2",
55
"main": "index.js",
6-
"types": "index.d.ts",
6+
"types": "types.d.ts",
77
"scripts": {
88
"compile": "tsc -p ./",
99
"lint": "eslint src test --ext .js,.ts,.tsx",

src/cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {Command} from 'commander';
1414
// Local modules.
1515
import {createFiles} from './generator';
1616
import {addPackage, listPackages} from './installer';
17-
import {AppConfig, PluginInfo} from '../index';
17+
import {AppConfig, PluginInfo} from '../types';
1818

1919
// Process CLI options.
2020
const program = new Command();

src/generator.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import * as fs from 'fs';
1515
import * as path from 'path';
1616

1717
// Local modules
18-
import {AppConfig, TemplateVars} from '../index';
18+
import {AppConfig, TemplateVars} from '../types';
1919

2020
/**
2121
* Generate app sources from templates.

src/installer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import fetch from 'node-fetch';
1313
import * as fs from 'fs';
1414

1515
// Local modules.
16-
import {PluginInfo} from '../index';
16+
import {PluginInfo} from '../types';
1717

1818
// Github repository URLs.
1919
const REPO_CONTENT_URL = 'https://raw.githubusercontent.com/lambda-lambda-lambda/middleware/master';

index.d.ts renamed to types.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* lambda-lambda-lambda/cli
33
* Command-line tool to create a new L³ application.
44
*
5-
* Copyright 2023, Marc S. Brooks (https://mbrooks.info)
5+
* Copyright 2023-2024, Marc S. Brooks (https://mbrooks.info)
66
* Licensed under the MIT license:
77
* http://www.opensource.org/licenses/mit-license.php
88
*/

0 commit comments

Comments
 (0)