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

Add ESM Script Documentation #644

Open
wants to merge 74 commits into
base: main
Choose a base branch
from
Open

Add ESM Script Documentation #644

wants to merge 74 commits into from

Conversation

marklundin
Copy link
Member

@marklundin marklundin commented Mar 27, 2024

This PR updates the documentation with the following

  • ESM Script based intro
  • Updates Script Attributes docs to reflect new system
  • Removes migrations guide from legacy -> scripts 2.0
  • Adds migration docs from scripts 2.0 - ESM Scripts
  • Move's older scrips 2.0 docs into legacy subfolder

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@marklundin marklundin self-assigned this Mar 27, 2024
@marklundin marklundin marked this pull request as ready for review March 27, 2024 16:34
@marklundin
Copy link
Member Author

Yep, at least for consistency 'Classic' might be sufficient. My only concern is that we want to push a single route moving forward, and ESM/Classic doesn't necessarily communicate that. Maybe Next/Classic? @willeastcott any thoughts here?

@mvaligursky
Copy link
Contributor

I would go for Classic and Modern perhaps.

@willeastcott
Copy link
Contributor

I'm not a fan of 'Modern'. I like these two options close to equally:

  • ES5 scripts vs ESM scripts
  • Classic scripts vs ESM scripts

@Maksims
Copy link
Collaborator

Maksims commented Sep 5, 2024

I'm not a fan of 'Modern'. I like these two options close to equally:

  • ES5 scripts vs ESM scripts
  • Classic scripts vs ESM scripts

Technically they are not ES5, as you can use classes without ESM.

@willeastcott
Copy link
Contributor

Technically they are not ES5, as you can use classes without ESM.

True.

@marklundin marklundin changed the title Add ESM Script Examples Add ESM Script Documentation Sep 17, 2024
@marklundin marklundin requested review from a team and removed request for willeastcott, kpal81xd and mvaligursky September 17, 2024 13:00
docs/user-manual/scripting/anatomy.md Show resolved Hide resolved
docs/user-manual/scripting/index.md Outdated Show resolved Hide resolved
docs/user-manual/scripting/anatomy.md Outdated Show resolved Hide resolved
docs/user-manual/scripting/esm-scripts.md Outdated Show resolved Hide resolved
@marklundin marklundin requested a review from a team September 26, 2024 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

6 participants