@candlerip/shared 0.0.11 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env bash
2
+
3
+ DOCKERFILE=${2:-"Dockerfile"}
4
+
5
+ echo "$DOCKER_ACCESS_TOKEN" | docker login -u $DOCKER_USERNAME --password-stdin
6
+ docker build -f $DOCKERFILE -t reveszimre/$1 .
7
+ docker push reveszimre/$1
@@ -3,7 +3,9 @@ set -e
3
3
 
4
4
  npm config set //registry.npmjs.org/:_authToken $NPM_ACCESS_TOKEN
5
5
 
6
- cp -r devops dist
6
+ if [ -d "devops" ]; then
7
+ cp -r devops dist
8
+ fi
7
9
  cp package.json dist
8
10
 
9
11
  npm publish ./dist --access=public
package/package.json CHANGED
@@ -1,17 +1,19 @@
1
1
  {
2
2
  "name": "@candlerip/shared",
3
- "version": "0.0.11",
3
+ "version": "0.0.18",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": "=22.19.0"
7
7
  },
8
- "main": "dist/src/index.js",
8
+ "main": "src/index.js",
9
9
  "bin": {
10
- "crs-create-env-file": "./devops/environment/create-env-file.sh",
11
- "crs-eslint": "./devops/eslint/eslint.sh",
12
- "crs-prettier": "./devops/prettier/prettier.sh",
13
- "crs-tsc-build": "./devops/typescript/tsc-build.sh",
14
- "crs-tsc-watch": "./devops/typescript/tsc-watch.sh"
10
+ "crs-create-env-file": "devops/environment/create-env-file.sh",
11
+ "crs-publish-to-docker-hub": "./devops/docker/publish-to-docker-hub.sh",
12
+ "crs-eslint": "devops/eslint/eslint.sh",
13
+ "crs-publish-to-npm-registry": "devops/npm/publish-to-npm-registry.sh",
14
+ "crs-prettier": "devops/prettier/prettier.sh",
15
+ "crs-tsc-build": "devops/typescript/tsc-build.sh",
16
+ "crs-tsc-watch": "devops/typescript/tsc-watch.sh"
15
17
  },
16
18
  "scripts": {
17
19
  "dev": "sh ./devops/typescript/tsc-watch.sh"