init-workspace-cervvaljs 0.2.1 → 0.2.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/bin/_build/tsc/src/index.js +0 -7
- package/bin/index.js +5 -12
- package/package.json +1 -1
- package/workspace/_package.json +9 -9
|
@@ -128,13 +128,6 @@ function initWorkspace(options) {
|
|
|
128
128
|
fs.writeFileSync("./.nvmrc", process.version);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
// create .npmrc file if needed
|
|
132
|
-
if (!fs.existsSync("./.npmrc")) {
|
|
133
|
-
console.info("*", "Add .npmrc file to workspace");
|
|
134
|
-
if (!(options === null || options === void 0 ? void 0 : options.dry)) {
|
|
135
|
-
fs.writeFileSync("./.npmrc", "shared-workspace-lockfile=false");
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
131
|
if (!(options === null || options === void 0 ? void 0 : options.update)) {
|
|
139
132
|
// install packages
|
|
140
133
|
console.info("* init done, you can now checkout cervval.js and install packages");
|
package/bin/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function (o, m, k, k2) {
|
|
4
4
|
if (k2 === undefined) k2 = k;
|
|
5
5
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
6
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
|
|
7
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
8
8
|
}
|
|
9
9
|
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
+
}) : (function (o, m, k, k2) {
|
|
11
11
|
if (k2 === undefined) k2 = k;
|
|
12
12
|
o[k2] = m[k];
|
|
13
13
|
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function (o, v) {
|
|
15
15
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
16
|
+
}) : function (o, v) {
|
|
17
17
|
o["default"] = v;
|
|
18
18
|
});
|
|
19
19
|
var __importStar = (this && this.__importStar) || function (mod) {
|
|
@@ -128,13 +128,6 @@ function initWorkspace(options) {
|
|
|
128
128
|
fs.writeFileSync("./.nvmrc", process.version);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
// create .npmrc file if needed
|
|
132
|
-
if (!fs.existsSync("./.npmrc")) {
|
|
133
|
-
console.info("*", "Add .npmrc file to workspace");
|
|
134
|
-
if (!(options === null || options === void 0 ? void 0 : options.dry)) {
|
|
135
|
-
fs.writeFileSync("./.npmrc", "shared-workspace-lockfile=false");
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
131
|
if (!(options === null || options === void 0 ? void 0 : options.update)) {
|
|
139
132
|
// install packages
|
|
140
133
|
console.info("* init done, you can now checkout cervval.js and install packages");
|
package/package.json
CHANGED
package/workspace/_package.json
CHANGED
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@cervval.js/builder": "workspace:latest",
|
|
17
17
|
"@cervval.js/eslint-config-cervvaljs": "workspace:latest",
|
|
18
|
-
"@types/chai": "^4.3.5",
|
|
19
18
|
"@types/cjs-common": "workspace:latest",
|
|
20
|
-
"@types/
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"@typescript-eslint/
|
|
24
|
-
"eslint": "
|
|
25
|
-
"
|
|
26
|
-
"eslint
|
|
19
|
+
"@types/chai": "=4.3.5",
|
|
20
|
+
"@types/mocha": "=8.2.2",
|
|
21
|
+
"chai": "=4.3.4",
|
|
22
|
+
"@typescript-eslint/eslint-plugin": "=5.59.5",
|
|
23
|
+
"@typescript-eslint/parser": "=5.59.5",
|
|
24
|
+
"eslint": "=8.40.0",
|
|
25
|
+
"@types/eslint": "=8.40.0",
|
|
26
|
+
"eslint-plugin-jsdoc": "=46.2.6"
|
|
27
27
|
},
|
|
28
28
|
"eslintConfig": {
|
|
29
29
|
"extends": "@cervval.js/eslint-config-cervvaljs"
|
|
30
30
|
},
|
|
31
|
-
"version": "0.2.
|
|
31
|
+
"version": "0.2.2"
|
|
32
32
|
}
|