@good-fences/api
Advanced tools
Comparing version 0.13.0 to 0.13.1
@@ -5,3 +5,18 @@ { | ||
{ | ||
"date": "Tue, 09 Apr 2024 21:52:40 GMT", | ||
"date": "Thu, 18 Apr 2024 00:06:17 GMT", | ||
"version": "0.13.1", | ||
"tag": "@good-fences/api_v0.13.1", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"author": "edgarivanv@microsoft.com", | ||
"package": "@good-fences/api", | ||
"commit": "4fd3fac0befa69b789b35ffe3e1d0b9d3e27f7de", | ||
"comment": "Fix UnusedFinder struct not using in-memory representation" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Tue, 09 Apr 2024 21:53:14 GMT", | ||
"version": "0.13.0", | ||
@@ -8,0 +23,0 @@ "tag": "@good-fences/api_v0.13.0", |
# Change Log - @good-fences/api | ||
This log was last generated on Tue, 09 Apr 2024 21:52:40 GMT and should not be manually modified. | ||
This log was last generated on Thu, 18 Apr 2024 00:06:17 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 0.13.1 | ||
Thu, 18 Apr 2024 00:06:17 GMT | ||
### Patches | ||
- Fix UnusedFinder struct not using in-memory representation (edgarivanv@microsoft.com) | ||
## 0.13.0 | ||
Tue, 09 Apr 2024 21:52:40 GMT | ||
Tue, 09 Apr 2024 21:53:14 GMT | ||
@@ -11,0 +19,0 @@ ### Minor changes |
{ | ||
"name": "@good-fences/api", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"main": "index.js", | ||
@@ -46,7 +46,7 @@ "types": "index.d.ts", | ||
"optionalDependencies": { | ||
"@good-fences/api-win32-x64-msvc": "0.13.0", | ||
"@good-fences/api-darwin-x64": "0.13.0", | ||
"@good-fences/api-linux-x64-gnu": "0.13.0", | ||
"@good-fences/api-darwin-arm64": "0.13.0" | ||
"@good-fences/api-win32-x64-msvc": "0.13.1", | ||
"@good-fences/api-darwin-x64": "0.13.1", | ||
"@good-fences/api-linux-x64-gnu": "0.13.1", | ||
"@good-fences/api-darwin-arm64": "0.13.1" | ||
} | ||
} |
154
unused.js
#! /usr/bin/env node | ||
let unused = require("./index").findUnusedItems; | ||
const entry = [ | ||
"**/owa-calendar-deeplink-opx-bootstrap/**", | ||
"**/owa-publishedcalendar-bootstrap/**", | ||
"**/owa-mail-bootstrap/**", | ||
"**/owa-deeplink-bootstrap/**", | ||
"**/owa-mail-deeplink-opx-bootstrap/**", | ||
"**/meet-bootstrap/**", | ||
"**/owa-message-recall/**", | ||
"**/native-host-bootstrap/**", | ||
"**/native-host-deep-bootstrap/**", | ||
"**/owa-tokenprovider/**", | ||
"**/owa-bookings-bootstrap/**", | ||
"**/owa-bookingsv2-bootstrap/**", | ||
"**/owa-bookings-mobile-bootstrap/**", | ||
"**/owa-bookings-c2-bootstrap/**", | ||
"**/owa-serviceworker-v2/**", | ||
"**/owa-webpush-serviceworker/**", | ||
"**/owa-findtime-bootstrap/**", | ||
"**/owa-jit-experience/**", | ||
"**/eventify-bootstrap/**", | ||
"**/owa-opx-app-bootstrap/**", | ||
"**/owa-safelink-waitingpage/**", | ||
"**/owa-calendar-widget/**", | ||
"**/owa-todo-widget/**", | ||
"**/bookwithme-bootstrap/**", | ||
"**/owa-ads-frame/**", | ||
"**/owa-adbar-frame/**", | ||
"**/owa-fluent-icons-svg/App/**", | ||
"**/oobe-bootstrap/**", | ||
"**/addison-bootstrap/**", | ||
"**/places-bootstrap/**", | ||
"**/owa-immersive-bizchat-bootstrap/**", | ||
"**/owa-immersive-bizchat-bootstrap/**", | ||
]; | ||
const entries = [ | ||
"owa-addins-osfruntime-resources", | ||
"owa-analytics", | ||
"owa-analytics-worker", | ||
"owa-data-worker", | ||
"owa-data-worker-bootstrap", | ||
"owa-fluent-icons-svg", | ||
"owa-fluent-mobile-brand-icons-svg", | ||
"addison-bootstrap", | ||
"bookwithme-bootstrap", | ||
"create-clone-opx", | ||
"eventify-bootstrap", | ||
"meet-bootstrap", | ||
"native-host-bootstrap", | ||
"native-host-deep-bootstrap", | ||
"oobe-bootstrap", | ||
"owa-adbar-frame", | ||
"owa-ads-frame", | ||
"owa-bookings-bootstrap", | ||
"owa-bookings-c2-bootstrap", | ||
"owa-bookings-mobile-bootstrap", | ||
"owa-bookingsv2-bootstrap", | ||
"owa-calendar-deeplink-opx-bootstrap", | ||
"owa-calendar-widget", | ||
"owa-data-worker-bootstrap", | ||
"owa-deeplink-bootstrap", | ||
"owa-findtime-bootstrap", | ||
"owa-immersive-bizchat-bootstrap", | ||
"owa-jit-experience", | ||
"owa-mail-bootstrap", | ||
"owa-mail-deeplink-opx-bootstrap", | ||
"owa-message-recall", | ||
"owa-new-user-setup", | ||
"owa-opx-app-bootstrap", | ||
"owa-publishedcalendar-bootstrap", | ||
"owa-safelink-waitingpage", | ||
"owa-semantic-overview", | ||
"owa-serviceworker-v2", | ||
"owa-todo-widget", | ||
"owa-tokenprovider", | ||
"owa-webpush-serviceworker", | ||
"places-bootstrap", | ||
"pwa-localization", | ||
"sample-query-common", | ||
"sample-query-field-policy", | ||
]; | ||
'owa-analytics', | ||
'owa-analytics-worker', | ||
'owa-fluent-icons-svg', | ||
'owa-semantic-overview', | ||
'owa-fluent-mobile-brand-icons-svg', | ||
'owa-data-worker-bootstrap', | ||
'owa-new-user-setup', | ||
'owa-patch-console', | ||
'create-clone-opx', | ||
'sample-query-common', | ||
'owa-data-worker', | ||
'pwa-localization', | ||
'owa-addins-osfruntime-resources', | ||
'sample-query-field-policy', | ||
'addison-bootstrap', | ||
'bookwithme-bootstrap', | ||
'copilot-hub-bootstrap', | ||
'eventify-bootstrap', | ||
'meet-bootstrap', | ||
'native-host-bootstrap', | ||
'native-host-deep-bootstrap', | ||
'oobe-bootstrap', | ||
'owa-adbar-frame', | ||
'owa-ads-frame', | ||
'owa-bookings-bootstrap', | ||
'owa-bookings-c2-bootstrap', | ||
'owa-bookings-mobile-bootstrap', | ||
'owa-bookingsv2-bootstrap', | ||
'owa-calendar-deeplink-opx-bootstrap', | ||
'owa-calendar-hosted-bootstrap', | ||
'owa-calendar-widget', | ||
'owa-deeplink-bootstrap', | ||
'owa-findtime-bootstrap', | ||
'owa-hip-challenge-frame', | ||
'owa-immersive-bizchat-bootstrap', | ||
'owa-immersive-bizchat-bootstrap', | ||
'owa-jit-experience', | ||
'owa-mail-bootstrap', | ||
'owa-mail-deeplink-opx-bootstrap', | ||
'owa-message-recall', | ||
'owa-opx-app-bootstrap', | ||
'owa-publishedcalendar-bootstrap', | ||
'owa-safelink-waitingpage', | ||
'owa-serviceworker-v2', | ||
'owa-todo-widget', | ||
'owa-webpush-serviceworker', | ||
'places-bootstrap' | ||
] | ||
const { UnusedFinder } = require("./index"); | ||
const workers = require("/workspaces/client-web/workers.glob.json"); | ||
let report = unused({ | ||
let report = new UnusedFinder({ | ||
entryPackages: entries, | ||
@@ -96,11 +65,11 @@ filesIgnoredExports: [], | ||
// ...workers.excludedFiles, | ||
"**/osfruntime_strings.js", | ||
"**/test/**", | ||
"**/scripts/**", | ||
"**/*.Test.ts", | ||
"**/*.Tests.ts", | ||
"**/*.d.ts", | ||
"**/*.d.scss.ts", | ||
"**/*.d.json.ts", | ||
"**/*.d.css.ts", | ||
"**/osfruntime_strings.js", | ||
"**/test/**", | ||
"**/scripts/**", | ||
"**/*.Test.ts", | ||
"**/*.Tests.ts", | ||
"**/*.d.ts", | ||
"**/*.d.scss.ts", | ||
"**/*.d.json.ts", | ||
"**/*.d.css.ts", | ||
], | ||
@@ -110,2 +79,5 @@ skippedItems: [], | ||
}); | ||
console.log(report); | ||
console.log(report.findUnusedItems([]).unusedFiles); | ||
// report.unusedFiles.forEach((file) => { | ||
// console.log(file); | ||
// }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
302584
873