Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

NPM package without installing purescript #1204

Merged
merged 34 commits into from
Dec 19, 2024
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
96c0fc2
2 commands now, that both do the same thing
JosephBond Dec 16, 2024
46a29f2
Cleaning up previously used directory without error
JosephBond Dec 16, 2024
ca4d4ef
Formatting
JosephBond Dec 16, 2024
841d255
Publish scripts needed for website bundling
JosephBond Dec 16, 2024
ca0d691
v0.7.18
JosephBond Dec 16, 2024
9a050e8
v0.7.19
JosephBond Dec 16, 2024
8eba6ea
v0.7.20
JosephBond Dec 16, 2024
e2a67ac
v0.7.21
JosephBond Dec 16, 2024
c71c4d2
Experimenting with root directory argument to bundle-website
JosephBond Dec 16, 2024
9f77338
Initial skeleton of module to load json spec instead of building a se…
JosephBond Dec 17, 2024
55a5eeb
v0.7.2
JosephBond Dec 17, 2024
7c054ca
v0.7.23
JosephBond Dec 17, 2024
a06dcf6
v0.7.24
JosephBond Dec 17, 2024
6e4306f
Website bundling works locally and as an NPM package. TODO: extend pa…
JosephBond Dec 17, 2024
6812c62
Broken top-level website test for fluidorg, otherwise website tests work
JosephBond Dec 17, 2024
9a84f69
Fixing root issue for yarn publish bin
JosephBond Dec 17, 2024
2693d9e
v0.7.25
JosephBond Dec 17, 2024
4ed6c45
v0.7.27
JosephBond Dec 17, 2024
237d058
Fix borked command-line script
JosephBond Dec 17, 2024
30a889e
Mostly remvoed unneeded purescript files from website/, some of them …
JosephBond Dec 18, 2024
927995c
Fixed command syntax for the command line binary that publishes files
JosephBond Dec 18, 2024
5ad901b
v0.7.28
JosephBond Dec 18, 2024
9672cd6
Image should be loaded correctly across websites
JosephBond Dec 18, 2024
3407220
v0.7.29
JosephBond Dec 18, 2024
e8ecc64
Fixing shebang on bundle-loadfig
JosephBond Dec 18, 2024
7cb6c76
🧩 [layout]
rolyp Dec 19, 2024
14b1366
🧩 [consolidate]: Let target directory be implicit in bundle-loadfig.sh.
rolyp Dec 19, 2024
ea7dcd8
🧩 [rename]: Consolidate loadfig/load-fig to load-figure, for consiste…
rolyp Dec 19, 2024
c753df5
🧩 [refactor]: Some preliminary simplification of 'prefix' logic.
rolyp Dec 19, 2024
69b33a6
🧩 [consolidate]: Simplify PREFIX handling.
rolyp Dec 19, 2024
fe4d1d6
🧩 [consolidate]: Drop default Misc website in bundle-website and add …
rolyp Dec 19, 2024
ed7a0ea
🧩 [rename]: output -> evaluate, copyFiles -> publish for consistency …
rolyp Dec 19, 2024
c98f125
❗ [fix]: Missing spec.json.
rolyp Dec 19, 2024
3c91020
❗ [fix]: set +u otherwise moans that TO_COPY is undefined..?
rolyp Dec 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Formatting
  • Loading branch information
JosephBond committed Dec 16, 2024
commit ca4d4ef454fbe8c0984a8bbc766d26d4f1e892dc
3 changes: 2 additions & 1 deletion src/Fluid.purs
Original file line number Diff line number Diff line change
@@ -76,7 +76,8 @@ program = ado
in Program { imports, datasets, fileName }

publish :: Parser Command
publish = Publish <$> program <*> (Folder <$> strOption (long "root" <> short 'r' <> help "root directory under dist/")) <*> (File <$> strOption (long "template" <> short 't' <> help "Template for web-page"))
publish = Publish <$> program <*> (Folder <$> strOption (long "root" <> short 'r' <> help "root directory under dist/"))
<*> (File <$> strOption (long "template" <> short 't' <> help "Template for web-page"))

commandParser :: Parser Command
commandParser = subparser