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

➡️ Migrate all language packages #417

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

aminya
Copy link
Member

@aminya aminya commented Jul 3, 2022

#399 but merging it directly to master

To make #386 reviewable,
that pr will be separated into many simpler prs. This is one of them.

This first commit does the following:

  • update package.json
  • update package-lock.json using ./script/build which also seems to update apm/package-lock.json
  • update packages/README.md
  • clone all language packages. Specifically:
    • mkdir packages/language-<all of them>
    • cd packages/about
    • For all languages:
      • cd ../language-<>
      • git clone language-<>
      • Move all files except .git from language-<>/language-<>
        to language-<>
      • delete language-<>/language-<>

Since at first I accidentally updated dependencies then
packageDependencies, it appears that since the versions of language-c,
language-css, language-go, language-javascript, and language-sass don't
match, dependencies was reset for those versions.

Those repos just happen to be precisely the ones that have tree-sitter v19, (sans language-sass),
which currently breaks atom. So even though their repos are now
in packages, I've decided to not use them.

This is done by updating packageDependencies only for non-breaking
languages.⚛👋 Hello there! Welcome. Please follow the steps below to tell us about your contribution.

  1. Copy the correct template for your contribution
  1. Replace this text with the contents of the template
  2. Fill in all sections of the template
  3. Click "Create pull request"

icecream17 and others added 5 commits July 9, 2022 16:47
To make #386 reviewable,
that pr will be separated into many simpler prs. This is one of them.

This first commit does the following:
- update package.json
- update package-lock.json using `./script/build` which also seems to update `apm/package-lock.json`
- update packages/README.md
- clone all language packages. Specifically:
    - `mkdir packages/language-<all of them>`
    - `cd packages/about`
    - For all languages:
        - `cd ../language-<>`
        - `git clone language-<>`
        - Move all files except `.git` from `language-<>/language-<>`
          to `language-<>`
        - delete `language-<>/language-<>`

Since at first I accidentally updated `dependencies` then
`packageDependencies`, it appears that since the versions of language-c,
language-css, language-go, language-javascript, and language-sass don't
match, `dependencies` was reset for those versions.

[Those repos just happen to be precisely the ones that have tree-sitter v19](https://github.com/icecream17/atom-update-backlog/blob/main/Languages.md), (sans language-sass),
which [currently breaks atom](atom#22129). So even though their repos are now
in `packages`, **I've decided to not use them**.

This is done by updating `packageDependencies` only for non-breaking
languages.
... previously v19 tree-sitter language packages.

Continuation of #399
(477b075)
but where the packages that would've broke Atom are now updated

Another link:
#403 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants