Skip to content

Commit

Permalink
Merge pull request #15 from zattoo/release
Browse files Browse the repository at this point in the history
Release 1.0.0-alpha.1
  • Loading branch information
nitzanashi authored May 14, 2020
2 parents daa6035 + f322336 commit fde27ec
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 17 deletions.
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# see https://editorconfig.org

root = true

[*]
indent_style = space
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true
indent_size = 2

[*.{js,jsx,ts}]
indent_size = 4

[*.json]
indent_size = 4

6 changes: 5 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"extends": ["@zattoo"]
"extends": ["@zattoo"],
"ignorePatterns": [
"node_modules",
"lib"
]
}
2 changes: 1 addition & 1 deletion .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
- run: npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
- run: npm ci
- run: npm run test:lint
- run: npm run test:types
- run: npm run build
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ jobs:
- run: npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
- run: npm ci
- run: npm i @zattoo/zploy@1.0.0-rc.0 -g
- run: npm run build
- run: zploy --gh_token=${{ secrets.GH_TOKEN }} --npm_token=${{ secrets.NPM_TOKEN }}
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 1.0.0-alpha.0 - 13.05.2020
## [1.0.0-alpha.1] - 14.05.2020

- Initial implementation
Export `d.ts` files

## [1.0.0-alpha.0] - 13.05.2020

Initial implementation
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zattoo/use-double-click",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.1",
"description": "React hook for continuous double-clicks and combining click and double-click events",
"homepage": "https://github.com/zattoo/use-double-click",
"repository": {
Expand All @@ -13,13 +13,14 @@
"double-click"
],
"type": "module",
"main": "src/index.js",
"main": "lib/index.js",
"bugs": {
"url": "https://github.com/zattoo/use-double-click/issues"
},
"author": "Nitzan Nashi",
"license": "MIT",
"scripts": {
"build": "tsc --build --verbose",
"test:lint": "eslint . --ext .js,.jsx --cache --cache-location ./.tmp/.eslintcache",
"test:types": "tsc --noemit",
"test": "npm run test:lint && npm run test:types"
Expand All @@ -28,9 +29,9 @@
"react": "^16.8.0"
},
"devDependencies": {
"@types/react": "^16.9.11",
"@zattoo/eslint-config": "^9.0.0",
"eslint": "^6.8.0",
"typescript": "^3.8.3"
"@types/react": "16.9.35",
"@zattoo/eslint-config": "9.0.0",
"eslint": "6.8.0",
"typescript": "3.9.2"
}
}
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"include": ["**/*"],
"compilerOptions": {
"outDir": "./lib",
"types": [],
"moduleResolution": "node",
"target": "esnext",
Expand All @@ -13,6 +14,8 @@
"checkJs": true,
"maxNodeModuleJsDepth": 30,
"noEmitOnError": true,
"declaration": true,
"declarationMap": true,
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
Expand Down

0 comments on commit fde27ec

Please sign in to comment.