mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-07 08:07:43 +00:00
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:
parent
ce49f12af9
commit
4ed88d8fa6
10 changed files with 8 additions and 8 deletions
|
|
@ -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';
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"description": "Keyman Developer utilities",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./build/index.js"
|
||||
".": "./build/src/index.js"
|
||||
},
|
||||
"files": [
|
||||
"/build/"
|
||||
|
|
|
|||
6
developer/src/common/web/utils/src/index.ts
Normal file
6
developer/src/common/web/utils/src/index.ts
Normal 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';
|
||||
|
||||
|
|
@ -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'));
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
"baseUrl": ".",
|
||||
},
|
||||
"include": [
|
||||
"index.ts",
|
||||
"src/**/*.ts",
|
||||
],
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue