Skip to content

Commit 6225a12

Browse files
authored
chore: add release script and reset versions in all package.json files (#209)
1 parent f2d3d82 commit 6225a12

File tree

18 files changed

+85
-38
lines changed

18 files changed

+85
-38
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
with:
2828
node-version: '20'
2929
registry-url: 'https://registry.npmjs.org'
30+
- run: yarn release
3031
- run: cd ${{ matrix.package }} && npm publish --access public
3132
env:
3233
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -42,6 +43,7 @@ jobs:
4243
registry-url: 'https://registry.npmjs.org'
4344
- run: yarn install
4445
- run: yarn run build
46+
- run: yarn release
4547
- run: cd siimple && npm publish
4648
env:
4749
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"start:website": "stattic --folder ./public --port 5000",
2727
"start:docs": "cross-env DOCS_ONLY=true yarn workspace siimple-website serve",
2828
"start:playground": "stattic --folder ./playground/public --port 5000",
29+
"release": "node scripts/release.js",
2930
"test": "jest"
3031
},
3132
"devDependencies": {

packages/cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@siimple/cli",
3-
"version": "0.3.1",
3+
"version": "0.0.1",
44
"description": "Command Line for siimple",
55
"author": "Josemi Juanes <[email protected]>",
66
"type": "module",
@@ -12,8 +12,8 @@
1212
"siimple": "./index.js"
1313
},
1414
"dependencies": {
15-
"@siimple/core": "^0.3.1",
16-
"@siimple/modules": "^0.3.1"
15+
"@siimple/core": "*",
16+
"@siimple/modules": "*"
1717
},
1818
"keywords": [
1919
"siimple",

packages/colors/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@siimple/colors",
3-
"version": "0.3.1",
3+
"version": "0.0.0",
44
"description": "A color palette for the siimple css toolkit",
55
"author": "Josemi Juanes <[email protected]>",
66
"type": "module",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@siimple/core",
3-
"version": "0.3.1",
3+
"version": "0.0.0",
44
"description": "Core module of the siimple css toolkit",
55
"author": "Josemi Juanes <[email protected]>",
66
"type": "module",

packages/icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@siimple/icons",
3-
"version": "0.3.1",
3+
"version": "0.0.0",
44
"description": "Siimple icons in JSON format.",
55
"author": "Josemi Juanes <[email protected]>",
66
"type": "module",

packages/modules/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@siimple/modules",
3-
"version": "0.3.1",
3+
"version": "0.0.0",
44
"description": "Core modules for the siimple css toolkit",
55
"author": "Josemi Juanes <[email protected]>",
66
"type": "module",

packages/postcss/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@siimple/postcss",
3-
"version": "0.3.1",
3+
"version": "0.0.0",
44
"description": "PostCSS plugin for siimple.",
55
"author": "Josemi Juanes <[email protected]>",
66
"type": "module",
@@ -11,8 +11,8 @@
1111
"main": "index.js",
1212
"exports": "./index.js",
1313
"dependencies": {
14-
"@siimple/core": "^0.3.1",
15-
"@siimple/modules": "^0.3.1"
14+
"@siimple/core": "*",
15+
"@siimple/modules": "*"
1616
},
1717
"peerDependencies": {
1818
"postcss": ">=8.4.0",

packages/preset-base/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@siimple/preset-base",
3-
"version": "0.3.1",
3+
"version": "0.0.0",
44
"description": "Base theme preset for the siimple css toolkit",
55
"author": "Josemi Juanes <[email protected]>",
66
"type": "module",
@@ -11,7 +11,7 @@
1111
"main": "index.js",
1212
"exports": "./index.js",
1313
"dependencies": {
14-
"@siimple/colors": "^0.3.1"
14+
"@siimple/colors": "*"
1515
},
1616
"keywords": [
1717
"siimple",

packages/preset-dark/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@siimple/preset-dark",
3-
"version": "0.3.1",
3+
"version": "0.0.0",
44
"description": "Dark theme preset for the siimple css toolkit",
55
"author": "Josemi Juanes <[email protected]>",
66
"type": "module",
@@ -11,8 +11,8 @@
1111
"main": "index.js",
1212
"exports": "./index.js",
1313
"dependencies": {
14-
"@siimple/colors": "^0.3.1",
15-
"@siimple/preset-base": "^0.3.1"
14+
"@siimple/colors": "*",
15+
"@siimple/preset-base": "*"
1616
},
1717
"keywords": [
1818
"siimple",

0 commit comments

Comments
 (0)