Skip to content
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

Template overhaul spr2024 #290

Merged
merged 50 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
6b6fe79
upgrade commander
jessestorbeck Jan 25, 2024
a506bd0
package-ify the basic site template
jessestorbeck Jan 26, 2024
8506189
update README img tag
jessestorbeck Jan 26, 2024
5e57b2f
First try at new `install site`
jessestorbeck Jan 29, 2024
22d07e1
Finishing up new `install site` from path
jessestorbeck Jan 30, 2024
36d3b7f
finishing up new `install site`
jessestorbeck Jan 31, 2024
3c69565
call `getTemplates()` with `@pushkin-templates` scope
jessestorbeck Feb 1, 2024
a4bf5ba
add package script to include license before publishing
jessestorbeck Feb 1, 2024
a9c4362
First try at new `install site`
jessestorbeck Feb 2, 2024
af8a2a4
`yarn upgrade <package>` triggering postinstall for all packages?
jessestorbeck Feb 2, 2024
ce23b88
`install site` and `install exp` working now with template from path
jessestorbeck Feb 5, 2024
257f830
new basic site and exp working for localhost testing
jessestorbeck Feb 6, 2024
e79b413
Add "are you sure?" prompt if cwd has contents prior to `install site`
jessestorbeck Feb 7, 2024
2421b20
changeset for `install site` "are you sure?" prompt
jessestorbeck Feb 7, 2024
046ed03
Add changesets for basic templates
jessestorbeck Feb 7, 2024
838e225
Convert the experiment templates into packages
jessestorbeck Feb 9, 2024
eca3f62
Add jspsych experiment import back into `handleInstall()`
jessestorbeck Feb 9, 2024
9f854f3
Add documentation for the `install site` and `install experiment` fun…
jessestorbeck Feb 9, 2024
f18f74e
Update other exp template config files to match "pushkintemplate" nam…
jessestorbeck Feb 9, 2024
6a00981
Update migrations files renaming
jessestorbeck Feb 13, 2024
664e886
remove placeholders from assets, add timeline assets folders to non-b…
jessestorbeck Feb 13, 2024
b603d3a
attempt to mitigate unzip before package install finishes
jessestorbeck Feb 20, 2024
2299d7c
remove imports of old site/exp template functions
jessestorbeck Feb 20, 2024
3e863b1
add prepack scripts to include license from repo root
jessestorbeck Feb 21, 2024
42e4617
Only call `setEnv` during `install site` and at the beginning of `prep`
jessestorbeck Feb 21, 2024
b5d34c2
add delete exp functionality
hunterschep Feb 22, 2024
91f909b
minor fixes
hunterschep Feb 22, 2024
34f2c2b
delete experiment directory
hunterschep Feb 22, 2024
ef1a517
remove experiment docker components
hunterschep Feb 22, 2024
fecdcc9
Update index.js
hunterschep Feb 22, 2024
1b599e3
add functions
hunterschep Feb 23, 2024
6edf261
try to remove db tables
hunterschep Feb 24, 2024
316d6ec
Jest tests in experiment templates now work after `install exp`
jessestorbeck Feb 28, 2024
5175775
update deletion functionality
hunterschep Mar 1, 2024
5cfcc69
implement archive
hunterschep Mar 4, 2024
30b10d2
fix expDirs
hunterschep Mar 4, 2024
dbb0cbf
add functionality
hunterschep Mar 6, 2024
15210c2
Merge remote-tracking branch 'origin/main' into template-overhaul-spr…
jessestorbeck Mar 7, 2024
ad84d51
Updated `--no-<x>` flags for `prep` and `start`
jessestorbeck Mar 8, 2024
1b90942
Update remove functionality
hunterschep Mar 8, 2024
b078ebf
additional console.log
jessestorbeck Mar 8, 2024
1de893d
update docs with remove
hunterschep Mar 10, 2024
0d44bb7
Merge remote-tracking branch 'origin/remove-experiment' into template…
jessestorbeck Mar 11, 2024
7703288
Refinements to `remove experiment`
jessestorbeck Mar 12, 2024
1427f3b
doc comment for handleRemove
jessestorbeck Mar 12, 2024
b098461
Fix logo path in template READMEs
jessestorbeck Mar 13, 2024
0098428
remove old gifs and fix snippets
hunterschep Mar 13, 2024
e3b2f63
Update quickstart.md
hunterschep Mar 13, 2024
668e8f5
fix regex oopsie
jessestorbeck Mar 13, 2024
cedf527
typo fixes
jessestorbeck Mar 13, 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
9 changes: 9 additions & 0 deletions .changeset/blue-ghosts-flow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@pushkin-templates/exp-grammaticality-judgment": major
"@pushkin-templates/exp-self-paced-reading": major
"@pushkin-templates/exp-lexical-decision": major
---

Experiment templates are now implemented as npm packages. The contents of the templates remain essentially unchanged but are compressed into `build/template.zip`. `pushkin-cli` v4+ is required to install the new packaged templates.

The reason for this change has to do with Pushkin's transition to a monorepo structure. Previously, Pushkin distributed templates through each repo's GitHub releases, but the new monorepo made this more challenging (see [#254](https://github.com/pushkin-consortium/pushkin/issues/254)). By moving to distributing all projects through npm, Pushkin is able to streamline both its deployment workflow and the CLI code itself.
7 changes: 7 additions & 0 deletions .changeset/famous-toes-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@pushkin-templates/exp-basic": major
---

The basic experiment template -- along with all other templates -- is now implemented as an npm package. The contents of the template remain unchanged, but are compressed into `build/template.zip`. `pushkin-cli` v4+ is required to install the new packaged template.

The reason for this change has to do with Pushkin's transition to a monorepo structure. Previously, Pushkin distributed templates through each repo's GitHub releases, but the new monorepo made this more challenging (see [#254](https://github.com/pushkin-consortium/pushkin/issues/254)). By moving to distributing all projects through npm, Pushkin is able to streamline both its deployment workflow and the CLI code itself.
5 changes: 5 additions & 0 deletions .changeset/forty-insects-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"pushkin-cli": minor
---

Users can now delete and archive/unarchive experiments using the `remove experiment` (alias `rm exp`) command.
9 changes: 9 additions & 0 deletions .changeset/friendly-lamps-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@pushkin-templates/exp-grammaticality-judgment": minor
"@pushkin-templates/exp-self-paced-reading": minor
"@pushkin-templates/exp-lexical-decision": minor
"@pushkin-templates/exp-basic": minor
"pushkin-cli": minor
---

Testing with Jest is set up by default on the user's site. Current tests distributed with experiment templates now work after installation.
5 changes: 5 additions & 0 deletions .changeset/seven-keys-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"pushkin-cli": major
---

The `--nomigrations` and `--nocache` flags in `prep` and `start` (respectively) are replaced with `--no-migrations` and `--no-cache`.
Loading
Loading