@coffeeonetest/core 1.0.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.
@@ -0,0 +1,23 @@
1
+ name: Publish
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: actions/setup-node@v4
14
+ with:
15
+ node-version: 20
16
+ registry-url: https://registry.npmjs.org/
17
+ - run: npm whoami
18
+ env:
19
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
20
+ - run: npm publish --access public
21
+ env:
22
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
23
+
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@coffeeonetest/core",
3
+ "version": "1.0.0",
4
+ "description": "Core utils and shared setup",
5
+ "type": "commonjs",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "author": "",
10
+ "peerDependencies": {
11
+ "prettier": "^3.6.2"
12
+ },
13
+ "dependencies": {
14
+ "@trivago/prettier-plugin-sort-imports": "^5.2.1"
15
+ },
16
+ "exports": {
17
+ "prettier": "./src/prettier.config.mjs"
18
+ }
19
+ }
@@ -0,0 +1,20 @@
1
+ /** @type {import('prettier').Config} */
2
+ export default {
3
+ trailingComma: 'none',
4
+ tabWidth: 2,
5
+ useTabs: true,
6
+ semi: true,
7
+ singleQuote: true,
8
+ jsxSingleQuote: true,
9
+ arrowParens: 'avoid',
10
+ importOrderSeparation: true,
11
+ importOrderSoftSpecifiers: true,
12
+ importOrderCaseInsensitive: true,
13
+ importOrderParserPlugins: [
14
+ 'classProperties',
15
+ 'decorators-legacy',
16
+ 'typescript'
17
+ ],
18
+ importOrder: ['<THIRD_PARTY_MODULES>', '^@/(.*)$', '^../(.*)', '^./(.*)'],
19
+ plugins: ['@trivago/prettier-plugin-sort-imports']
20
+ }