Commit Graph

22 Commits

Author SHA1 Message Date
Josh Spicer
50ce0dfc8b Ensure no repeat categories in ADMX/ADML (#250143)
Ensure no repeat categories in ADMX/ADML (fix: https://github.com/microsoft/vscode/issues/248917)
2025-05-31 09:42:59 -07:00
João Moreno
06b480f0e2 fixes #243131 (#244755) 2025-03-26 16:46:21 +01:00
Sandeep Somavarapu
fbdf6dd079 fix parsing policies (#244562) 2025-03-25 11:10:34 +01:00
Josh Spicer
9595934bdb Generate macOS configuration profiles (#241773)
* generate configuration policy and manifests

* add darwin pipeline job

* argument for per-platform generation of policy

* adopt argument in pipeline

* formatting tweaks in generated profile (+ check in .js file)

* tidy up output plists

* copy policy definitions

* implement the remaining renderProfileValue()

* remove unnecessary platform option

* copy to .app in vscode-darwin-$PLATFORM-min-ci gulp task

* add darwinProfileUUID and darwinProfilePayloadUUID to product.json

* better way to package in gulp script

* bump distro commit (c3ec5ba485)

* Add bundles policy paths to macOS universal build 'filesToSkip'

Needs this when creating universal macOS app:

Expected all non-binary files to have identical SHAs when creating a universal build
but "Contents/Resources/app/policies/cs-cz/com.microsoft.VSCodeInsiders.plist" did not

See:
298a872f5f/src/index.ts (L163-L172)
2025-03-13 17:12:25 -07:00
João Moreno
b59ae26ad3 fix policy generation (#243429)
cc @justschen
2025-03-13 10:24:52 +01:00
Sandeep Somavarapu
e3f0fe37ba fix #237915 (#239966) 2025-02-10 15:12:38 +01:00
Aman Karmani
e76c50f20e build: switch build/tsconfig.json to module: nodenext (#238426)
* build/tsconfig: switch to module: nodenext for bun compat

* build: rewrite imports for nodenext compat

* build: re-generate
2025-01-22 20:12:39 +01:00
Sandeep Somavarapu
f59439b9a0 revert to text type for object policies (#234985) 2024-12-02 15:46:52 +01:00
Sandeep Somavarapu
6c6eb1e166 Support object type policy (#234428)
* #84756 Support object type policy

* add new policy object for array and object

* add new policy object type

* checkin policies.js file

* review

* fix warning

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2024-11-25 14:23:30 +00:00
João Moreno
e469272e45 remove inline sourcemaps from build files (#198842) 2023-11-22 14:05:46 +01:00
João Moreno
87e7f8b5e1 replace node-fetch with native fetch (#198408)
* replace node-fetch with native fetch

* fix dep version

* handle terminated error from fetch

* more error handling
2023-11-16 17:29:35 +01:00
Matt Bierner
10d94ba0f3 Pick up latest TS nightly for building VS Code (#194631) 2023-10-02 19:40:35 +01:00
Johannes
696c1cf199 build utils with source map to enable JS debug console 2022-11-10 15:05:47 +01:00
Matt Bierner
e7e403d83f Bump target for build scripts (#165287) 2022-11-03 12:19:54 -07:00
Matt Bierner
687712b871 Pick up latest TS nightly for building VS Code (#161127) 2022-09-16 10:37:58 -07:00
João Moreno
934940b58d Improve language pack fetching for policies (#159048)
fixes #157219
2022-08-24 14:10:48 +02:00
Benjamin Pasero
73fd3f1103 fix build (#157217)
* fix build

* fix compile

* flaky

* .
2022-08-05 09:16:20 +02:00
João Moreno
f44c00cac8 Download policy translations for previous version if current version fails (#154892) 2022-07-12 07:58:50 +02:00
João Moreno
274aed07cc policies: skip languages which do not exist (#154395) 2022-07-08 06:03:08 +02:00
João Moreno
5854ef865c Generate policies again (#149322)
* Generate ADMX/ADML policy declaration files from static analysis

Fixes: #148941

* fix build

* move to optional dependencies
2022-05-12 09:16:03 +02:00
Joyce Er
ba8ced85c5 Revert "Generate ADMX/ADML policy declaration files from static analysis" (#149194)
This reverts commit dcfe6b3b84.
2022-05-10 16:30:34 -07:00
João Moreno
dcfe6b3b84 Generate ADMX/ADML policy declaration files from static analysis
Fixes: #148941
2022-05-10 13:17:05 +02:00