@lisergia/core 22.0.0 → 23.0.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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @lisergia/core@21.0.0 build
3
+ > @lisergia/core@22.0.0 build
4
4
  > tsup src/index.ts --format cjs,esm --dts
5
5
 
6
6
  CLI Building entry: src/index.ts
@@ -9,12 +9,12 @@
9
9
  CLI Target: node16
10
10
  CJS Build start
11
11
  ESM Build start
12
+ DTS Build start
12
13
  CJS dist/index.cjs 16.54 KB
13
- CJS ⚡️ Build success in 37ms
14
+ CJS ⚡️ Build success in 149ms
14
15
  ESM dist/index.js 14.28 KB
15
- ESM ⚡️ Build success in 37ms
16
- DTS Build start
17
- DTS ⚡️ Build success in 830ms
16
+ ESM ⚡️ Build success in 149ms
17
+ DTS ⚡️ Build success in 832ms
18
18
  DTS dist/index.d.cts 5.98 KB
19
19
  DTS dist/index.d.ts 5.98 KB
20
20
  ⠙
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @lisergia/core
2
2
 
3
+ ## 23.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - Add IS_LINKS_ENABLED flag.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @lisergia/config-tsconfig@23.0.0
13
+
3
14
  ## 22.0.0
4
15
 
5
16
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lisergia/core",
3
- "version": "22.0.0",
3
+ "version": "23.0.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "type": "module",
@@ -9,7 +9,7 @@
9
9
  "dev": "tsup src/index.ts --format cjs,esm --dts --watch"
10
10
  },
11
11
  "dependencies": {
12
- "@lisergia/config-tsconfig": "22.0.0",
12
+ "@lisergia/config-tsconfig": "23.0.0",
13
13
  "auto-bind": "^5.0.1",
14
14
  "gsap": "^3.13.0",
15
15
  "lenis": "^1.3.1",
package/src/App.ts CHANGED
@@ -164,6 +164,8 @@ export class ApplicationManager extends Component {
164
164
  //
165
165
  // Initialization.
166
166
  //
167
+ IS_LINKS_ENABLED = true
168
+
167
169
  declare links: Links
168
170
 
169
171
  initPage() {
@@ -175,6 +177,10 @@ export class ApplicationManager extends Component {
175
177
  // Links.
176
178
  //
177
179
  createLinks() {
180
+ if (!this.IS_LINKS_ENABLED) {
181
+ return
182
+ }
183
+
178
184
  this.links = new Links(this)
179
185
  }
180
186