Skip to content

Tweak: Replacing Grunt scripts - #228

Merged
KingYes merged 1 commit into
tweak/ci-envfrom
tweak/replace-grunt
Aug 16, 2026
Merged

Tweak: Replacing Grunt scripts#228
KingYes merged 1 commit into
tweak/ci-envfrom
tweak/replace-grunt

Conversation

@KingYes

@KingYes KingYes commented Aug 16, 2026

Copy link
Copy Markdown
Member

✨ PR Description

1. Problem & Context

Migrating from Grunt-based build pipeline to npm scripts for packaging/deployment. Removes 14 dev dependencies, simplifying toolchain maintenance.

2. What Changed (Where)

  • package.json: Replaced 14 grunt packages with single rimraf dependency; added npm scripts for clean/package/zip tasks
  • .build-rsync-exclude: New file defining rsync exclusions for distribution packaging
  • .jshintrc: Deleted (linting config no longer needed)

3. How It Works

Build workflow now: npm run clean → removes old artifacts via rimraf, npm run package → syncs source excluding build artifacts, npm run package:zip → compresses for distribution. Uses environment variables ($npm_package_name, $npm_package_version) for templating.

4. Risks

Rsync path assumes Unix-like environment—Windows users need WSL/Git Bash. Verify rimraf v6 works with your Node version (dropped Node <14 support). No linting enforcement post-.jshintrc removal; consider adding eslint if needed.

Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how

@KingYes
KingYes merged commit b1640cd into tweak/ci-env Aug 16, 2026
54 checks passed
@KingYes
KingYes deleted the tweak/replace-grunt branch August 16, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants