@arisnetxsolutions/quantum-core-sdk 1.0.2 → 1.0.3
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/README.md +7 -7
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Type-safe TypeScript library for consuming content from your QuantumCore Headles
|
|
|
5
5
|
## Installation
|
|
6
6
|
```bash
|
|
7
7
|
# replace with the actual package name once published
|
|
8
|
-
npm install
|
|
8
|
+
npm install quantum-core-sdk
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
@@ -42,12 +42,12 @@ const images = await cms2.gallery.getAll();
|
|
|
42
42
|
|
|
43
43
|
## Publishing to npm
|
|
44
44
|
1. Ensure the `name` field in `packages/sdk/package.json` reflects the
|
|
45
|
-
package you intend to publish (currently
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
45
|
+
package you intend to publish (currently `quantum-core-sdk`).
|
|
46
|
+
Since this is now an **unscoped** package there is no need to create an npm
|
|
47
|
+
organization or worry about scope permissions; simply pick a name that isn’t
|
|
48
|
+
already taken on the registry. If you ever switch back to a scoped name, the
|
|
49
|
+
rules earlier in this document about creating the scope and having publish
|
|
50
|
+
rights apply.
|
|
51
51
|
`quantum-core-sdk` instead.
|
|
52
52
|
2. Update the version (semantic versioning) and commit the change.
|
|
53
53
|
3. Run `npm run build` to regenerate `dist/`.
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arisnetxsolutions/quantum-core-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "npx tsc",
|
|
9
|
-
"publish": "npm publish --access public --//registry.npmjs.org/:_authToken=
|
|
10
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
9
|
+
"publish": "npm publish --access public --//registry.npmjs.org/:_authToken=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"
|
|
11
10
|
},
|
|
12
11
|
"keywords": [],
|
|
13
12
|
"author": "",
|