@atproto/lex 0.1.5 → 0.1.7

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 +24 -0
  2. package/bin/lex +7 -2
  3. package/package.json +13 -12
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @atproto/lex
2
2
 
3
+ ## 0.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#5099](https://github.com/bluesky-social/atproto/pull/5099) [`b43ec31`](https://github.com/bluesky-social/atproto/commit/b43ec31f247f4461725b01226885f88bd430ca07) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Update TypeScript build to rely on references to composite internal projects
8
+
9
+ - [#5099](https://github.com/bluesky-social/atproto/pull/5099) [`b43ec31`](https://github.com/bluesky-social/atproto/commit/b43ec31f247f4461725b01226885f88bd430ca07) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Bundle only necessary files in the NPM tarball, including the `CHANGELOG.md` and `README.md` files (if present).
10
+
11
+ - Updated dependencies [[`b43ec31`](https://github.com/bluesky-social/atproto/commit/b43ec31f247f4461725b01226885f88bd430ca07), [`b43ec31`](https://github.com/bluesky-social/atproto/commit/b43ec31f247f4461725b01226885f88bd430ca07), [`b43ec31`](https://github.com/bluesky-social/atproto/commit/b43ec31f247f4461725b01226885f88bd430ca07)]:
12
+ - @atproto/lex-installer@0.1.4
13
+ - @atproto/lex-builder@0.1.5
14
+ - @atproto/lex-client@0.2.1
15
+ - @atproto/lex-schema@0.1.6
16
+ - @atproto/lex-data@0.1.4
17
+ - @atproto/lex-json@0.1.3
18
+
19
+ ## 0.1.6
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [[`8bcba69`](https://github.com/bluesky-social/atproto/commit/8bcba69cf1f02d09e07b51ce091918312029df63), [`8bcba69`](https://github.com/bluesky-social/atproto/commit/8bcba69cf1f02d09e07b51ce091918312029df63)]:
24
+ - @atproto/lex-client@0.2.0
25
+ - @atproto/lex-installer@0.1.3
26
+
3
27
  ## 0.1.5
4
28
 
5
29
  ### Patch Changes
package/bin/lex CHANGED
@@ -9,8 +9,11 @@
9
9
 
10
10
  import yargs from 'yargs'
11
11
  import { hideBin } from 'yargs/helpers'
12
- import { build } from '@atproto/lex-builder'
13
- import { install } from '@atproto/lex-installer'
12
+
13
+ // @TODO lex-builder and lex-installer should both
14
+ // - Define their own CLI commands and options
15
+ // - Expose a "bin" entrypoint so they can be called independently
16
+ // This package should only be a thin wrapper that delegates to those packages.
14
17
 
15
18
  yargs(hideBin(process.argv))
16
19
  .strict()
@@ -108,6 +111,7 @@ yargs(hideBin(process.argv))
108
111
  })
109
112
  },
110
113
  async (argv) => {
114
+ const { build } = await import('@atproto/lex-builder')
111
115
  await build(argv)
112
116
  },
113
117
  )
@@ -149,6 +153,7 @@ yargs(hideBin(process.argv))
149
153
  })
150
154
  },
151
155
  async (argv) => {
156
+ const { install } = await import('@atproto/lex-installer')
152
157
  await install({
153
158
  add: argv.nsid,
154
159
  save: argv.save,
package/package.json CHANGED
@@ -1,9 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/lex",
3
- "version": "0.1.5",
4
- "engines": {
5
- "node": ">=22"
6
- },
3
+ "version": "0.1.7",
7
4
  "license": "MIT",
8
5
  "description": "Lexicon tooling for AT",
9
6
  "keywords": [
@@ -20,6 +17,7 @@
20
17
  "files": [
21
18
  "./dist",
22
19
  "./bin",
20
+ "./README.md",
23
21
  "./CHANGELOG.md"
24
22
  ],
25
23
  "bin": {
@@ -34,23 +32,26 @@
34
32
  "default": "./dist/index.js"
35
33
  }
36
34
  },
35
+ "engines": {
36
+ "node": ">=22"
37
+ },
37
38
  "dependencies": {
38
39
  "tslib": "^2.8.1",
39
40
  "yargs": "^18.0.0",
40
- "@atproto/lex-client": "^0.1.5",
41
- "@atproto/lex-data": "^0.1.3",
42
- "@atproto/lex-json": "^0.1.2",
43
- "@atproto/lex-installer": "^0.1.2",
44
- "@atproto/lex-schema": "^0.1.5",
45
- "@atproto/lex-builder": "^0.1.4"
41
+ "@atproto/lex-client": "^0.2.1",
42
+ "@atproto/lex-builder": "^0.1.5",
43
+ "@atproto/lex-data": "^0.1.4",
44
+ "@atproto/lex-json": "^0.1.3",
45
+ "@atproto/lex-installer": "^0.1.4",
46
+ "@atproto/lex-schema": "^0.1.6"
46
47
  },
47
48
  "devDependencies": {
48
49
  "@types/yargs": "^17.0.33",
49
50
  "vitest": "^4.0.16"
50
51
  },
51
52
  "scripts": {
52
- "codegen": "./bin/lex build --override --indexFile --lexicons ./lexicons --out ./tests/lexicons --lib @atproto/lex-schema",
53
- "prebuild": "pnpm run codegen",
53
+ "codegen:lex": "./bin/lex build --override --indexFile --lexicons ./lexicons --out ./tests/lexicons --lib @atproto/lex-schema",
54
+ "prebuild": "pnpm run '/^(codegen:.+)$/'",
54
55
  "build": "tsgo --build tsconfig.build.json",
55
56
  "test": "vitest run"
56
57
  }