@atproto/lex 0.0.1 → 0.0.3

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/bin/lex CHANGED
@@ -21,7 +21,6 @@ yargs(hideBin(process.argv))
21
21
  (yargs) => {
22
22
  return yargs.strict().options({
23
23
  lexicons: {
24
- array: true,
25
24
  type: 'string',
26
25
  demandOption: true,
27
26
  default: './lexicons',
@@ -125,7 +124,6 @@ yargs(hideBin(process.argv))
125
124
  'error if the installed lexicons do not match the CIDs in the lexicons.json manifest',
126
125
  },
127
126
  lexicons: {
128
- array: true,
129
127
  type: 'string',
130
128
  demandOption: true,
131
129
  default: './lexicons',
package/index.cjs ADDED
@@ -0,0 +1,11 @@
1
+ 'use strict'
2
+
3
+ /* eslint-env commonjs */
4
+ /* eslint-disable @typescript-eslint/no-var-requires */
5
+
6
+ const { Client, buildAgent } = require('@atproto/lex-client')
7
+ const { l } = require('@atproto/lex-schema')
8
+
9
+ module.exports.Client = Client
10
+ module.exports.buildAgent = buildAgent
11
+ module.exports.l = l
package/index.mjs ADDED
@@ -0,0 +1,2 @@
1
+ export { Client, buildAgent } from '@atproto/lex-client'
2
+ export { l } from '@atproto/lex-schema'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/lex",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "license": "MIT",
5
5
  "description": "Lexicon tooling for AT",
6
6
  "keywords": [
@@ -15,7 +15,8 @@
15
15
  "directory": "packages/lex/lex"
16
16
  },
17
17
  "files": [
18
- "./index.js",
18
+ "./index.cjs",
19
+ "./index.mjs",
19
20
  "./index.d.ts",
20
21
  "./bin"
21
22
  ],
@@ -36,9 +37,9 @@
36
37
  },
37
38
  "dependencies": {
38
39
  "yargs": "^17.0.0",
39
- "@atproto/lex-builder": "0.0.1",
40
+ "@atproto/lex-builder": "0.0.3",
40
41
  "@atproto/lex-client": "0.0.1",
41
- "@atproto/lex-installer": "0.0.1",
42
+ "@atproto/lex-installer": "0.0.3",
42
43
  "@atproto/lex-schema": "0.0.1"
43
44
  },
44
45
  "devDependencies": {