@thi.ng/expose 1.0.4 → 1.1.2

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 (3) hide show
  1. package/CHANGELOG.md +33 -29
  2. package/README.md +1 -1
  3. package/package.json +70 -64
package/CHANGELOG.md CHANGED
@@ -1,47 +1,51 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [1.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/expose@1.0.3...@thi.ng/expose@1.0.4) (2021-10-25)
7
-
8
-
9
- ### Bug Fixes
10
-
11
- * [#324](https://github.com/thi-ng/umbrella/issues/324) update snowpack issue workaround ([6dfbf71](https://github.com/thi-ng/umbrella/commit/6dfbf7120faaea7ef6af4f755e1a609cb49d902a)), closes [snowpackjs/snowpack#3621](https://github.com/snowpackjs/snowpack/issues/3621)
12
-
13
-
14
-
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
15
5
 
6
+ All notable changes to this project will be documented in this file.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
16
8
 
17
- ## [1.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/expose@1.0.2...@thi.ng/expose@1.0.3) (2021-10-15)
18
-
19
- **Note:** Version bump only for package @thi.ng/expose
20
-
21
-
22
-
23
-
24
-
25
- ## [1.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/expose@1.0.1...@thi.ng/expose@1.0.2) (2021-10-15)
26
-
27
- **Note:** Version bump only for package @thi.ng/expose
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
28
11
 
12
+ ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/expose@1.1.0) (2021-11-17)
29
13
 
14
+ #### 🚀 Features
30
15
 
16
+ - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
17
+ Improving the overall build ergonomics
18
+ - introduced a tools workspaces
19
+ - imported it in all needed packages/examples
20
+ - inclusive project root
31
21
 
22
+ #### ♻️ Refactoring
32
23
 
33
- ## [1.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/expose@0.1.0...@thi.ng/expose@1.0.1) (2021-10-13)
24
+ - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
25
+ this commit reverts (partly) changes made in:
26
+ ef346d7a8753590dc9094108a3d861a8dbd5dd2c
27
+ overall purpose is better testament ergonomics:
28
+ instead of having to pass NODE_OPTIONS with every invocation
29
+ having a binary to handle this for us.
34
30
 
35
- **Note:** Version bump only for package @thi.ng/expose
31
+ ### [1.0.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/expose@1.0.4) (2021-10-25)
36
32
 
33
+ #### 🩹 Bug fixes
37
34
 
35
+ - [#324](https://github.com/thi-ng/umbrella/issues/324) update snowpack issue workaround ([6dfbf71](https://github.com/thi-ng/umbrella/commit/6dfbf71))
36
+ - switch to another temp workaround until snowpack team
37
+ fixes snowpackjs/snowpack[#3621](https://github.com/thi-ng/umbrella/issues/3621)
38
38
 
39
+ ### [1.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/expose@1.0.1) (2021-10-13)
39
40
 
41
+ #### ♻️ Refactoring
40
42
 
41
- # 0.1.0 (2021-10-12)
43
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
42
44
 
45
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/expose@0.1.0) (2021-10-12)
43
46
 
44
- ### Features
47
+ #### 🚀 Features
45
48
 
46
- * **expose:** add snowpack env var support ([bdd68e1](https://github.com/thi-ng/umbrella/commit/bdd68e199924e10635347358145dc1b369799749))
47
- * **expose:** extract as new pkg ([323995f](https://github.com/thi-ng/umbrella/commit/323995fd70981a7e4d33f029f829ed0d0e3ce0bb))
49
+ - add snowpack env var support ([bdd68e1](https://github.com/thi-ng/umbrella/commit/bdd68e1))
50
+ - extract as new pkg ([323995f](https://github.com/thi-ng/umbrella/commit/323995f))
51
+ - migrate exposeGlobal() from [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) to new pkg
package/README.md CHANGED
@@ -60,7 +60,7 @@ node --experimental-repl-await
60
60
  > const expose = await import("@thi.ng/expose");
61
61
  ```
62
62
 
63
- Package sizes (gzipped, pre-treeshake): ESM: 243 bytes
63
+ Package sizes (gzipped, pre-treeshake): ESM: 245 bytes
64
64
 
65
65
  ## Dependencies
66
66
 
package/package.json CHANGED
@@ -1,66 +1,72 @@
1
1
  {
2
- "name": "@thi.ng/expose",
3
- "version": "1.0.4",
4
- "description": "Conditional global variable exposition",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
2
+ "name": "@thi.ng/expose",
3
+ "version": "1.1.2",
4
+ "description": "Conditional global variable exposition",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/expose#readme",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
12
18
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/expose#readme",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- }
23
- ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
25
- "license": "Apache-2.0",
26
- "scripts": {
27
- "build": "yarn clean && tsc --declaration",
28
- "clean": "rimraf *.js *.d.ts *.map doc",
29
- "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
- "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
35
- },
36
- "devDependencies": {
37
- "@thi.ng/testament": "^0.1.4"
38
- },
39
- "keywords": [
40
- "global",
41
- "scope",
42
- "typescript",
43
- "variable"
44
- ],
45
- "publishConfig": {
46
- "access": "public"
47
- },
48
- "browser": {
49
- "process": false,
50
- "setTimeout": false
51
- },
52
- "engines": {
53
- "node": ">=12.7"
54
- },
55
- "files": [
56
- "*.js",
57
- "*.d.ts"
58
- ],
59
- "exports": {
60
- ".": {
61
- "import": "./index.js"
62
- }
63
- },
64
- "thi.ng": {},
65
- "gitHead": "9ff00a103f76cc4917ef3f244132e218f2300a05"
66
- }
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ }
23
+ ],
24
+ "author": "Karsten Schmidt <k+npm@thi.ng>",
25
+ "license": "Apache-2.0",
26
+ "scripts": {
27
+ "build": "yarn clean && tsc --declaration",
28
+ "clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
29
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
+ "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
+ "doc:readme": "yarn doc:stats && tools:readme",
32
+ "doc:stats": "tools:module-stats",
33
+ "pub": "yarn npm publish --access public",
34
+ "test": "testament test"
35
+ },
36
+ "devDependencies": {
37
+ "@microsoft/api-extractor": "^7.18.19",
38
+ "@thi.ng/testament": "^0.2.2",
39
+ "@types/node": "^16.11.7",
40
+ "rimraf": "^3.0.2",
41
+ "tools": "^0.0.1",
42
+ "typedoc": "^0.22.9",
43
+ "typescript": "^4.5.2"
44
+ },
45
+ "keywords": [
46
+ "global",
47
+ "scope",
48
+ "typescript",
49
+ "variable"
50
+ ],
51
+ "publishConfig": {
52
+ "access": "public"
53
+ },
54
+ "browser": {
55
+ "process": false,
56
+ "setTimeout": false
57
+ },
58
+ "engines": {
59
+ "node": ">=12.7"
60
+ },
61
+ "files": [
62
+ "*.js",
63
+ "*.d.ts"
64
+ ],
65
+ "exports": {
66
+ ".": {
67
+ "import": "./index.js"
68
+ }
69
+ },
70
+ "thi.ng": {},
71
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
72
+ }