mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 17:05:34 +00:00
The build/ folder for most packages was missing due to being listed in .gitignore. Also, @keymanapp/ldml-keyboard-constants package was not being published despite being a dependency of @keymanapp/kmc-keyboard. Instead of relying on npm's use of .gitignore / .npmignore (which has seriously wonky behaviours), we list the files that should be included in package.json. NPM Wonky behaviours: it seems that .npmignore causes .gitignore in the same folder to be ignored. But, higher level .gitignore files still affect the files included in the package, which makes specification-by-exclusion painful (negating exclusions, etc). We do not recommend use of .npmignore anywhere for this reason.
23 lines
494 B
JSON
23 lines
494 B
JSON
{
|
|
"name": "@keymanapp/keyman-version",
|
|
"description": "Keyman global version data",
|
|
"main": "./build/index.js",
|
|
"exports": {
|
|
".": {
|
|
"import": "./build/keyman-version.mjs",
|
|
"require": "./build/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"/build/"
|
|
],
|
|
"scripts": {
|
|
"build": "echo 'Building @keymanapp/keyman-version' && tsc -b",
|
|
"clean": "tsc -b --clean"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/node": "^18.7.13",
|
|
"typescript": "^4.9.5"
|
|
}
|
|
}
|