Introduce build:all command that bundles both configure and load-secrets-action. Remove type: "module" from package.json so ncc builds CommonJS configure action which is required
This commit is contained in:
874
configure/dist/index.js
vendored
874
configure/dist/index.js
vendored
File diff suppressed because one or more lines are too long
336
dist/index.js
vendored
336
dist/index.js
vendored
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,6 @@
|
|||||||
"name": "load-secrets-action",
|
"name": "load-secrets-action",
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"description": "Load Secrets from 1Password",
|
"description": "Load Secrets from 1Password",
|
||||||
"type": "module",
|
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
"test": "tests"
|
"test": "tests"
|
||||||
@@ -10,6 +9,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "ncc build ./src/index.ts",
|
"build": "ncc build ./src/index.ts",
|
||||||
"build:configure": "ncc build ./configure/index.js -o ./configure/dist",
|
"build:configure": "ncc build ./configure/index.js -o ./configure/dist",
|
||||||
|
"build:all": "npm run build && npm run build:configure",
|
||||||
"format": "prettier --ignore-path ./config/.prettierignore",
|
"format": "prettier --ignore-path ./config/.prettierignore",
|
||||||
"format:check": "npm run format -- --check ./",
|
"format:check": "npm run format -- --check ./",
|
||||||
"format:write": "npm run format -- --write ./",
|
"format:write": "npm run format -- --write ./",
|
||||||
|
|||||||
Reference in New Issue
Block a user