43 Commits

Author SHA1 Message Date
Ryan Roemer
5d95275d4a Bug(CI): Fix missing quotes in install (#1356) 2025-09-26 11:15:53 -07:00
Ryan Roemer
0452103e4d Update OIDC and node versions (#1355)
- Update release action to use NPM OIDC. This work is modeled on @zibs work in https://github.com/FormidableLabs/victory-native-xl/pull/619/files
    - Note: OIDC connect has been set up in NPM for spectacle, spectacle-mdx-loader, and create-spectacle.
- Update CI to use Node 22.x
2025-09-25 12:42:27 -07:00
Scott Rippey
ddc2fc3735 Fix: fixed builds by upgrading wireit cache (#1348) 2025-04-17 13:06:56 -06:00
Sawyer Burnett
ae4928d527 chore: clean up old spectacle mdx links (#1327) 2024-03-13 11:44:46 -07:00
Sawyer Burnett
1dd3a89d61 stop using node 16 in pipelines / clear other pipeline warnings (#1324) 2024-03-12 08:59:55 -07:00
Carlos Kelly
a7196d5d95 Fix inclusion of spectacle package.json for CLI (#1307)
* Fix inclusion of spectacle package.json for CLI

* Update GH Action

* Add the cp package to test deps.
2023-12-18 17:21:12 -06:00
Carlos Kelly
eccb26315a Revamped create-spectacle CLI and getting started documentation for Spectacle. (#1306)
* Added base support for generating Markdown slide decks

* Update deps, move to TypeScript-only.

* Finish MD file writer. Clean up React template and use new Spectacle primatives.

* Start docs refactor for new CLI based getting started guide

* Finish docs and CLI copy.

* Update CLI tests for new markdown option.

* Update GH Actions to remove old JS option.
2023-12-18 13:00:29 -06:00
Carlos Kelly
6153f1ab64 Add base custom layout in Markdown Support (#1289) 2023-07-21 07:42:33 -05:00
Grant Sander
1add7466b5 rm formideploy (#1280) 2023-05-25 09:15:59 -05:00
Carlos Kelly
a30947f53b Drop wireit caching from GH Action release build (#1273) 2023-05-10 08:42:00 -05:00
Carlos Kelly
9f8f6afd73 Fix print CSS for containers. Bump PRR for docs (#1261)
* Fix print CSS for containers. Bump PRR for docs
2023-05-04 10:19:26 -05:00
Paul Marsicovetere
3c066bea32 setting up NPM Provenance (#1258) 2023-05-01 13:58:53 -04:00
Fritz
bbfaa351e8 Docs and PR template tweaks (#1227)
* docs: fix link to docs website

* docs: make the link point directly to the docs site

* docs: fix broken logo link and make it more resilient to future file shuffling

* docs: comment out one thing overlooked in PR request template

* docs: use more direct "New Issue" link

* docs: fix broken docs directory link

* chore: add labels to GitHub issue templates to auto-label certain issues

Co-authored-by: Zenahr <zenmatica@gmail.com>
2022-09-21 09:48:28 -05:00
Ryan Roemer
9f1d40b0a4 Infra: Separate out examples CI steps (#1194)
* Separate out examples CI steps

* Hahaha

* Combine start and test

* Set timeout

* chore: fix tsconfig for generated projects

* chore: make jest ignore compiled or cached test files

* chore: increase jest timeout

* chore: comment on timeout-altering line

Co-authored-by: fritz-c <4413963+fritz-c@users.noreply.github.com>
2022-09-19 09:39:02 -05:00
Fritz
0ee44a7828 chore: clean up issue and PR templates (#1223) 2022-09-19 09:37:28 -05:00
Paul Marsicovetere
b3abab65ea Chore/website quality checks (#1212)
* chore/website-quality-checks - adding in prettier and lint scripts for docs website
2022-08-23 20:57:10 -04:00
Ryan Roemer
022a19d3ed Infra: Add docs to pnpm (#1202)
- Add `website` to part of pnpm workspaces.
- Move MJS files to CJS
- Add some missing dependencies
2022-08-12 13:14:41 -07:00
Ryan Roemer
4bd5adfaa3 Infra: build create-spectacle examples (#1185)
Core work:
- Add create/install/build/start helpers for create-spectacle
- Add CI support

Work along the way:

- Extract `jest` dependencies to monorepo root
- Lots of wireit configuration cleanup
2022-08-09 11:03:23 -07:00
JP
4244224ef5 [Docs] New website (#1109)
* scaffold new Docusaurus site

* replace /docs dir

* set baseUrl and change build out-dir

* re-add formideploy and config

* update docs GH Actions workflow

* fix incorrect build out-dir path

* re-enable GTM

* lint website dir too

* restore brand colors to sidebar

* commenting out dup nav item

* adding styled components and types, oss-badges, copy-to-clipboard

* touch when adding libs

* adding statis assets from previous codebase, refactored file organization just a bit

* removing infima based styles in favor of styled components

* integrating previous non-typescript codebase to typescript for lander

* optional props

removing the requirement for noMargin and noPadding

misc code cleanup

* fix header svg and video issues

* Update get-started.tsx

cleanup and consistency

* updating button styles

* autoPlay still breaks the Video

i have removed the autoPlay prop as it crashes the app at the terminal. made some comments as a reminder of the issue

* include fix for PR number in Docs GH Action

* adding autoPlay back to video

needed to downgrade node to 16 LTS

* adding and updating libs

* added, removed, reorganized, and renamed various static asset files

* moved to index dir

* Delete custom.css

converted to use sass

* various updates to config for docusaurus

updates for sass, alpha, there are some comments in here that are still in testing for nav items and footer

* grok'd for old code, bridge between compiled CSS vars and JS

* various global styles

* the heart of our CSS customizations happens in this file

* import paths, added content as props, and theme provider

* overhaul of the preview section

* overhaul of the oss section

* overhaul of the header and hero sections

* overhaul of the get started CTA section

* overhaul of the features section

* all content for the site comes from this file and is passed down via props

* overhaul of various global components used like wrappers, buttons, titles, body copy, etc

* removing getComputedStyle as it's unneeded and causes an SSR issue

* adding engines <18

* docs for testing second level

* touch update to libs

* swapped icon for logo and removed old code

* remove the privacy and cookie stuff

* design adjustments

* fix bug where copy button switches color depending on color mode

* how dare they use any-link

* adding new theme value

* design updates and cleanup

* fixing broken link preventing build from completing

* update h1 to uppercase

* add label for small screens

* hero h1 uppercase

* mobile adjustments

* design tweaks

* bug fix for broken link

* additional design updates

* update lib to 2.0-rc-1

* fix typo

* adding a temp external link for testing

* naming cleanup

* documentation of styles

* fix odd spacing

* adding overrides for prism styles

* refactor function to utils

* cleanup and refactor to global, light, dark sections

* footer logo link and mobile style adjustment

* adding width and height to images

* adding height auto so images can resize properly

* auto height

* adding a height to see if that will contain the badge

* hover color to white

* remove testing link

* font color to 454545

* restore index.md page and filter from Sidebar

* adding redirects docusaurus plugin

* rewiring basic-concepts to be index for docs

* comments

* remove swizzled sidebar

* ripping styles components and replacing with css modules

* updating to 2.0

* touch

* converting all rem values to be 37.5% smaller

original code had a 62.5% font hack in it which was colliding with docusaurus. I've gone through and removed pattern and converted all rem values. Many values can be refactored into variables.

* fixing grid and badge alignment

* spacing adjustments

* consolidating values to variables round 1

* consolidating values to variables round 2

* adding new darkest grey for prism background in dark mode

* smoothing out animations, adding clsx where needed

* removing testing MD files

* Remove some JSX.Element

* Small tweak to docusaurus config

* Slim prism config

* Prune some commented-out CSS

* Remove superfluous && className

* Dedup romanize fn

* Update docs.yml

* Docs footer logo fix

* Add robots.txt

* SEO fixes

Co-authored-by: Ryan Srofe <ryan.srofe@formidable.com>
Co-authored-by: Grant Sander <gksander93@gmail.com>
2022-08-09 09:36:58 -05:00
Paul Marsicovetere
39190d8193 fixes to contributing and pull request guidelines (#1184)
* fixes to contributing and pull request guidelines
2022-08-04 09:36:28 -04:00
Grant Sander
15476ce678 Update ci.yml (#1183) 2022-08-02 12:10:34 -05:00
Ryan Roemer
07977ab93a Infra: wireit integration (#1162)
Core work:

- Add wireit integration for all common tasks that can/should be parallelized / part of a dependency graph.
    - Use `nps` to provide support for root tasks.
- Simplify out developer workflow in `CONTRIBUTING.md`
- Move common dependencies (TS, Babel, Webpack) all to root package.json
- Remove prettier rules from eslint (make _only_ prettier fail for style failures)

Other unrelated things:

- Various small fixes to `create-spectacle` from move from `spectacle-cli`
- Fix changesets ci to add `pnpm install --no-frozen-lockfile`
- Fix various file links in docs that have now changed.
2022-08-02 08:13:20 -07:00
Ryan Roemer
bc75994d2d Infra: bandaid version release (#1157)
I filed #1156 to track the issue with `pnpm install --fix-lockfile` and the short answer is: (1) it appears to be some bug, and (2) I don't know how to fix it easily.

Fortunately, `pnpm install` alone should generate `pnpm-lock.yaml` changes that we need to re-commit at the end of changeset version, so I've just switched to that.

Separately, I've removed all `workspace:` prefixes for cross-project `spectacle` dependencies because (1) they are not needed and (2) the complicate examples / other projects release-wise and confusion-wise because they are PNPM dependent artifacts.
2022-07-26 11:04:17 -07:00
Grant Sander
6b3355d2b3 Chagesets Setup (#1143)
* Initial changeset setup

* Update package.json

* - to : in script names

* Update release.yml

* Regen lock

* Release guide

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

Co-authored-by: Ryan Roemer <ryan.roemer@formidable.com>

Co-authored-by: Ryan Roemer <ryan.roemer@formidable.com>
2022-07-18 15:24:00 -05:00
Grant Sander
11199788ce Conversion to pnpm workspaces (#1139)
* Initial move of src → packages/spectacle/src

* More progress

* tsc cleanup

* Get builds working

* Convert examples over to pnpm "packages"

* Scripts converted (I think)

* Update CONTRIBUTING to reference pnpm instead of yarn

* `build-one-page` working

* Update ci.yml

* Update ci.yml

* Fix ci.yml file

* Remove double core build in CI

* typescript example .babelrc: extend

* Update ci.yml
2022-07-07 16:00:56 -04:00
Carlos Kelly
c73d5f9c36 v9 (TypeScript conversion) (#1087) 2022-02-22 07:22:23 -06:00
Justin Gardner
255b347f15 Migrate to Github Actions (#995)
* added eslint and parsers to docs

docs needs it's own .eslintrc for docs gh actions.

actions tries to use the .eslintrc from the directory above but only has the node_modules from the docs directory in it's context causing errors regarding missing eslint packages

* adds ci gh actions for testing and building the core code

* separate docs lint from core code lint

If docs are linted with core code, you need docs node_modules installed to work.  This clashes with having separate ci/docs gh action workflows.

Alternative: specify an .eslintrc on the yarn lint.  This will lint docs, but use the core code lint specifications, which may not be desirable.

* adds docs gh actions for building and deploying

* fix to gh actions cache

* remove travis ci config

* updates to cache method

* updated gh action names

* updated formideploy and docs readme around testing it locally

* added node-version 15.x to ci workflow

* added specific node-version to docs workflow

* added docs src to docs linter

* use one linter, while keeping separate gh workflows

* Updated name on docs workflow

* use node-version 14.x in docs gh workflow

* use folder specific yarn locks for caching in gh workflows

* limit ci workflow pushes to main branches
2021-03-18 11:34:16 -04:00
Kylie Stewart
dd136bd579 Update the default branch's name (#923)
* Update all references to spectacle's default branch

* Update references to spectacle-cli's and spectacle-mdx-loader's default branch

* Update references to formidablelabs/dogs's default branch
2020-06-15 10:34:07 -06:00
Kylie Stewart
ec48b6e2d0 Update codesandbox link in bug report template 2020-03-05 13:02:59 -07:00
Kylie Stewart
cb356006a7 Begin to rewrite the docs (#799)
* Add TOC

* Add docs + deployment to rewrite branch (#792)

* Add badges

* Contributing++

* centralize around one TOC, remove old docs

* add cli steps & mdx examples

* fix odd code block formatting:

* add a formatting step, update PR template

* add spectacle-cli docs, change phrasing in basic-concepts

* divide sub-headers up by extension

* Task/rewrite docs props (#804)

* Add props for color, typography, space

* Added layout props

* Added grid

* Added position

* Added base structure for border

* Finished Border props

* Prioritize API Ref over base-props

* moar docs

* Merge chore/eslint-cleanup into remote branch

* Update bg- previews for the docs/lander

Co-authored-by: Carlos Kelly <me@carlos.dev>
2020-01-22 08:59:36 -07:00
Kylie Stewart
ab1e1c7c27 Rewrite the docs (#773)
* Init docs

* Update github templates
2019-11-27 01:06:06 -07:00
Kylie Stewart
45a91fb546 Update docs to include !raw-loader! hack (#681)
* Update markdown section to include `!raw-loader!` hack

Without the leading '!', the slides are not properly formatted. https://github.com/FormidableLabs/spectacle/issues/467

* Run prettier-fix
2019-05-29 16:56:43 -04:00
Tegan Churchill
bb2a4a52fa Add typescript types (#630)
* Move TS Types from DefinitelyTyped to here

* Update PR template
2018-12-28 09:51:20 -08:00
Kylie Stewart
2f0765ef23 Update PR template to include a link to type definitions (#622) 2018-12-14 17:25:35 -07:00
Emma Brillhart
7848bea4e5 add question format (#599) 2018-10-09 11:51:04 -07:00
Kylie Stewart
0b2181d206 Update issue templates (#590)
* Update issue templates

* Reformat gh templates
2018-09-18 11:26:45 -06:00
Kylie Stewart
921b06548d Add .github dir with templates (#588) 2018-09-18 11:01:34 -06:00
ElreyB
150ced138b major documentation update (#577) 2018-09-17 16:33:35 -07:00
Kylie Stewart
d546e10f5e Remove extra line introduced by github 2018-09-05 16:45:16 -06:00
Kylie Stewart
b0785618d3 Update issue templates
Allow for a **bug report** or **feature request** issue
2018-09-05 16:21:04 -06:00
Kylie Stewart
f9a1fba660 PR feedback 2018-09-05 15:47:07 -06:00
Kylie Stewart
a724601210 Init PR template 2018-09-05 11:04:11 -06:00
Kylie Stewart
6800610baa Init issue templates 2018-09-05 11:03:56 -06:00