* Better notebook markup renderer api
For #121256
- Use js modules for notebook output renderers
- Rename apis from `markdown` to `markup`
- Use imports and exports for apis instead of globals for apis
- Use esbuild instead of webpack so we can emit js modules
- Clearly split top level markup renderes from renderers that extend other renderers
* Use constant instead of comment for replacement
This npx call was installing node-gyp 8.0 which requires a newer version of Python then what's in our containers.
I've removed it but also followed the advice of the comment that says only remove it if prebuild-install is updated in keytar...
So I updated keytar's dependencies which pulled in prebuild-install 6.1.1 with the fix.
If this isn't the right move, feel free to revert and then we can move to Debian Buster which has a version of Python that is new enough.
Use `snap pack --compression=lzo` instead of letting snapcraft pack the final
snap, as the current snapcraft.yaml is not setup to use any base in it, and as
such is missing the new feature for configuring the compression of the final
snap.
Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
Split darwinBundleDocumentType into two separate functions. The first function is unchanged.
The second function allows you to specify specific names for different groups of extensions while all sharing the same icon. For example, this would allow you to differentiate between a C header and a C source file while using the same icon for both.
Inherently, the second function will generate multiple file type declarations, so it returns an array instead of a single object. As a result we must use the splat operator on it when passing the result to an array literal.
Allow the caller to provide a specific file type description.
The new function will not require source changes to existing calls, but will change how the file type description is generated. An unmodified call to darwinBundleDocumentType will use the given icon name as the file type description. All extensions passed to this function continue to use the same icon as before, and all extensions will have the same file type description as before.
With this change, to define a document type, you need only pass the name (or relative path) of the darwin icon.
So instead of passing 'resources/darwin/css.icns' you would just pass 'css'
* ci: [mac] Unify tasks between different flavors
* take 3
* remove zip
* unzip in place
* logging
* log
* rm zip
* all the things
* remove thing to trigger another build
* publish server for x64 only and only start on non-arm
* delete commented out code
* remove unused sh script
* address main changes
* address feedback
* add a comment
* try slimming down yarn
* only compile createAsset
* install typescript
* move build to correct location
* change to 64
* add useful comments based on joao
Co-authored-by: deepak1556 <hop2deep@gmail.com>