1e7af3a3e0
1. language.ts will be changed in every commit when commiting with a 'zh-cn' OS language setting. Fix it by specifying the locale 'en' when sorting languages with localeCompare(). 2. The parameter of glob.sync() must in posix path form. In Win32 system the path separator '\\' considered as a escape char by node-glob, Fix it by replace '\\' with '/'. 3. build-api with child_process.execFile() will cause "Error: spawn yarn ENOENT" in Win32. Replace it with child_process.exec(). ### Change Type - [ ] `patch` — Bug fix - [ ] `minor` — New feature - [ ] `major` — Breaking change - [ ] `dependencies` — Changes to package dependencies[^1] - [ ] `documentation` — Changes to the documentation only[^2] - [ ] `tests` — Changes to any test code only[^2] - [x] `internal` — Any other changes that don't affect the published package[^2] - [ ] I don't know [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### Release Notes - stablize language.ts when running under different OS language. - add isWin32() and posixPath() to format the parameter of glob.sync(). - use child_process.exec() instead of child_process.execFile() for win32 platform. |
||
---|---|---|
.. | ||
lib | ||
vercel | ||
api-check.ts | ||
build-api.ts | ||
build-package.ts | ||
CHANGELOG.md | ||
check-scripts.ts | ||
clean.sh | ||
deploy.ts | ||
lint.ts | ||
package.json | ||
postpack.sh | ||
prepack.ts | ||
prune-preview-deploys.ts | ||
publish-canary.ts | ||
publish-manual.ts | ||
publish-new.ts | ||
purge-css.ts | ||
refresh-assets.ts | ||
tsconfig.json | ||
typecheck.ts |