Skip to content

Add missing metadata fields to package.json#67

Merged
johnproblems merged 3 commits intoenhancementsfrom
copilot/create-package-json-file
Nov 30, 2025
Merged

Add missing metadata fields to package.json#67
johnproblems merged 3 commits intoenhancementsfrom
copilot/create-package-json-file

Conversation

Copy link
Copy Markdown

Copilot AI commented Nov 30, 2025

The VSCode extension package.json was missing required metadata fields for proper npm/marketplace publishing and project identification.

Changes

  • Author & Publisher: Added author (johnproblems) and publisher (formaltask) fields
  • Licensing: Added license field (MIT)
  • Repository links: Added repository, bugs, and homepage URLs pointing to GitHub
  • Discoverability: Added keywords array for marketplace search
{
  "author": "johnproblems (https://github.com/johnproblems)",
  "publisher": "formaltask",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/johnproblems/formaltask.git"
  },
  "bugs": {
    "url": "https://github.com/johnproblems/formaltask/issues"
  },
  "homepage": "https://github.com/johnproblems/formaltask#readme",
  "keywords": ["vscode", "extension", "project-management", "ai", "claude", "workflow", "automation", "task-management"]
}

All existing scripts (lint, compile, package) verified working after changes.

Original prompt

This section details on the original issue you should resolve

<issue_title>Create package.json with all dependencies and scripts</issue_title>
<issue_description>

Task: Create package.json with all dependencies and scripts

Description

Create a comprehensive package.json file that includes all necessary dependencies, devDependencies, and npm scripts for building, testing, and managing the VSCode extension. This serves as the central configuration for the project's dependency management and automation.

Acceptance Criteria

  • package.json created with proper metadata (name, version, description, author)
  • All runtime dependencies listed
  • All development dependencies listed (TypeScript, webpack, testing tools)
  • Complete set of npm scripts (build, test, lint, coverage, watch)
  • Proper versioning and licensing information
  • Repository and bug tracking URLs configured

Technical Details

  • Set package name following VSCode extension conventions
  • Include dependencies: vscode SDK version
  • Include devDependencies: typescript, webpack, webpack-cli, ts-loader, mocha, sinon, nyc, @vscode/test-electron, ESLint, prettier
  • Define scripts:
    • vscode:prepublish: Production build
    • compile: TypeScript compilation
    • watch: Development mode with auto-rebuild
    • test: Run test suite
    • coverage: Generate coverage reports
    • lint: Run ESLint
    • package: Create .vsix package
  • Set engines.vscode to minimum supported version
  • Configure npm metadata (keywords, categories)

Dependencies

  • Project requirements defined
  • Dependency versions researched for compatibility

Effort Estimate

  • Size: S
  • Hours: 2-3 hours
  • Parallel: true

Definition of Done

  • Code implemented
  • Tests written and passing
  • Documentation updated
  • Code reviewed
  • All scripts execute successfully
  • Dependencies install without conflicts
  • Version constraints properly set
    </issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits November 30, 2025 05:32
…gs, homepage, publisher, keywords

Co-authored-by: johnproblems <124836611+johnproblems@users.noreply.github.com>
Co-authored-by: johnproblems <124836611+johnproblems@users.noreply.github.com>
Copilot AI changed the title [WIP] Create package.json with all dependencies and scripts Add missing metadata fields to package.json Nov 30, 2025
Copilot AI requested a review from johnproblems November 30, 2025 05:35
Copy link
Copy Markdown
Owner

@johnproblems johnproblems left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont like the display name should just be formaltask

@johnproblems johnproblems marked this pull request as ready for review November 30, 2025 05:37
@johnproblems johnproblems merged commit 31d38b0 into enhancements Nov 30, 2025
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.

Create package.json with all dependencies and scripts

2 participants