Skip to content

Commit e9f9114

Browse files
njfamirmarashagp
andcommitted
fix(web-app-toolkit): remove @nexim/eleventy-config from export to prevent platform conflict
Co-authored-by: arashagp <[email protected]>
1 parent 7abd5a4 commit e9f9114

File tree

5 files changed

+7
-21
lines changed

5 files changed

+7
-21
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This repository contains numerous small utility packages. These packages serve v
44

55
Here is a brief overview of the included libraries:
66

7-
1. [`web-app-toolkit`](./packages/web-app-toolkit): Bundle all nexim's web app toolkit packages into single package.
7+
1. [`web-app-toolkit`](./packages/web-app-toolkit): Bundle all browser based nexim's web app toolkit packages into single package.
88
2. [`eleventy-config`](./packages/eleventy-config): An optimized, production-ready configuration for the [Eleventy](https://www.11ty.dev/) static site generator tailored for the [Nexim APP Template](https://github.com/the-nexim/nexim-app) structure.
99
3. [`service-worker-notify`](./packages/service-worker-notify/) Handles service worker notifications and displays snackbar messages with our without Close Button.
1010

packages/web-app-toolkit/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## Overview
99

10-
Bundle all nexim's web app toolkit packages into single package.
10+
Bundle all browser based nexim's web app toolkit packages into single package.
1111

1212
## Installation
1313

packages/web-app-toolkit/package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@nexim/web-app-toolkit",
33
"version": "1.1.1",
4-
"description": "Bundle all nexim's web app toolkit packages into single package.",
4+
"description": "Bundle all browser based nexim's web app toolkit packages into single package.",
55
"keywords": [
66
"typescript",
77
"nexim"
@@ -42,7 +42,6 @@
4242
},
4343
"dependencies": {
4444
"@alwatr/package-tracer": "^5.0.0",
45-
"@nexim/eleventy-config": "workspace:^",
4645
"@nexim/pwa-install-prompt": "workspace:^",
4746
"@nexim/service-worker-notify": "workspace:^"
4847
},
@@ -58,6 +57,9 @@
5857
"publishConfig": {
5958
"access": "public"
6059
},
60+
"nano-build": {
61+
"platform": "browser"
62+
},
6163
"wireit": {
6264
"test": {
6365
"command": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" ava"

packages/web-app-toolkit/src/main.ts

-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ import {packageTracer} from '@alwatr/package-tracer';
22

33
__dev_mode__: packageTracer.add(__package_name__, __package_version__);
44

5-
export * from '@nexim/eleventy-config';
65
export * from '@nexim/service-worker-notify';
76
export * from '@nexim/pwa-install-prompt';

yarn.lock

+1-16
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,6 @@ __metadata:
7878
languageName: node
7979
linkType: hard
8080

81-
"@11ty/eleventy-upgrade-help@npm:3":
82-
version: 3.0.1
83-
resolution: "@11ty/eleventy-upgrade-help@npm:3.0.1"
84-
dependencies:
85-
fast-glob: "npm:^3.3.2"
86-
kleur: "npm:^4.1.5"
87-
minimist: "npm:^1.2.8"
88-
posthtml-match-helper: "npm:^2.0.2"
89-
semver: "npm:^7.6.3"
90-
checksum: 10c0/0c255ec599d461b33db22dbffb62d3b3ff35eb0048247a7288275b66f8b289b6f2a2d36a74a992967147d3ca6b71792f7f12da7813f3194756433bda06a2462d
91-
languageName: node
92-
linkType: hard
93-
9481
"@11ty/eleventy-utils@npm:^1.0.2, @11ty/eleventy-utils@npm:^1.0.3":
9582
version: 1.0.3
9683
resolution: "@11ty/eleventy-utils@npm:1.0.3"
@@ -2966,13 +2953,12 @@ __metadata:
29662953
languageName: node
29672954
linkType: hard
29682955

2969-
"@nexim/eleventy-config@workspace:^, @nexim/eleventy-config@workspace:packages/eleventy-config":
2956+
"@nexim/eleventy-config@workspace:packages/eleventy-config":
29702957
version: 0.0.0-use.local
29712958
resolution: "@nexim/eleventy-config@workspace:packages/eleventy-config"
29722959
dependencies:
29732960
"@11ty/eleventy": "npm:^3.0.0"
29742961
"@11ty/eleventy-plugin-directory-output": "npm:^1.0.1"
2975-
"@11ty/eleventy-upgrade-help": "npm:3"
29762962
"@alwatr/font": "npm:^1.2.0"
29772963
"@alwatr/logger": "npm:^5.0.0"
29782964
"@alwatr/nano-build": "npm:^5.0.0"
@@ -3109,7 +3095,6 @@ __metadata:
31093095
"@alwatr/nano-build": "npm:^5.0.0"
31103096
"@alwatr/package-tracer": "npm:^5.0.0"
31113097
"@alwatr/type-helper": "npm:^5.0.0"
3112-
"@nexim/eleventy-config": "workspace:^"
31133098
"@nexim/pwa-install-prompt": "workspace:^"
31143099
"@nexim/service-worker-notify": "workspace:^"
31153100
"@nexim/typescript-config": "npm:^1.0.1"

0 commit comments

Comments
 (0)