aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-20 15:40:23 +0300
committerValentin Popov <info@valentineus.link>2020-02-20 15:40:23 +0300
commit80283102f1c38b1637ad34bcbaa904ea157f13d5 (patch)
tree5a780f77ba4e6c109b9cff86f93ee74001f47f46
parent4b7a00080caadcba009b4767f7756bc208b5d089 (diff)
downloadwebos-service-types-80283102f1c38b1637ad34bcbaa904ea157f13d5.tar.xz
webos-service-types-80283102f1c38b1637ad34bcbaa904ea157f13d5.zip
Configuration updates
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--.eslintrc.json5
-rw-r--r--.npmignore199
-rw-r--r--package.json12
-rw-r--r--yarn.lock19
4 files changed, 224 insertions, 11 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index fdcfcf4..f72fbcc 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -16,5 +16,10 @@
"project": "tsconfig.json",
"sourceType": "module",
"tsconfigRootDir": "."
+ },
+ "rules": {
+ "unicorn/prevent-abbreviations": [
+ "off"
+ ]
}
}
diff --git a/.npmignore b/.npmignore
new file mode 100644
index 0000000..967c539
--- /dev/null
+++ b/.npmignore
@@ -0,0 +1,199 @@
+### Linux ###
+
+*~
+
+# temporary files which can be created if a process still has a handle open of a deleted file
+.fuse_hidden*
+
+# KDE directory preferences
+.directory
+
+# Linux trash folder which might appear on any partition or disk
+.Trash-*
+
+# .nfs files are created when an open file is removed but is still being accessed
+.nfs*
+
+### macOS ###
+
+# General
+.DS_Store
+.AppleDouble
+.LSOverride
+
+# Icon must end with two \r
+Icon
+
+# Thumbnails
+._*
+
+# Files that might appear in the root of a volume
+.DocumentRevisions-V100
+.fseventsd
+.Spotlight-V100
+.TemporaryItems
+.Trashes
+.VolumeIcon.icns
+.com.apple.timemachine.donotpresent
+
+# Directories potentially created on remote AFP share
+.AppleDB
+.AppleDesktop
+Network Trash Folder
+Temporary Items
+.apdisk
+
+### Node ###
+
+# Logs
+logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+lerna-debug.log*
+
+# Diagnostic reports (https://nodejs.org/api/report.html)
+report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
+
+# Runtime data
+pids
+*.pid
+*.seed
+*.pid.lock
+
+# Directory for instrumented libs generated by jscoverage/JSCover
+lib-cov
+
+# Coverage directory used by tools like istanbul
+coverage
+*.lcov
+
+# nyc test coverage
+.nyc_output
+
+# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
+.grunt
+
+# Bower dependency directory (https://bower.io/)
+bower_components
+
+# node-waf configuration
+.lock-wscript
+
+# Compiled binary addons (https://nodejs.org/api/addons.html)
+build/Release
+
+# Dependency directories
+node_modules/
+jspm_packages/
+
+# TypeScript v1 declaration files
+typings/
+
+# TypeScript cache
+*.tsbuildinfo
+
+# Optional npm cache directory
+.npm
+
+# Optional eslint cache
+.eslintcache
+
+# Optional REPL history
+.node_repl_history
+
+# Output of 'npm pack'
+*.tgz
+
+# Yarn Integrity file
+.yarn-integrity
+
+# dotenv environment variables file
+.env
+.env.test
+
+# parcel-bundler cache (https://parceljs.org/)
+.cache
+
+# next.js build output
+.next
+
+# nuxt.js build output
+.nuxt
+
+# Uncomment the public line if your project uses Gatsby
+# https://nextjs.org/blog/next-9-1#public-directory-support
+# https://create-react-app.dev/docs/using-the-public-folder/#docsNav
+# public
+
+# Storybook build outputs
+.out
+.storybook-out
+
+# vuepress build output
+.vuepress/dist
+
+# Serverless directories
+.serverless/
+
+# FuseBox cache
+.fusebox/
+
+# DynamoDB Local files
+.dynamodb/
+
+# Temporary folders
+tmp/
+temp/
+
+### VisualStudioCode ###
+
+.vscode/*
+!.vscode/settings.json
+!.vscode/tasks.json
+!.vscode/launch.json
+!.vscode/extensions.json
+
+### VisualStudioCode Patch ###
+
+# Ignore all local history of files
+.history
+
+### Windows ###
+
+# Windows thumbnail cache files
+Thumbs.db
+Thumbs.db:encryptable
+ehthumbs.db
+ehthumbs_vista.db
+
+# Dump file
+*.stackdump
+
+# Folder config file
+[Dd]esktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
+# Windows Installer files
+*.cab
+*.msi
+*.msix
+*.msm
+*.msp
+
+# Windows shortcuts
+*.lnk
+
+### Project ###
+
+# Files
+.editorconfig
+.eslintrc.json
+.gitignore
+tsconfig.json
+
+# Catalogs
+.vscode
diff --git a/package.json b/package.json
index bce34f6..291eb69 100644
--- a/package.json
+++ b/package.json
@@ -1,16 +1,17 @@
{
- "name": "webos-service-types",
- "version": "0.0.1",
+ "name": "@valentineus/webos-service-types",
+ "version": "0.1.0",
"description": "TypeScript's types for WebOS service.",
"main": "index.js",
"repository": "git@code.valentineus.link:webos-service-types.git",
"author": "Valentin Popov <info@valentineus.link>",
- "license": "MIT",
+ "license": "Apache-2.0",
"scripts": {},
"devDependencies": {
+ "@types/node": "^13.7.4",
"@typescript-eslint/eslint-plugin": "^2.20.0",
"@typescript-eslint/parser": "^2.20.0",
- "@valentineus/eslint-config": "^0.0.11",
+ "@valentineus/eslint-config": "^0.0.12",
"cross-env": "^7.0.0",
"eslint": "^6.8.0",
"eslint-plugin-eslint-comments": "^3.1.2",
@@ -21,5 +22,8 @@
"eslint-plugin-vue": "^6.2.1",
"tslib": "^1.10.0",
"typescript": "^3.7.5"
+ },
+ "peerDependencies": {
+ "@types/node": "^13.7.4"
}
}
diff --git a/yarn.lock b/yarn.lock
index b1026eb..f42f504 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -28,6 +28,11 @@
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.4.tgz#38fd73ddfd9b55abb1e1b2ed578cb55bd7b7d339"
integrity sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA==
+"@types/node@^13.7.4":
+ version "13.7.4"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-13.7.4.tgz#76c3cb3a12909510f52e5dc04a6298cdf9504ffd"
+ integrity sha512-oVeL12C6gQS/GAExndigSaLxTrKpQPxewx9bOcwfvJiJge4rr7wNaph4J+ns5hrmIV2as5qxqN8YKthn9qh0jw==
+
"@types/normalize-package-data@^2.4.0":
version "2.4.0"
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
@@ -76,10 +81,10 @@
semver "^6.3.0"
tsutils "^3.17.1"
-"@valentineus/eslint-config@^0.0.11":
- version "0.0.11"
- resolved "https://registry.yarnpkg.com/@valentineus/eslint-config/-/eslint-config-0.0.11.tgz#0265bad54b4accc5682505d55b709c73eb5b5bb8"
- integrity sha512-V//wOngvvIg5sJu6kzH1i/2DPWIhOeW6aERpuF7CdxL+1nLd5ltAz77lf3bMBWDMnZPyGHBZCAQckywnQgFsbQ==
+"@valentineus/eslint-config@^0.0.12":
+ version "0.0.12"
+ resolved "https://registry.yarnpkg.com/@valentineus/eslint-config/-/eslint-config-0.0.12.tgz#d66152164715b01dbb15e0e0bbad82ca87977ce7"
+ integrity sha512-cV7m0WdvZjhczz7/qRJ5vaIImcyTQ5tfUUA7e0xZWVj7EJpsD2HiLQhBUN4/eP4yTKWIJfysN1gC9CT09iv44Q==
acorn-jsx@^5.1.0:
version "5.1.0"
@@ -1218,9 +1223,9 @@ read-pkg@^5.2.0:
type-fest "^0.6.0"
regexp-tree@^0.1.17, regexp-tree@~0.1.1:
- version "0.1.19"
- resolved "https://registry.yarnpkg.com/regexp-tree/-/regexp-tree-0.1.19.tgz#9326e91d8d1d23298dd33a78cf5e788f57cdc359"
- integrity sha512-mVeVLF/qg5qFbZSW0f7pXbuVX73dKIjuhOyC2JLKxzmpya75O4qLcvI9j0jp31Iz7IAkEVHa1UErDCAqaLKo5A==
+ version "0.1.20"
+ resolved "https://registry.yarnpkg.com/regexp-tree/-/regexp-tree-0.1.20.tgz#d4ca65e4ab9ab05262acfce674dadd02d0fb9808"
+ integrity sha512-gSiH74kc00oTbQkN7tZogZe0ttKwyxyDVLAnU20aWoarbLE9AypbJHRlZ567h4Zi19q3cPVRWDYbfECElrHgsQ==
regexpp@^2.0.1:
version "2.0.1"