webfont-builder 1.0.5 → 1.0.6
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/package.json +1 -1
- package/.github/workflows/publish.yml +0 -41
- package/.prettierignore +0 -35
- package/.prettierrc +0 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webfont-builder",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "The webfont-builder package is a simple script which purpose is to help build Web Fonts so they can be easily self-hosted in production-grade applications.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
name: Build and Publish to npm
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
build-and-publish:
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
|
|
12
|
-
steps:
|
|
13
|
-
- name: 📥 Checkout repository
|
|
14
|
-
uses: actions/checkout@v4
|
|
15
|
-
|
|
16
|
-
- name: 🔧 Set up Node.js
|
|
17
|
-
uses: actions/setup-node@v4
|
|
18
|
-
with:
|
|
19
|
-
node-version: '22'
|
|
20
|
-
registry-url: 'https://registry.npmjs.org/'
|
|
21
|
-
|
|
22
|
-
- name: 📦 Install dependencies
|
|
23
|
-
run: npm ci
|
|
24
|
-
|
|
25
|
-
- name: 🚀 Publish to npm
|
|
26
|
-
run: npm publish
|
|
27
|
-
env:
|
|
28
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
29
|
-
|
|
30
|
-
- name: 🏷️ Extract version from package.json
|
|
31
|
-
id: extract_version
|
|
32
|
-
run: |
|
|
33
|
-
VERSION=$(node -p "require('./package.json').version")
|
|
34
|
-
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
|
35
|
-
|
|
36
|
-
- name: 🏷️ Create and push Git tag
|
|
37
|
-
run: |
|
|
38
|
-
git config user.name "github-actions"
|
|
39
|
-
git config user.email "github-actions@github.com"
|
|
40
|
-
git tag -a "v${{ steps.extract_version.outputs.version }}" -m "Release v${{ steps.extract_version.outputs.version }}"
|
|
41
|
-
git push origin "v${{ steps.extract_version.outputs.version }}"
|
package/.prettierignore
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# defaults
|
|
2
|
-
**/.git
|
|
3
|
-
**/.svn
|
|
4
|
-
**/.hg
|
|
5
|
-
**/node_modules
|
|
6
|
-
|
|
7
|
-
# build and dist Output
|
|
8
|
-
dist
|
|
9
|
-
build
|
|
10
|
-
.out
|
|
11
|
-
.next
|
|
12
|
-
|
|
13
|
-
# logs
|
|
14
|
-
npm-debug.log
|
|
15
|
-
yarn-debug.log
|
|
16
|
-
yarn-error.log
|
|
17
|
-
pnpm-debug.log
|
|
18
|
-
|
|
19
|
-
# environment files
|
|
20
|
-
.env
|
|
21
|
-
.env.local
|
|
22
|
-
.env.*.local
|
|
23
|
-
|
|
24
|
-
# lockfiles (if using a monorepo or specific package manager setup)
|
|
25
|
-
package-lock.json
|
|
26
|
-
yarn.lock
|
|
27
|
-
pnpm-lock.yaml
|
|
28
|
-
|
|
29
|
-
# miscellaneous
|
|
30
|
-
coverage/
|
|
31
|
-
.DS_Store
|
|
32
|
-
*.min.js
|
|
33
|
-
public/
|
|
34
|
-
tmp/
|
|
35
|
-
*.md
|
package/.prettierrc
DELETED