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