sloth-d2c-node 0.0.1-beta61 → 0.0.1-beta62
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,25 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sloth-d2c-node",
|
|
3
|
-
"version": "0.0.1-
|
|
3
|
+
"version": "0.0.1-beta62",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "NODE_ENV=production nest build",
|
|
9
|
-
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
10
|
-
"start": "nest start",
|
|
11
|
-
"dev": "NODE_ENV=development nest start --watch --debug --inspect-brk=localhost:9229",
|
|
12
|
-
"start:debug": "nest start --debug --watch",
|
|
13
|
-
"start:prod": "node dist/main",
|
|
14
|
-
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
|
15
|
-
"pm2start": "IS_DOCKER=true pm2-runtime start pm2.config.js --env",
|
|
16
|
-
"pm2restart": "pm2 restart pm2.config.js",
|
|
17
|
-
"test": "jest",
|
|
18
|
-
"test:watch": "jest --watch",
|
|
19
|
-
"test:cov": "jest --coverage",
|
|
20
|
-
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
|
21
|
-
"test:e2e": "jest --config ./test/jest-e2e.json"
|
|
22
|
-
},
|
|
23
7
|
"exports": {
|
|
24
8
|
"./convert": "./dist/utils/d2c-convert.js"
|
|
25
9
|
},
|
|
@@ -32,7 +16,7 @@
|
|
|
32
16
|
"@nestjs/core": "^10.0.0",
|
|
33
17
|
"@nestjs/jwt": "~10.2.0",
|
|
34
18
|
"@nestjs/platform-express": "^10.0.0",
|
|
35
|
-
"sloth-d2c-figma-plugin": "2.0.3-
|
|
19
|
+
"sloth-d2c-figma-plugin": "2.0.3-beta70",
|
|
36
20
|
"@tailwindcss/cli": "~0.1.2",
|
|
37
21
|
"@tailwindcss/node": "4.0.0-alpha.26",
|
|
38
22
|
"@tailwindcss/oxide": "4.0.0-alpha.26",
|
|
@@ -68,7 +52,6 @@
|
|
|
68
52
|
"@nestjs/cli": "^10.0.0",
|
|
69
53
|
"@nestjs/schematics": "^10.0.0",
|
|
70
54
|
"@nestjs/testing": "^10.0.0",
|
|
71
|
-
"@sloth-d2c/shared-types": "workspace:*",
|
|
72
55
|
"@types/express": "^4.17.17",
|
|
73
56
|
"@types/jest": "^29.5.2",
|
|
74
57
|
"@types/lodash": "~4.14.172",
|
|
@@ -86,7 +69,8 @@
|
|
|
86
69
|
"ts-loader": "^9.4.3",
|
|
87
70
|
"ts-node": "^10.9.1",
|
|
88
71
|
"tsconfig-paths": "^4.2.0",
|
|
89
|
-
"typescript": "^5.1.3"
|
|
72
|
+
"typescript": "^5.1.3",
|
|
73
|
+
"@sloth-d2c/shared-types": "1.0.0"
|
|
90
74
|
},
|
|
91
75
|
"files": [
|
|
92
76
|
"dist"
|
|
@@ -107,5 +91,21 @@
|
|
|
107
91
|
],
|
|
108
92
|
"coverageDirectory": "../coverage",
|
|
109
93
|
"testEnvironment": "node"
|
|
94
|
+
},
|
|
95
|
+
"scripts": {
|
|
96
|
+
"build": "NODE_ENV=production nest build",
|
|
97
|
+
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
98
|
+
"start": "nest start",
|
|
99
|
+
"dev": "NODE_ENV=development nest start --watch --debug --inspect-brk=localhost:9229",
|
|
100
|
+
"start:debug": "nest start --debug --watch",
|
|
101
|
+
"start:prod": "node dist/main",
|
|
102
|
+
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
|
103
|
+
"pm2start": "IS_DOCKER=true pm2-runtime start pm2.config.js --env",
|
|
104
|
+
"pm2restart": "pm2 restart pm2.config.js",
|
|
105
|
+
"test": "jest",
|
|
106
|
+
"test:watch": "jest --watch",
|
|
107
|
+
"test:cov": "jest --coverage",
|
|
108
|
+
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
|
109
|
+
"test:e2e": "jest --config ./test/jest-e2e.json"
|
|
110
110
|
}
|
|
111
|
-
}
|
|
111
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const toPascalCase = (str) => {
|
|
4
|
-
return str.replace(/(^|-)([a-z])/g, (_, __, letter) => letter.toUpperCase());
|
|
5
|
-
};
|
|
6
|
-
console.log(toPascalCase('hello-world'));
|
|
7
|
-
console.log(toPascalCase('hello-world'));
|
|
8
|
-
//# sourceMappingURL=tempCodeRunnerFile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tempCodeRunnerFile.js","sourceRoot":"","sources":["../tempCodeRunnerFile.ts"],"names":[],"mappings":";;AAAA,MAAM,YAAY,GAAG,CAAC,GAAW,EAAE,EAAE;IACnC,OAAO,GAAG,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC,CAAA;AAC9E,CAAC,CAAA;AAGD,OAAO,CAAC,GAAG,CAAE,YAAY,CAAC,aAAa,CAAC,CAAE,CAAA;AAC1C,OAAO,CAAC,GAAG,CAAE,YAAY,CAAC,aAAa,CAAC,CAAE,CAAA"}
|