rotacloud 1.0.13 → 1.0.14

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.
@@ -25,7 +25,7 @@ jobs:
25
25
  cache: 'npm'
26
26
  registry-url: https://registry.npmjs.org/
27
27
  - run: npm ci
28
- - run: npm run version:output
28
+ - run: npm run version:bump
29
29
  - run: npm run lint
30
30
  - run: npm run build --if-present
31
31
  - run: npm publish
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Version = void 0;
4
- exports.Version = { version: "1.0.13" };
4
+ exports.Version = { version: '1.0.13' };
@@ -1 +1 @@
1
- export const Version = { version: "1.0.13" };
1
+ export const Version = { version: '1.0.13' };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rotacloud",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "The RotaCloud SDK for the RotaCloud API",
5
5
  "engines": {
6
6
  "node": ">=14.17.0"
@@ -14,7 +14,7 @@
14
14
  }
15
15
  },
16
16
  "scripts": {
17
- "version:output": "echo 'export const Version = { version: \"'$npm_package_version'\" }' > ./src/version.ts",
17
+ "version:bump": "npm --no-git-tag-version version patch --force && cross-var echo export const Version = { version: \"'$npm_package_version'\" } > ./src/version.ts",
18
18
  "build": "rm -rf dist/* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./fixup",
19
19
  "watch": "rm -rf ./dist && tsc --watch",
20
20
  "lint": "eslint src --ext .ts",
@@ -45,6 +45,7 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@types/node": "^16.11.6",
48
- "axios": "^0.23.0"
48
+ "axios": "^0.23.0",
49
+ "cross-var": "^1.1.0"
49
50
  }
50
51
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const Version = { version: "1.0.13" }
1
+ export const Version = { version: '1.0.13' }