diff --git a/.yarnrc.yml b/.yarnrc.yml index 2f9c6b14..c9617455 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,4 +1,8 @@ nodeLinker: pnp pnpMode: loose +npmAuthToken: '${NPM_AUTH_TOKEN-notoken}' + +npmPublishAccess: public + yarnPath: .yarn/releases/yarn-3.2.0.cjs diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..5cba0600 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Tom Meagher + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/ensjs/package.json b/packages/ensjs/package.json index 137ce1cc..2d3a71e8 100644 --- a/packages/ensjs/package.json +++ b/packages/ensjs/package.json @@ -1,6 +1,6 @@ { "name": "@ensdomains/ensjs", - "version": "3.1.0", + "version": "3.0.0-alpha.1", "description": "ENS javascript library for contract interaction", "main": "./dist/cjs/index.js", "types": "./dist/cjs/index.d.ts", @@ -29,11 +29,11 @@ "start": "ts-node --files src/index.test.ts", "test": "jest --run-in-band src/tests", "test:specific": "ts-node --files ", - "clean": "rm -rf ./dist", + "clean": "rm -rf ./dist ./README.md ./LICENSE", "build:esm": "tsc --project tsconfig.esm.json", "build:cjs": "tsc --project tsconfig.cjs.json", "build": "yarn clean && yarn build:esm && yarn build:cjs", - "prepublish": "yarn build" + "prepublish": "yarn build && cp ../../{README.md,LICENSE} ./" }, "packageManager": "yarn@3.2.0", "dependencies": {