nitro-web 0.0.6 → 0.0.7
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/_example/package.json +2 -2
- package/package.json +7 -3
- package/readme.md +7 -2
package/_example/package.json
CHANGED
|
@@ -25,8 +25,7 @@
|
|
|
25
25
|
"nitro-web": "file:..",
|
|
26
26
|
"react": "^18.3.1",
|
|
27
27
|
"react-dom": "^18.3.1",
|
|
28
|
-
"stripe": "^9.16.0"
|
|
29
|
-
"twin.macro": "^3.4.1"
|
|
28
|
+
"stripe": "^9.16.0"
|
|
30
29
|
},
|
|
31
30
|
"devDependencies": {
|
|
32
31
|
"@babel/core": "^7.8.0",
|
|
@@ -74,6 +73,7 @@
|
|
|
74
73
|
"string-replace-loader": "^3.1.0",
|
|
75
74
|
"tailwind-merge": "^2.6.0",
|
|
76
75
|
"tailwindcss": "^3.4.17",
|
|
76
|
+
"twin.macro": "^3.4.1",
|
|
77
77
|
"typescript": "^5.5.2",
|
|
78
78
|
"webpack": "^5.92.1",
|
|
79
79
|
"webpack-cli": "^5.1.4",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "nitro-web",
|
|
3
3
|
"description": "Nitro is a battle-tested, modular base project to turbocharge your projects, styled using Tailwind 🚀",
|
|
4
4
|
"repository": "github:boycce/nitro-web",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.7",
|
|
6
6
|
"main": "./client/index.js",
|
|
7
7
|
"types": "./types/client/index.d.ts",
|
|
8
8
|
"type": "module",
|
|
@@ -39,6 +39,9 @@
|
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"dev": "npm run dev -w example",
|
|
42
|
+
"dev:client": "npm run dev:client -w example",
|
|
43
|
+
"dev:server": "npm run dev:server -w example",
|
|
44
|
+
"build": "npm run build -w example",
|
|
42
45
|
"major": "standard-version --release-as major && npm publish",
|
|
43
46
|
"minor": "standard-version --release-as minor && npm publish",
|
|
44
47
|
"patch": "standard-version --release-as patch && npm publish",
|
|
@@ -82,8 +85,7 @@
|
|
|
82
85
|
"monastery": "^3.5.2",
|
|
83
86
|
"react": "^18.3.1",
|
|
84
87
|
"react-dom": "^18.3.1",
|
|
85
|
-
"stripe": "^9.16.0"
|
|
86
|
-
"twin.macro": "^3.4.1"
|
|
88
|
+
"stripe": "^9.16.0"
|
|
87
89
|
},
|
|
88
90
|
"devDependencies": {
|
|
89
91
|
"@emotion/eslint-plugin": "^11.11.0",
|
|
@@ -100,6 +102,8 @@
|
|
|
100
102
|
"eslint-plugin-react-hooks": "^4.0.0",
|
|
101
103
|
"eslint-webpack-plugin": "^2.7.0",
|
|
102
104
|
"standard-version": "^9.3.2",
|
|
105
|
+
"tailwindcss": "^3.4.17",
|
|
106
|
+
"twin.macro": "^3.4.1",
|
|
103
107
|
"typescript": "^5.7.3"
|
|
104
108
|
},
|
|
105
109
|
"engines": {
|
package/readme.md
CHANGED
|
@@ -11,7 +11,7 @@ npm i nitro-web
|
|
|
11
11
|
### Install
|
|
12
12
|
|
|
13
13
|
1. Copy ./_example into your project
|
|
14
|
-
2. In package.json, replace `"nitro-web": "file:.."` with `"nitro-web": "^0.0.
|
|
14
|
+
2. In package.json, replace `"nitro-web": "file:.."` with `"nitro-web": "^0.0.7"`
|
|
15
15
|
3. In package.json, replace `"../.eslintrc.json"` with `"./node_modules/nitro-web/.eslintrc.json"`
|
|
16
16
|
4. Run `npm i`
|
|
17
17
|
|
|
@@ -62,4 +62,9 @@ npm run start
|
|
|
62
62
|
- `react-chartjs-2`
|
|
63
63
|
- `jest: ^29.7.0`
|
|
64
64
|
- `migrate-mongo: ^10.0.0`
|
|
65
|
-
- `eslint-plugin-jest: ^28.9.0`
|
|
65
|
+
- `eslint-plugin-jest: ^28.9.0`
|
|
66
|
+
|
|
67
|
+
### Package notes
|
|
68
|
+
|
|
69
|
+
- Added twin.macro is required as a dev dependency to ./. Note that this may cause errors when npm linking nitro-web, since dev deps are not installed.
|
|
70
|
+
- Added tailwindcss^3 as a dev dependency to ./ to stop tailwind^4.0.0 from being installed
|