@rolemodel/optics 0.5.1 → 1.1.0

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/.editorconfig ADDED
@@ -0,0 +1,10 @@
1
+ root = true
2
+
3
+ [*]
4
+ end_of_line = lf
5
+ insert_final_newline = true
6
+
7
+ [*.{js,json,yml}]
8
+ charset = utf-8
9
+ indent_style = space
10
+ indent_size = 2
package/.gitattributes ADDED
@@ -0,0 +1,4 @@
1
+ /.yarn/** linguist-vendored
2
+ /.yarn/releases/* binary
3
+ /.yarn/plugins/**/* binary
4
+ /.pnp.* binary linguist-generated
@@ -18,21 +18,21 @@ jobs:
18
18
  - name: Use Node.js
19
19
  uses: actions/setup-node@v3
20
20
  with:
21
- node-version: '16.x'
21
+ node-version: '18.x'
22
22
  cache: 'npm'
23
23
  - name: Install
24
- run: npm install
24
+ run: yarn install
25
25
  - name: Run ESLint
26
- run: npm run lint:js
26
+ run: yarn lint:js
27
27
  - name: Run Stylelint
28
- run: npm run lint:css
28
+ run: yarn lint:css
29
29
  - name: Run Prettier
30
- run: npm run prettier-check
30
+ run: yarn prettier-check
31
31
  - name: Build CSS
32
- run: npm run build:css
32
+ run: yarn build:css
33
33
  - name: Build SCSS
34
- run: npm run build:scss
34
+ run: yarn build:scss
35
35
  - name: Build Tokens
36
- run: npm run build:tokens
36
+ run: yarn build:tokens
37
37
  - name: Build Storybook
38
- run: npm run build-storybook
38
+ run: yarn build-storybook
@@ -16,14 +16,14 @@ jobs:
16
16
  - name: Setup Node
17
17
  uses: actions/setup-node@v3
18
18
  with:
19
- node-version: '16.x'
19
+ node-version: '18.x'
20
20
  registry-url: 'https://registry.npmjs.org'
21
21
  - name: Install 🔧
22
22
  run: | # Install npm packages
23
- npm ci
23
+ yarn install --immutable
24
24
  - name: Build 🔧
25
25
  run: | # build the Storybook files
26
- npm run build-storybook
26
+ yarn build-storybook
27
27
  - name: Deploy 🚀
28
28
  uses: JamesIves/github-pages-deploy-action@3.6.2
29
29
  with:
@@ -11,10 +11,10 @@ jobs:
11
11
  - uses: actions/checkout@v3
12
12
  - uses: actions/setup-node@v3
13
13
  with:
14
- node-version: '16.x'
14
+ node-version: '18.x'
15
15
  registry-url: 'https://registry.npmjs.org'
16
- - run: npm ci
17
- - run: npm run build
16
+ - run: yarn install --immutable
17
+ - run: yarn build
18
18
  - run: npm publish --access public
19
19
  env:
20
20
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -24,10 +24,10 @@ jobs:
24
24
  - uses: actions/checkout@v3
25
25
  - uses: actions/setup-node@v3
26
26
  with:
27
- node-version: '16.x'
27
+ node-version: '18.x'
28
28
  registry-url: https://npm.pkg.github.com/
29
- - run: npm ci
30
- - run: npm run build
29
+ - run: yarn install --immutable
30
+ - run: yarn build
31
31
  - run: npm publish --access public
32
32
  env:
33
33
  NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
package/.prettierignore CHANGED
@@ -1,2 +1,3 @@
1
1
  # Tools
2
2
  tools/templates
3
+ .yarn/*
Binary file