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

Publish 32.0.7 #83

Merged
merged 23 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
f109b4f
customizable allowed import libs, user configuration js file (#52)
SalvatorePreviti Jul 5, 2024
7536b0e
fix build, add link to help screen (#57)
SalvatorePreviti Jul 8, 2024
3882538
AG-12173 Allow processing the .gitignore file (#58)
SalvatorePreviti Jul 10, 2024
52f4b1e
AG-11722 improve and fix commandline parsing (#59)
SalvatorePreviti Jul 10, 2024
766e7d3
release-32.0.2 (#60)
SalvatorePreviti Jul 10, 2024
5775310
fix dynamic require (#62)
SalvatorePreviti Jul 15, 2024
8318abe
release-32.0.3 (#63)
SalvatorePreviti Jul 15, 2024
a2d0a7e
Release 32.0.3 (#64)
SalvatorePreviti Jul 15, 2024
143aab9
merge main into develop
SalvatorePreviti Jul 15, 2024
b9f05b7
Merge remote-tracking branch 'origin/main' into develop
SalvatorePreviti Jul 15, 2024
24ea8e7
add package.json to exports
SalvatorePreviti Jul 15, 2024
9e46bfa
Publish v32.0.3 (#66) (#73)
SalvatorePreviti Jul 15, 2024
946c20d
AG-12276 support vue ts (#74)
SalvatorePreviti Jul 16, 2024
267fd74
release-32.0.4 (#75)
SalvatorePreviti Jul 16, 2024
dc3f4f3
Merge branch 'main' into develop
SalvatorePreviti Jul 16, 2024
9189b60
support ts language in vue (2) - fix loading of typescript eslint par…
SalvatorePreviti Jul 16, 2024
34a8aaa
increment version
SalvatorePreviti Jul 16, 2024
b1f7bce
Merge branch 'main' into develop
SalvatorePreviti Jul 16, 2024
f8a56c3
Merge branch 'main' into develop
SalvatorePreviti Jul 16, 2024
7598674
AG-12615 remove @ag-grid-devtools/codemods from dependencies, update …
SalvatorePreviti Aug 19, 2024
86de34a
version-32.0.6
SalvatorePreviti Aug 19, 2024
d92d980
Merge branch 'main' into develop
SalvatorePreviti Aug 19, 2024
3d45a32
AG-12615 removes the bundled codemods, use a folder instead (#82)
SalvatorePreviti Aug 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",

"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},

"prettier.ignorePath": ".vscode/.prettierignore"
}
5 changes: 4 additions & 1 deletion packages/cli/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/src/codemods/versions/*/__fixtures__/scenarios
/src/codemods/plugins/*/__fixtures__/scenarios
/src/codemods/transforms/*/__fixtures__/scenarios
/dist/
/vitest.config.mts.timestamp-*.mjs
_temp
_temp
2 changes: 2 additions & 0 deletions packages/cli/ag-grid-devtools-cli.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
export * from './index.cjs';
2 changes: 2 additions & 0 deletions packages/cli/ag-grid-devtools-cli.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
export * from './';
21 changes: 0 additions & 21 deletions packages/cli/codemods.vite.config.mts

This file was deleted.

46 changes: 32 additions & 14 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@ag-grid-devtools/cli",
"version": "32.0.6",
"version": "32.0.7",
"license": "MIT",
"description": "AG Grid developer toolkit",
"author": "AG Grid <[email protected]>",
Expand All @@ -16,24 +16,21 @@
"type": "module",
"main": "./index.ts",
"scripts": {
"build": "pnpm run build:lib && pnpm run build:codemods && pnpm run build:readme && pnpm run build:pkg",
"build": "pnpm run build:lib && pnpm run build:readme && pnpm run build:pkg",
"build:lib": "vite build",
"build:readme": "cp README.md dist/README.md",
"build:pkg": "PKG_WORKSPACE_VERSIONS=@ag-grid-devtools/codemods:\"$(pnpm run --silent version)\" pnpm run --filter build-tools pkg $PWD $PWD/dist/package.json",
"build:codemods": "pnpm run build:codemods:lib && pnpm run build:codemods:pkg",
"build:codemods:lib": "vite build --config codemods.vite.config.mts",
"build:codemods:pkg": "pnpm run --filter build-tools pkg $PWD/../codemods $PWD/dist/node_modules/@ag-grid-devtools/codemods/package.json $(pnpm run --silent version)",
"lint": "pnpm run '/^lint:.*/'",
"lint:eslint": "eslint --ext js,cjs,mjs,ts .",
"lint:typescript": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest watch",
"version": "node -p -e \"require('./package.json').version\"",
"publish": "npm publish ./dist --access public"
},
"pkg": {
"main": "./index.cjs",
"bin": "./index.cjs",
"bin": {
"ag-grid-devtools-cli": "./ag-grid-devtools-cli.cjs"
},
"exports": {
".": {
"import": "./index.mjs",
Expand All @@ -45,31 +42,51 @@
"require": "./index.cjs",
"default": "./index.mjs"
},
"./index.js": "./index.mjs",
"./index.js": {
"import": "./index.mjs",
"require": "./index.cjs",
"default": "./index.mjs"
},
"./index.mjs": "./index.mjs",
"./index.cjs": "./index.cjs",
"./user-config": {
"import": "./user-config.mjs",
"require": "./user-config.cjs",
"default": "./user-config.mjs"
},
"./user-config.js": "./user-config.mjs",
"./user-config.js": {
"import": "./user-config.mjs",
"require": "./user-config.cjs",
"default": "./user-config.mjs"
},
"./user-config.mjs": "./user-config.mjs",
"./user-config.cjs": "./user-config.cjs",
"./ag-grid-devtools-cli": {
"import": "./ag-grid-devtools-cli.mjs",
"require": "./ag-grid-devtools-cli.cjs",
"default": "./ag-grid-devtools-cli.mjs"
},
"./ag-grid-devtools-cli.js": {
"import": "./ag-grid-devtools-cli.mjs",
"require": "./ag-grid-devtools-cli.cjs",
"default": "./ag-grid-devtools-cli.mjs"
},
"./ag-grid-devtools-cli.cjs": "./ag-grid-devtools-cli.cjs",
"./ag-grid-devtools-cli.mjs": "./ag-grid-devtools-cli.mjs",
"./package.json": "./package.json"
}
},
"types": "./index.d.ts",
"bundleDependencies": [
"@ag-grid-devtools/codemods"
],
"dependencies": {
"@typescript-eslint/parser": "7.18.0",
"eslint": "8.57.0",
"tsx": "4.17.0"
},
"devDependencies": {
"@ag-grid-devtools/codemods": "workspace:*",
"@ag-grid-devtools/ast": "workspace:*",
"@ag-grid-devtools/build-tools": "workspace:*",
"@ag-grid-devtools/codemod-utils": "workspace:*",
"@ag-grid-devtools/test-utils": "workspace:*",
"@ag-grid-devtools/build-config": "workspace:*",
"@ag-grid-devtools/codemod-task-utils": "workspace:*",
"@ag-grid-devtools/types": "workspace:*",
Expand All @@ -83,6 +100,7 @@
"glob": "11.0.0",
"graceful-fs": "4.2.11",
"ignore": "5.3.2",
"prettier": "3.3.3",
"semver": "7.6.3",
"vite-plugin-dts": "4.0.3",
"vite-plugin-static-copy": "1.0.6"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test('module exports', () => {
function versionManifest(version: string): object {
return {
version,
codemodPath: `version/${version}`,
codemodPath: `versions/${version}`,
transforms: expect.arrayContaining([
{
description: expect.any(String),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type PackageManifest } from '@ag-grid-devtools/types';

import versions from './src/versions/manifest';
import versions from './versions/manifest';

const manifest: PackageManifest = {
name: 'AG Grid migration packages',
Expand Down
Loading
Loading