forked from tldraw/tldraw
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add deploy step for core #9
Merged
Merged
Conversation
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
jamesopti
reviewed
Jul 7, 2022
packages/tldraw/package.json
Outdated
@@ -42,7 +42,7 @@ | |||
}, | |||
"dependencies": { | |||
"@stitches/react": "^1.2.8", | |||
"@tldraw/core": "^1.14.0", | |||
"@tldraw/core": "npm:@gamma-app/tldraw-core@latest", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like we talked about IRL
Suggested change
"@tldraw/core": "npm:@gamma-app/tldraw-core@latest", | |
"@tldraw/core": "npm:@gamma-app/tldraw-core@1.15.0", |
jamesopti
approved these changes
Jul 7, 2022
thatsjonsense
added a commit
that referenced
this pull request
Jul 11, 2022
* Add deploy step for core * Alias tldraw core * Pin core version
thatsjonsense
added a commit
that referenced
this pull request
Jul 11, 2022
* [improvement] Add `getContent` and `insertContent` methods (tldraw#726) * Add insertContent method, update copyJson * Add more tests * Update TldrawApp.spec.ts * Adds option object for select, point, and uses in paste * 1.17.0 * Add overwrite option to insertContent (tldraw#730) * fix clipboard.read error on Firefox (tldraw#729) See more @ https://stackoverflow.com/questions/67440036/navigator-clipboard-readtext-is-not-working-in-js/67442777#67442777 * 1.7.2, add Vec.distanceTo / Vec.nearestPointOnBounds * Update Vec * Update MultiplayerMenu.tsx * Update MultiplayerMenu.tsx * 1.17.2 * Adding Arabic Language (tldraw#732) * Create ar.json * Update Tldraw.tsx * Update types.ts * Update LanguageMenu.tsx * Update Tldraw.tsx * Update LanguageMenu.tsx * [fix] bug with images that have the same name (tldraw#743) * add unique id to file names to avoid name clashes * Add event callbacks for `onSessionStart` and `onSessionEnd` * arrows ignore locked shapes (tldraw#745) * Upgrade Liveblocks to 0.17 (tldraw#738) * Upgrade Liveblocks packages to 0.17 * Convert app to recommended Liveblocks 0.17 setup * Convert multiplayer example to recommended Liveblocks 0.17 setup * Convert multiplayer-with-images example to recommended Liveblocks 0.17 setup * Fix React rendering issue for multiplayer app This bug could manifest after _navigating_ internally to the Multiplayer example app. Liveblocks Storage would seem to remain empty, but Presence would still seem to work. In other words, you'd see cursors flying, but no document contents. This did not happen when doing a full page load. This bug only occurs in React strict mode. * update onPatch and onCommand * "Add event callbacks for `onSessionStart` and `onSessionEnd`" * Adds edit state * Pass callbacks to app * Remove console logs * interpolate cursor only when not in session * Update multiplayer icon * Fix a few things Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * add translation guide (tldraw#746) * update example * 1.18.0 * Update translation.md * Bump electron from 17.0.0 to 17.2.0 (tldraw#749) Bumps [electron](https://github.com/electron/electron) from 17.0.0 to 17.2.0. - [Release notes](https://github.com/electron/electron/releases) - [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md) - [Commits](electron/electron@v17.0.0...v17.2.0) --- updated-dependencies: - dependency-name: electron dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump electron from 17.0.0 to 17.2.0 in /apps/electron (tldraw#748) Bumps [electron](https://github.com/electron/electron) from 17.0.0 to 17.2.0. - [Release notes](https://github.com/electron/electron/releases) - [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md) - [Commits](electron/electron@v17.0.0...v17.2.0) --- updated-dependencies: - dependency-name: electron dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump next-auth from 4.3.3 to 4.5.0 (tldraw#747) Bumps [next-auth](https://github.com/nextauthjs/next-auth) from 4.3.3 to 4.5.0. - [Release notes](https://github.com/nextauthjs/next-auth/releases) - [Changelog](https://github.com/nextauthjs/next-auth/blob/main/CHANGELOG.md) - [Commits](https://github.com/nextauthjs/next-auth/compare/next-auth@v4.3.3...next-auth@v4.5.0) --- updated-dependencies: - dependency-name: next-auth dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: add korean translation (tldraw#752) * feat: add korean translation * chore: fix typo * chore: fix typo (tldraw#753) * Fix bugs - local server bug - improve types for translations - fix missing italian translation - fix double ungroup label * Add locked indicator * refactor translations * Update translation.md * Update translation.md * rename translations * Japanese translation (tldraw#756) * Japanese translation * fix: replace empty string to space. * fix: improve Japanese * Add norwegian translation (tldraw#757) * feat: add norwegian translation * arrange text in alphabetical order * sort by code * rename en.json to main.json Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * feat: spanish language (tldraw#755) * feat: spanish language * Update translations.ts Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * Turkish Language (tldraw#754) * Turkish Language Added * Turkish changed to Türkçe * Update translations.ts Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * Polish translations (tldraw#758) * polish translations * translations guide typo fix * 1.18.1 * Improve UX for renaming text fields (tldraw#761) * Update DrawSession.ts (tldraw#762) * Add Nepali translation (tldraw#760) * Add nepali language json * Add nepali translation * fix: add `preventDefault` (tldraw#764) * fix: correct translation term (tldraw#763) * feat: spanish language * Update translations.ts * fix: correct translation term Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * Added translations to Portuguese (pt-br) (tldraw#759) * Added translations to Portuguese (pt-br) * Update translations.ts Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * Added Danish translation (tldraw#765) * Update TldrawApp.ts (tldraw#766) * Added page rearranging by dragging (desktop only) (tldraw#768) * Added page rearranging by dragging (desktop only) * Increment page names correctly, create drop indicator Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * Translation german (tldraw#771) * Translated to German Translated the page to German. There may be some inaccurate translations, because some phrases depend on context i.e. "to fit" or "binding handles", but it is comprehensible in German. * Update de.json * fix bugs on page move Update TldrawApp.ts * Update PageMenu.tsx * Update PageMenu.tsx * 1.18.2 * Update PageMenu.tsx * Translation german (tldraw#772) * Translated to German Translated the page to German. There may be some inaccurate translations, because some phrases depend on context i.e. "to fit" or "binding handles", but it is comprehensible in German. * Update de.json * Update de.json Updated some translations with respect to their context Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * new tab extension (tldraw#773) * Add new tab extension * Update package.json * Update package.json * Update screenshot / manifest * Delete dist.crx * prevent escape from undoing text change * 1.18.3 * Add Farsi translations (tldraw#778) * Add Farsi translations * fix translations.ts * Update translations.ts Co-authored-by: Saeed Alipoor <alipoor.sa@gmail.com> Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * Add a Russian translation (tldraw#777) * Add Russian translation * Update translations.ts Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * Revise the Russian translation (tldraw#784) I'm sorry for not catching some unnatural-sounding strings in it earlier, but I guess it's better late than never. * Implemented better page numbering (tldraw#779) * Implemented better page numbering * Added spanish and french translation * Add tests, fix regex * Improve page naming logic Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * 1.19.0 (tldraw#789) * Edit Farsi translations (tldraw#788) * Add a Ukrainian translation (tldraw#786) * Add a Ukrainian translation * Clarify some strings in the Ukrainian translation * feat: change dock position (tldraw#774) * feat: change dock position * fix grid row and column * add top position * fix responsive for the top position * change content side * fix overflowing menu * [improvement] theme on body (tldraw#790) * Update Tldraw.tsx * Add theme on body, adjust dark page options dialog * fix test * Preparing for global integration (tldraw#775) * Update translations.ts * Create en.json * Make main translation default * Remove unused locale property of translation Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * Fix language menu * Update ar.json (tldraw#793) * feature/add Hebrew translations (tldraw#792) * hebrew translations * pr fixes Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * fix toolspanel item position (tldraw#791) * fix toolspanel item position * add translation Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * Add remote caching * Adds link to translation guide (tldraw#794) Co-authored-by: Baahar Ebrahimi <108254874+Baahaarmast@users.noreply.github.com> Co-authored-by: walking-octopus <46994949+walking-octopus@users.noreply.github.com> Co-authored-by: Judicael <46365844+judicaelandria@users.noreply.github.com> Co-authored-by: Ali Alhaidary <75235623+ali-alhaidary@users.noreply.github.com> Co-authored-by: gadi246 <gadi246@gmail.com> * 1.19.0 * 1.20.0 (tldraw#797) * Edit Farsi translations (tldraw#788) * Add a Ukrainian translation (tldraw#786) * Add a Ukrainian translation * Clarify some strings in the Ukrainian translation * feat: change dock position (tldraw#774) * feat: change dock position * fix grid row and column * add top position * fix responsive for the top position * change content side * fix overflowing menu * [improvement] theme on body (tldraw#790) * Update Tldraw.tsx * Add theme on body, adjust dark page options dialog * fix test * Preparing for global integration (tldraw#775) * Update translations.ts * Create en.json * Make main translation default * Remove unused locale property of translation Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * Fix language menu * Update ar.json (tldraw#793) * feature/add Hebrew translations (tldraw#792) * hebrew translations * pr fixes Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * fix toolspanel item position (tldraw#791) * fix toolspanel item position * add translation Co-authored-by: Steve Ruiz <steveruizok@gmail.com> * Add remote caching * Adds link to translation guide (tldraw#794) * Update ar.json (tldraw#795) * [feature] readonly link (tldraw#796) * Copy readonly link * Update [id].tsx * Add readonly label * update psuedohash * Update utils.ts Co-authored-by: Baahar Ebrahimi <108254874+Baahaarmast@users.noreply.github.com> Co-authored-by: walking-octopus <46994949+walking-octopus@users.noreply.github.com> Co-authored-by: Judicael <46365844+judicaelandria@users.noreply.github.com> Co-authored-by: Ali Alhaidary <75235623+ali-alhaidary@users.noreply.github.com> Co-authored-by: gadi246 <gadi246@gmail.com> * add dock position to migrate, cleanup code * Update MultiplayerMenu.tsx * Fix link * Update utils.ts * Update main.json * Fix panel position on mobile * 1.19.1 * [feature] Iframe warning (tldraw#800) * erp * Update ToolsPanel.tsx * Restore fixes * fix browser zoom while editing text (tldraw#802) * Move radix UI to dev deps. export core as core. add padding argument to zoomToFit * export vec version bump remove curve * revert export of core packages * export shapeStyleHelpers * shapesShared * Disable image box shadow * Disable image box shadow * Add attrs for shape styles * Expose colors on text labels * cleanup * Add deploy step for core (#9) * Add deploy step for core * Alias tldraw core * Pin core version * First deploy core * Deploy core script * Fix core permissions * Consume core from tldraw * yarnrc * .yarnrc * .yarnrc for child packages * try workspace * Revert "try workspace" This reverts commit 1999219. * add top level npmrc * Increase line height, bump versions Revert "yarnrc" This reverts commit 48b0625. core first ugh Revert "Revert "yarnrc"" This reverts commit 8dd73bb. * restore yarn.lock * bump tldraw to use new core * fix merge, version bump, fix tests * remove yarn line Co-authored-by: Steve Ruiz <steveruizok@gmail.com> Co-authored-by: Jack Bauer <2308123+dmx974@users.noreply.github.com> Co-authored-by: Ali Alhaidary <75235623+ali-alhaidary@users.noreply.github.com> Co-authored-by: Vincent Driessen <me@nvie.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: cog25 <74242561+cog25@users.noreply.github.com> Co-authored-by: Sugit <sgmt.snj@gmail.com> Co-authored-by: Sigve Hansen <sighan12@gmail.com> Co-authored-by: Juan Carlos Acosta Perabá <juancarlos.ap.dev@gmail.com> Co-authored-by: Oğuzhan Durgut <59341039+odurgut@users.noreply.github.com> Co-authored-by: Daniel Alberski <33758694+adan2013@users.noreply.github.com> Co-authored-by: pramitmarattha <pramitmarattha5497@gmail.com> Co-authored-by: Mark Ladyshau <47859603+mrkldshv@users.noreply.github.com> Co-authored-by: Victor Novais <vicnovais@gmail.com> Co-authored-by: Anders Bech Mellson <mellson@icloud.com> Co-authored-by: Enrico <39310565+Leone25@users.noreply.github.com> Co-authored-by: Jan Bessler <64578396+Jaybee18@users.noreply.github.com> Co-authored-by: Baahar Ebrahimi <108254874+Baahaarmast@users.noreply.github.com> Co-authored-by: Saeed Alipoor <alipoor.sa@gmail.com> Co-authored-by: walking-octopus <46994949+walking-octopus@users.noreply.github.com> Co-authored-by: Judicael <46365844+judicaelandria@users.noreply.github.com> Co-authored-by: gadi246 <gadi246@gmail.com> Co-authored-by: James Fox <jamison.fox@gmail.com>
thatsjonsense
pushed a commit
that referenced
this pull request
Sep 9, 2022
june commits export vec version bump remove curve revert export of core packages export shapeStyleHelpers shapesShared version bump Merge pull request #6 from gamma-app/export-style-helpers export shapeStyleHelpers Disable image box shadow Disable image box shadow Add attrs for shape styles Expose colors on text labels Version bump cleanup Merge pull request #7 from gamma-app/jon/style-classes Add deploy step for core (#9) * Add deploy step for core * Alias tldraw core * Pin core version First deploy core Deploy core script Fix core permissions Consume core from tldraw yarnrc .yarnrc .yarnrc for child packages try workspace Revert "try workspace" This reverts commit 1999219. add top level npmrc Increase line height, bump versions Revert "yarnrc" This reverts commit 48b0625. core first ugh Revert "Revert "yarnrc"" This reverts commit 8dd73bb. restore yarn.lock bump tldraw to use new core bump core dependency
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have no idea how to test the github workflow besides landing and trying the action. Same goes for the new package address - running
yarn build
locally works but idk how to confirm it 🤔I'm also not sure if the aliasing thing I'm trying for @tldraw/core will work, but it's based on this stackoverflow: https://stackoverflow.com/a/56134858