apptify 0.6.1 → 0.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apptify",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "An Apple-inspired, responsive Vue 3 component library.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -10,7 +10,7 @@
10
10
  "preview": "vite preview --host 127.0.0.1"
11
11
  },
12
12
  "dependencies": {
13
- "apptify": "^0.6.1",
13
+ "apptify": "^0.6.2",
14
14
  "vue": "^3.5.0",
15
15
  "vue-router": "^4.6.4",
16
16
  "vuetify": "^3.9.0",
@@ -1,6 +1,6 @@
1
1
  {
2
- "createdAt": "2026-10-04T16:10:51.852Z",
3
- "libraryVersion": "0.6.1",
2
+ "createdAt": "2026-10-04T16:18:13.250Z",
3
+ "libraryVersion": "0.6.2",
4
4
  "files": {
5
5
  "index.html": "75f6d93e3962ddca97a13b666a04d98ba9b263b6c288171383db764215034fea",
6
6
  "public/images/SOURCES.md": "24ccb6625b1168e48550b7651e9fc20cb747324d87666d39199608c7db20541b",
@@ -183,13 +183,13 @@
183
183
  "docs/PLAYGROUND-TEMPLATE.md": "e476d6622e89d8cb04d9acdd54c090e5d559d666bb49f266bcf36d3f3bf8fe67",
184
184
  "docs/VALIDATION.md": "3c1755f4699d6b7d8febb44b2b0b00eb416b86559c26d8b69e46a1c98271af5f",
185
185
  "README.md": "1e24796cf31d3d93f34e4edd32b8e1629b1dfdc175f74df573e14b4eb12186ed",
186
- "package.json": "780f0e2ce21421eb0b71c16ec19ab4d1276e94293e8be0ab1d7f1248296e999f",
186
+ "package.json": "1c816348e87bd94d17234f5e0d65e2b3e0d0c33af40a2d72d0538cd1053347fc",
187
187
  "index.html": "75f6d93e3962ddca97a13b666a04d98ba9b263b6c288171383db764215034fea",
188
188
  "vite.config.ts": "e2fee737d17c721cefaa33c955c6a7fcd47b46d51a95365768208eb16b608585",
189
189
  "vite.lib.config.ts": "f877c1772da70c9fed5174118ca36a0fc25fd46cce49b71280a5f91c4f8003a3",
190
190
  "tsconfig.json": "09590870bfbf6e90614d8a34af38b9a72902e8747ecd1a76be47ab24c842f9ea",
191
191
  "tsconfig.lib.json": "c885806b003cee01192cddcaf32df3e7c6d369e645360398aa088c14b1c4792f",
192
- "tooling/create-playground.mjs": "1252ef947ec8c1b3e0ca5d8c76cadacf69485aed5a181b866815cc9ed4658cc1",
192
+ "tooling/create-playground.mjs": "404227bb53b852f4c1ad8d8f406dab3cf3a89c53b5543bcd8c28234a2376ad44",
193
193
  "tooling/npm-command.mjs": "51c08c53cd395e32ec9b71b258dafadcdad3e6b227090d5b7bfbe55b9d0a97ba",
194
194
  "tooling/prepare-playground.mjs": "3a624b4966613a14e4f44a25555f25c564ea0fe69e5c68922c2ff5d21e1e2769",
195
195
  "tooling/prepare-package.mjs": "a663ad0343bee2e711cdbc1c497daa89edc20752c67f17fc45d5173c6807b66b"
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { cp, mkdir, readFile, readdir, rename, writeFile } from 'node:fs/promises'
2
+ import { cp, mkdir, readFile, readdir, realpath, rename, writeFile } from 'node:fs/promises'
3
3
  import { resolve, join, sep } from 'node:path'
4
4
  import { fileURLToPath } from 'node:url'
5
5
  import { execFileSync } from 'node:child_process'
@@ -13,7 +13,7 @@ if (!destination || ['--help', '-h'].includes(destination)) {
13
13
  }
14
14
  try {
15
15
  const target = resolve(destination)
16
- const packageRoot = resolve(root)
16
+ const packageRoot = await realpath(root)
17
17
  if (target === packageRoot || target.startsWith(packageRoot + sep)) throw new Error('Destination must be outside the installed apptify package')
18
18
  const existing = await readdir(target).catch(error => { if (error.code === 'ENOENT') return []; throw error })
19
19
  if (existing.length) throw new Error('Destination must be empty: ' + target)
@@ -67,7 +67,9 @@ try {
67
67
  assert.equal(refused.status, 1)
68
68
  assert.match(refused.stderr, /Destination must be empty/)
69
69
  assert.equal(await readFile(join(app, 'package.json'), 'utf8'), before)
70
- assert.equal(run([join(library, 'unsafe')]).status, 1)
70
+ const unsafe = run([join(library, 'unsafe')])
71
+ assert.equal(unsafe.status, 1, unsafe.stdout + unsafe.stderr)
72
+ assert.match(unsafe.stderr, /outside the installed apptify package/)
71
73
  const alias = join(scratch, 'library-alias')
72
74
  await symlink(library, alias, process.platform === 'win32' ? 'junction' : 'dir')
73
75
  assert.equal(run([join(alias, 'unsafe')]).status, 1)