chore: publish on github packages

This commit is contained in:
thecodrr
2022-07-15 09:30:01 +05:00
parent 61e608b2dc
commit f888b1276a
5 changed files with 16 additions and 5 deletions

5
packages/core/.npmignore Normal file
View File

@@ -0,0 +1,5 @@
*
!{api,collections,contenttypes,database,models,utils}/**/*
!common.js
!migrations.js
!types.js

1
packages/core/.npmrc Normal file
View File

@@ -0,0 +1 @@
@streetwriters:registry=https://npm.pkg.github.com

View File

@@ -1,4 +1,4 @@
import http from "notes-core/utils/http";
import http from "./http";
const BASE_URL = `https://notesnook.com/api/v1/prices`;
class Pricing {

View File

@@ -1,12 +1,13 @@
{
"name": "notes-core",
"name": "@streetwriters/notesnook-core",
"version": "7.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "notes-core",
"name": "@streetwriters/notesnook-core",
"version": "7.0.0",
"license": "GPL-3.0",
"dependencies": {
"@microsoft/signalr": "^6.0.3",
"@microsoft/signalr-protocol-msgpack": "^6.0.3",

View File

@@ -1,8 +1,12 @@
{
"name": "notes-core",
"name": "@streetwriters/notesnook-core",
"version": "7.0.0",
"private": true,
"main": "./api/index.js",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "git://github.com/streetwriters/notesnook-core.git"
},
"devDependencies": {
"@babel/core": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.7.4",