@sofit/view-locale 0.1.2 → 0.1.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/.circleci/config.yml +8 -1
- package/package.json +3 -2
- package/readme.md +3 -1
package/.circleci/config.yml
CHANGED
|
@@ -29,6 +29,10 @@ jobs:
|
|
|
29
29
|
- node_modules
|
|
30
30
|
key: v1-dependencies-{{ checksum "package.json" }}
|
|
31
31
|
|
|
32
|
+
- run:
|
|
33
|
+
name: Run code quality
|
|
34
|
+
command: npm run lint
|
|
35
|
+
|
|
32
36
|
- run:
|
|
33
37
|
name: Run tests
|
|
34
38
|
command: npm test
|
|
@@ -49,8 +53,11 @@ jobs:
|
|
|
49
53
|
name: Authenticate with registry
|
|
50
54
|
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
|
|
51
55
|
- run:
|
|
52
|
-
name: Publish new version of @sofit/view-
|
|
56
|
+
name: Publish new version of @sofit/view-locale
|
|
53
57
|
command: npm publish
|
|
58
|
+
- run:
|
|
59
|
+
name: Creating a new tag
|
|
60
|
+
command: N=`cat package.json | grep version | egrep "[0-9].[0-9].[0-9]" -o` && git tag -a v$N -m "New version of @sofit/view-locale $N" && git push --tags
|
|
54
61
|
|
|
55
62
|
workflows:
|
|
56
63
|
version: 2
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sofit/view-locale",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Traduções do Sofit View",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"test": "jest --config ./jest.config.json",
|
|
9
9
|
"dev": "nodemon",
|
|
10
|
-
"
|
|
10
|
+
"lint": "tslint --project ./",
|
|
11
|
+
"build": "tsc --p ./"
|
|
11
12
|
},
|
|
12
13
|
"author": "desenvolvimento@sofit4.com.br",
|
|
13
14
|
"contributors": [
|
package/readme.md
CHANGED