@clerk/dev-cli 0.0.10 → 0.0.11-canary.v20250227200532
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 +3 -7
- package/src/commands/config.js +1 -0
- package/src/commands/init.js +1 -0
- package/src/commands/setup.js +3 -3
- package/.eslintrc.cjs +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clerk/dev-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11-canary.v20250227200532",
|
|
4
4
|
"description": "CLI tool designed to simplify the process of iterating on packages within the clerk/javascript repository",
|
|
5
5
|
"homepage": "https://clerk.com/",
|
|
6
6
|
"bugs": {
|
|
@@ -25,11 +25,7 @@
|
|
|
25
25
|
"globby": "^14.0.2",
|
|
26
26
|
"jscodeshift": "^0.16.1"
|
|
27
27
|
},
|
|
28
|
-
"devDependencies": {
|
|
29
|
-
"@types/node": "^20.14.8",
|
|
30
|
-
"typescript": "5.6.3",
|
|
31
|
-
"@clerk/eslint-config-custom": "0.0.2"
|
|
32
|
-
},
|
|
28
|
+
"devDependencies": {},
|
|
33
29
|
"engines": {
|
|
34
30
|
"node": ">=18.17.0"
|
|
35
31
|
},
|
|
@@ -37,6 +33,6 @@
|
|
|
37
33
|
"access": "public"
|
|
38
34
|
},
|
|
39
35
|
"scripts": {
|
|
40
|
-
"lint": "eslint src
|
|
36
|
+
"lint": "eslint src"
|
|
41
37
|
}
|
|
42
38
|
}
|
package/src/commands/config.js
CHANGED
package/src/commands/init.js
CHANGED
package/src/commands/setup.js
CHANGED
|
@@ -135,7 +135,7 @@ function hasSupportedLockfile() {
|
|
|
135
135
|
async function importPackageLock() {
|
|
136
136
|
return new Promise((resolve, reject) => {
|
|
137
137
|
if (!hasSupportedLockfile()) {
|
|
138
|
-
resolve();
|
|
138
|
+
return resolve();
|
|
139
139
|
}
|
|
140
140
|
console.log('Supported non-pnpm lockfile detected, importing with `pnpm import`...');
|
|
141
141
|
|
|
@@ -148,7 +148,7 @@ async function importPackageLock() {
|
|
|
148
148
|
|
|
149
149
|
child.on('close', code => {
|
|
150
150
|
if (code !== 0) {
|
|
151
|
-
reject();
|
|
151
|
+
reject(new Error());
|
|
152
152
|
return;
|
|
153
153
|
}
|
|
154
154
|
resolve();
|
|
@@ -183,7 +183,7 @@ async function linkDependencies() {
|
|
|
183
183
|
|
|
184
184
|
child.on('close', code => {
|
|
185
185
|
if (code !== 0) {
|
|
186
|
-
reject();
|
|
186
|
+
reject(new Error());
|
|
187
187
|
return;
|
|
188
188
|
}
|
|
189
189
|
resolve();
|
package/.eslintrc.cjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
extends: ['@clerk/custom/node', '@clerk/custom/typescript', '@clerk/custom/jest'],
|
|
4
|
-
rules: {
|
|
5
|
-
// allowList all environment variables since we don't use Turborepo for clerk-dev anyway.
|
|
6
|
-
'turbo/no-undeclared-env-vars': ['error', { allowList: ['.*'] }],
|
|
7
|
-
},
|
|
8
|
-
};
|