-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate tracker build + tests w/ Vite, Turborepo, & Playwright (#132)
* First start at turborepo * Remove temp turbo files, fix public dir * Fix gitignore * Add tracker subrepo * Move typescript to root package * Move prettier to root project * Empty tsconfig * Copy dist/tracker.js to server /public dir * Fix tests, precommit hooks * Add deploy task * Run single turbo run command on precommit * Add playwright tests for tracker script * Add test to verify request to /collect * Remove example tests * Test asserts query string is good * Remove tmp files * Attempt to fix GH actions * GH action fix attempt #2 * Add wrangler to root package.json * Update package-lock * Add "preview" turbo command, edit README w/ new turbo commands * Convert tracker to typescript * Get tracker tests into folders (get ready for multiple tests) * Rename tracker.js to reporter.js * Add missing /reporter dir * Add data-site-id initialization method * Update README for simplified initialization method * Rename workspaces to packages * Rename test file to better mirror 01_legacyInit * Add eslint to reporter package * Typecheck needs to build first * Rollback newly introduced API methods (unnecessary) * Update typescript * Same typescript version in both packages * Update package lock * Rename reporter back to tracker * Update eslint typescript tooling to suppress warnings * Update turbo dependencies
- Loading branch information
1 parent
7aa1b99
commit dde61a4
Showing
92 changed files
with
25,381 additions
and
7,277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
node_modules | ||
|
||
/.cache | ||
/.wrangler | ||
/build | ||
/public/build | ||
.cache | ||
.wrangler | ||
build | ||
dist | ||
public/build | ||
.env | ||
|
||
.dev.vars | ||
|
||
coverage | ||
coverage | ||
.turbo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.