lincd-cli 0.2.72 → 0.2.73
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.
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
"NODE_ENV": "development",
|
|
10
10
|
"SITE_ROOT": "http://localhost:4000"
|
|
11
11
|
},
|
|
12
|
+
"staging": {
|
|
13
|
+
"NODE_ENV": "staging",
|
|
14
|
+
"SITE_ROOT": "https://next.${hyphen_name}.com"
|
|
15
|
+
},
|
|
12
16
|
"production": {
|
|
13
17
|
"NODE_ENV": "production",
|
|
14
18
|
"SITE_ROOT": "https://app.${hyphen_name}.com"
|
|
@@ -18,11 +18,15 @@
|
|
|
18
18
|
"scripts": {
|
|
19
19
|
"start": "npm run server:dev",
|
|
20
20
|
"build": "env-cmd -e _main,production node scripts/build.js",
|
|
21
|
+
"build:staging": "env-cmd -e _main,staging node scripts/build.js",
|
|
22
|
+
"deploy": "git stash && git pull && yarn mrgit exec \"git stash\" && env-cmd --use-shell \"yarn checkout && yarn dedupe && semantu build-workspace -ug && yarn build && pm2 restart ${hyphen_name}\"",
|
|
23
|
+
"deploy:staging": "git stash && git pull && yarn mrgit exec \"git stash\" && env-cmd --use-shell \"yarn checkout && yarn dedupe && semantu build-workspace -ug && yarn build-staging && pm2 restart ${hyphen_name}-staging\"",
|
|
21
24
|
"postinstall": "husky install",
|
|
22
25
|
"prepack": "pinst --disable",
|
|
23
26
|
"postpack": "pinst --enable",
|
|
24
27
|
"server:dev": "env-cmd -e _main,development nodemon --quiet --watch ./src/index.tsx ./scripts/start-server.js",
|
|
25
28
|
"server:prod": "env-cmd -e _main,production node ./scripts/start-server.js",
|
|
29
|
+
"server:staging": "env-cmd -e _main,staging node ./scripts/start-server.js",
|
|
26
30
|
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
|
|
27
31
|
"lint:fix": "yarn lint --fix",
|
|
28
32
|
"prettier": "prettier \"src/**/*.{js,jsx,ts,tsx,css,scss}\" --check",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lincd-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.73",
|
|
4
4
|
"description": "Command line tools for the lincd.js library",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -93,7 +93,6 @@
|
|
|
93
93
|
"tailwindcss": "^3.2.7",
|
|
94
94
|
"terser-webpack-plugin": "^5.3.6",
|
|
95
95
|
"ts-loader": "^9.4.1",
|
|
96
|
-
"tsc-hooks": "^1.1.1",
|
|
97
96
|
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
|
98
97
|
"typescript": "4.8.4",
|
|
99
98
|
"webpack": "^5.76.3",
|