refactor(developer): move developer-utils files into src/ and sub-folder

In preparation for moving source file types into developer-utils, move
the existing developer-utils files into src/ and src/utils subfolders.
This commit is contained in:
Marc Durdin 2024-05-24 15:41:10 +07:00
parent ce49f12af9
commit 4ed88d8fa6
10 changed files with 8 additions and 8 deletions

View file

@ -1,5 +0,0 @@
export { validateMITLicense } from './src/validate-mit-license.js';
export { KeymanSentry, SentryNodeOptions } from './src/KeymanSentry.js';
export { getOption, loadOptions, clearOptions } from './src/options.js';
export { escapeMarkdownChar } from './src/markdown.js';
export { KeymanUrls } from './src/keyman-urls.js';

View file

@ -3,7 +3,7 @@
"description": "Keyman Developer utilities",
"type": "module",
"exports": {
".": "./build/index.js"
".": "./build/src/index.js"
},
"files": [
"/build/"

View file

@ -0,0 +1,6 @@
export { validateMITLicense } from './utils/validate-mit-license.js';
export { KeymanSentry, SentryNodeOptions } from './utils/KeymanSentry.js';
export { getOption, loadOptions, clearOptions } from './utils/options.js';
export { escapeMarkdownChar } from './utils/markdown.js';
export { KeymanUrls } from './utils/keyman-urls.js';

View file

@ -2,7 +2,7 @@ import * as fs from 'fs';
import { assert } from 'chai';
import 'mocha';
import { makePathToFixture } from './helpers/index.js';
import { validateMITLicense } from '../src/validate-mit-license.js';
import { validateMITLicense } from '../src/utils/validate-mit-license.js';
function verifyLicenseFile(filename: string) {
return validateMITLicense(fs.readFileSync(makePathToFixture('license', filename), 'utf-8'));

View file

@ -7,7 +7,6 @@
"baseUrl": ".",
},
"include": [
"index.ts",
"src/**/*.ts",
],
}