-
Notifications
You must be signed in to change notification settings - Fork 8
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
Un-ossify the build system #36
Merged
Merged
Changes from 1 commit
Commits
Show all changes
119 commits
Select commit
Hold shift + click to select a range
d0fb3dd
Move components into playground
tstirrat15 a7233d8
Remove unused type
tstirrat15 43c1d7f
Remove unnecessary .d.ts file
tstirrat15 f7b651f
Remove remaining files from playground-ui
tstirrat15 a22b4b7
Remove unnecessary react usages
tstirrat15 768243a
Remove reference to workspace package
tstirrat15 5a6b5ca
Remove package.json from workspace
tstirrat15 1e80dd6
Update yarn.lock
tstirrat15 2ed9327
Fix a bunch of references and a few lint issues
tstirrat15 922b119
Move things out of spicedb-common dir
tstirrat15 9a6f2d1
Remove spicedb-common bits
tstirrat15 3de0ff8
Move wasm-config where code can see it
tstirrat15 84b0e64
Fix use-deep-compare reference
tstirrat15 c36ff77
Add a todo to the genfile
tstirrat15 23d4398
Fix all of the references
tstirrat15 cf93156
Get rid of workspace package.json
tstirrat15 7d93352
Add scripts from root package to playground package
tstirrat15 696402a
Move some playground things into the root
tstirrat15 cfcffdc
Remove unintentionally-committed vite config
tstirrat15 8178d79
Move script into root scripts
tstirrat15 fbfb7b6
Move source files to root
tstirrat15 81d9f88
Move public and contrib to root
tstirrat15 f49c665
Finish reorganization
tstirrat15 605ce2f
Update to reflect flattened structure
tstirrat15 f298863
Handle mjs correctly
tstirrat15 5c889f6
Get rid of unnecessary module resolutions:
tstirrat15 c8dbe00
Remove changes I made to package.json
tstirrat15 5fb0109
Remove craco config
tstirrat15 f042762
Get rid of craco and react-scripts'
tstirrat15 6764286
Put index.html file in the root
tstirrat15 3a35231
Upgrade ts, add vite and vitest
tstirrat15 b2723b4
Add some vite configuration
tstirrat15 54caa5d
Add missing plugins
tstirrat15 bbae2ee
Get linting working
tstirrat15 91aaef1
Disable lint rules that errored on generated files
tstirrat15 f68c0a1
Fix a bunch of types
tstirrat15 83cf1c4
Make some mods to tsconfig
tstirrat15 54ddf27
We never used this
tstirrat15 1e1dc14
Fix fontsource and remove service worker
tstirrat15 df9d933
Swap for new fontsource package
tstirrat15 555e347
Update react types
tstirrat15 3ea9ba5
Upgrade styled-compoennts to fix errors
tstirrat15 a8fb449
Get rid of setupTests
tstirrat15 72d8d30
Empty tests are useless
tstirrat15 0ac22b1
Remove now-unused file
tstirrat15 5dab8d2
Remove config file in favor of build-time vars
tstirrat15 19e6956
Add typescript types for environment variables
tstirrat15 9345420
Remove config file, fix name of entrypoint
tstirrat15 0c0748f
Add types for svgr
tstirrat15 eae1f45
Fix imports, types, remove unused
tstirrat15 f40dfab
Fix import, add TODO
tstirrat15 d4a4469
Simplify configuration service
tstirrat15 65ef89a
Simplify/fix types
tstirrat15 a257dad
Fix types
tstirrat15 b123401
Fix test imports
tstirrat15 83e7fec
Fix types and imports
tstirrat15 8f8b487
Fix some types and imports
tstirrat15 b3942fa
Fix svg imports
tstirrat15 09897ce
Remove props that the component doesn't support, fix types and imports
tstirrat15 50946c8
Fix tests
tstirrat15 d158114
Rename buf.gen.yaml'
tstirrat15 9e331c3
Update buf.gen.yaml
tstirrat15 ebda000
Fix versions
tstirrat15 feb5a66
Regenerate protobuf files to try and fix build issue
tstirrat15 1e37c88
Temp commit todo file
tstirrat15 3a950ac
Vendor the entire client
tstirrat15 4139993
Remove temporarily
tstirrat15 31c7435
Work towards generating everything in the same directory
tstirrat15 3f84528
Vendor the SpiceDB proto
tstirrat15 6c9164b
Add proto gen for internal protos to repo
tstirrat15 7aaaba2
Add configuration for vendored proto
tstirrat15 255093f
Bump eslint deps
tstirrat15 2a6c791
Remove vendored proto
tstirrat15 17c040e
Deleting to regenerate again
tstirrat15 267b050
Reference repo instead of vendored proto, add optimize code size flag
tstirrat15 a819f81
Add generated code
tstirrat15 4c6fec0
Remove now-unused grpc-web
tstirrat15 f29c50a
Remove unused filde
tstirrat15 07fc5ca
Update copy-build script'
tstirrat15 03bee8d
Ignore dist file instead of build
tstirrat15 35c63f5
Get rid of unused functions from contrib file
tstirrat15 e4b8788
Update imports
tstirrat15 2ff00bc
Refactor sharing code to use protobuf-ts syntax
tstirrat15 61e35fd
Update imports
tstirrat15 f87a667
Get rid of postbuild script
tstirrat15 c8d43d3
Fix build script
tstirrat15 5b47c03
Get rid of config files in vercel config
tstirrat15 40fc6df
Remove references to process.env
tstirrat15 0434020
Use createRoot instead of render)
tstirrat15 d3f9af2
Reference webassembly directly instead of global
tstirrat15 307b604
Formatting
tstirrat15 09179f4
add more todos
tstirrat15 d733e60
Fix an error on render
tstirrat15 00ddc22
Add theme color to fix runtime error
tstirrat15 f1c4a69
Fix issue with light theme colors being undefined
tstirrat15 cac3938
Move wasm into public so it doesn't need to be copied
tstirrat15 195df0f
Update scripts to reflect new wasm location
tstirrat15 efe889d
Put wasm in static dir
tstirrat15 2af936a
Put into static folder
tstirrat15 160ac78
Flatten dir
tstirrat15 93ddd1b
Update script location again
tstirrat15 f021eb0
Remove references to removed files
tstirrat15 4ced366
Add a dockerignore file for easier building
tstirrat15 8181f8b
Simplify dockerfile and get build working
tstirrat15 a45c399
Fix local instance
tstirrat15 ba66ccd
Make build directory build again
tstirrat15 81fd01d
Put build folder back in build
tstirrat15 5ece1d4
Add a comment
tstirrat15 339b7e7
Finish pointing build script back at build
tstirrat15 2e586cb
Fix merge conflicts
tstirrat15 f7a4a8d
Remove unused var
tstirrat15 734f1f5
Remove unused env var
tstirrat15 5c9bb09
Add env placeholders
tstirrat15 42431a3
Add env passthrough
tstirrat15 3b255db
Add todo
tstirrat15 c9982e2
Reinstate download bit
tstirrat15 8cee8d5
Add readme section about code generation
tstirrat15 a091e5c
Wrap string
tstirrat15 cb2403d
Update dockerfile and readme
tstirrat15 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add a comment
- Loading branch information
commit 5ece1d477f4e8399bf70e0af89fc3bf44d163b8a
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
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.
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.
Vite defaults to putting things in
dist
, so we modify that here so that we don't have to muck with Vercel settings.