@rork8s/ror-resources 0.0.3 → 0.0.5

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 CHANGED
@@ -1,3 +1,36 @@
1
1
  # ROR NPM
2
2
 
3
3
  Npm package for ROR (Release Operate Report) project: https://github.com/norskHelsenett/ror
4
+
5
+ ## Build
6
+
7
+ ```bash
8
+ bun i
9
+ ```
10
+
11
+ ## Test locally
12
+
13
+ - Update version number in `package.json`
14
+ - Run
15
+
16
+ ```bash
17
+ npm pack
18
+ ```
19
+
20
+ A new file will appear beside ``package.json`. named something like: rork8s-ror-resources-<version number>.tgz
21
+
22
+ To use in another `package.json`
23
+ Replace dependency url, while testing to example this:
24
+
25
+ ```json
26
+ "@rork8s/ror-resources": "file:../../../ror-typescript-resource-models/rork8s-ror-resources-0.0.14.tgz",
27
+ ```
28
+
29
+ ## Publish
30
+
31
+ - Update version number in `package.json`
32
+ - Run
33
+
34
+ ```bash
35
+ npm publish
36
+ ```
package/dist/index.js CHANGED
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateTest = CreateTest;
4
- function CreateTest(foo, bar) {
1
+ export function CreateTest(foo, bar) {
5
2
  return {
6
3
  foo: foo,
7
4
  bar: bar,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAKA,gCAKC;AALD,SAAgB,UAAU,CAAC,GAAW,EAAE,GAAW;IACjD,OAAO;QACL,GAAG,KAAA;QACH,GAAG,KAAA;KACJ,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,UAAU,CAAC,GAAW,EAAE,GAAW;IACjD,OAAO;QACL,GAAG,KAAA;QACH,GAAG,KAAA;KACJ,CAAC;AACJ,CAAC"}