Skip to content

Commit fb320c2

Browse files
authored
Update @fig/autocomplete-merge to 1.4.0 (#189)
1 parent 0686070 commit fb320c2

25 files changed

+31495
-1736
lines changed

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ inputs:
3535
default: "autocomplete"
3636
runs:
3737
using: "node20"
38-
main: "dist/index.js"
38+
main: "dist/main.js"

cjs-shim.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { createRequire } from 'node:module';
2+
import path from 'node:path';
3+
import url from 'node:url';
4+
5+
globalThis.require = createRequire(import.meta.url);
6+
globalThis.__filename = url.fileURLToPath(import.meta.url);
7+
globalThis.__dirname = path.dirname(__filename);

dist/chunks/acorn-IAWF4PU3.js

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chunks/angular-N5MXXXM2.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chunks/babel-ACRVUQBN.js

+16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chunks/chunk-BSCOAZCE.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chunks/estree-DGCJXNOW.js

+36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chunks/flow-AUGIZXVP.js

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chunks/glimmer-GBJUELQC.js

+30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chunks/graphql-6Q7JPBRI.js

+29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chunks/html-TS2ONQHN.js

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chunks/markdown-GJHXPZFJ.js

+59
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chunks/meriyah-BFJYJR5W.js

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chunks/postcss-G2SEZKPY.js

+49
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chunks/prettier-IF3IZJVE.js

+107
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chunks/typescript-UTBCO5EN.js

+25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/chunks/yaml-Q3Y4F64B.js

+161
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

-1,659
This file was deleted.

dist/index.js.map

-7
This file was deleted.

dist/main.js

+30,835
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esbuild.js

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import * as esbuild from "esbuild";
2+
3+
await esbuild.build({
4+
bundle: true,
5+
entryPoints: ["src/main.ts"],
6+
outdir: "dist",
7+
minify: true,
8+
keepNames: true,
9+
platform: "node",
10+
format: "esm",
11+
chunkNames: "chunks/[name]-[hash]",
12+
splitting: true,
13+
inject: ['cjs-shim.js'],
14+
});

package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
{
22
"name": "push-to-fig-autocomplete-action",
3-
"version": "2.3.0",
3+
"version": "2.4.0",
44
"private": true,
55
"description": "Action to automatically open a new PR to the withfig/autocomplete repo",
6+
"type": "module",
67
"main": "lib/main.js",
78
"packageManager": "[email protected]",
89
"scripts": {
910
"format": "prettier --write '**/*.ts'",
1011
"format-check": "prettier --check '**/*.ts'",
1112
"lint": "eslint src/**/*.ts",
12-
"package": "esbuild --bundle src/main.ts --outfile=dist/index.js --minify --keep-names --sourcemap --platform=node",
13+
"package": "tsc && rm -rf dist && mkdir dist && node esbuild.js",
1314
"test": "vitest --run --passWithNoTests",
1415
"all": "npm run format && npm run lint && npm run package && npm test",
1516
"prepare": "husky install"
@@ -32,10 +33,10 @@
3233
"author": "Grant Gurvis <[email protected]>",
3334
"license": "MIT",
3435
"dependencies": {
35-
"@actions/artifact": "^2.1.4",
36+
"@actions/artifact": "^2.1.7",
3637
"@actions/core": "^1.10.1",
3738
"@actions/github": "^6.0.0",
38-
"@fig/autocomplete-merge": "^1.3.0"
39+
"@fig/autocomplete-merge": "^1.4.0"
3940
},
4041
"devDependencies": {
4142
"@types/eslint": "^8.56.5",
@@ -49,7 +50,7 @@
4950
"js-yaml": "^4.1.0",
5051
"prettier": "^3.3.0",
5152
"ts-loader": "^9.5.1",
52-
"typescript": "^5.3.3",
53+
"typescript": "^5.4.5",
5354
"vitest": "^1.6.0"
5455
}
5556
}

0 commit comments

Comments
 (0)