rotacloud 1.0.13 → 1.0.16
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.
- package/.gitattributes +1 -0
- package/.github/workflows/node.js.yml +0 -1
- package/README.md +5 -0
- package/dist/cjs/version.js +1 -1
- package/dist/mjs/version.js +1 -1
- package/package.json +6 -3
- package/src/version.ts +1 -1
package/.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* text=auto eol=lf
|
package/README.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# RotaCloud Node SDK
|
|
2
2
|
|
|
3
|
+
## Contributing
|
|
4
|
+
|
|
5
|
+
Please ensure you perform the ```npm run version:all``` command before commiting and pushing your changes to the remote branch.
|
|
6
|
+
|
|
7
|
+
|
|
3
8
|
## Configuration
|
|
4
9
|
|
|
5
10
|
Configuration is simple, just import the core rotacloud.js SDK and supply your API key as necessary.
|
package/dist/cjs/version.js
CHANGED
package/dist/mjs/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const Version = { version:
|
|
1
|
+
export const Version = { version: '1.0.16' };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rotacloud",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"description": "The RotaCloud SDK for the RotaCloud API",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=14.17.0"
|
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
|
-
"version:
|
|
17
|
+
"version:bump": "npm --no-git-tag-version version patch",
|
|
18
|
+
"version:copy": "cross-var echo export const Version = { version: \"'$npm_package_version'\" } > ./src/version.ts",
|
|
19
|
+
"version:all": "npm run version:bump && npm run version:copy",
|
|
18
20
|
"build": "rm -rf dist/* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./fixup",
|
|
19
21
|
"watch": "rm -rf ./dist && tsc --watch",
|
|
20
22
|
"lint": "eslint src --ext .ts",
|
|
@@ -45,6 +47,7 @@
|
|
|
45
47
|
},
|
|
46
48
|
"dependencies": {
|
|
47
49
|
"@types/node": "^16.11.6",
|
|
48
|
-
"axios": "^0.23.0"
|
|
50
|
+
"axios": "^0.23.0",
|
|
51
|
+
"cross-var": "^1.1.0"
|
|
49
52
|
}
|
|
50
53
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const Version = { version:
|
|
1
|
+
export const Version = { version: '1.0.16' }
|