@candlerip/shared-devops 0.0.19 → 0.0.21

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,8 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ ssh -o StrictHostKeyChecking=no ubuntu@$EC2_IP_ADDRESS "npm run prod $2"
5
+
6
+ echo "$EC2_SSH_KEY" > ssh_key.pem
7
+ chmod 600 ssh_key.pem
8
+ ssh -i "ssh_key.pem" -o StrictHostKeyChecking=no ubuntu@$EC2_IP_ADDRESS "pwd && ls -la /etc/gitlab"
@@ -1,13 +1,13 @@
1
- import js from '@eslint/js';
2
- import ts from 'typescript-eslint';
3
- import globals from 'globals';
1
+ import js from "@eslint/js";
2
+ import ts from "typescript-eslint";
3
+ import globals from "globals";
4
4
 
5
5
  export default (projectConfig) =>
6
6
  ts.config(
7
7
  js.configs.recommended,
8
8
  ...ts.configs.recommended,
9
9
  {
10
- ignores: ['temp'],
10
+ ignores: ["dist", "temp"],
11
11
  },
12
12
  {
13
13
  languageOptions: {
@@ -19,8 +19,8 @@ export default (projectConfig) =>
19
19
  },
20
20
  {
21
21
  rules: {
22
- 'no-console': [2, { allow: ['error', 'info'] }],
22
+ "no-console": [2, { allow: ["error", "info"] }],
23
23
  },
24
24
  },
25
- ...(projectConfig ?? []),
25
+ ...(projectConfig ?? [])
26
26
  );
package/package.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "@candlerip/shared-devops",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "crsd-create-env-file": "./environment/create-env-file.sh",
7
- "crsd-build-publish-to-docker": "./docker/build-publish-to-docker.sh",
7
+ "crsd-build-publish-to-docker-hub": "./docker/build-publish-to-docker-hub.sh",
8
8
  "crsd-eslint": "./eslint/eslint.sh",
9
9
  "crsd-prettier": "./prettier/prettier.sh",
10
10
  "crsd-publish-to-npm": "./npm/publish-to-npm.sh",
11
- "crsd-update-shared-packages": "./npm/update-shared-packages.sh",
12
11
  "crsd-tsc-build": "./typescript/tsc-build.sh",
13
12
  "crsd-tsc-watch": "./typescript/tsc-watch.sh"
14
13
  },
@@ -1,11 +0,0 @@
1
- #!/bin/bash
2
-
3
- PACKAGES=( @candlerip/shared4 @candlerip/shared-devops )
4
- for PACKAGE in "${PACKAGES[@]}"
5
- do
6
- npm list --depth=0 | grep $PACKAGE
7
- success=$?
8
- if [ $success == 0 ]; then
9
- npm i $PACKAGE@latest
10
- fi
11
- done