tickplate 1.0.2 → 1.0.5

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/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  ## [Unreleased][unreleased]
4
4
 
5
+ ## [1.0.5][] - 2022-07-07
6
+
7
+ - Package maintenance
8
+
9
+ ## [1.0.4][] - 2022-05-12
10
+
11
+ - Package maintenance
12
+
13
+ ## [1.0.3][] - 2021-07-17
14
+
15
+ - Fix d.ts typings and include typings to package publishing files
16
+ - Chore: update package files, copyrights, links
17
+
5
18
  ## [1.0.2][] - 2021-07-15
6
19
 
7
20
  - Add d.ts typings
@@ -17,7 +30,10 @@
17
30
 
18
31
  ## [0.0.x][] Pre-release versions
19
32
 
20
- [unreleased]: https://github.com/metarhia/tickplate/compare/v1.0.2...HEAD
33
+ [unreleased]: https://github.com/metarhia/tickplate/compare/v1.0.5...HEAD
34
+ [1.0.5]: https://github.com/metarhia/tickplate/compare/v1.0.4...v1.0.5
35
+ [1.0.4]: https://github.com/metarhia/tickplate/compare/v1.0.3...v1.0.4
36
+ [1.0.3]: https://github.com/metarhia/tickplate/compare/v1.0.2...v1.0.3
21
37
  [1.0.2]: https://github.com/metarhia/tickplate/compare/v1.0.1...v1.0.2
22
38
  [1.0.1]: https://github.com/metarhia/tickplate/compare/v1.0.0...v1.0.1
23
39
  [1.0.0]: https://github.com/metarhia/tickplate/compare/v0.0.x...v1.0.0
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2017-2021 Metarhia contributors
3
+ Copyright (c) 2017-2022 Metarhia contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -33,3 +33,9 @@ const templ = t`${'hello'} ${'myFriend'}, great ${'positions'} of Rome`;
33
33
 
34
34
  console.log(templ(data));
35
35
  ```
36
+
37
+ ## License & Contributors
38
+
39
+ Copyright (c) 2017-2022 [Metarhia contributors](https://github.com/metarhia/tickplate/graphs/contributors).
40
+ Tickplate is [MIT licensed](./LICENSE).\
41
+ Tickplate is a part of [Metarhia](https://github.com/metarhia) technology stack.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tickplate",
3
- "version": "1.0.2",
3
+ "version": "1.0.5",
4
4
  "author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>",
5
5
  "description": "Back-tick templates for JavaScript",
6
6
  "license": "MIT",
@@ -27,9 +27,11 @@
27
27
  },
28
28
  "main": "tickplate.js",
29
29
  "types": "tickplate.d.ts",
30
- "files": [],
30
+ "files": [
31
+ "tickplate.d.ts"
32
+ ],
31
33
  "engines": {
32
- "node": "^12.9 || 14 || 16"
34
+ "node": "14 || 16 || 18"
33
35
  },
34
36
  "readmeFilename": "README.md",
35
37
  "scripts": {
@@ -39,12 +41,12 @@
39
41
  "fmt": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \".*rc\" \"**/*.yml\""
40
42
  },
41
43
  "devDependencies": {
42
- "eslint": "^7.30.0",
43
- "eslint-config-metarhia": "^7.0.1",
44
+ "eslint": "^8.19.0",
45
+ "eslint-config-metarhia": "^8.1.0",
44
46
  "eslint-config-prettier": "^8.3.0",
45
47
  "eslint-plugin-import": "^2.23.4",
46
- "eslint-plugin-prettier": "^3.4.0",
47
- "prettier": "^2.3.2",
48
- "typescript": "^4.3.4"
48
+ "eslint-plugin-prettier": "^4.2.1",
49
+ "prettier": "^2.7.1",
50
+ "typescript": "^4.7.4"
49
51
  }
50
52
  }
package/tickplate.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ declare function tickplate(strings: Array<string>, ...keys: Array<string>): (values: object) => string;
2
+
3
+ export = tickplate;