You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# WIP: still need to test this work since not covered in test suite.
## Problem
(title) since we want to fully remove this dependency.
## Solution
Use node's built in `fs` module.
This allows us to avoid forcing these scripts to depend on the project
code, and keep them as standalone node scripts.
### Notes
The outputs are identical in size, but the output of running `diff` of
two vsix files shows they are not the same:
```
Files qMaster/extension.vsixmanifest and qNew/extension.vsixmanifest differ
Files qMaster/extension/dist/src/extensionNode.js and qNew/extension/dist/src/extensionNode.js differ
Files qMaster/extension/dist/src/extensionWeb.js and qNew/extension/dist/src/extensionWeb.js differ
Files qMaster/extension/dist/test/web/testRunnerWebCore.js and qNew/extension/dist/test/web/testRunnerWebCore.js differ
Files qMaster/extension/dist/tsconfig.tsbuildinfo and qNew/extension/dist/tsconfig.tsbuildinfo differ
Files qMaster/extension/package.json and qNew/extension/package.json differ
Files qMaster/extension/resources/css/icons.css and qNew/extension/resources/css/icons.css differ
```
```
Files toolkitMaster/extension.vsixmanifest and toolkitNew/extension.vsixmanifest differ
Files toolkitMaster/extension/dist/src/extensionNode.js and toolkitNew/extension/dist/src/extensionNode.js differ
Files toolkitMaster/extension/dist/src/extensionWeb.js and toolkitNew/extension/dist/src/extensionWeb.js differ
Files toolkitMaster/extension/package.json and toolkitNew/extension/package.json differ
Files toolkitMaster/extension/resources/css/icons.css and toolkitNew/extension/resources/css/icons.css differ
```
- The manifest changes are due to the hash being different in the name. (safe)
- `package.json` is also due to the naming difference (safe).
- `icons.css` is different even on re-packaging the same project (safe)
- The .js files and tsbuildinfo differences are difficult to interpret and unsure if they are safe.
0 commit comments