Matt Bierner
d67db9d358
Pick up latest TS for building VS Code ( #172033 )
2023-01-23 11:39:28 -08:00
Tyler James Leonhardt
7c0e51357d
Pull l10n files from build folder for extensions that don't live in source ( #171217 )
...
This will allow the l10n build to pick up the bundle.l10n.json inside of js-debug
cc @connor4312
2023-01-13 08:34:14 +01:00
Tyler James Leonhardt
0510da84dd
Use new version of @vscode/l10n-dev that uses tree-sitter ( #169668 )
...
Use new version of @vscode/l10n-dev
Required a bit more refactoring because an API had to be made async.
2022-12-20 19:53:50 +01:00
Johannes
424a88c0ef
missing JS files
2022-11-15 09:05:07 +01:00
Johannes
66198056ea
source maps for build/lib
2022-11-14 11:56:32 +01:00
Johannes
58e979f39e
Merge branch 'main' into joh/rewrite-privates
2022-11-14 11:56:16 +01:00
Tyler James Leonhardt
964dc545ab
Pickup bundle.l10n.json ( #166169 )
...
For npm modules that have bundled `@vscode/l10n`, they can export their strings to a bundle.l10n.json file which will get picked up by this change and included in the overall bundle for the extension.
2022-11-12 14:42:39 -08:00
Johannes
696c1cf199
build utils with source map to enable JS debug console
2022-11-10 15:05:47 +01:00
Tyler James Leonhardt
a8ae2cedaf
Include JS files in XLF creation for extensions ( #165774 )
...
* Bumps @vscode/l10n-dev to a version that supports JS files
* Pulls in JS files (and TSX & JSX) in addition to TS to account for scenarios like Emmet which pulls in @vscode/emmet-helper as an npm package
2022-11-07 19:50:39 -08:00
Tyler James Leonhardt
0249ba460f
use the actual extension id as the id in the language pack ( #165436 )
...
Past behavior caused 404s to be thrown by the unpkg service because core was trying to load:
`${extensionId}` -> `vscode.markdown`
and not what the build creates in the language packs:
`vscode.${extensionFolder}` -> `vscode.markdown-basics`
this aligns build time and runtime.
2022-11-03 15:50:50 -07:00
Matt Bierner
e7e403d83f
Bump target for build scripts ( #165287 )
2022-11-03 12:19:54 -07:00
Tyler James Leonhardt
0a80e31f6f
Sort the keys in order to be more predictable ( #164920 )
...
sort the keys in order to be more predictable
2022-10-28 21:16:05 +02:00
Tyler James Leonhardt
4502088b10
fix empty check for json ( #163576 )
2022-10-13 11:01:05 -07:00
Tyler James Leonhardt
77d14a4711
use size to check if any files were added ( #163571 )
...
use size
2022-10-13 09:54:57 -07:00
Tyler James Leonhardt
a8108049ab
Allow extensions to use new API and it get included in Language Packs ( #163493 )
...
* Allow extensions to use new API and it get included in Language Packs
This leverages the l10n-dev package to analyze ts files for `l10n.t` calls.
* delete console.logs
2022-10-12 17:28:34 -07:00
Tyler James Leonhardt
342aa9c59a
Improvements to i18n ( #163372 )
...
* remove dead code from Transifex
* use @vscode/l10n-dev for XLF operations for extensions
* generated files
* more generated files
* remove dead code
* move l10n-dev to where gulp is
* generated
2022-10-12 14:10:57 -07:00
Tyler James Leonhardt
108916901d
Pull in web strings into Language Pack ( #158053 )
...
remove old tasks and include web strings in export
2022-08-15 13:46:34 -04:00
Tyler James Leonhardt
13f136fc46
Include comments exporting of translations ( #153769 )
...
Include comments in call to addFile. Fixes #150990
2022-06-30 11:11:48 +02:00
Martin Aeschlimann
915c863a3e
stripComments: remove trailing comma ( #151941 )
...
stripComments: remove trailing comma
2022-06-13 13:36:04 +00:00
Johannes
2c004b870f
recompile build folder with const over let
2022-06-09 10:59:11 +02:00
Dirk Baeumer
f8fe16b97a
Use regexp from stripComments.
2022-02-07 14:29:53 +01:00
Benjamin Pasero
eecbd962ef
debt - rename iconv-lite-umd package ( #140650 )
2022-01-14 07:28:41 +01:00
Matt Bierner
0762d23ae7
Build VS Code using TS 4.4 ( #127823 )
...
* Build VS Code using TS 4.4
* Remove usages of deprecated `ClientRectList`
* Add any casts for missing `caretRangeFromPoint`
* Add temporary any casts for `zoom` css propery
This non-standard css property no longer exists in lib.dom.d.ts
* MouseWheelEvent -> WheelEvent
* Pick up new TS nightly
Co-authored-by: Alexandru Dima <alexdima@microsoft.com >
2021-07-08 14:27:39 -07:00
Matt Bierner
298668ec72
Fix build build
2021-06-07 15:36:24 -07:00
Tyler James Leonhardt
f73f263c6b
Needed localization changes for converting xlfs to json ( #125442 )
...
* loc extension update changes
* log
* maybe this
* loggin
* use debug
* add language id
* log
* misc updates
2021-06-03 13:44:30 -07:00
Tyler Leonhardt
c324c61ad5
add closing tags
2021-06-02 09:25:46 -07:00
Dirk Baeumer
7051f7db88
Sort content of XLF files
2021-06-02 12:55:32 +02:00
Dirk Baeumer
1e57955c79
Remove handling of Default inno setup file
2021-05-31 15:22:01 +02:00
João Moreno
0a7a69f190
fix build compilation
2021-05-26 13:30:43 +02:00
Dirk Baeumer
2022aede92
Return early on promise reject.
2021-03-02 14:55:43 +01:00
Dirk Baeumer
ed1118b27b
Support empty messages during location import
2021-03-02 14:46:59 +01:00
Alexandru Dima
d1fff1a083
Check in .js files from the /build/ folder to improve build speeds
2020-12-14 11:13:16 +01:00
João Moreno
2469bf6832
remove build compilation output
2020-09-22 11:12:55 +02:00
João Moreno
8c8db45d5a
fix i18n
2020-07-08 16:17:14 +02:00
Fedor Nezhivoi
24e0a82229
Move encoding to common for #79275 ( #100539 )
...
* move encoding.ts to common for #79275
* load iconv-lite-umd and jschardet in web version for #79275
* move EncodingOracle to the AbstractTextFileService for #79275
* review
* update to new iconv-lite-umd
* add workaround for jschardet types
* fix indentation
* add iconv-lite-umd and jschardet to workbench.html
* fix paths for modules
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com >
2020-06-20 10:47:29 +02:00
Fedor Nezhivoi
314b58c8e1
switch to use iconv-lite-umd for #79275 ( #100472 )
...
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com >
2020-06-18 16:08:17 +02:00
Martin Aeschlimann
1136e2282c
marketplace extensions need browser and uiKind
2020-06-16 14:15:15 +02:00
Martin Aeschlimann
5a571dd2e9
marketplace web extensions build
2020-06-16 00:05:44 +02:00
Matt Bierner
b3fb87f556
Build VS Code using TS 4.0 ( #100033 )
...
* Build VS Code using TS 4.0
Also updates to an eslint alpha build that supports the new TS version
* Fix hygiene
2020-06-12 14:28:08 -07:00
Matt Bierner
8ca456495d
Revert 5865db6ca8
...
We are blocked on using TS 4.0 until eslint supports it
2020-06-05 13:57:42 -07:00
Matt Bierner
5865db6ca8
Update to build using TS 4.0-nightly
2020-06-05 13:21:22 -07:00
Dirk Baeumer
14281cfc18
Fixes #92352 : Translation export fail
2020-03-10 14:54:57 +01:00
Matt Bierner
ff253a8f60
Build VS Code with TS 3.9-nightly
2020-02-29 11:45:48 -08:00
Joao Moreno
136600a7bb
miss compilation
2019-09-17 09:58:33 +02:00
Dirk Baeumer
449b87dad8
Fixes #80985 : Language Pack import add ./build folder to internal LP structure.
2019-09-16 15:47:41 +02:00
Joao Moreno
5d7c8d9212
fix i18n for extensions
2019-09-04 08:05:47 +02:00
Matt Bierner
cf446b9233
Build VS Code using TS 3.6
...
Fixes #80079
Updates our build to use TS 3.6. Fixes a few changes to dom apis and adds a monkey patch for the node typings break in 3.6
2019-09-02 21:27:52 -06:00
Dirk Baeumer
3d92b725b2
Fixes #71065 : Bring back translation for standalone editor
2019-03-25 12:21:44 +01:00
Dirk Baeumer
1242997422
Fix problem with update localization script
2019-02-20 20:24:28 +01:00
Dirk Baeumer
95719e9158
Fixes vscode-translations-export failure
2019-02-18 16:28:31 +01:00