This is the Core extension for Adobe Experience Platform Tags. It provides default event, condition, and data element types available to all Tags properties.
Contributions are welcomed! Read the Contributing Guide for more information about how our community works.
yarn install
.Several npm scripts have been provided for assisting in development. Each script can be run by navigating to the cloned repository directory in a terminal and executing npm run scriptname
where scriptname
is the name of the script you would like to run. The most useful scripts are as follows:
sandbox
Spins up a sandbox where extension views and library modules can be manually tested. See the @adobe/reactor-sandbox README for more information.test
Runs unit tests against source files. Tests can be found in the src
directory within files ending in .test.js
.test:watch
Same as test
, but will re-run the tests as you change source files or test files.lint
Analyzes code for potential errors.Thank you for your interest in contributing!
This project depends on the @react/react-spectrum package which depends on the @react/collection-view package. Neither package is published to the public npm repository. In order to support their installation and use, they have been included in this project as tar files. Each file has been prepended with the following message regarding the license:
/**
* Use of this code is governed by the Adobe Terms of Use and
* Adobe Developer Additional Terms, and the license attached
* to this repo does not apply.
*/
While changing package.json
to point to the tar file for @react/react-spectrum is simple and natively supported by npm, this is not the case with @react/collection-view, since it is a dependency of @react/react-spectrum. To solve this problem, this project uses Yarn for installing dependencies since it natively supports selective dependency resolutions.