Skip to content

Commit

Permalink
fix(app): revert added URL options and UI components package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
9inpachi committed Mar 29, 2021
1 parent ee13bce commit 96f0649
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
5 changes: 0 additions & 5 deletions guides/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,6 @@ Available options are:
* **type** : type of the event data file (for example, `jivexml` or `json`)
* **config** : path or URL to the config or state file (this is the JSON file you get when you save state from the Phoenix menu)
* **hideWidgets** : hide all overlay widgets including Phoenix menu and iconbar
* **hideUIMenu** : hide UI menu
* **hideExperimentInfo** : hide experiment info at the top left
* **hidePhoenixMenu** : hide Phoenix menu
* **hideDatGUIMenu** : hide dat.GUI menu (if enabled)
* **hideStats** : hide stats at the bottom left

For example, event from a JSON event data file served through `/assets/event_data/data.json` can be loaded through the following URL:

Expand Down
14 changes: 2 additions & 12 deletions packages/phoenix-ng/projects/phoenix-ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"_theming.scss"
],
"scripts": {
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by NGCC. This is not allowed.\\nPlease delete and rebuild the package, without compiling with NGCC, before attempting to publish.\\nNote that NGCC may have been run by importing this package into another project that is being built with Ivy enabled.\\n')\" && exit 1",
"prepublishOnly__ivy_ngcc_bak": "ng build phoenix-ui-components --prod && rm -rf ./dist/package.json"
"prepublishOnly": "ng build phoenix-ui-components --prod && rm -rf ./dist/package.json"
},
"peerDependencies": {
"@angular/common": "^11.1.1",
Expand All @@ -33,20 +32,11 @@
"tslib": "^2.0.1"
},
"main": "dist/bundles/phoenix-ui-components.umd.js",
"module_ivy_ngcc": "__ivy_ngcc__/dist/fesm2015/phoenix-ui-components.js",
"module": "dist/fesm2015/phoenix-ui-components.js",
"es2015_ivy_ngcc": "__ivy_ngcc__/dist/fesm2015/phoenix-ui-components.js",
"es2015": "dist/fesm2015/phoenix-ui-components.js",
"esm2015": "dist/esm2015/phoenix-ui-components.js",
"fesm2015_ivy_ngcc": "__ivy_ngcc__/dist/fesm2015/phoenix-ui-components.js",
"fesm2015": "dist/fesm2015/phoenix-ui-components.js",
"typings": "dist/phoenix-ui-components.d.ts",
"metadata": "dist/phoenix-ui-components.metadata.json",
"sideEffects": false,
"__processed_by_ivy_ngcc__": {
"es2015": "11.1.1",
"fesm2015": "11.1.1",
"module": "11.1.1",
"typings": "11.1.1"
}
"sideEffects": false
}

0 comments on commit 96f0649

Please sign in to comment.