@dataesr/dsfr-plus 0.5.1 → 0.5.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/README.md +21 -1
- package/package.json +1 -3
package/README.md
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
# dsfr-plus
|
|
2
2
|
Design system from the French state - React extended version
|
|
3
3
|
|
|
4
|
+
|
|
5
|
+
## Run examples locally
|
|
6
|
+
|
|
7
|
+
1. Build local version of the lib "dsfr-plus"
|
|
8
|
+
|
|
9
|
+
`npm run build`
|
|
10
|
+
|
|
11
|
+
2. Delete previous version of the lib "dsfr-plus" in "example-ts" project
|
|
12
|
+
|
|
13
|
+
`rm -Rf example-ts/dist`
|
|
14
|
+
|
|
15
|
+
3. Copy local version of the lib "dsfr-plus" into the "example-ts project"
|
|
16
|
+
|
|
17
|
+
`cp -R dist example-ts`
|
|
18
|
+
|
|
19
|
+
4. Run "example-ts" project
|
|
20
|
+
|
|
21
|
+
`npm run example-ts`
|
|
22
|
+
|
|
23
|
+
|
|
4
24
|
## Deployment
|
|
5
25
|
|
|
6
26
|
To deploy in production, simply run this command from your staging branch :
|
|
@@ -9,4 +29,4 @@ To deploy in production, simply run this command from your staging branch :
|
|
|
9
29
|
npm run deploy --level=[patch|minor|major]
|
|
10
30
|
```
|
|
11
31
|
|
|
12
|
-
:warning: Obviously, only members of the [dataesr organization](https://github.com/dataesr/) have rights to push on the repo.
|
|
32
|
+
:warning: Obviously, only members of the [dataesr organization](https://github.com/dataesr/) have rights to push on the repo.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dataesr/dsfr-plus",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/dsfr-plus.es.js",
|
|
7
7
|
"module": "./dist/dsfr-plus.es.js",
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
"dist"
|
|
18
18
|
],
|
|
19
19
|
"workspaces": [
|
|
20
|
-
"example",
|
|
21
20
|
"example-ts"
|
|
22
21
|
],
|
|
23
22
|
"scripts": {
|
|
@@ -27,7 +26,6 @@
|
|
|
27
26
|
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
28
27
|
"lint:fix": "eslint --fix 'src/**/*.{jsx,ts,tsx}'",
|
|
29
28
|
"preview": "vite preview",
|
|
30
|
-
"example": "npm run dev -w example",
|
|
31
29
|
"example-ts": "npm run dev -w example-ts"
|
|
32
30
|
},
|
|
33
31
|
"dependencies": {
|