@elementor/wp-lite-env 0.0.8 → 0.0.10

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.
@@ -0,0 +1,8 @@
1
+ # Changesets
2
+
3
+ Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
+ with multi-package repos, or single-package repos to help you version and publish your code. You can
5
+ find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6
+
7
+ We have a quick list of common questions to get you started engaging with this project in
8
+ [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://unpkg.com/@changesets/config@3.0.3/schema.json",
3
+ "changelog": "@changesets/cli/changelog",
4
+ "commit": false,
5
+ "fixed": [],
6
+ "linked": [],
7
+ "access": "restricted",
8
+ "baseBranch": "initial",
9
+ "updateInternalDependencies": "patch",
10
+ "ignore": []
11
+ }
@@ -0,0 +1,30 @@
1
+ name: ci.yml
2
+ on:
3
+ pull_request:
4
+
5
+ jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Checkout source code
10
+ uses: actions/checkout@v4
11
+ - name: Install Node.js 22.x
12
+ uses: actions/setup-node@v4
13
+ with:
14
+ node-version: 22.x
15
+ cache: 'npm'
16
+ - name: Cache Docker images.
17
+ uses: ScribeMD/docker-cache@0.5.0
18
+ with:
19
+ key: docker-${{ runner.os }}-${{ hashFiles('tests/.wp-lite-env.json') }}
20
+ - name: Install dependencies
21
+ run: |
22
+ npm ci
23
+ - name: Build
24
+ run: npm run build
25
+ - name: Lint
26
+ run: npm run lint
27
+ - name: Test
28
+ run: npm run test
29
+ env:
30
+ CI: true
@@ -0,0 +1,48 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - initial
7
+
8
+ concurrency:
9
+ group: ${{ github.workflow }}-${{ github.ref }}
10
+ cancel-in-progress: true
11
+
12
+ jobs:
13
+ release:
14
+ name: Release
15
+ runs-on: ubuntu-latest
16
+
17
+ if: github.repository == 'elementor/wp-lite-env'
18
+
19
+ steps:
20
+ - name: Checkout source code
21
+ uses: actions/checkout@v4
22
+ with:
23
+ token: ${{ secrets.MAINTAIN_TOKEN }}
24
+
25
+ - name: Install Node.js 22.x
26
+ uses: actions/setup-node@v4
27
+ with:
28
+ cache: 'npm'
29
+ node-version: 22.x
30
+
31
+ - run: npm ci
32
+
33
+ - name: Config git user
34
+ run: |
35
+ git config --global user.name "${{ secrets.MAINTAIN_USERNAME }}"
36
+ git config --global user.email "${{ secrets.MAINTAIN_EMAIL }}"
37
+
38
+ - name: Create release PR or publish
39
+ id: changesets
40
+ uses: changesets/action@v1
41
+ with:
42
+ publish: npm run release
43
+ commit: 'chore(release): publish'
44
+ title: 'chore(release): publish'
45
+ setupGitUser: false
46
+ env:
47
+ GITHUB_TOKEN: ${{ secrets.MAINTAIN_TOKEN }}
48
+ NPM_TOKEN: ${{ secrets.NPMJS_TOKEN }}
@@ -0,0 +1,47 @@
1
+ name: Changesets
2
+
3
+ on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - reopened
8
+ - labeled
9
+ - unlabeled
10
+ - edited
11
+ - synchronize
12
+ branches:
13
+ - initial
14
+
15
+ concurrency:
16
+ group: ${{ github.workflow }}-${{ github.ref }}
17
+ cancel-in-progress: true
18
+
19
+ jobs:
20
+ check:
21
+ name: Check
22
+ runs-on: ubuntu-latest
23
+
24
+ # Skip opted out PRs, and release PRs
25
+ if: |
26
+ ! contains(github.event.pull_request.labels.*.name, 'skip release') &&
27
+ github.event.pull_request.title != 'chore(release): publish'
28
+
29
+ steps:
30
+ - name: Checkout source code
31
+ uses: actions/checkout@v4
32
+ with:
33
+ fetch-depth: 0
34
+
35
+ - name: Install Node.js
36
+ uses: actions/setup-node@v4
37
+ with:
38
+ cache: npm
39
+ node-version: 22.x
40
+
41
+ - name: Install Deps
42
+ run: npm i -g @changesets/cli
43
+
44
+ # Returns exit code 1 when there are changes without changesets attached to them.
45
+ # See: https://github.com/changesets/changesets/blob/main/docs/automating-changesets.md#blocking
46
+ - name: Run Changesets
47
+ run: npx changeset status --since origin/main
package/CHANGELOG.md ADDED
@@ -0,0 +1,61 @@
1
+ # wp-lite-env
2
+
3
+ ## 0.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 38d32f5: change tsconfig
8
+
9
+ ## 0.0.9
10
+
11
+ ### Patch Changes
12
+
13
+ - f61fcc5: change publishConfig
14
+
15
+ ## 0.0.8
16
+
17
+ ### Patch Changes
18
+
19
+ - fc2f7c7: regenerate package lock file
20
+
21
+ ## 0.0.7
22
+
23
+ ### Patch Changes
24
+
25
+ - 3fe6f34: dummy
26
+
27
+ ## 0.0.6
28
+
29
+ ### Patch Changes
30
+
31
+ - 1f206bf: fix build
32
+
33
+ ## 0.0.5
34
+
35
+ ### Patch Changes
36
+
37
+ - 1ed652b: add package.json to dist folder
38
+
39
+ ## 0.0.4
40
+
41
+ ### Patch Changes
42
+
43
+ - e3917ad: set publish config access to public
44
+
45
+ ## 0.0.3
46
+
47
+ ### Patch Changes
48
+
49
+ - d3ebcdf: public package
50
+
51
+ ## 0.0.2
52
+
53
+ ### Patch Changes
54
+
55
+ - 1b29794: set base branch to initial
56
+
57
+ ## 0.0.1
58
+
59
+ ### Patch Changes
60
+
61
+ - 880f8bd: Initial version