@shgysk8zer0/polyfills 0.1.2 → 0.2.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/package.json +18 -8
package/CHANGELOG.md CHANGED
@@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [v0.2.0] - 2023-07-03
10
+
11
+ ### Changed
12
+ - Update to node 20
13
+ - Update GH Action for npm publish
14
+ - Update npm scripts for versioning and locks
15
+
9
16
  ## [v0.1.2] - 2023-06-19
10
17
 
11
18
  ### Fixed
package/package.json CHANGED
@@ -1,11 +1,21 @@
1
1
  {
2
2
  "name": "@shgysk8zer0/polyfills",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "A collection of JavaScript polyfills",
7
- "main": "all.min.js",
8
- "module": "all.js",
7
+ "main": "./all.min.js",
8
+ "module": "./all.js",
9
+ "unpkg": "./all.js",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./all.js",
13
+ "require": "./all.min.js"
14
+ },
15
+ "./*": {
16
+ "import": "./*.js"
17
+ }
18
+ },
9
19
  "config": {
10
20
  "serve": {
11
21
  "domain": "localhost",
@@ -29,11 +39,11 @@
29
39
  "lint:js": "eslint .",
30
40
  "lint:html": "htmlhint \"**/*.html\"",
31
41
  "build:js": "rollup -c rollup.config.js",
32
- "create:lock": "npm i --package-lock-only --ignore-scripts",
42
+ "create:lock": "npm i --package-lock-only --ignore-scripts --no-audit --no-fund",
33
43
  "version:bump": "npm run version:bump:patch",
34
- "version:bump:patch": "npm version --no-git-tag-version patch",
35
- "version:bump:minor": "npm version --no-git-tag-version minor",
36
- "version:bump:major": "npm version --no-git-tag-version major"
44
+ "version:bump:patch": "npm version --no-git-tag-version patch && npm run create:lock",
45
+ "version:bump:minor": "npm version --no-git-tag-version minor && npm run create:lock",
46
+ "version:bump:major": "npm version --no-git-tag-version major && npm run create:lock"
37
47
  },
38
48
  "repository": {
39
49
  "type": "git",
@@ -50,7 +60,7 @@
50
60
  },
51
61
  "homepage": "https://github.com/shgysk8zer0/polyfills#readme",
52
62
  "devDependencies": {
53
- "@shgysk8zer0/js-utils": "^1.0.0",
63
+ "@shgysk8zer0/js-utils": "^1.0.1",
54
64
  "htmlhint": "^1.1.4",
55
65
  "http-server": "^14.1.1"
56
66
  }