internallib_v210 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/.gitlab-ci.yml ADDED
@@ -0,0 +1,25 @@
1
+ # This file is a template, and might need editing before it works on your project.
2
+ # To contribute improvements to CI/CD templates, please follow the Development guide at:
3
+ # https://docs.gitlab.com/ee/development/cicd/templates.html
4
+ # This specific template is located at:
5
+ # https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Nodejs.gitlab-ci.yml
6
+
7
+ # Official framework image. Look for the different tagged releases at:
8
+ # https://hub.docker.com/r/library/node/tags/
9
+ image: node:latest
10
+
11
+ # Pick zero or more services to be used on all builds.
12
+ # Only needed when using a docker container to run your tests in.
13
+ # Check out: http://docs.gitlab.com/ee/ci/docker/using_docker_images.html#what-is-a-service
14
+
15
+
16
+ # This folder is cached between builds
17
+ # https://docs.gitlab.com/ee/ci/yaml/index.html#cache
18
+ cache:
19
+ paths:
20
+ - node_modules/
21
+
22
+ test_async:
23
+ script:
24
+ - npm update --registry http://0.0.0.0:4873/
25
+ - node check.js
package/check.js ADDED
@@ -0,0 +1,3 @@
1
+ internallib = require("internallib_v210")
2
+
3
+ console.log(internallib.command())
package/index.js ADDED
@@ -0,0 +1,5 @@
1
+ exports.command = function() {
2
+ console.log("This is a message from the internal lib");
3
+ return "Command Execute with Success";
4
+ }
5
+
package/package.json ADDED
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "internallib_v210",
3
+ "version": "1.0.3",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "internallib_v210": "^1.0.0"
13
+ }
14
+ }