fix: use node 12 as the main target

This commit is contained in:
Amin Yahyaabadi 2023-07-15 15:31:34 -07:00
parent 30a8c75e9a
commit a9ef9e1ef4
18 changed files with 83 additions and 83 deletions

View File

@ -1,4 +1,5 @@
node_modules node_modules
package.json
pnpm-lock.yaml pnpm-lock.yaml
package-lock.json package-lock.json
CHANGELOG.md CHANGELOG.md

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/main.legacy/main.js.map vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -6,15 +6,14 @@
"license": "Apache-2.0", "license": "Apache-2.0",
"author": "Amin Yahyaabadi", "author": "Amin Yahyaabadi",
"exports": { "exports": {
"import": "./dist/node16/setup-cpp.mjs", "import": "./dist/node18/setup-cpp.mjs",
"require": "./dist/node16/setup-cpp.js" "require": "./dist/node12/setup-cpp.js"
}, },
"main": "dist/node16/setup-cpp.js", "main": "dist/node12/setup-cpp.js",
"main.legacy": "./dist/node12/setup-cpp.js", "main.actions": "./dist/node16/setup-cpp.js",
"main.actions": "./dist/node18/setup-cpp.js",
"source": "./src/main.ts", "source": "./src/main.ts",
"bin": { "bin": {
"setup-cpp": "dist/node16/setup-cpp.js" "setup-cpp": "dist/node12/setup-cpp.js"
}, },
"files": [ "files": [
"action.yml", "action.yml",