fix config for publication

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-01-22 22:50:08 +01:00
parent c8aae7be2d
commit 3d197dfdf1
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
4 changed files with 22 additions and 18 deletions

4
.gitignore vendored
View File

@ -89,7 +89,3 @@ typings/
# DynamoDB Local files
.dynamodb/
# Temp files for publication
/src/package.json
/src/README.md

View File

@ -11,5 +11,4 @@ all:
publish:
yarn install
yarn build
yarn run copy
cd src && yarn publish --no-git-tag-version --access public --new-version $(PUBLISH_VERSION)
yarn publish --no-git-tag-version --new-version $(PUBLISH_VERSION)

View File

@ -1,32 +1,38 @@
{
"name": "@docker/actions-toolkit",
"description": "Toolkit for Docker (GitHub) Actions",
"main": "index.js",
"scripts": {
"build": "tsc",
"lint": "eslint src/**/*.ts __tests__/**/*.ts",
"format": "eslint --fix src/**/*.ts __tests__/**/*.ts",
"test": "jest --coverage",
"copy": "cpy package.json README.md src"
"test": "jest --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/docker/actions-toolkit.git"
},
"keywords": [
"github",
"actions",
"docker",
"build",
"push"
"buildx",
"buildkit"
],
"author": "Docker Inc.",
"contributors": [
{
"name": "CrazyMax",
"url": "https://crazymax.dev"
}
],
"license": "Apache-2.0",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"publishConfig": {
"access": "public"
},
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1",

View File

@ -1,18 +1,21 @@
{
"compilerOptions": {
"esModuleInterop": true,
"target": "es6",
"module": "commonjs",
"strict": true,
"declaration": true,
"sourceMap": true,
"newLine": "lf",
"outDir": "./lib",
"rootDir": "./src",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitAny": false,
"resolveJsonModule": true,
"useUnknownInCatchVariables": false,
},
"exclude": [
"./lib/**/*",
"node_modules",
"**/*.test.ts",
"jest.config.ts"