Skip to content

Commit

Permalink
Update @fig/autocomplete-merge to 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
grant0417 committed Jun 6, 2024
1 parent 0686070 commit d8fa387
Show file tree
Hide file tree
Showing 25 changed files with 31,495 additions and 1,736 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ inputs:
default: "autocomplete"
runs:
using: "node20"
main: "dist/index.js"
main: "dist/main.js"
7 changes: 7 additions & 0 deletions cjs-shim.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { createRequire } from 'node:module';
import path from 'node:path';
import url from 'node:url';

globalThis.require = createRequire(import.meta.url);
globalThis.__filename = url.fileURLToPath(import.meta.url);
globalThis.__dirname = path.dirname(__filename);
13 changes: 13 additions & 0 deletions dist/chunks/acorn-IAWF4PU3.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/chunks/angular-N5MXXXM2.js

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions dist/chunks/babel-ACRVUQBN.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/chunks/chunk-BSCOAZCE.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions dist/chunks/estree-DGCJXNOW.js

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions dist/chunks/flow-AUGIZXVP.js

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions dist/chunks/glimmer-GBJUELQC.js

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions dist/chunks/graphql-6Q7JPBRI.js

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions dist/chunks/html-TS2ONQHN.js

Large diffs are not rendered by default.

59 changes: 59 additions & 0 deletions dist/chunks/markdown-GJHXPZFJ.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions dist/chunks/meriyah-BFJYJR5W.js

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions dist/chunks/postcss-G2SEZKPY.js

Large diffs are not rendered by default.

107 changes: 107 additions & 0 deletions dist/chunks/prettier-IF3IZJVE.js

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions dist/chunks/typescript-UTBCO5EN.js

Large diffs are not rendered by default.

161 changes: 161 additions & 0 deletions dist/chunks/yaml-Q3Y4F64B.js

Large diffs are not rendered by default.

1,659 changes: 0 additions & 1,659 deletions dist/index.js

This file was deleted.

7 changes: 0 additions & 7 deletions dist/index.js.map

This file was deleted.

30,835 changes: 30,835 additions & 0 deletions dist/main.js

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions esbuild.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import * as esbuild from "esbuild";

await esbuild.build({
bundle: true,
entryPoints: ["src/main.ts"],
outdir: "dist",
minify: true,
keepNames: true,
platform: "node",
format: "esm",
chunkNames: "chunks/[name]-[hash]",
splitting: true,
inject: ['cjs-shim.js'],
});
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"name": "push-to-fig-autocomplete-action",
"version": "2.3.0",
"version": "2.4.0",
"private": true,
"description": "Action to automatically open a new PR to the withfig/autocomplete repo",
"type": "module",
"main": "lib/main.js",
"packageManager": "[email protected]",
"scripts": {
"format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts",
"package": "esbuild --bundle src/main.ts --outfile=dist/index.js --minify --keep-names --sourcemap --platform=node",
"package": "tsc && rm -rf dist && mkdir dist && node esbuild.js",
"test": "vitest --run --passWithNoTests",
"all": "npm run format && npm run lint && npm run package && npm test",
"prepare": "husky install"
Expand All @@ -32,10 +33,10 @@
"author": "Grant Gurvis <[email protected]>",
"license": "MIT",
"dependencies": {
"@actions/artifact": "^2.1.4",
"@actions/artifact": "^2.1.7",
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@fig/autocomplete-merge": "^1.3.0"
"@fig/autocomplete-merge": "^1.4.0"
},
"devDependencies": {
"@types/eslint": "^8.56.5",
Expand All @@ -49,7 +50,7 @@
"js-yaml": "^4.1.0",
"prettier": "^3.3.0",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
}
}
Loading

0 comments on commit d8fa387

Please sign in to comment.