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

[Bug] Fix JavaScript/NPM (replace cgb-scripts) #230

Open
TimidRobot opened this issue Apr 9, 2024 · 2 comments
Open

[Bug] Fix JavaScript/NPM (replace cgb-scripts) #230

TimidRobot opened this issue Apr 9, 2024 · 2 comments
Labels
💻 aspect: code Concerns the software code in the repository 🤖 aspect: dx Concerns developers' experience with the codebase 🛠 goal: fix Bug fix help wanted Open to participation from the community 🟧 priority: high Stalls work on the project or its dependents 🚧 status: blocked Blocked & therefore, not ready for work 🤯 ノಠ益ಠノ彡┻━┻ Aaargh!

Comments

@TimidRobot
Copy link
Member

TimidRobot commented Apr 9, 2024

Description

  1. npm install fails.
  2. "dependencies": {
    "cgb-scripts": "1.20.0"
    },
    • cgb-scripts - npm indicates this packages hasn't been supported for 4 years!

      Last Publish 2020-07-11

      • The parent project, ahmadawais/create-guten-block, was archived in 2022:

        This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

  3. Consider officially deprecating CGB · Issue #298 · ahmadawais/create-guten-block

    I do question though, now that WordPress has an official @wordpress/create-block package for scaffolding blocks, should CGB be officially deprecated?

  4. Consider officially deprecating CGB ahmadawais/create-guten-block#298 (comment)

    I'm looking to remove this library from our projects (npm run build doesn't run on Node 16 because of an old SASS dependency).

Expectation

Refactor to use @wordpress/create-block - npm?

Additional context

😭

Resolution

  • 🙅🏻 I would be interested in resolving this bug.
@TimidRobot TimidRobot added help wanted Open to participation from the community 🟧 priority: high Stalls work on the project or its dependents 🏁 status: ready for work Ready for work 🛠 goal: fix Bug fix 💻 aspect: code Concerns the software code in the repository 🤖 aspect: dx Concerns developers' experience with the codebase 🤯 ノಠ益ಠノ彡┻━┻ Aaargh! labels Apr 9, 2024
@possumbilities
Copy link
Contributor

RonaldRonnie added a commit to RonaldRonnie/wp-plugin-creativecommons that referenced this issue Oct 17, 2024
scripts configuration

- Updated start script to use relative path
 for nodemon
- Replaced cgb-scripts to resolve NPM
configuration errors
- Ensured compatibility with the plugin
 development environment

Closes: creativecommons#230
RonaldRonnie added a commit to RonaldRonnie/wp-plugin-creativecommons that referenced this issue Oct 17, 2024
scripts configuration

- Updated start script to use relative path
 for nodemon
- Replaced cgb-scripts to resolve NPM
 configuration errors
- Ensured compatibility with the plugin
 development environment

Closes: creativecommons#230
@possumbilities possumbilities added 🚧 status: blocked Blocked & therefore, not ready for work and removed 🏁 status: ready for work Ready for work labels Oct 17, 2024
@possumbilities
Copy link
Contributor

I'm going to move this to 🚧 status: blocked Blocked & therefore, not ready for work because need to come after:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository 🤖 aspect: dx Concerns developers' experience with the codebase 🛠 goal: fix Bug fix help wanted Open to participation from the community 🟧 priority: high Stalls work on the project or its dependents 🚧 status: blocked Blocked & therefore, not ready for work 🤯 ノಠ益ಠノ彡┻━┻ Aaargh!
Projects
Status: Backlog
2 participants