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

Setting up Dragula2 #2

Open
51 of 81 tasks
toofff opened this issue Jan 6, 2023 · 2 comments
Open
51 of 81 tasks

Setting up Dragula2 #2

toofff opened this issue Jan 6, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@toofff
Copy link
Owner

toofff commented Jan 6, 2023

Description

After asking "Is your project still maintained?" on the official Dragula repository. I made the decision to revive this project, created by @bevacqua, which has been abandoned since September 29, 2020.

I had started with a fork but given the changes I'm making, merging all my commits would have been worth creating a new major version. But since the project is abandoned, I started my work on a new project to have more freedom on maintenance and the addition of new features.

Here are the different steps I plan to do before creating a new package in npm:

  • development
    • upgrade all devDependencies
    • remove all dependencies
    • import all commits of @LeaVerou
    • import all bug-type pull request commits from the Dragula repository
      • display the list of PRs of bugs to be resumed
    • restructure the code
    • rename Dragula in Dragula2
    • fix all linter issues (In progress)
    • add typescript
  • rewriting of tests (In progress)
    • replace tape by Jest
    • added dom testing library
    • added Puppeteer & chrome Headless (In progress)
    • pass the linter to the tests folder with Jest
    • pass the linter to the tests folder with Tape (In progress)
  • tooling
    • adding a CI with Github Action
      • add linter
        • commitlint
        • github-action
        • javascript
        • markdown
        • css
      • tests with Jest
        • on Ubuntu
        • on MacOS
        • on WindowsOS
      • tests with Tape
        • on Ubuntu
        • on MacOS
        • on WindowsOS
      • final check
    • adding a CD with Github Action
      • deploy the website on github page
      • cancel the deployment of the website if no change
    • replace JSHint by ESLint
      • add Husky
      • add hooks with Husky
        • lint commit
        • lint code
      • add commitLint rules
      • add .editorconfig
      • add prettier
        • use .editorconfig
        • css
        • html
        • json
        • markdown
      • add eslint
        • add Eslint rules
        • add AirBnB rules
        • add Import rules
        • add Promise rules
        • add Prettier rules (and use prettier configuration, so use also editorconfig configuration)
        • add Jest rules
        • add JestDom rules
        • add TestinfLibrairy rules
        • add CheckFile rules
    • use pnpm
    • replace browserify & watchify by ESBuild (In progress)
    • use ESM and CommonJS (in progress)
    • add Renovate
    • add Snyck (In progress)
    • implementation of the multi-package (In progress)
      • Website Package (In progress)
      • Core Package (In progress)
      • others JS framwork (after the first version)
  • documentation to review
    • add CODEOWNERS file
    • review README.md file
    • review CONTRIBUTING.md file
    • add CODE_OF_CONDUCT.md file
    • add SECURITY.md file
    • add issues template
    • add pull request template
    • use github page
    • replace website by storybook
  • Package deployment (last action)
    • connect with npm platform
  • Create Roadmap (after the first version)

Example

No response

@edimoldovan
Copy link

@toofff Hi! Are you still working on Draguka2?

@toofff
Copy link
Owner Author

toofff commented Jan 3, 2024

@edimoldovan I've been pretty busy the last 6 months but I'm thinking of getting back into it soon as I'll also need it for my professional projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants