pcm-shared-components 2.1.121 → 2.1.132
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
CHANGED
|
@@ -40,6 +40,20 @@ sh ./publish.sh
|
|
|
40
40
|
```npm run bump``` - This will bump the version of the library and push it to the remote repository.
|
|
41
41
|
|
|
42
42
|
|
|
43
|
+
------------------------------------------------------------------------------------------------------------
|
|
44
|
+
## Environment (.env)
|
|
45
|
+
|
|
46
|
+
Copy `.env-template` and rename it to `.env`.
|
|
47
|
+
|
|
48
|
+
Create a granular access token at [https://www.npmjs.com/settings/tokens](https://www.npmjs.com/settings/tokens) with publish permission.
|
|
49
|
+
|
|
50
|
+
Place your token inside the `.env` file:
|
|
51
|
+
|
|
52
|
+
NPM_TOKEN=your_npm_token_here
|
|
53
|
+
|
|
54
|
+
The token will be used automatically during release and publishing.
|
|
55
|
+
|
|
56
|
+
|
|
43
57
|
------------------------------------------------------------------------------------------------------------
|
|
44
58
|
|
|
45
59
|
# ##########################################################################
|
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
"campground_info_address": "Address",
|
|
67
67
|
"campground_info_cancellation_policy_message": "Campground cancellation policy when your clients are booking online.",
|
|
68
68
|
"campground_info_city": "City",
|
|
69
|
+
"campground_info_country": "Country",
|
|
69
70
|
"campground_info_email": "Email",
|
|
70
71
|
"campground_info_message": "A general message displayed online",
|
|
71
72
|
"campground_info_name": "Campground Name",
|
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
"campground_info_address": "Habla a",
|
|
67
67
|
"campground_info_cancellation_policy_message": "Política de cancelación del camping cuando tus clientes reservan online.",
|
|
68
68
|
"campground_info_city": "Ciudad",
|
|
69
|
+
"campground_info_country": "País",
|
|
69
70
|
"campground_info_email": "Correo electrónico",
|
|
70
71
|
"campground_info_message": "Un mensaje general que se muestra en línea",
|
|
71
72
|
"campground_info_name": "Nombre del campamento",
|
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
"campground_info_address": "Address",
|
|
67
67
|
"campground_info_cancellation_policy_message": "Politique d'annulation du camping lorsque vos clients réservent en ligne.",
|
|
68
68
|
"campground_info_city": "Ville",
|
|
69
|
+
"campground_info_country": "Pays",
|
|
69
70
|
"campground_info_email": "Courriel",
|
|
70
71
|
"campground_info_message": "Un message général affiché en ligne",
|
|
71
72
|
"campground_info_name": "Nom du terrain de camping",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pcm-shared-components",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.132",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"babel": {
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
15
|
"publishme": "npm publish",
|
|
16
|
-
"bump": "git pull --tags && npm run build && node scripts/smart-bump.js &&
|
|
16
|
+
"bump": "git pull --tags && npm run build && node scripts/smart-bump.js && dotenv -- npm publish",
|
|
17
|
+
"bump-orig": "git pull --tags && npm run build && node scripts/smart-bump.js && git push origin HEAD && git push origin v$(node -p \"require('./package.json').version\") && source .env && npm publish",
|
|
17
18
|
"start": "start-storybook -p 6006",
|
|
18
19
|
"build-storybook": "build-storybook",
|
|
19
20
|
"clean": "rm -rf dist",
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
"autoprefixer": "^10.4.0",
|
|
47
48
|
"babel-loader": "^8.4.1",
|
|
48
49
|
"cross-env": "^7.0.3",
|
|
50
|
+
"dotenv-cli": "^11.0.0",
|
|
49
51
|
"postcss": "^8.4.4",
|
|
50
52
|
"postcss-import": "^14.0.2",
|
|
51
53
|
"react": "^17.0.2",
|